sass.dart.js 4.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327
  1. exports.load = function(_cli_pkg_requires) {
  2. // make sure to keep this as 'var'
  3. // we don't want block scoping
  4. var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
  5. var self = Object.create(dartNodePreambleSelf);
  6. self.scheduleImmediate = typeof setImmediate !== "undefined"
  7. ? function (cb) {
  8. setImmediate(cb);
  9. }
  10. : function(cb) {
  11. setTimeout(cb, 0);
  12. };
  13. // CommonJS globals.
  14. self.exports = exports;
  15. // Node.js specific exports, check to see if they exist & or polyfilled
  16. if (typeof process !== "undefined") {
  17. self.process = process;
  18. }
  19. if (typeof __dirname !== "undefined") {
  20. self.__dirname = __dirname;
  21. }
  22. if (typeof __filename !== "undefined") {
  23. self.__filename = __filename;
  24. }
  25. if (typeof Buffer !== "undefined") {
  26. self.Buffer = Buffer;
  27. }
  28. // if we're running in a browser, Dart supports most of this out of box
  29. // make sure we only run these in Node.js environment
  30. var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
  31. try {
  32. // Check if we're in a Web Worker instead.
  33. if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
  34. dartNodeIsActuallyNode = false;
  35. }
  36. // Check if we're in Electron, with Node.js integration, and override if true.
  37. if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
  38. dartNodeIsActuallyNode = true;
  39. }
  40. } catch(e) {}
  41. if (dartNodeIsActuallyNode) {
  42. // This line is to:
  43. // 1) Prevent Webpack from bundling.
  44. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  45. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  46. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  47. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  48. // as a property instead to be safe.
  49. Object.defineProperty(self, "location", {
  50. value: {
  51. get href() {
  52. if (url.pathToFileURL) {
  53. return url.pathToFileURL(process.cwd()).href + "/";
  54. } else {
  55. // This isn't really a correct transformation, but it's the best we have
  56. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  57. // For example, it will fail for paths that contain characters that need
  58. // to be escaped in URLs.
  59. return "file://" + (function() {
  60. var cwd = process.cwd();
  61. if (process.platform != "win32") return cwd;
  62. return "/" + cwd.replace(/\\/g, "/");
  63. })() + "/"
  64. }
  65. }
  66. }
  67. });
  68. (function() {
  69. function computeCurrentScript() {
  70. try {
  71. throw new Error();
  72. } catch(e) {
  73. var stack = e.stack;
  74. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  75. var lastMatch = null;
  76. do {
  77. var match = re.exec(stack);
  78. if (match != null) lastMatch = match;
  79. } while (match != null);
  80. return lastMatch[1];
  81. }
  82. }
  83. // Setting `self.document=` isn't known to throw an error anywhere like
  84. // `self.location=` does on Electron, but it's better to be future-proof
  85. // just in case..
  86. var cachedCurrentScript = null;
  87. Object.defineProperty(self, "document", {
  88. value: {
  89. get currentScript() {
  90. if (cachedCurrentScript == null) {
  91. cachedCurrentScript = {src: computeCurrentScript()};
  92. }
  93. return cachedCurrentScript;
  94. }
  95. }
  96. });
  97. })();
  98. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  99. try {
  100. load(uri);
  101. successCallback();
  102. } catch (error) {
  103. errorCallback(error);
  104. }
  105. };
  106. }
  107. self.util = require("util");
  108. self.immutable = require("immutable");
  109. self.fs = require("fs");
  110. self.chokidar = _cli_pkg_requires.chokidar;
  111. self.readline = _cli_pkg_requires.readline;
  112. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, deferred-serialization, csp), the Dart to JavaScript compiler version: 2.18.1.
  113. // The code supports the following hooks:
  114. // dartPrint(message):
  115. // if this function is defined it is called instead of the Dart [print]
  116. // method.
  117. //
  118. // dartMainRunner(main, args):
  119. // if this function is defined, the Dart [main] method will not be invoked
  120. // directly. Instead, a closure that will invoke [main], and its arguments
  121. // [args] is passed to [dartMainRunner].
  122. //
  123. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
  124. // if this function is defined, it will be called when a deferred library
  125. // is loaded. It should load and eval the javascript of `uri`, and call
  126. // successCallback. If it fails to do so, it should call errorCallback with
  127. // an error. The loadId argument is the deferred import that resulted in
  128. // this uri being loaded.
  129. //
  130. // dartCallInstrumentation(id, qualifiedName):
  131. // if this function is defined, it will be called at each entry of a
  132. // method or constructor. Used only when compiling programs with
  133. // --experiment-call-instrumentation.
  134. (function dartProgram() {
  135. function copyProperties(from, to) {
  136. var keys = Object.keys(from);
  137. for (var i = 0; i < keys.length; i++) {
  138. var key = keys[i];
  139. to[key] = from[key];
  140. }
  141. }
  142. function mixinPropertiesHard(from, to) {
  143. var keys = Object.keys(from);
  144. for (var i = 0; i < keys.length; i++) {
  145. var key = keys[i];
  146. if (!to.hasOwnProperty(key))
  147. to[key] = from[key];
  148. }
  149. }
  150. function mixinPropertiesEasy(from, to) {
  151. Object.assign(to, from);
  152. }
  153. var supportsDirectProtoAccess = function() {
  154. var cls = function() {
  155. };
  156. cls.prototype = {p: {}};
  157. var object = new cls();
  158. if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
  159. return false;
  160. try {
  161. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  162. return true;
  163. if (typeof version == "function" && version.length == 0) {
  164. var v = version();
  165. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  166. return true;
  167. }
  168. } catch (_) {
  169. }
  170. return false;
  171. }();
  172. function inherit(cls, sup) {
  173. cls.prototype.constructor = cls;
  174. cls.prototype["$is" + cls.name] = cls;
  175. if (sup != null) {
  176. if (supportsDirectProtoAccess) {
  177. cls.prototype.__proto__ = sup.prototype;
  178. return;
  179. }
  180. var clsPrototype = Object.create(sup.prototype);
  181. copyProperties(cls.prototype, clsPrototype);
  182. cls.prototype = clsPrototype;
  183. }
  184. }
  185. function inheritMany(sup, classes) {
  186. for (var i = 0; i < classes.length; i++)
  187. inherit(classes[i], sup);
  188. }
  189. function mixinEasy(cls, mixin) {
  190. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  191. cls.prototype.constructor = cls;
  192. }
  193. function mixinHard(cls, mixin) {
  194. mixinPropertiesHard(mixin.prototype, cls.prototype);
  195. cls.prototype.constructor = cls;
  196. }
  197. function lazyOld(holder, name, getterName, initializer) {
  198. var uninitializedSentinel = holder;
  199. holder[name] = uninitializedSentinel;
  200. holder[getterName] = function() {
  201. holder[getterName] = function() {
  202. A.throwCyclicInit(name);
  203. };
  204. var result;
  205. var sentinelInProgress = initializer;
  206. try {
  207. if (holder[name] === uninitializedSentinel) {
  208. result = holder[name] = sentinelInProgress;
  209. result = holder[name] = initializer();
  210. } else
  211. result = holder[name];
  212. } finally {
  213. if (result === sentinelInProgress)
  214. holder[name] = null;
  215. holder[getterName] = function() {
  216. return this[name];
  217. };
  218. }
  219. return result;
  220. };
  221. }
  222. function lazy(holder, name, getterName, initializer) {
  223. var uninitializedSentinel = holder;
  224. holder[name] = uninitializedSentinel;
  225. holder[getterName] = function() {
  226. if (holder[name] === uninitializedSentinel)
  227. holder[name] = initializer();
  228. holder[getterName] = function() {
  229. return this[name];
  230. };
  231. return holder[name];
  232. };
  233. }
  234. function lazyFinal(holder, name, getterName, initializer) {
  235. var uninitializedSentinel = holder;
  236. holder[name] = uninitializedSentinel;
  237. holder[getterName] = function() {
  238. if (holder[name] === uninitializedSentinel) {
  239. var value = initializer();
  240. if (holder[name] !== uninitializedSentinel)
  241. A.throwLateFieldADI(name);
  242. holder[name] = value;
  243. }
  244. var finalValue = holder[name];
  245. holder[getterName] = function() {
  246. return finalValue;
  247. };
  248. return finalValue;
  249. };
  250. }
  251. function makeConstList(list) {
  252. list.immutable$list = Array;
  253. list.fixed$length = Array;
  254. return list;
  255. }
  256. function convertToFastObject(properties) {
  257. function t() {
  258. }
  259. t.prototype = properties;
  260. new t();
  261. return properties;
  262. }
  263. function convertAllToFastObject(arrayOfObjects) {
  264. for (var i = 0; i < arrayOfObjects.length; ++i)
  265. convertToFastObject(arrayOfObjects[i]);
  266. }
  267. var functionCounter = 0;
  268. function instanceTearOffGetter(isIntercepted, parameters) {
  269. var cache = null;
  270. return isIntercepted ? function(receiver) {
  271. if (cache === null)
  272. cache = A.closureFromTearOff(parameters);
  273. return new cache(receiver, this);
  274. } : function() {
  275. if (cache === null)
  276. cache = A.closureFromTearOff(parameters);
  277. return new cache(this, null);
  278. };
  279. }
  280. function staticTearOffGetter(parameters) {
  281. var cache = null;
  282. return function() {
  283. if (cache === null)
  284. cache = A.closureFromTearOff(parameters).prototype;
  285. return cache;
  286. };
  287. }
  288. var typesOffset = 0;
  289. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  290. if (typeof funType == "number")
  291. funType += typesOffset;
  292. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  293. }
  294. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  295. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  296. var getterFunction = staticTearOffGetter(parameters);
  297. holder[getterName] = getterFunction;
  298. }
  299. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  300. isIntercepted = !!isIntercepted;
  301. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  302. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  303. prototype[getterName] = getterFunction;
  304. }
  305. function setOrUpdateInterceptorsByTag(newTags) {
  306. var tags = init.interceptorsByTag;
  307. if (!tags) {
  308. init.interceptorsByTag = newTags;
  309. return;
  310. }
  311. copyProperties(newTags, tags);
  312. }
  313. function setOrUpdateLeafTags(newTags) {
  314. var tags = init.leafTags;
  315. if (!tags) {
  316. init.leafTags = newTags;
  317. return;
  318. }
  319. copyProperties(newTags, tags);
  320. }
  321. function updateTypes(newTypes) {
  322. var types = init.types;
  323. var length = types.length;
  324. types.push.apply(types, newTypes);
  325. return length;
  326. }
  327. function updateHolder(holder, newHolder) {
  328. copyProperties(newHolder, holder);
  329. return holder;
  330. }
  331. var hunkHelpers = function() {
  332. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  333. return function(container, getterName, name, funType) {
  334. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  335. };
  336. },
  337. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  338. return function(container, getterName, name, funType) {
  339. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  340. };
  341. };
  342. return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  343. }();
  344. function initializeDeferredHunk(hunk) {
  345. typesOffset = init.types.length;
  346. hunk(hunkHelpers, init, holders, $);
  347. }
  348. var A = {JS_CONST: function JS_CONST() {
  349. },
  350. CastIterable_CastIterable(source, $S, $T) {
  351. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  352. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  353. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  354. },
  355. LateError$fieldADI(fieldName) {
  356. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  357. },
  358. LateError$fieldNI(fieldName) {
  359. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  360. },
  361. LateError$localNI(localName) {
  362. return new A.LateError("Local '" + localName + "' has not been initialized.");
  363. },
  364. LateError$fieldAI(fieldName) {
  365. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  366. },
  367. hexDigitValue(char) {
  368. var letter,
  369. digit = char ^ 48;
  370. if (digit <= 9)
  371. return digit;
  372. letter = char | 32;
  373. if (97 <= letter && letter <= 102)
  374. return letter - 87;
  375. return -1;
  376. },
  377. SystemHash_combine(hash, value) {
  378. hash = hash + value & 536870911;
  379. hash = hash + ((hash & 524287) << 10) & 536870911;
  380. return hash ^ hash >>> 6;
  381. },
  382. SystemHash_finish(hash) {
  383. hash = hash + ((hash & 67108863) << 3) & 536870911;
  384. hash ^= hash >>> 11;
  385. return hash + ((hash & 16383) << 15) & 536870911;
  386. },
  387. checkNotNullable(value, $name, $T) {
  388. return value;
  389. },
  390. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  391. A.RangeError_checkNotNegative(_start, "start");
  392. if (_endOrLength != null) {
  393. A.RangeError_checkNotNegative(_endOrLength, "end");
  394. if (_start > _endOrLength)
  395. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  396. }
  397. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  398. },
  399. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  400. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  401. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  402. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  403. },
  404. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  405. var _s9_ = "takeCount";
  406. A.ArgumentError_checkNotNull(takeCount, _s9_);
  407. A.RangeError_checkNotNegative(takeCount, _s9_);
  408. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  409. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  410. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  411. },
  412. SkipIterable_SkipIterable(iterable, count, $E) {
  413. var _s5_ = "count";
  414. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  415. A.ArgumentError_checkNotNull(count, _s5_);
  416. A.RangeError_checkNotNegative(count, _s5_);
  417. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  418. }
  419. A.ArgumentError_checkNotNull(count, _s5_);
  420. A.RangeError_checkNotNegative(count, _s5_);
  421. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  422. },
  423. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  424. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  425. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  426. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  427. },
  428. IterableElementError_noElement() {
  429. return new A.StateError("No element");
  430. },
  431. IterableElementError_tooMany() {
  432. return new A.StateError("Too many elements");
  433. },
  434. IterableElementError_tooFew() {
  435. return new A.StateError("Too few elements");
  436. },
  437. Sort_sort(a, compare) {
  438. A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
  439. },
  440. Sort__doSort(a, left, right, compare) {
  441. if (right - left <= 32)
  442. A.Sort__insertionSort(a, left, right, compare);
  443. else
  444. A.Sort__dualPivotQuicksort(a, left, right, compare);
  445. },
  446. Sort__insertionSort(a, left, right, compare) {
  447. var i, t1, el, j, j0;
  448. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  449. el = t1.$index(a, i);
  450. j = i;
  451. while (true) {
  452. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  453. break;
  454. j0 = j - 1;
  455. t1.$indexSet(a, j, t1.$index(a, j0));
  456. j = j0;
  457. }
  458. t1.$indexSet(a, j, el);
  459. }
  460. },
  461. Sort__dualPivotQuicksort(a, left, right, compare) {
  462. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  463. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  464. index1 = left + sixth,
  465. index5 = right - sixth,
  466. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  467. index2 = index3 - sixth,
  468. index4 = index3 + sixth,
  469. t1 = J.getInterceptor$asx(a),
  470. el1 = t1.$index(a, index1),
  471. el2 = t1.$index(a, index2),
  472. el3 = t1.$index(a, index3),
  473. el4 = t1.$index(a, index4),
  474. el5 = t1.$index(a, index5);
  475. if (compare.call$2(el1, el2) > 0) {
  476. t0 = el2;
  477. el2 = el1;
  478. el1 = t0;
  479. }
  480. if (compare.call$2(el4, el5) > 0) {
  481. t0 = el5;
  482. el5 = el4;
  483. el4 = t0;
  484. }
  485. if (compare.call$2(el1, el3) > 0) {
  486. t0 = el3;
  487. el3 = el1;
  488. el1 = t0;
  489. }
  490. if (compare.call$2(el2, el3) > 0) {
  491. t0 = el3;
  492. el3 = el2;
  493. el2 = t0;
  494. }
  495. if (compare.call$2(el1, el4) > 0) {
  496. t0 = el4;
  497. el4 = el1;
  498. el1 = t0;
  499. }
  500. if (compare.call$2(el3, el4) > 0) {
  501. t0 = el4;
  502. el4 = el3;
  503. el3 = t0;
  504. }
  505. if (compare.call$2(el2, el5) > 0) {
  506. t0 = el5;
  507. el5 = el2;
  508. el2 = t0;
  509. }
  510. if (compare.call$2(el2, el3) > 0) {
  511. t0 = el3;
  512. el3 = el2;
  513. el2 = t0;
  514. }
  515. if (compare.call$2(el4, el5) > 0) {
  516. t0 = el5;
  517. el5 = el4;
  518. el4 = t0;
  519. }
  520. t1.$indexSet(a, index1, el1);
  521. t1.$indexSet(a, index3, el3);
  522. t1.$indexSet(a, index5, el5);
  523. t1.$indexSet(a, index2, t1.$index(a, left));
  524. t1.$indexSet(a, index4, t1.$index(a, right));
  525. less = left + 1;
  526. great = right - 1;
  527. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  528. for (k = less; k <= great; ++k) {
  529. ak = t1.$index(a, k);
  530. comp = compare.call$2(ak, el2);
  531. if (comp === 0)
  532. continue;
  533. if (comp < 0) {
  534. if (k !== less) {
  535. t1.$indexSet(a, k, t1.$index(a, less));
  536. t1.$indexSet(a, less, ak);
  537. }
  538. ++less;
  539. } else
  540. for (; true;) {
  541. comp = compare.call$2(t1.$index(a, great), el2);
  542. if (comp > 0) {
  543. --great;
  544. continue;
  545. } else {
  546. great0 = great - 1;
  547. if (comp < 0) {
  548. t1.$indexSet(a, k, t1.$index(a, less));
  549. less0 = less + 1;
  550. t1.$indexSet(a, less, t1.$index(a, great));
  551. t1.$indexSet(a, great, ak);
  552. great = great0;
  553. less = less0;
  554. break;
  555. } else {
  556. t1.$indexSet(a, k, t1.$index(a, great));
  557. t1.$indexSet(a, great, ak);
  558. great = great0;
  559. break;
  560. }
  561. }
  562. }
  563. }
  564. pivots_are_equal = true;
  565. } else {
  566. for (k = less; k <= great; ++k) {
  567. ak = t1.$index(a, k);
  568. if (compare.call$2(ak, el2) < 0) {
  569. if (k !== less) {
  570. t1.$indexSet(a, k, t1.$index(a, less));
  571. t1.$indexSet(a, less, ak);
  572. }
  573. ++less;
  574. } else if (compare.call$2(ak, el4) > 0)
  575. for (; true;)
  576. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  577. --great;
  578. if (great < k)
  579. break;
  580. continue;
  581. } else {
  582. great0 = great - 1;
  583. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  584. t1.$indexSet(a, k, t1.$index(a, less));
  585. less0 = less + 1;
  586. t1.$indexSet(a, less, t1.$index(a, great));
  587. t1.$indexSet(a, great, ak);
  588. less = less0;
  589. } else {
  590. t1.$indexSet(a, k, t1.$index(a, great));
  591. t1.$indexSet(a, great, ak);
  592. }
  593. great = great0;
  594. break;
  595. }
  596. }
  597. pivots_are_equal = false;
  598. }
  599. t2 = less - 1;
  600. t1.$indexSet(a, left, t1.$index(a, t2));
  601. t1.$indexSet(a, t2, el2);
  602. t2 = great + 1;
  603. t1.$indexSet(a, right, t1.$index(a, t2));
  604. t1.$indexSet(a, t2, el4);
  605. A.Sort__doSort(a, left, less - 2, compare);
  606. A.Sort__doSort(a, great + 2, right, compare);
  607. if (pivots_are_equal)
  608. return;
  609. if (less < index1 && great > index5) {
  610. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  611. ++less;
  612. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  613. --great;
  614. for (k = less; k <= great; ++k) {
  615. ak = t1.$index(a, k);
  616. if (compare.call$2(ak, el2) === 0) {
  617. if (k !== less) {
  618. t1.$indexSet(a, k, t1.$index(a, less));
  619. t1.$indexSet(a, less, ak);
  620. }
  621. ++less;
  622. } else if (compare.call$2(ak, el4) === 0)
  623. for (; true;)
  624. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  625. --great;
  626. if (great < k)
  627. break;
  628. continue;
  629. } else {
  630. great0 = great - 1;
  631. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  632. t1.$indexSet(a, k, t1.$index(a, less));
  633. less0 = less + 1;
  634. t1.$indexSet(a, less, t1.$index(a, great));
  635. t1.$indexSet(a, great, ak);
  636. less = less0;
  637. } else {
  638. t1.$indexSet(a, k, t1.$index(a, great));
  639. t1.$indexSet(a, great, ak);
  640. }
  641. great = great0;
  642. break;
  643. }
  644. }
  645. A.Sort__doSort(a, less, great, compare);
  646. } else
  647. A.Sort__doSort(a, less, great, compare);
  648. },
  649. _CastIterableBase: function _CastIterableBase() {
  650. },
  651. CastIterator: function CastIterator(t0, t1) {
  652. this._source = t0;
  653. this.$ti = t1;
  654. },
  655. CastIterable: function CastIterable(t0, t1) {
  656. this._source = t0;
  657. this.$ti = t1;
  658. },
  659. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  660. this._source = t0;
  661. this.$ti = t1;
  662. },
  663. _CastListBase: function _CastListBase() {
  664. },
  665. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  666. this.$this = t0;
  667. this.compare = t1;
  668. },
  669. CastList: function CastList(t0, t1) {
  670. this._source = t0;
  671. this.$ti = t1;
  672. },
  673. CastSet: function CastSet(t0, t1, t2) {
  674. this._source = t0;
  675. this._emptySet = t1;
  676. this.$ti = t2;
  677. },
  678. CastMap: function CastMap(t0, t1) {
  679. this._source = t0;
  680. this.$ti = t1;
  681. },
  682. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  683. this.$this = t0;
  684. this.f = t1;
  685. },
  686. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  687. this.$this = t0;
  688. },
  689. LateError: function LateError(t0) {
  690. this._message = t0;
  691. },
  692. CodeUnits: function CodeUnits(t0) {
  693. this.__internal$_string = t0;
  694. },
  695. nullFuture_closure: function nullFuture_closure() {
  696. },
  697. SentinelValue: function SentinelValue() {
  698. },
  699. EfficientLengthIterable: function EfficientLengthIterable() {
  700. },
  701. ListIterable: function ListIterable() {
  702. },
  703. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  704. var _ = this;
  705. _.__internal$_iterable = t0;
  706. _.__internal$_start = t1;
  707. _._endOrLength = t2;
  708. _.$ti = t3;
  709. },
  710. ListIterator: function ListIterator(t0, t1) {
  711. var _ = this;
  712. _.__internal$_iterable = t0;
  713. _.__internal$_length = t1;
  714. _.__internal$_index = 0;
  715. _.__internal$_current = null;
  716. },
  717. MappedIterable: function MappedIterable(t0, t1, t2) {
  718. this.__internal$_iterable = t0;
  719. this._f = t1;
  720. this.$ti = t2;
  721. },
  722. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  723. this.__internal$_iterable = t0;
  724. this._f = t1;
  725. this.$ti = t2;
  726. },
  727. MappedIterator: function MappedIterator(t0, t1) {
  728. this.__internal$_current = null;
  729. this._iterator = t0;
  730. this._f = t1;
  731. },
  732. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  733. this._source = t0;
  734. this._f = t1;
  735. this.$ti = t2;
  736. },
  737. WhereIterable: function WhereIterable(t0, t1, t2) {
  738. this.__internal$_iterable = t0;
  739. this._f = t1;
  740. this.$ti = t2;
  741. },
  742. WhereIterator: function WhereIterator(t0, t1) {
  743. this._iterator = t0;
  744. this._f = t1;
  745. },
  746. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  747. this.__internal$_iterable = t0;
  748. this._f = t1;
  749. this.$ti = t2;
  750. },
  751. ExpandIterator: function ExpandIterator(t0, t1, t2) {
  752. var _ = this;
  753. _._iterator = t0;
  754. _._f = t1;
  755. _._currentExpansion = t2;
  756. _.__internal$_current = null;
  757. },
  758. TakeIterable: function TakeIterable(t0, t1, t2) {
  759. this.__internal$_iterable = t0;
  760. this._takeCount = t1;
  761. this.$ti = t2;
  762. },
  763. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  764. this.__internal$_iterable = t0;
  765. this._takeCount = t1;
  766. this.$ti = t2;
  767. },
  768. TakeIterator: function TakeIterator(t0, t1) {
  769. this._iterator = t0;
  770. this._remaining = t1;
  771. },
  772. SkipIterable: function SkipIterable(t0, t1, t2) {
  773. this.__internal$_iterable = t0;
  774. this._skipCount = t1;
  775. this.$ti = t2;
  776. },
  777. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  778. this.__internal$_iterable = t0;
  779. this._skipCount = t1;
  780. this.$ti = t2;
  781. },
  782. SkipIterator: function SkipIterator(t0, t1) {
  783. this._iterator = t0;
  784. this._skipCount = t1;
  785. },
  786. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  787. this.__internal$_iterable = t0;
  788. this._f = t1;
  789. this.$ti = t2;
  790. },
  791. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  792. this._iterator = t0;
  793. this._f = t1;
  794. this._hasSkipped = false;
  795. },
  796. EmptyIterable: function EmptyIterable(t0) {
  797. this.$ti = t0;
  798. },
  799. EmptyIterator: function EmptyIterator() {
  800. },
  801. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  802. this.__internal$_first = t0;
  803. this._second = t1;
  804. this.$ti = t2;
  805. },
  806. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  807. this.__internal$_first = t0;
  808. this._second = t1;
  809. this.$ti = t2;
  810. },
  811. FollowedByIterator: function FollowedByIterator(t0, t1) {
  812. this._currentIterator = t0;
  813. this._nextIterable = t1;
  814. },
  815. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  816. this._source = t0;
  817. this.$ti = t1;
  818. },
  819. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  820. this._source = t0;
  821. this.$ti = t1;
  822. },
  823. FixedLengthListMixin: function FixedLengthListMixin() {
  824. },
  825. UnmodifiableListMixin: function UnmodifiableListMixin() {
  826. },
  827. UnmodifiableListBase: function UnmodifiableListBase() {
  828. },
  829. ReversedListIterable: function ReversedListIterable(t0, t1) {
  830. this._source = t0;
  831. this.$ti = t1;
  832. },
  833. Symbol: function Symbol(t0) {
  834. this.__internal$_name = t0;
  835. },
  836. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  837. },
  838. ConstantMap_ConstantMap$from(other, $K, $V) {
  839. var allStrings, k, object, t2,
  840. keys = A.List_List$from(other.get$keys(other), true, $K),
  841. t1 = keys.length,
  842. _i = 0;
  843. while (true) {
  844. if (!(_i < t1)) {
  845. allStrings = true;
  846. break;
  847. }
  848. k = keys[_i];
  849. if (typeof k != "string" || "__proto__" === k) {
  850. allStrings = false;
  851. break;
  852. }
  853. ++_i;
  854. }
  855. if (allStrings) {
  856. object = {};
  857. for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  858. k = keys[_i];
  859. object[k] = other.$index(0, k);
  860. }
  861. return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  862. }
  863. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  864. },
  865. ConstantMap__throwUnmodifiable() {
  866. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  867. },
  868. GeneralConstantMap__constantMapHashCode(key) {
  869. if (typeof key == "number")
  870. return B.JSNumber_methods.get$hashCode(key);
  871. if (type$.Symbol._is(key))
  872. return key.get$hashCode(key);
  873. if (type$.Type._is(key))
  874. return A.Primitives_objectHashCode(key);
  875. return A.objectHashCode(key);
  876. },
  877. GeneralConstantMap__typeTest($T) {
  878. return new A.GeneralConstantMap__typeTest_closure($T);
  879. },
  880. instantiate1(f, T1) {
  881. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  882. t1.Instantiation$1(f);
  883. return t1;
  884. },
  885. unminifyOrTag(rawClassName) {
  886. var preserved = init.mangledGlobalNames[rawClassName];
  887. if (preserved != null)
  888. return preserved;
  889. return rawClassName;
  890. },
  891. isJsIndexable(object, record) {
  892. var result;
  893. if (record != null) {
  894. result = record.x;
  895. if (result != null)
  896. return result;
  897. }
  898. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  899. },
  900. S(value) {
  901. var result;
  902. if (typeof value == "string")
  903. return value;
  904. if (typeof value == "number") {
  905. if (value !== 0)
  906. return "" + value;
  907. } else if (true === value)
  908. return "true";
  909. else if (false === value)
  910. return "false";
  911. else if (value == null)
  912. return "null";
  913. result = J.toString$0$(value);
  914. return result;
  915. },
  916. Primitives_objectHashCode(object) {
  917. var hash,
  918. property = $.Primitives__identityHashCodeProperty;
  919. if (property == null)
  920. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  921. hash = object[property];
  922. if (hash == null) {
  923. hash = Math.random() * 0x3fffffff | 0;
  924. object[property] = hash;
  925. }
  926. return hash;
  927. },
  928. Primitives_parseInt(source, radix) {
  929. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  930. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  931. if (match == null)
  932. return _null;
  933. decimalMatch = match[3];
  934. if (radix == null) {
  935. if (decimalMatch != null)
  936. return parseInt(source, 10);
  937. if (match[2] != null)
  938. return parseInt(source, 16);
  939. return _null;
  940. }
  941. if (radix < 2 || radix > 36)
  942. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  943. if (radix === 10 && decimalMatch != null)
  944. return parseInt(source, 10);
  945. if (radix < 10 || decimalMatch == null) {
  946. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  947. digitsPart = match[1];
  948. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  949. if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
  950. return _null;
  951. }
  952. return parseInt(source, radix);
  953. },
  954. Primitives_parseDouble(source) {
  955. var result, trimmed;
  956. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  957. return null;
  958. result = parseFloat(source);
  959. if (isNaN(result)) {
  960. trimmed = B.JSString_methods.trim$0(source);
  961. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  962. return result;
  963. return null;
  964. }
  965. return result;
  966. },
  967. Primitives_objectTypeName(object) {
  968. return A.Primitives__objectTypeNameNewRti(object);
  969. },
  970. Primitives__objectTypeNameNewRti(object) {
  971. var interceptor, dispatchName, $constructor, constructorName;
  972. if (object instanceof A.Object)
  973. return A._rtiToString(A.instanceType(object), null);
  974. interceptor = J.getInterceptor$(object);
  975. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  976. dispatchName = B.C_JS_CONST(object);
  977. if (dispatchName !== "Object" && dispatchName !== "")
  978. return dispatchName;
  979. $constructor = object.constructor;
  980. if (typeof $constructor == "function") {
  981. constructorName = $constructor.name;
  982. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  983. return constructorName;
  984. }
  985. }
  986. return A._rtiToString(A.instanceType(object), null);
  987. },
  988. Primitives_currentUri() {
  989. if (!!self.location)
  990. return self.location.href;
  991. return null;
  992. },
  993. Primitives__fromCharCodeApply(array) {
  994. var result, i, i0, chunkEnd,
  995. end = array.length;
  996. if (end <= 500)
  997. return String.fromCharCode.apply(null, array);
  998. for (result = "", i = 0; i < end; i = i0) {
  999. i0 = i + 500;
  1000. chunkEnd = i0 < end ? i0 : end;
  1001. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1002. }
  1003. return result;
  1004. },
  1005. Primitives_stringFromCodePoints(codePoints) {
  1006. var t1, _i, i,
  1007. a = A._setArrayType([], type$.JSArray_int);
  1008. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1009. i = codePoints[_i];
  1010. if (!A._isInt(i))
  1011. throw A.wrapException(A.argumentErrorValue(i));
  1012. if (i <= 65535)
  1013. a.push(i);
  1014. else if (i <= 1114111) {
  1015. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1016. a.push(56320 + (i & 1023));
  1017. } else
  1018. throw A.wrapException(A.argumentErrorValue(i));
  1019. }
  1020. return A.Primitives__fromCharCodeApply(a);
  1021. },
  1022. Primitives_stringFromCharCodes(charCodes) {
  1023. var t1, _i, i;
  1024. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1025. i = charCodes[_i];
  1026. if (!A._isInt(i))
  1027. throw A.wrapException(A.argumentErrorValue(i));
  1028. if (i < 0)
  1029. throw A.wrapException(A.argumentErrorValue(i));
  1030. if (i > 65535)
  1031. return A.Primitives_stringFromCodePoints(charCodes);
  1032. }
  1033. return A.Primitives__fromCharCodeApply(charCodes);
  1034. },
  1035. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1036. var i, result, i0, chunkEnd;
  1037. if (end <= 500 && start === 0 && end === charCodes.length)
  1038. return String.fromCharCode.apply(null, charCodes);
  1039. for (i = start, result = ""; i < end; i = i0) {
  1040. i0 = i + 500;
  1041. chunkEnd = i0 < end ? i0 : end;
  1042. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1043. }
  1044. return result;
  1045. },
  1046. Primitives_stringFromCharCode(charCode) {
  1047. var bits;
  1048. if (0 <= charCode) {
  1049. if (charCode <= 65535)
  1050. return String.fromCharCode(charCode);
  1051. if (charCode <= 1114111) {
  1052. bits = charCode - 65536;
  1053. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1054. }
  1055. }
  1056. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1057. },
  1058. Primitives_lazyAsJsDate(receiver) {
  1059. if (receiver.date === void 0)
  1060. receiver.date = new Date(receiver._core$_value);
  1061. return receiver.date;
  1062. },
  1063. Primitives_getYear(receiver) {
  1064. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1065. return t1;
  1066. },
  1067. Primitives_getMonth(receiver) {
  1068. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1069. return t1;
  1070. },
  1071. Primitives_getDay(receiver) {
  1072. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1073. return t1;
  1074. },
  1075. Primitives_getHours(receiver) {
  1076. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1077. return t1;
  1078. },
  1079. Primitives_getMinutes(receiver) {
  1080. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1081. return t1;
  1082. },
  1083. Primitives_getSeconds(receiver) {
  1084. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1085. return t1;
  1086. },
  1087. Primitives_getMilliseconds(receiver) {
  1088. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  1089. return t1;
  1090. },
  1091. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  1092. var $arguments, namedArgumentList, t1 = {};
  1093. t1.argumentCount = 0;
  1094. $arguments = [];
  1095. namedArgumentList = [];
  1096. t1.argumentCount = positionalArguments.length;
  1097. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  1098. t1.names = "";
  1099. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1100. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  1101. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  1102. },
  1103. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  1104. var t1, argumentCount, jsStub;
  1105. if (Array.isArray(positionalArguments))
  1106. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  1107. else
  1108. t1 = false;
  1109. if (t1) {
  1110. argumentCount = positionalArguments.length;
  1111. if (argumentCount === 0) {
  1112. if (!!$function.call$0)
  1113. return $function.call$0();
  1114. } else if (argumentCount === 1) {
  1115. if (!!$function.call$1)
  1116. return $function.call$1(positionalArguments[0]);
  1117. } else if (argumentCount === 2) {
  1118. if (!!$function.call$2)
  1119. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  1120. } else if (argumentCount === 3) {
  1121. if (!!$function.call$3)
  1122. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  1123. } else if (argumentCount === 4) {
  1124. if (!!$function.call$4)
  1125. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  1126. } else if (argumentCount === 5)
  1127. if (!!$function.call$5)
  1128. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  1129. jsStub = $function["call" + "$" + argumentCount];
  1130. if (jsStub != null)
  1131. return jsStub.apply($function, positionalArguments);
  1132. }
  1133. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  1134. },
  1135. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  1136. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  1137. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  1138. argumentCount = $arguments.length,
  1139. requiredParameterCount = $function.$requiredArgCount;
  1140. if (argumentCount < requiredParameterCount)
  1141. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1142. defaultValuesClosure = $function.$defaultValues;
  1143. t1 = defaultValuesClosure == null;
  1144. defaultValues = !t1 ? defaultValuesClosure() : null;
  1145. interceptor = J.getInterceptor$($function);
  1146. jsFunction = interceptor["call*"];
  1147. if (typeof jsFunction == "string")
  1148. jsFunction = interceptor[jsFunction];
  1149. if (t1) {
  1150. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1151. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1152. if (argumentCount === requiredParameterCount)
  1153. return jsFunction.apply($function, $arguments);
  1154. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1155. }
  1156. if (Array.isArray(defaultValues)) {
  1157. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1158. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1159. maxArguments = requiredParameterCount + defaultValues.length;
  1160. if (argumentCount > maxArguments)
  1161. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  1162. if (argumentCount < maxArguments) {
  1163. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  1164. if ($arguments === positionalArguments)
  1165. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1166. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  1167. }
  1168. return jsFunction.apply($function, $arguments);
  1169. } else {
  1170. if (argumentCount > requiredParameterCount)
  1171. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1172. if ($arguments === positionalArguments)
  1173. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1174. keys = Object.keys(defaultValues);
  1175. if (namedArguments == null)
  1176. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1177. defaultValue = defaultValues[keys[_i]];
  1178. if (B.C__Required === defaultValue)
  1179. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1180. B.JSArray_methods.add$1($arguments, defaultValue);
  1181. }
  1182. else {
  1183. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1184. t2 = keys[_i];
  1185. if (namedArguments.containsKey$1(t2)) {
  1186. ++used;
  1187. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  1188. } else {
  1189. defaultValue = defaultValues[t2];
  1190. if (B.C__Required === defaultValue)
  1191. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1192. B.JSArray_methods.add$1($arguments, defaultValue);
  1193. }
  1194. }
  1195. if (used !== namedArguments.__js_helper$_length)
  1196. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1197. }
  1198. return jsFunction.apply($function, $arguments);
  1199. }
  1200. },
  1201. diagnoseIndexError(indexable, index) {
  1202. var $length, _s5_ = "index";
  1203. if (!A._isInt(index))
  1204. return new A.ArgumentError(true, index, _s5_, null);
  1205. $length = J.get$length$asx(indexable);
  1206. if (index < 0 || index >= $length)
  1207. return A.IndexError$(index, indexable, _s5_, null, $length);
  1208. return A.RangeError$value(index, _s5_, null);
  1209. },
  1210. diagnoseRangeError(start, end, $length) {
  1211. if (start < 0 || start > $length)
  1212. return A.RangeError$range(start, 0, $length, "start", null);
  1213. if (end != null)
  1214. if (end < start || end > $length)
  1215. return A.RangeError$range(end, start, $length, "end", null);
  1216. return new A.ArgumentError(true, end, "end", null);
  1217. },
  1218. argumentErrorValue(object) {
  1219. return new A.ArgumentError(true, object, null, null);
  1220. },
  1221. checkNum(value) {
  1222. return value;
  1223. },
  1224. wrapException(ex) {
  1225. var wrapper, t1;
  1226. if (ex == null)
  1227. ex = new A.NullThrownError();
  1228. wrapper = new Error();
  1229. wrapper.dartException = ex;
  1230. t1 = A.toStringWrapper;
  1231. if ("defineProperty" in Object) {
  1232. Object.defineProperty(wrapper, "message", {get: t1});
  1233. wrapper.name = "";
  1234. } else
  1235. wrapper.toString = t1;
  1236. return wrapper;
  1237. },
  1238. toStringWrapper() {
  1239. return J.toString$0$(this.dartException);
  1240. },
  1241. throwExpression(ex) {
  1242. throw A.wrapException(ex);
  1243. },
  1244. throwConcurrentModificationError(collection) {
  1245. throw A.wrapException(A.ConcurrentModificationError$(collection));
  1246. },
  1247. TypeErrorDecoder_extractPattern(message) {
  1248. var match, $arguments, argumentsExpr, expr, method, receiver;
  1249. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  1250. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  1251. if (match == null)
  1252. match = A._setArrayType([], type$.JSArray_String);
  1253. $arguments = match.indexOf("\\$arguments\\$");
  1254. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  1255. expr = match.indexOf("\\$expr\\$");
  1256. method = match.indexOf("\\$method\\$");
  1257. receiver = match.indexOf("\\$receiver\\$");
  1258. return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver);
  1259. },
  1260. TypeErrorDecoder_provokeCallErrorOn(expression) {
  1261. return function($expr$) {
  1262. var $argumentsExpr$ = "$arguments$";
  1263. try {
  1264. $expr$.$method$($argumentsExpr$);
  1265. } catch (e) {
  1266. return e.message;
  1267. }
  1268. }(expression);
  1269. },
  1270. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  1271. return function($expr$) {
  1272. try {
  1273. $expr$.$method$;
  1274. } catch (e) {
  1275. return e.message;
  1276. }
  1277. }(expression);
  1278. },
  1279. JsNoSuchMethodError$(_message, match) {
  1280. var t1 = match == null,
  1281. t2 = t1 ? null : match.method;
  1282. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  1283. },
  1284. unwrapException(ex) {
  1285. if (ex == null)
  1286. return new A.NullThrownFromJavaScriptException(ex);
  1287. if (ex instanceof A.ExceptionAndStackTrace)
  1288. return A.saveStackTrace(ex, ex.dartException);
  1289. if (typeof ex !== "object")
  1290. return ex;
  1291. if ("dartException" in ex)
  1292. return A.saveStackTrace(ex, ex.dartException);
  1293. return A._unwrapNonDartException(ex);
  1294. },
  1295. saveStackTrace(ex, error) {
  1296. if (type$.Error._is(error))
  1297. if (error.$thrownJsError == null)
  1298. error.$thrownJsError = ex;
  1299. return error;
  1300. },
  1301. _unwrapNonDartException(ex) {
  1302. var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
  1303. if (!("message" in ex))
  1304. return ex;
  1305. message = ex.message;
  1306. if ("number" in ex && typeof ex.number == "number") {
  1307. number = ex.number;
  1308. ieErrorCode = number & 65535;
  1309. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  1310. switch (ieErrorCode) {
  1311. case 438:
  1312. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
  1313. case 445:
  1314. case 5007:
  1315. t1 = A.S(message);
  1316. return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null));
  1317. }
  1318. }
  1319. if (ex instanceof TypeError) {
  1320. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  1321. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  1322. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  1323. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  1324. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  1325. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  1326. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  1327. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  1328. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  1329. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  1330. match = nsme.matchTypeError$1(message);
  1331. if (match != null)
  1332. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1333. else {
  1334. match = notClosure.matchTypeError$1(message);
  1335. if (match != null) {
  1336. match.method = "call";
  1337. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1338. } else {
  1339. match = nullCall.matchTypeError$1(message);
  1340. if (match == null) {
  1341. match = nullLiteralCall.matchTypeError$1(message);
  1342. if (match == null) {
  1343. match = undefCall.matchTypeError$1(message);
  1344. if (match == null) {
  1345. match = undefLiteralCall.matchTypeError$1(message);
  1346. if (match == null) {
  1347. match = nullProperty.matchTypeError$1(message);
  1348. if (match == null) {
  1349. match = nullLiteralCall.matchTypeError$1(message);
  1350. if (match == null) {
  1351. match = undefProperty.matchTypeError$1(message);
  1352. if (match == null) {
  1353. match = undefLiteralProperty.matchTypeError$1(message);
  1354. t1 = match != null;
  1355. } else
  1356. t1 = true;
  1357. } else
  1358. t1 = true;
  1359. } else
  1360. t1 = true;
  1361. } else
  1362. t1 = true;
  1363. } else
  1364. t1 = true;
  1365. } else
  1366. t1 = true;
  1367. } else
  1368. t1 = true;
  1369. if (t1)
  1370. return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
  1371. }
  1372. }
  1373. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  1374. }
  1375. if (ex instanceof RangeError) {
  1376. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  1377. return new A.StackOverflowError();
  1378. message = function(ex) {
  1379. try {
  1380. return String(ex);
  1381. } catch (e) {
  1382. }
  1383. return null;
  1384. }(ex);
  1385. return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  1386. }
  1387. if (typeof InternalError == "function" && ex instanceof InternalError)
  1388. if (typeof message == "string" && message === "too much recursion")
  1389. return new A.StackOverflowError();
  1390. return ex;
  1391. },
  1392. getTraceFromException(exception) {
  1393. var trace;
  1394. if (exception instanceof A.ExceptionAndStackTrace)
  1395. return exception.stackTrace;
  1396. if (exception == null)
  1397. return new A._StackTrace(exception);
  1398. trace = exception.$cachedTrace;
  1399. if (trace != null)
  1400. return trace;
  1401. return exception.$cachedTrace = new A._StackTrace(exception);
  1402. },
  1403. objectHashCode(object) {
  1404. if (object == null || typeof object != "object")
  1405. return J.get$hashCode$(object);
  1406. else
  1407. return A.Primitives_objectHashCode(object);
  1408. },
  1409. fillLiteralMap(keyValuePairs, result) {
  1410. var index, index0, index1,
  1411. $length = keyValuePairs.length;
  1412. for (index = 0; index < $length; index = index1) {
  1413. index0 = index + 1;
  1414. index1 = index0 + 1;
  1415. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  1416. }
  1417. return result;
  1418. },
  1419. fillLiteralSet(values, result) {
  1420. var index,
  1421. $length = values.length;
  1422. for (index = 0; index < $length; ++index)
  1423. result.add$1(0, values[index]);
  1424. return result;
  1425. },
  1426. invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  1427. switch (numberOfArguments) {
  1428. case 0:
  1429. return closure.call$0();
  1430. case 1:
  1431. return closure.call$1(arg1);
  1432. case 2:
  1433. return closure.call$2(arg1, arg2);
  1434. case 3:
  1435. return closure.call$3(arg1, arg2, arg3);
  1436. case 4:
  1437. return closure.call$4(arg1, arg2, arg3, arg4);
  1438. }
  1439. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  1440. },
  1441. convertDartClosureToJS(closure, arity) {
  1442. var $function;
  1443. if (closure == null)
  1444. return null;
  1445. $function = closure.$identity;
  1446. if (!!$function)
  1447. return $function;
  1448. $function = function(closure, arity, invoke) {
  1449. return function(a1, a2, a3, a4) {
  1450. return invoke(closure, arity, a1, a2, a3, a4);
  1451. };
  1452. }(closure, arity, A.invokeClosure);
  1453. closure.$identity = $function;
  1454. return $function;
  1455. },
  1456. Closure_fromTearOff(parameters) {
  1457. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  1458. container = parameters.co,
  1459. isStatic = parameters.iS,
  1460. isIntercepted = parameters.iI,
  1461. needsDirectAccess = parameters.nDA,
  1462. applyTrampolineIndex = parameters.aI,
  1463. funsOrNames = parameters.fs,
  1464. callNames = parameters.cs,
  1465. $name = funsOrNames[0],
  1466. callName = callNames[0],
  1467. $function = container[$name],
  1468. t1 = parameters.fT;
  1469. t1.toString;
  1470. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  1471. $prototype.$initialize = $prototype.constructor;
  1472. if (isStatic)
  1473. $constructor = function static_tear_off() {
  1474. this.$initialize();
  1475. };
  1476. else
  1477. $constructor = function tear_off(a, b) {
  1478. this.$initialize(a, b);
  1479. };
  1480. $prototype.constructor = $constructor;
  1481. $constructor.prototype = $prototype;
  1482. $prototype.$_name = $name;
  1483. $prototype.$_target = $function;
  1484. t2 = !isStatic;
  1485. if (t2)
  1486. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  1487. else {
  1488. $prototype.$static_name = $name;
  1489. trampoline = $function;
  1490. }
  1491. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  1492. $prototype[callName] = trampoline;
  1493. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  1494. stub = funsOrNames[i];
  1495. if (typeof stub == "string") {
  1496. stub0 = container[stub];
  1497. stubName = stub;
  1498. stub = stub0;
  1499. } else
  1500. stubName = "";
  1501. stubCallName = callNames[i];
  1502. if (stubCallName != null) {
  1503. if (t2)
  1504. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  1505. $prototype[stubCallName] = stub;
  1506. }
  1507. if (i === applyTrampolineIndex)
  1508. applyTrampoline = stub;
  1509. }
  1510. $prototype["call*"] = applyTrampoline;
  1511. $prototype.$requiredArgCount = parameters.rC;
  1512. $prototype.$defaultValues = parameters.dV;
  1513. return $constructor;
  1514. },
  1515. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  1516. if (typeof functionType == "number")
  1517. return functionType;
  1518. if (typeof functionType == "string") {
  1519. if (isStatic)
  1520. throw A.wrapException("Cannot compute signature for static tearoff.");
  1521. return function(recipe, evalOnReceiver) {
  1522. return function() {
  1523. return evalOnReceiver(this, recipe);
  1524. };
  1525. }(functionType, A.BoundClosure_evalRecipe);
  1526. }
  1527. throw A.wrapException("Error in functionType of tearoff");
  1528. },
  1529. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  1530. var getReceiver = A.BoundClosure_receiverOf;
  1531. switch (needsDirectAccess ? -1 : arity) {
  1532. case 0:
  1533. return function(entry, receiverOf) {
  1534. return function() {
  1535. return receiverOf(this)[entry]();
  1536. };
  1537. }(stubName, getReceiver);
  1538. case 1:
  1539. return function(entry, receiverOf) {
  1540. return function(a) {
  1541. return receiverOf(this)[entry](a);
  1542. };
  1543. }(stubName, getReceiver);
  1544. case 2:
  1545. return function(entry, receiverOf) {
  1546. return function(a, b) {
  1547. return receiverOf(this)[entry](a, b);
  1548. };
  1549. }(stubName, getReceiver);
  1550. case 3:
  1551. return function(entry, receiverOf) {
  1552. return function(a, b, c) {
  1553. return receiverOf(this)[entry](a, b, c);
  1554. };
  1555. }(stubName, getReceiver);
  1556. case 4:
  1557. return function(entry, receiverOf) {
  1558. return function(a, b, c, d) {
  1559. return receiverOf(this)[entry](a, b, c, d);
  1560. };
  1561. }(stubName, getReceiver);
  1562. case 5:
  1563. return function(entry, receiverOf) {
  1564. return function(a, b, c, d, e) {
  1565. return receiverOf(this)[entry](a, b, c, d, e);
  1566. };
  1567. }(stubName, getReceiver);
  1568. default:
  1569. return function(f, receiverOf) {
  1570. return function() {
  1571. return f.apply(receiverOf(this), arguments);
  1572. };
  1573. }($function, getReceiver);
  1574. }
  1575. },
  1576. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  1577. var arity, t1;
  1578. if (isIntercepted)
  1579. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  1580. arity = $function.length;
  1581. t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
  1582. return t1;
  1583. },
  1584. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  1585. var getReceiver = A.BoundClosure_receiverOf,
  1586. getInterceptor = A.BoundClosure_interceptorOf;
  1587. switch (needsDirectAccess ? -1 : arity) {
  1588. case 0:
  1589. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  1590. case 1:
  1591. return function(entry, interceptorOf, receiverOf) {
  1592. return function() {
  1593. return interceptorOf(this)[entry](receiverOf(this));
  1594. };
  1595. }(stubName, getInterceptor, getReceiver);
  1596. case 2:
  1597. return function(entry, interceptorOf, receiverOf) {
  1598. return function(a) {
  1599. return interceptorOf(this)[entry](receiverOf(this), a);
  1600. };
  1601. }(stubName, getInterceptor, getReceiver);
  1602. case 3:
  1603. return function(entry, interceptorOf, receiverOf) {
  1604. return function(a, b) {
  1605. return interceptorOf(this)[entry](receiverOf(this), a, b);
  1606. };
  1607. }(stubName, getInterceptor, getReceiver);
  1608. case 4:
  1609. return function(entry, interceptorOf, receiverOf) {
  1610. return function(a, b, c) {
  1611. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  1612. };
  1613. }(stubName, getInterceptor, getReceiver);
  1614. case 5:
  1615. return function(entry, interceptorOf, receiverOf) {
  1616. return function(a, b, c, d) {
  1617. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  1618. };
  1619. }(stubName, getInterceptor, getReceiver);
  1620. case 6:
  1621. return function(entry, interceptorOf, receiverOf) {
  1622. return function(a, b, c, d, e) {
  1623. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  1624. };
  1625. }(stubName, getInterceptor, getReceiver);
  1626. default:
  1627. return function(f, interceptorOf, receiverOf) {
  1628. return function() {
  1629. var a = [receiverOf(this)];
  1630. Array.prototype.push.apply(a, arguments);
  1631. return f.apply(interceptorOf(this), a);
  1632. };
  1633. }($function, getInterceptor, getReceiver);
  1634. }
  1635. },
  1636. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  1637. var arity, t1;
  1638. if ($.BoundClosure__interceptorFieldNameCache == null)
  1639. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  1640. if ($.BoundClosure__receiverFieldNameCache == null)
  1641. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  1642. arity = $function.length;
  1643. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  1644. return t1;
  1645. },
  1646. closureFromTearOff(parameters) {
  1647. return A.Closure_fromTearOff(parameters);
  1648. },
  1649. BoundClosure_evalRecipe(closure, recipe) {
  1650. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  1651. },
  1652. BoundClosure_receiverOf(closure) {
  1653. return closure._receiver;
  1654. },
  1655. BoundClosure_interceptorOf(closure) {
  1656. return closure._interceptor;
  1657. },
  1658. BoundClosure__computeFieldNamed(fieldName) {
  1659. var t1, i, $name,
  1660. template = new A.BoundClosure("receiver", "interceptor"),
  1661. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  1662. for (t1 = names.length, i = 0; i < t1; ++i) {
  1663. $name = names[i];
  1664. if (template[$name] === fieldName)
  1665. return $name;
  1666. }
  1667. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  1668. },
  1669. throwCyclicInit(staticName) {
  1670. throw A.wrapException(new A.CyclicInitializationError(staticName));
  1671. },
  1672. getIsolateAffinityTag($name) {
  1673. return init.getIsolateTag($name);
  1674. },
  1675. LinkedHashMapKeyIterator$(_map, _modifications) {
  1676. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  1677. t1._cell = _map._first;
  1678. return t1;
  1679. },
  1680. defineProperty(obj, property, value) {
  1681. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  1682. },
  1683. lookupAndCacheInterceptor(obj) {
  1684. var interceptor, interceptorClass, altTag, mark, t1,
  1685. tag = $.getTagFunction.call$1(obj),
  1686. record = $.dispatchRecordsForInstanceTags[tag];
  1687. if (record != null) {
  1688. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1689. return record.i;
  1690. }
  1691. interceptor = $.interceptorsForUncacheableTags[tag];
  1692. if (interceptor != null)
  1693. return interceptor;
  1694. interceptorClass = init.interceptorsByTag[tag];
  1695. if (interceptorClass == null) {
  1696. altTag = $.alternateTagFunction.call$2(obj, tag);
  1697. if (altTag != null) {
  1698. record = $.dispatchRecordsForInstanceTags[altTag];
  1699. if (record != null) {
  1700. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1701. return record.i;
  1702. }
  1703. interceptor = $.interceptorsForUncacheableTags[altTag];
  1704. if (interceptor != null)
  1705. return interceptor;
  1706. interceptorClass = init.interceptorsByTag[altTag];
  1707. tag = altTag;
  1708. }
  1709. }
  1710. if (interceptorClass == null)
  1711. return null;
  1712. interceptor = interceptorClass.prototype;
  1713. mark = tag[0];
  1714. if (mark === "!") {
  1715. record = A.makeLeafDispatchRecord(interceptor);
  1716. $.dispatchRecordsForInstanceTags[tag] = record;
  1717. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1718. return record.i;
  1719. }
  1720. if (mark === "~") {
  1721. $.interceptorsForUncacheableTags[tag] = interceptor;
  1722. return interceptor;
  1723. }
  1724. if (mark === "-") {
  1725. t1 = A.makeLeafDispatchRecord(interceptor);
  1726. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1727. return t1.i;
  1728. }
  1729. if (mark === "+")
  1730. return A.patchInteriorProto(obj, interceptor);
  1731. if (mark === "*")
  1732. throw A.wrapException(A.UnimplementedError$(tag));
  1733. if (init.leafTags[tag] === true) {
  1734. t1 = A.makeLeafDispatchRecord(interceptor);
  1735. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1736. return t1.i;
  1737. } else
  1738. return A.patchInteriorProto(obj, interceptor);
  1739. },
  1740. patchInteriorProto(obj, interceptor) {
  1741. var proto = Object.getPrototypeOf(obj);
  1742. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  1743. return interceptor;
  1744. },
  1745. makeLeafDispatchRecord(interceptor) {
  1746. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  1747. },
  1748. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  1749. var interceptor = interceptorClass.prototype;
  1750. if (init.leafTags[tag] === true)
  1751. return A.makeLeafDispatchRecord(interceptor);
  1752. else
  1753. return J.makeDispatchRecord(interceptor, proto, null, null);
  1754. },
  1755. initNativeDispatch() {
  1756. if (true === $.initNativeDispatchFlag)
  1757. return;
  1758. $.initNativeDispatchFlag = true;
  1759. A.initNativeDispatchContinue();
  1760. },
  1761. initNativeDispatchContinue() {
  1762. var map, tags, fun, i, tag, proto, record, interceptorClass;
  1763. $.dispatchRecordsForInstanceTags = Object.create(null);
  1764. $.interceptorsForUncacheableTags = Object.create(null);
  1765. A.initHooks();
  1766. map = init.interceptorsByTag;
  1767. tags = Object.getOwnPropertyNames(map);
  1768. if (typeof window != "undefined") {
  1769. window;
  1770. fun = function() {
  1771. };
  1772. for (i = 0; i < tags.length; ++i) {
  1773. tag = tags[i];
  1774. proto = $.prototypeForTagFunction.call$1(tag);
  1775. if (proto != null) {
  1776. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  1777. if (record != null) {
  1778. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1779. fun.prototype = proto;
  1780. }
  1781. }
  1782. }
  1783. }
  1784. for (i = 0; i < tags.length; ++i) {
  1785. tag = tags[i];
  1786. if (/^[A-Za-z_]/.test(tag)) {
  1787. interceptorClass = map[tag];
  1788. map["!" + tag] = interceptorClass;
  1789. map["~" + tag] = interceptorClass;
  1790. map["-" + tag] = interceptorClass;
  1791. map["+" + tag] = interceptorClass;
  1792. map["*" + tag] = interceptorClass;
  1793. }
  1794. }
  1795. },
  1796. initHooks() {
  1797. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  1798. hooks = B.C_JS_CONST0();
  1799. hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks)))))));
  1800. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  1801. transformers = dartNativeDispatchHooksTransformer;
  1802. if (typeof transformers == "function")
  1803. transformers = [transformers];
  1804. if (transformers.constructor == Array)
  1805. for (i = 0; i < transformers.length; ++i) {
  1806. transformer = transformers[i];
  1807. if (typeof transformer == "function")
  1808. hooks = transformer(hooks) || hooks;
  1809. }
  1810. }
  1811. getTag = hooks.getTag;
  1812. getUnknownTag = hooks.getUnknownTag;
  1813. prototypeForTag = hooks.prototypeForTag;
  1814. $.getTagFunction = new A.initHooks_closure(getTag);
  1815. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  1816. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  1817. },
  1818. applyHooksTransformer(transformer, hooks) {
  1819. return transformer(hooks) || hooks;
  1820. },
  1821. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  1822. var m = multiLine ? "m" : "",
  1823. i = caseSensitive ? "" : "i",
  1824. u = unicode ? "u" : "",
  1825. s = dotAll ? "s" : "",
  1826. g = global ? "g" : "",
  1827. regexp = function(source, modifiers) {
  1828. try {
  1829. return new RegExp(source, modifiers);
  1830. } catch (e) {
  1831. return e;
  1832. }
  1833. }(source, m + i + u + s + g);
  1834. if (regexp instanceof RegExp)
  1835. return regexp;
  1836. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  1837. },
  1838. stringContainsUnchecked(receiver, other, startIndex) {
  1839. var t1;
  1840. if (typeof other == "string")
  1841. return receiver.indexOf(other, startIndex) >= 0;
  1842. else if (other instanceof A.JSSyntaxRegExp) {
  1843. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  1844. return other._nativeRegExp.test(t1);
  1845. } else {
  1846. t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
  1847. return !t1.get$isEmpty(t1);
  1848. }
  1849. },
  1850. escapeReplacement(replacement) {
  1851. if (replacement.indexOf("$", 0) >= 0)
  1852. return replacement.replace(/\$/g, "$$$$");
  1853. return replacement;
  1854. },
  1855. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  1856. var match = regexp._execGlobal$2(receiver, startIndex);
  1857. if (match == null)
  1858. return receiver;
  1859. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
  1860. },
  1861. quoteStringForRegExp(string) {
  1862. if (/[[\]{}()*+?.\\^$|]/.test(string))
  1863. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  1864. return string;
  1865. },
  1866. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  1867. var nativeRegexp;
  1868. if (typeof pattern == "string")
  1869. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  1870. if (pattern instanceof A.JSSyntaxRegExp) {
  1871. nativeRegexp = pattern.get$_nativeGlobalVersion();
  1872. nativeRegexp.lastIndex = 0;
  1873. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  1874. }
  1875. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  1876. },
  1877. stringReplaceAllGeneral(receiver, pattern, replacement) {
  1878. var t1, startIndex, t2, match;
  1879. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  1880. match = t1.get$current(t1);
  1881. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  1882. startIndex = match.get$end(match);
  1883. }
  1884. t1 = t2 + receiver.substring(startIndex);
  1885. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1886. },
  1887. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  1888. var $length, t1, i, index;
  1889. if (pattern === "") {
  1890. if (receiver === "")
  1891. return replacement;
  1892. $length = receiver.length;
  1893. t1 = "" + replacement;
  1894. for (i = 0; i < $length; ++i)
  1895. t1 = t1 + receiver[i] + replacement;
  1896. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1897. }
  1898. index = receiver.indexOf(pattern, 0);
  1899. if (index < 0)
  1900. return receiver;
  1901. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  1902. return receiver.split(pattern).join(replacement);
  1903. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  1904. },
  1905. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  1906. var index, t1, matches, match;
  1907. if (typeof pattern == "string") {
  1908. index = receiver.indexOf(pattern, startIndex);
  1909. if (index < 0)
  1910. return receiver;
  1911. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  1912. }
  1913. if (pattern instanceof A.JSSyntaxRegExp)
  1914. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  1915. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  1916. matches = t1.get$iterator(t1);
  1917. if (!matches.moveNext$0())
  1918. return receiver;
  1919. match = matches.get$current(matches);
  1920. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  1921. },
  1922. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  1923. return receiver.substring(0, start) + replacement + receiver.substring(end);
  1924. },
  1925. ConstantMapView: function ConstantMapView(t0, t1) {
  1926. this._map = t0;
  1927. this.$ti = t1;
  1928. },
  1929. ConstantMap: function ConstantMap() {
  1930. },
  1931. ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
  1932. var _ = this;
  1933. _.__js_helper$_length = t0;
  1934. _._jsObject = t1;
  1935. _.__js_helper$_keys = t2;
  1936. _.$ti = t3;
  1937. },
  1938. ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
  1939. this.$this = t0;
  1940. },
  1941. _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
  1942. this.__js_helper$_map = t0;
  1943. this.$ti = t1;
  1944. },
  1945. GeneralConstantMap: function GeneralConstantMap(t0, t1) {
  1946. this._jsData = t0;
  1947. this.$ti = t1;
  1948. },
  1949. GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) {
  1950. this.T = t0;
  1951. },
  1952. Instantiation: function Instantiation() {
  1953. },
  1954. Instantiation1: function Instantiation1(t0, t1) {
  1955. this._genericClosure = t0;
  1956. this.$ti = t1;
  1957. },
  1958. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  1959. var _ = this;
  1960. _.__js_helper$_memberName = t0;
  1961. _.__js_helper$_kind = t1;
  1962. _._arguments = t2;
  1963. _._namedArgumentNames = t3;
  1964. _._typeArgumentCount = t4;
  1965. },
  1966. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  1967. this._box_0 = t0;
  1968. this.namedArgumentList = t1;
  1969. this.$arguments = t2;
  1970. },
  1971. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  1972. var _ = this;
  1973. _._pattern = t0;
  1974. _._arguments = t1;
  1975. _._argumentsExpr = t2;
  1976. _._expr = t3;
  1977. _._method = t4;
  1978. _._receiver = t5;
  1979. },
  1980. NullError: function NullError(t0, t1) {
  1981. this.__js_helper$_message = t0;
  1982. this._method = t1;
  1983. },
  1984. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  1985. this.__js_helper$_message = t0;
  1986. this._method = t1;
  1987. this._receiver = t2;
  1988. },
  1989. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  1990. this.__js_helper$_message = t0;
  1991. },
  1992. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  1993. this._irritant = t0;
  1994. },
  1995. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  1996. this.dartException = t0;
  1997. this.stackTrace = t1;
  1998. },
  1999. _StackTrace: function _StackTrace(t0) {
  2000. this._exception = t0;
  2001. this._trace = null;
  2002. },
  2003. Closure: function Closure() {
  2004. },
  2005. Closure0Args: function Closure0Args() {
  2006. },
  2007. Closure2Args: function Closure2Args() {
  2008. },
  2009. TearOffClosure: function TearOffClosure() {
  2010. },
  2011. StaticClosure: function StaticClosure() {
  2012. },
  2013. BoundClosure: function BoundClosure(t0, t1) {
  2014. this._receiver = t0;
  2015. this._interceptor = t1;
  2016. },
  2017. RuntimeError: function RuntimeError(t0) {
  2018. this.message = t0;
  2019. },
  2020. _Required: function _Required() {
  2021. },
  2022. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  2023. var _ = this;
  2024. _.__js_helper$_length = 0;
  2025. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  2026. _._modifications = 0;
  2027. _.$ti = t0;
  2028. },
  2029. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  2030. this.$this = t0;
  2031. },
  2032. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  2033. this.$this = t0;
  2034. },
  2035. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  2036. var _ = this;
  2037. _.hashMapCellKey = t0;
  2038. _.hashMapCellValue = t1;
  2039. _._previous = _._next = null;
  2040. },
  2041. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  2042. this.__js_helper$_map = t0;
  2043. this.$ti = t1;
  2044. },
  2045. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  2046. var _ = this;
  2047. _.__js_helper$_map = t0;
  2048. _._modifications = t1;
  2049. _.__js_helper$_current = _._cell = null;
  2050. },
  2051. initHooks_closure: function initHooks_closure(t0) {
  2052. this.getTag = t0;
  2053. },
  2054. initHooks_closure0: function initHooks_closure0(t0) {
  2055. this.getUnknownTag = t0;
  2056. },
  2057. initHooks_closure1: function initHooks_closure1(t0) {
  2058. this.prototypeForTag = t0;
  2059. },
  2060. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  2061. var _ = this;
  2062. _.pattern = t0;
  2063. _._nativeRegExp = t1;
  2064. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  2065. },
  2066. _MatchImplementation: function _MatchImplementation(t0) {
  2067. this._match = t0;
  2068. },
  2069. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  2070. this._re = t0;
  2071. this._string = t1;
  2072. this._start = t2;
  2073. },
  2074. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  2075. var _ = this;
  2076. _._regExp = t0;
  2077. _._string = t1;
  2078. _._nextIndex = t2;
  2079. _.__js_helper$_current = null;
  2080. },
  2081. StringMatch: function StringMatch(t0, t1) {
  2082. this.start = t0;
  2083. this.pattern = t1;
  2084. },
  2085. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  2086. this._input = t0;
  2087. this._pattern = t1;
  2088. this.__js_helper$_index = t2;
  2089. },
  2090. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  2091. var _ = this;
  2092. _._input = t0;
  2093. _._pattern = t1;
  2094. _.__js_helper$_index = t2;
  2095. _.__js_helper$_current = null;
  2096. },
  2097. throwLateFieldADI(fieldName) {
  2098. return A.throwExpression(A.LateError$fieldADI(fieldName));
  2099. },
  2100. throwUnnamedLateFieldNI() {
  2101. return A.throwExpression(A.LateError$fieldNI(""));
  2102. },
  2103. throwUnnamedLateFieldAI() {
  2104. return A.throwExpression(A.LateError$fieldAI(""));
  2105. },
  2106. throwUnnamedLateFieldADI() {
  2107. return A.throwExpression(A.LateError$fieldADI(""));
  2108. },
  2109. _Cell$() {
  2110. var t1 = new A._Cell("");
  2111. return t1._value = t1;
  2112. },
  2113. _Cell$named(_name) {
  2114. var t1 = new A._Cell(_name);
  2115. return t1._value = t1;
  2116. },
  2117. _Cell: function _Cell(t0) {
  2118. this.__late_helper$_name = t0;
  2119. this._value = null;
  2120. },
  2121. _ensureNativeList(list) {
  2122. return list;
  2123. },
  2124. NativeInt8List__create1(arg) {
  2125. return new Int8Array(arg);
  2126. },
  2127. _checkValidIndex(index, list, $length) {
  2128. if (index >>> 0 !== index || index >= $length)
  2129. throw A.wrapException(A.diagnoseIndexError(list, index));
  2130. },
  2131. _checkValidRange(start, end, $length) {
  2132. var t1;
  2133. if (!(start >>> 0 !== start))
  2134. if (end == null)
  2135. t1 = start > $length;
  2136. else
  2137. t1 = end >>> 0 !== end || start > end || end > $length;
  2138. else
  2139. t1 = true;
  2140. if (t1)
  2141. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  2142. if (end == null)
  2143. return $length;
  2144. return end;
  2145. },
  2146. NativeTypedData: function NativeTypedData() {
  2147. },
  2148. NativeTypedArray: function NativeTypedArray() {
  2149. },
  2150. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  2151. },
  2152. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  2153. },
  2154. NativeInt16List: function NativeInt16List() {
  2155. },
  2156. NativeInt32List: function NativeInt32List() {
  2157. },
  2158. NativeInt8List: function NativeInt8List() {
  2159. },
  2160. NativeUint16List: function NativeUint16List() {
  2161. },
  2162. NativeUint32List: function NativeUint32List() {
  2163. },
  2164. NativeUint8ClampedList: function NativeUint8ClampedList() {
  2165. },
  2166. NativeUint8List: function NativeUint8List() {
  2167. },
  2168. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  2169. },
  2170. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2171. },
  2172. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  2173. },
  2174. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2175. },
  2176. Rti__getQuestionFromStar(universe, rti) {
  2177. var question = rti._precomputed1;
  2178. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  2179. },
  2180. Rti__getFutureFromFutureOr(universe, rti) {
  2181. var future = rti._precomputed1;
  2182. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  2183. },
  2184. Rti__isUnionOfFunctionType(rti) {
  2185. var kind = rti._kind;
  2186. if (kind === 6 || kind === 7 || kind === 8)
  2187. return A.Rti__isUnionOfFunctionType(rti._primary);
  2188. return kind === 11 || kind === 12;
  2189. },
  2190. Rti__getCanonicalRecipe(rti) {
  2191. return rti._canonicalRecipe;
  2192. },
  2193. findType(recipe) {
  2194. return A._Universe_eval(init.typeUniverse, recipe, false);
  2195. },
  2196. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  2197. var t1, cache, key, probe, rti;
  2198. if (genericFunctionRti == null)
  2199. return null;
  2200. t1 = instantiationRti._rest;
  2201. cache = genericFunctionRti._bindCache;
  2202. if (cache == null)
  2203. cache = genericFunctionRti._bindCache = new Map();
  2204. key = instantiationRti._canonicalRecipe;
  2205. probe = cache.get(key);
  2206. if (probe != null)
  2207. return probe;
  2208. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  2209. cache.set(key, rti);
  2210. return rti;
  2211. },
  2212. _substitute(universe, rti, typeArguments, depth) {
  2213. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  2214. kind = rti._kind;
  2215. switch (kind) {
  2216. case 5:
  2217. case 1:
  2218. case 2:
  2219. case 3:
  2220. case 4:
  2221. return rti;
  2222. case 6:
  2223. baseType = rti._primary;
  2224. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2225. if (substitutedBaseType === baseType)
  2226. return rti;
  2227. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  2228. case 7:
  2229. baseType = rti._primary;
  2230. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2231. if (substitutedBaseType === baseType)
  2232. return rti;
  2233. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  2234. case 8:
  2235. baseType = rti._primary;
  2236. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2237. if (substitutedBaseType === baseType)
  2238. return rti;
  2239. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  2240. case 9:
  2241. interfaceTypeArguments = rti._rest;
  2242. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  2243. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  2244. return rti;
  2245. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  2246. case 10:
  2247. base = rti._primary;
  2248. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2249. $arguments = rti._rest;
  2250. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  2251. if (substitutedBase === base && substitutedArguments === $arguments)
  2252. return rti;
  2253. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  2254. case 11:
  2255. returnType = rti._primary;
  2256. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  2257. functionParameters = rti._rest;
  2258. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  2259. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  2260. return rti;
  2261. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  2262. case 12:
  2263. bounds = rti._rest;
  2264. depth += bounds.length;
  2265. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  2266. base = rti._primary;
  2267. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2268. if (substitutedBounds === bounds && substitutedBase === base)
  2269. return rti;
  2270. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  2271. case 13:
  2272. index = rti._primary;
  2273. if (index < depth)
  2274. return rti;
  2275. argument = typeArguments[index - depth];
  2276. if (argument == null)
  2277. return rti;
  2278. return argument;
  2279. default:
  2280. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  2281. }
  2282. },
  2283. _substituteArray(universe, rtiArray, typeArguments, depth) {
  2284. var changed, i, rti, substitutedRti,
  2285. $length = rtiArray.length,
  2286. result = A._Utils_newArrayOrEmpty($length);
  2287. for (changed = false, i = 0; i < $length; ++i) {
  2288. rti = rtiArray[i];
  2289. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2290. if (substitutedRti !== rti)
  2291. changed = true;
  2292. result[i] = substitutedRti;
  2293. }
  2294. return changed ? result : rtiArray;
  2295. },
  2296. _substituteNamed(universe, namedArray, typeArguments, depth) {
  2297. var changed, i, t1, t2, rti, substitutedRti,
  2298. $length = namedArray.length,
  2299. result = A._Utils_newArrayOrEmpty($length);
  2300. for (changed = false, i = 0; i < $length; i += 3) {
  2301. t1 = namedArray[i];
  2302. t2 = namedArray[i + 1];
  2303. rti = namedArray[i + 2];
  2304. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2305. if (substitutedRti !== rti)
  2306. changed = true;
  2307. result.splice(i, 3, t1, t2, substitutedRti);
  2308. }
  2309. return changed ? result : namedArray;
  2310. },
  2311. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  2312. var result,
  2313. requiredPositional = functionParameters._requiredPositional,
  2314. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  2315. optionalPositional = functionParameters._optionalPositional,
  2316. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  2317. named = functionParameters._named,
  2318. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  2319. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  2320. return functionParameters;
  2321. result = new A._FunctionParameters();
  2322. result._requiredPositional = substitutedRequiredPositional;
  2323. result._optionalPositional = substitutedOptionalPositional;
  2324. result._named = substitutedNamed;
  2325. return result;
  2326. },
  2327. _setArrayType(target, rti) {
  2328. target[init.arrayRti] = rti;
  2329. return target;
  2330. },
  2331. closureFunctionType(closure) {
  2332. var signature = closure.$signature;
  2333. if (signature != null) {
  2334. if (typeof signature == "number")
  2335. return A.getTypeFromTypesTable(signature);
  2336. return closure.$signature();
  2337. }
  2338. return null;
  2339. },
  2340. instanceOrFunctionType(object, testRti) {
  2341. var rti;
  2342. if (A.Rti__isUnionOfFunctionType(testRti))
  2343. if (object instanceof A.Closure) {
  2344. rti = A.closureFunctionType(object);
  2345. if (rti != null)
  2346. return rti;
  2347. }
  2348. return A.instanceType(object);
  2349. },
  2350. instanceType(object) {
  2351. var rti;
  2352. if (object instanceof A.Object) {
  2353. rti = object.$ti;
  2354. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2355. }
  2356. if (Array.isArray(object))
  2357. return A._arrayInstanceType(object);
  2358. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  2359. },
  2360. _arrayInstanceType(object) {
  2361. var rti = object[init.arrayRti],
  2362. defaultRti = type$.JSArray_dynamic;
  2363. if (rti == null)
  2364. return defaultRti;
  2365. if (rti.constructor !== defaultRti.constructor)
  2366. return defaultRti;
  2367. return rti;
  2368. },
  2369. _instanceType(object) {
  2370. var rti = object.$ti;
  2371. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2372. },
  2373. _instanceTypeFromConstructor(instance) {
  2374. var $constructor = instance.constructor,
  2375. probe = $constructor.$ccache;
  2376. if (probe != null)
  2377. return probe;
  2378. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  2379. },
  2380. _instanceTypeFromConstructorMiss(instance, $constructor) {
  2381. var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
  2382. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  2383. $constructor.$ccache = rti;
  2384. return rti;
  2385. },
  2386. getTypeFromTypesTable(index) {
  2387. var rti,
  2388. table = init.types,
  2389. type = table[index];
  2390. if (typeof type == "string") {
  2391. rti = A._Universe_eval(init.typeUniverse, type, false);
  2392. table[index] = rti;
  2393. return rti;
  2394. }
  2395. return type;
  2396. },
  2397. getRuntimeType(object) {
  2398. var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  2399. return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
  2400. },
  2401. createRuntimeType(rti) {
  2402. var recipe, starErasedRecipe, starErasedRti,
  2403. type = rti._cachedRuntimeType;
  2404. if (type != null)
  2405. return type;
  2406. recipe = rti._canonicalRecipe;
  2407. starErasedRecipe = recipe.replace(/\*/g, "");
  2408. if (starErasedRecipe === recipe)
  2409. return rti._cachedRuntimeType = new A._Type(rti);
  2410. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  2411. type = starErasedRti._cachedRuntimeType;
  2412. return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
  2413. },
  2414. typeLiteral(recipe) {
  2415. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  2416. },
  2417. _installSpecializedIsTest(object) {
  2418. var t1, unstarred, isFn, $name, testRti = this;
  2419. if (testRti === type$.Object)
  2420. return A._finishIsFn(testRti, object, A._isObject);
  2421. if (!A.isStrongTopType(testRti))
  2422. if (!(testRti === type$.legacy_Object))
  2423. t1 = false;
  2424. else
  2425. t1 = true;
  2426. else
  2427. t1 = true;
  2428. if (t1)
  2429. return A._finishIsFn(testRti, object, A._isTop);
  2430. t1 = testRti._kind;
  2431. unstarred = t1 === 6 ? testRti._primary : testRti;
  2432. if (unstarred === type$.int)
  2433. isFn = A._isInt;
  2434. else if (unstarred === type$.double || unstarred === type$.num)
  2435. isFn = A._isNum;
  2436. else if (unstarred === type$.String)
  2437. isFn = A._isString;
  2438. else
  2439. isFn = unstarred === type$.bool ? A._isBool : null;
  2440. if (isFn != null)
  2441. return A._finishIsFn(testRti, object, isFn);
  2442. if (unstarred._kind === 9) {
  2443. $name = unstarred._primary;
  2444. if (unstarred._rest.every(A.isTopType)) {
  2445. testRti._specializedTestResource = "$is" + $name;
  2446. if ($name === "List")
  2447. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  2448. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  2449. }
  2450. } else if (t1 === 7)
  2451. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  2452. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  2453. },
  2454. _finishIsFn(testRti, object, isFn) {
  2455. testRti._is = isFn;
  2456. return testRti._is(object);
  2457. },
  2458. _installSpecializedAsCheck(object) {
  2459. var t1, testRti = this,
  2460. asFn = A._generalAsCheckImplementation;
  2461. if (!A.isStrongTopType(testRti))
  2462. if (!(testRti === type$.legacy_Object))
  2463. t1 = false;
  2464. else
  2465. t1 = true;
  2466. else
  2467. t1 = true;
  2468. if (t1)
  2469. asFn = A._asTop;
  2470. else if (testRti === type$.Object)
  2471. asFn = A._asObject;
  2472. else {
  2473. t1 = A.isNullable(testRti);
  2474. if (t1)
  2475. asFn = A._generalNullableAsCheckImplementation;
  2476. }
  2477. testRti._as = asFn;
  2478. return testRti._as(object);
  2479. },
  2480. _nullIs(testRti) {
  2481. var t1,
  2482. kind = testRti._kind;
  2483. if (!A.isStrongTopType(testRti))
  2484. if (!(testRti === type$.legacy_Object))
  2485. if (!(testRti === type$.legacy_Never))
  2486. if (kind !== 7)
  2487. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  2488. else
  2489. t1 = true;
  2490. else
  2491. t1 = true;
  2492. else
  2493. t1 = true;
  2494. else
  2495. t1 = true;
  2496. return t1;
  2497. },
  2498. _generalIsTestImplementation(object) {
  2499. var testRti = this;
  2500. if (object == null)
  2501. return A._nullIs(testRti);
  2502. return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
  2503. },
  2504. _generalNullableIsTestImplementation(object) {
  2505. if (object == null)
  2506. return true;
  2507. return this._primary._is(object);
  2508. },
  2509. _isTestViaProperty(object) {
  2510. var tag, testRti = this;
  2511. if (object == null)
  2512. return A._nullIs(testRti);
  2513. tag = testRti._specializedTestResource;
  2514. if (object instanceof A.Object)
  2515. return !!object[tag];
  2516. return !!J.getInterceptor$(object)[tag];
  2517. },
  2518. _isListTestViaProperty(object) {
  2519. var tag, testRti = this;
  2520. if (object == null)
  2521. return A._nullIs(testRti);
  2522. if (typeof object != "object")
  2523. return false;
  2524. if (Array.isArray(object))
  2525. return true;
  2526. tag = testRti._specializedTestResource;
  2527. if (object instanceof A.Object)
  2528. return !!object[tag];
  2529. return !!J.getInterceptor$(object)[tag];
  2530. },
  2531. _generalAsCheckImplementation(object) {
  2532. var t1, testRti = this;
  2533. if (object == null) {
  2534. t1 = A.isNullable(testRti);
  2535. if (t1)
  2536. return object;
  2537. } else if (testRti._is(object))
  2538. return object;
  2539. A._failedAsCheck(object, testRti);
  2540. },
  2541. _generalNullableAsCheckImplementation(object) {
  2542. var testRti = this;
  2543. if (object == null)
  2544. return object;
  2545. else if (testRti._is(object))
  2546. return object;
  2547. A._failedAsCheck(object, testRti);
  2548. },
  2549. _failedAsCheck(object, testRti) {
  2550. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
  2551. },
  2552. _Error_compose(object, objectRti, checkedTypeDescription) {
  2553. var objectDescription = A.Error_safeToString(object);
  2554. return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  2555. },
  2556. _TypeError$fromMessage(message) {
  2557. return new A._TypeError("TypeError: " + message);
  2558. },
  2559. _TypeError__TypeError$forType(object, type) {
  2560. return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
  2561. },
  2562. _isObject(object) {
  2563. return object != null;
  2564. },
  2565. _asObject(object) {
  2566. if (object != null)
  2567. return object;
  2568. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  2569. },
  2570. _isTop(object) {
  2571. return true;
  2572. },
  2573. _asTop(object) {
  2574. return object;
  2575. },
  2576. _isBool(object) {
  2577. return true === object || false === object;
  2578. },
  2579. _asBool(object) {
  2580. if (true === object)
  2581. return true;
  2582. if (false === object)
  2583. return false;
  2584. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2585. },
  2586. _asBoolS(object) {
  2587. if (true === object)
  2588. return true;
  2589. if (false === object)
  2590. return false;
  2591. if (object == null)
  2592. return object;
  2593. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2594. },
  2595. _asBoolQ(object) {
  2596. if (true === object)
  2597. return true;
  2598. if (false === object)
  2599. return false;
  2600. if (object == null)
  2601. return object;
  2602. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  2603. },
  2604. _asDouble(object) {
  2605. if (typeof object == "number")
  2606. return object;
  2607. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2608. },
  2609. _asDoubleS(object) {
  2610. if (typeof object == "number")
  2611. return object;
  2612. if (object == null)
  2613. return object;
  2614. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2615. },
  2616. _asDoubleQ(object) {
  2617. if (typeof object == "number")
  2618. return object;
  2619. if (object == null)
  2620. return object;
  2621. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  2622. },
  2623. _isInt(object) {
  2624. return typeof object == "number" && Math.floor(object) === object;
  2625. },
  2626. _asInt(object) {
  2627. if (typeof object == "number" && Math.floor(object) === object)
  2628. return object;
  2629. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2630. },
  2631. _asIntS(object) {
  2632. if (typeof object == "number" && Math.floor(object) === object)
  2633. return object;
  2634. if (object == null)
  2635. return object;
  2636. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2637. },
  2638. _asIntQ(object) {
  2639. if (typeof object == "number" && Math.floor(object) === object)
  2640. return object;
  2641. if (object == null)
  2642. return object;
  2643. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  2644. },
  2645. _isNum(object) {
  2646. return typeof object == "number";
  2647. },
  2648. _asNum(object) {
  2649. if (typeof object == "number")
  2650. return object;
  2651. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2652. },
  2653. _asNumS(object) {
  2654. if (typeof object == "number")
  2655. return object;
  2656. if (object == null)
  2657. return object;
  2658. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2659. },
  2660. _asNumQ(object) {
  2661. if (typeof object == "number")
  2662. return object;
  2663. if (object == null)
  2664. return object;
  2665. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  2666. },
  2667. _isString(object) {
  2668. return typeof object == "string";
  2669. },
  2670. _asString(object) {
  2671. if (typeof object == "string")
  2672. return object;
  2673. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2674. },
  2675. _asStringS(object) {
  2676. if (typeof object == "string")
  2677. return object;
  2678. if (object == null)
  2679. return object;
  2680. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2681. },
  2682. _asStringQ(object) {
  2683. if (typeof object == "string")
  2684. return object;
  2685. if (object == null)
  2686. return object;
  2687. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  2688. },
  2689. _rtiArrayToString(array, genericContext) {
  2690. var s, sep, i;
  2691. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  2692. s += sep + A._rtiToString(array[i], genericContext);
  2693. return s;
  2694. },
  2695. _functionRtiToString(functionType, genericContext, bounds) {
  2696. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  2697. if (bounds != null) {
  2698. boundsLength = bounds.length;
  2699. if (genericContext == null) {
  2700. genericContext = A._setArrayType([], type$.JSArray_String);
  2701. outerContextLength = null;
  2702. } else
  2703. outerContextLength = genericContext.length;
  2704. offset = genericContext.length;
  2705. for (i = boundsLength; i > 0; --i)
  2706. genericContext.push("T" + (offset + i));
  2707. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  2708. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  2709. boundRti = bounds[i];
  2710. kind = boundRti._kind;
  2711. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  2712. if (!(boundRti === t2))
  2713. t3 = false;
  2714. else
  2715. t3 = true;
  2716. else
  2717. t3 = true;
  2718. if (!t3)
  2719. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  2720. }
  2721. typeParametersText += ">";
  2722. } else {
  2723. typeParametersText = "";
  2724. outerContextLength = null;
  2725. }
  2726. t1 = functionType._primary;
  2727. parameters = functionType._rest;
  2728. requiredPositional = parameters._requiredPositional;
  2729. requiredPositionalLength = requiredPositional.length;
  2730. optionalPositional = parameters._optionalPositional;
  2731. optionalPositionalLength = optionalPositional.length;
  2732. named = parameters._named;
  2733. namedLength = named.length;
  2734. returnTypeText = A._rtiToString(t1, genericContext);
  2735. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  2736. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  2737. if (optionalPositionalLength > 0) {
  2738. argumentsText += sep + "[";
  2739. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  2740. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  2741. argumentsText += "]";
  2742. }
  2743. if (namedLength > 0) {
  2744. argumentsText += sep + "{";
  2745. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  2746. argumentsText += sep;
  2747. if (named[i + 1])
  2748. argumentsText += "required ";
  2749. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  2750. }
  2751. argumentsText += "}";
  2752. }
  2753. if (outerContextLength != null) {
  2754. genericContext.toString;
  2755. genericContext.length = outerContextLength;
  2756. }
  2757. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  2758. },
  2759. _rtiToString(rti, genericContext) {
  2760. var s, questionArgument, argumentKind, $name, $arguments, t1,
  2761. kind = rti._kind;
  2762. if (kind === 5)
  2763. return "erased";
  2764. if (kind === 2)
  2765. return "dynamic";
  2766. if (kind === 3)
  2767. return "void";
  2768. if (kind === 1)
  2769. return "Never";
  2770. if (kind === 4)
  2771. return "any";
  2772. if (kind === 6) {
  2773. s = A._rtiToString(rti._primary, genericContext);
  2774. return s;
  2775. }
  2776. if (kind === 7) {
  2777. questionArgument = rti._primary;
  2778. s = A._rtiToString(questionArgument, genericContext);
  2779. argumentKind = questionArgument._kind;
  2780. return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
  2781. }
  2782. if (kind === 8)
  2783. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  2784. if (kind === 9) {
  2785. $name = A._unminifyOrTag(rti._primary);
  2786. $arguments = rti._rest;
  2787. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  2788. }
  2789. if (kind === 11)
  2790. return A._functionRtiToString(rti, genericContext, null);
  2791. if (kind === 12)
  2792. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  2793. if (kind === 13) {
  2794. t1 = rti._primary;
  2795. return genericContext[genericContext.length - 1 - t1];
  2796. }
  2797. return "?";
  2798. },
  2799. _unminifyOrTag(rawClassName) {
  2800. var preserved = init.mangledGlobalNames[rawClassName];
  2801. if (preserved != null)
  2802. return preserved;
  2803. return rawClassName;
  2804. },
  2805. _Universe_findRule(universe, targetType) {
  2806. var rule = universe.tR[targetType];
  2807. for (; typeof rule == "string";)
  2808. rule = universe.tR[rule];
  2809. return rule;
  2810. },
  2811. _Universe_findErasedType(universe, cls) {
  2812. var $length, erased, $arguments, i, $interface,
  2813. t1 = universe.eT,
  2814. probe = t1[cls];
  2815. if (probe == null)
  2816. return A._Universe_eval(universe, cls, false);
  2817. else if (typeof probe == "number") {
  2818. $length = probe;
  2819. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  2820. $arguments = A._Utils_newArrayOrEmpty($length);
  2821. for (i = 0; i < $length; ++i)
  2822. $arguments[i] = erased;
  2823. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  2824. t1[cls] = $interface;
  2825. return $interface;
  2826. } else
  2827. return probe;
  2828. },
  2829. _Universe_addRules(universe, rules) {
  2830. return A._Utils_objectAssign(universe.tR, rules);
  2831. },
  2832. _Universe_addErasedTypes(universe, types) {
  2833. return A._Utils_objectAssign(universe.eT, types);
  2834. },
  2835. _Universe_eval(universe, recipe, normalize) {
  2836. var rti,
  2837. t1 = universe.eC,
  2838. probe = t1.get(recipe);
  2839. if (probe != null)
  2840. return probe;
  2841. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  2842. t1.set(recipe, rti);
  2843. return rti;
  2844. },
  2845. _Universe_evalInEnvironment(universe, environment, recipe) {
  2846. var probe, rti,
  2847. cache = environment._evalCache;
  2848. if (cache == null)
  2849. cache = environment._evalCache = new Map();
  2850. probe = cache.get(recipe);
  2851. if (probe != null)
  2852. return probe;
  2853. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  2854. cache.set(recipe, rti);
  2855. return rti;
  2856. },
  2857. _Universe_bind(universe, environment, argumentsRti) {
  2858. var argumentsRecipe, probe, rti,
  2859. cache = environment._bindCache;
  2860. if (cache == null)
  2861. cache = environment._bindCache = new Map();
  2862. argumentsRecipe = argumentsRti._canonicalRecipe;
  2863. probe = cache.get(argumentsRecipe);
  2864. if (probe != null)
  2865. return probe;
  2866. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  2867. cache.set(argumentsRecipe, rti);
  2868. return rti;
  2869. },
  2870. _Universe__installTypeTests(universe, rti) {
  2871. rti._as = A._installSpecializedAsCheck;
  2872. rti._is = A._installSpecializedIsTest;
  2873. return rti;
  2874. },
  2875. _Universe__lookupTerminalRti(universe, kind, key) {
  2876. var rti, t1,
  2877. probe = universe.eC.get(key);
  2878. if (probe != null)
  2879. return probe;
  2880. rti = new A.Rti(null, null);
  2881. rti._kind = kind;
  2882. rti._canonicalRecipe = key;
  2883. t1 = A._Universe__installTypeTests(universe, rti);
  2884. universe.eC.set(key, t1);
  2885. return t1;
  2886. },
  2887. _Universe__lookupStarRti(universe, baseType, normalize) {
  2888. var t1,
  2889. key = baseType._canonicalRecipe + "*",
  2890. probe = universe.eC.get(key);
  2891. if (probe != null)
  2892. return probe;
  2893. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  2894. universe.eC.set(key, t1);
  2895. return t1;
  2896. },
  2897. _Universe__createStarRti(universe, baseType, key, normalize) {
  2898. var baseKind, t1, rti;
  2899. if (normalize) {
  2900. baseKind = baseType._kind;
  2901. if (!A.isStrongTopType(baseType))
  2902. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  2903. else
  2904. t1 = true;
  2905. if (t1)
  2906. return baseType;
  2907. }
  2908. rti = new A.Rti(null, null);
  2909. rti._kind = 6;
  2910. rti._primary = baseType;
  2911. rti._canonicalRecipe = key;
  2912. return A._Universe__installTypeTests(universe, rti);
  2913. },
  2914. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  2915. var t1,
  2916. key = baseType._canonicalRecipe + "?",
  2917. probe = universe.eC.get(key);
  2918. if (probe != null)
  2919. return probe;
  2920. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  2921. universe.eC.set(key, t1);
  2922. return t1;
  2923. },
  2924. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  2925. var baseKind, t1, starArgument, rti;
  2926. if (normalize) {
  2927. baseKind = baseType._kind;
  2928. if (!A.isStrongTopType(baseType))
  2929. if (!(baseType === type$.Null || baseType === type$.JSNull))
  2930. if (baseKind !== 7)
  2931. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  2932. else
  2933. t1 = true;
  2934. else
  2935. t1 = true;
  2936. else
  2937. t1 = true;
  2938. if (t1)
  2939. return baseType;
  2940. else if (baseKind === 1 || baseType === type$.legacy_Never)
  2941. return type$.Null;
  2942. else if (baseKind === 6) {
  2943. starArgument = baseType._primary;
  2944. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  2945. return starArgument;
  2946. else
  2947. return A.Rti__getQuestionFromStar(universe, baseType);
  2948. }
  2949. }
  2950. rti = new A.Rti(null, null);
  2951. rti._kind = 7;
  2952. rti._primary = baseType;
  2953. rti._canonicalRecipe = key;
  2954. return A._Universe__installTypeTests(universe, rti);
  2955. },
  2956. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  2957. var t1,
  2958. key = baseType._canonicalRecipe + "/",
  2959. probe = universe.eC.get(key);
  2960. if (probe != null)
  2961. return probe;
  2962. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  2963. universe.eC.set(key, t1);
  2964. return t1;
  2965. },
  2966. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  2967. var t1, t2, rti;
  2968. if (normalize) {
  2969. t1 = baseType._kind;
  2970. if (!A.isStrongTopType(baseType))
  2971. if (!(baseType === type$.legacy_Object))
  2972. t2 = false;
  2973. else
  2974. t2 = true;
  2975. else
  2976. t2 = true;
  2977. if (t2 || baseType === type$.Object)
  2978. return baseType;
  2979. else if (t1 === 1)
  2980. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  2981. else if (baseType === type$.Null || baseType === type$.JSNull)
  2982. return type$.nullable_Future_Null;
  2983. }
  2984. rti = new A.Rti(null, null);
  2985. rti._kind = 8;
  2986. rti._primary = baseType;
  2987. rti._canonicalRecipe = key;
  2988. return A._Universe__installTypeTests(universe, rti);
  2989. },
  2990. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  2991. var rti, t1,
  2992. key = "" + index + "^",
  2993. probe = universe.eC.get(key);
  2994. if (probe != null)
  2995. return probe;
  2996. rti = new A.Rti(null, null);
  2997. rti._kind = 13;
  2998. rti._primary = index;
  2999. rti._canonicalRecipe = key;
  3000. t1 = A._Universe__installTypeTests(universe, rti);
  3001. universe.eC.set(key, t1);
  3002. return t1;
  3003. },
  3004. _Universe__canonicalRecipeJoin($arguments) {
  3005. var s, sep, i,
  3006. $length = $arguments.length;
  3007. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  3008. s += sep + $arguments[i]._canonicalRecipe;
  3009. return s;
  3010. },
  3011. _Universe__canonicalRecipeJoinNamed($arguments) {
  3012. var s, sep, i, t1, nameSep,
  3013. $length = $arguments.length;
  3014. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  3015. t1 = $arguments[i];
  3016. nameSep = $arguments[i + 1] ? "!" : ":";
  3017. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  3018. }
  3019. return s;
  3020. },
  3021. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  3022. var probe, rti, t1,
  3023. s = $name;
  3024. if ($arguments.length > 0)
  3025. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  3026. probe = universe.eC.get(s);
  3027. if (probe != null)
  3028. return probe;
  3029. rti = new A.Rti(null, null);
  3030. rti._kind = 9;
  3031. rti._primary = $name;
  3032. rti._rest = $arguments;
  3033. if ($arguments.length > 0)
  3034. rti._precomputed1 = $arguments[0];
  3035. rti._canonicalRecipe = s;
  3036. t1 = A._Universe__installTypeTests(universe, rti);
  3037. universe.eC.set(s, t1);
  3038. return t1;
  3039. },
  3040. _Universe__lookupBindingRti(universe, base, $arguments) {
  3041. var newBase, newArguments, key, probe, rti, t1;
  3042. if (base._kind === 10) {
  3043. newBase = base._primary;
  3044. newArguments = base._rest.concat($arguments);
  3045. } else {
  3046. newArguments = $arguments;
  3047. newBase = base;
  3048. }
  3049. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  3050. probe = universe.eC.get(key);
  3051. if (probe != null)
  3052. return probe;
  3053. rti = new A.Rti(null, null);
  3054. rti._kind = 10;
  3055. rti._primary = newBase;
  3056. rti._rest = newArguments;
  3057. rti._canonicalRecipe = key;
  3058. t1 = A._Universe__installTypeTests(universe, rti);
  3059. universe.eC.set(key, t1);
  3060. return t1;
  3061. },
  3062. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  3063. var sep, key, probe, rti, t1,
  3064. s = returnType._canonicalRecipe,
  3065. requiredPositional = parameters._requiredPositional,
  3066. requiredPositionalLength = requiredPositional.length,
  3067. optionalPositional = parameters._optionalPositional,
  3068. optionalPositionalLength = optionalPositional.length,
  3069. named = parameters._named,
  3070. namedLength = named.length,
  3071. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  3072. if (optionalPositionalLength > 0) {
  3073. sep = requiredPositionalLength > 0 ? "," : "";
  3074. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  3075. }
  3076. if (namedLength > 0) {
  3077. sep = requiredPositionalLength > 0 ? "," : "";
  3078. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  3079. }
  3080. key = s + (recipe + ")");
  3081. probe = universe.eC.get(key);
  3082. if (probe != null)
  3083. return probe;
  3084. rti = new A.Rti(null, null);
  3085. rti._kind = 11;
  3086. rti._primary = returnType;
  3087. rti._rest = parameters;
  3088. rti._canonicalRecipe = key;
  3089. t1 = A._Universe__installTypeTests(universe, rti);
  3090. universe.eC.set(key, t1);
  3091. return t1;
  3092. },
  3093. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  3094. var t1,
  3095. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  3096. probe = universe.eC.get(key);
  3097. if (probe != null)
  3098. return probe;
  3099. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  3100. universe.eC.set(key, t1);
  3101. return t1;
  3102. },
  3103. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  3104. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  3105. if (normalize) {
  3106. $length = bounds.length;
  3107. typeArguments = A._Utils_newArrayOrEmpty($length);
  3108. for (count = 0, i = 0; i < $length; ++i) {
  3109. bound = bounds[i];
  3110. if (bound._kind === 1) {
  3111. typeArguments[i] = bound;
  3112. ++count;
  3113. }
  3114. }
  3115. if (count > 0) {
  3116. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  3117. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  3118. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  3119. }
  3120. }
  3121. rti = new A.Rti(null, null);
  3122. rti._kind = 12;
  3123. rti._primary = baseFunctionType;
  3124. rti._rest = bounds;
  3125. rti._canonicalRecipe = key;
  3126. return A._Universe__installTypeTests(universe, rti);
  3127. },
  3128. _Parser_create(universe, environment, recipe, normalize) {
  3129. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  3130. },
  3131. _Parser_parse(parser) {
  3132. var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
  3133. source = parser.r,
  3134. t1 = parser.s;
  3135. for (t2 = source.length, i = 0; i < t2;) {
  3136. ch = source.charCodeAt(i);
  3137. if (ch >= 48 && ch <= 57)
  3138. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  3139. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
  3140. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  3141. else if (ch === 46)
  3142. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  3143. else {
  3144. ++i;
  3145. switch (ch) {
  3146. case 44:
  3147. break;
  3148. case 58:
  3149. t1.push(false);
  3150. break;
  3151. case 33:
  3152. t1.push(true);
  3153. break;
  3154. case 59:
  3155. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  3156. break;
  3157. case 94:
  3158. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  3159. break;
  3160. case 35:
  3161. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  3162. break;
  3163. case 64:
  3164. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  3165. break;
  3166. case 126:
  3167. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  3168. break;
  3169. case 60:
  3170. t1.push(parser.p);
  3171. parser.p = t1.length;
  3172. break;
  3173. case 62:
  3174. t3 = parser.u;
  3175. array = t1.splice(parser.p);
  3176. A._Parser_toTypes(parser.u, parser.e, array);
  3177. parser.p = t1.pop();
  3178. head = t1.pop();
  3179. if (typeof head == "string")
  3180. t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
  3181. else {
  3182. base = A._Parser_toType(t3, parser.e, head);
  3183. switch (base._kind) {
  3184. case 11:
  3185. t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
  3186. break;
  3187. default:
  3188. t1.push(A._Universe__lookupBindingRti(t3, base, array));
  3189. break;
  3190. }
  3191. }
  3192. break;
  3193. case 38:
  3194. A._Parser_handleExtendedOperations(parser, t1);
  3195. break;
  3196. case 42:
  3197. t3 = parser.u;
  3198. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3199. break;
  3200. case 63:
  3201. t3 = parser.u;
  3202. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3203. break;
  3204. case 47:
  3205. t3 = parser.u;
  3206. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3207. break;
  3208. case 40:
  3209. t1.push(parser.p);
  3210. parser.p = t1.length;
  3211. break;
  3212. case 41:
  3213. t3 = parser.u;
  3214. parameters = new A._FunctionParameters();
  3215. optionalPositional = t3.sEA;
  3216. named = t3.sEA;
  3217. head = t1.pop();
  3218. if (typeof head == "number")
  3219. switch (head) {
  3220. case -1:
  3221. optionalPositional = t1.pop();
  3222. break;
  3223. case -2:
  3224. named = t1.pop();
  3225. break;
  3226. default:
  3227. t1.push(head);
  3228. break;
  3229. }
  3230. else
  3231. t1.push(head);
  3232. array = t1.splice(parser.p);
  3233. A._Parser_toTypes(parser.u, parser.e, array);
  3234. parser.p = t1.pop();
  3235. parameters._requiredPositional = array;
  3236. parameters._optionalPositional = optionalPositional;
  3237. parameters._named = named;
  3238. t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
  3239. break;
  3240. case 91:
  3241. t1.push(parser.p);
  3242. parser.p = t1.length;
  3243. break;
  3244. case 93:
  3245. array = t1.splice(parser.p);
  3246. A._Parser_toTypes(parser.u, parser.e, array);
  3247. parser.p = t1.pop();
  3248. t1.push(array);
  3249. t1.push(-1);
  3250. break;
  3251. case 123:
  3252. t1.push(parser.p);
  3253. parser.p = t1.length;
  3254. break;
  3255. case 125:
  3256. array = t1.splice(parser.p);
  3257. A._Parser_toTypesNamed(parser.u, parser.e, array);
  3258. parser.p = t1.pop();
  3259. t1.push(array);
  3260. t1.push(-2);
  3261. break;
  3262. default:
  3263. throw "Bad character " + ch;
  3264. }
  3265. }
  3266. }
  3267. item = t1.pop();
  3268. return A._Parser_toType(parser.u, parser.e, item);
  3269. },
  3270. _Parser_handleDigit(i, digit, source, stack) {
  3271. var t1, ch,
  3272. value = digit - 48;
  3273. for (t1 = source.length; i < t1; ++i) {
  3274. ch = source.charCodeAt(i);
  3275. if (!(ch >= 48 && ch <= 57))
  3276. break;
  3277. value = value * 10 + (ch - 48);
  3278. }
  3279. stack.push(value);
  3280. return i;
  3281. },
  3282. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  3283. var t1, ch, t2, string, environment, recipe,
  3284. i = start + 1;
  3285. for (t1 = source.length; i < t1; ++i) {
  3286. ch = source.charCodeAt(i);
  3287. if (ch === 46) {
  3288. if (hasPeriod)
  3289. break;
  3290. hasPeriod = true;
  3291. } else {
  3292. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
  3293. t2 = ch >= 48 && ch <= 57;
  3294. else
  3295. t2 = true;
  3296. if (!t2)
  3297. break;
  3298. }
  3299. }
  3300. string = source.substring(start, i);
  3301. if (hasPeriod) {
  3302. t1 = parser.u;
  3303. environment = parser.e;
  3304. if (environment._kind === 10)
  3305. environment = environment._primary;
  3306. recipe = A._Universe_findRule(t1, environment._primary)[string];
  3307. if (recipe == null)
  3308. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  3309. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  3310. } else
  3311. stack.push(string);
  3312. return i;
  3313. },
  3314. _Parser_handleExtendedOperations(parser, stack) {
  3315. var $top = stack.pop();
  3316. if (0 === $top) {
  3317. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  3318. return;
  3319. }
  3320. if (1 === $top) {
  3321. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  3322. return;
  3323. }
  3324. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  3325. },
  3326. _Parser_toType(universe, environment, item) {
  3327. if (typeof item == "string")
  3328. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  3329. else if (typeof item == "number")
  3330. return A._Parser_indexToType(universe, environment, item);
  3331. else
  3332. return item;
  3333. },
  3334. _Parser_toTypes(universe, environment, items) {
  3335. var i,
  3336. $length = items.length;
  3337. for (i = 0; i < $length; ++i)
  3338. items[i] = A._Parser_toType(universe, environment, items[i]);
  3339. },
  3340. _Parser_toTypesNamed(universe, environment, items) {
  3341. var i,
  3342. $length = items.length;
  3343. for (i = 2; i < $length; i += 3)
  3344. items[i] = A._Parser_toType(universe, environment, items[i]);
  3345. },
  3346. _Parser_indexToType(universe, environment, index) {
  3347. var typeArguments, len,
  3348. kind = environment._kind;
  3349. if (kind === 10) {
  3350. if (index === 0)
  3351. return environment._primary;
  3352. typeArguments = environment._rest;
  3353. len = typeArguments.length;
  3354. if (index <= len)
  3355. return typeArguments[index - 1];
  3356. index -= len;
  3357. environment = environment._primary;
  3358. kind = environment._kind;
  3359. } else if (index === 0)
  3360. return environment;
  3361. if (kind !== 9)
  3362. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  3363. typeArguments = environment._rest;
  3364. if (index <= typeArguments.length)
  3365. return typeArguments[index - 1];
  3366. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  3367. },
  3368. _isSubtype(universe, s, sEnv, t, tEnv) {
  3369. var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
  3370. if (s === t)
  3371. return true;
  3372. if (!A.isStrongTopType(t))
  3373. if (!(t === type$.legacy_Object))
  3374. t1 = false;
  3375. else
  3376. t1 = true;
  3377. else
  3378. t1 = true;
  3379. if (t1)
  3380. return true;
  3381. sKind = s._kind;
  3382. if (sKind === 4)
  3383. return true;
  3384. if (A.isStrongTopType(s))
  3385. return false;
  3386. if (s._kind !== 1)
  3387. t1 = false;
  3388. else
  3389. t1 = true;
  3390. if (t1)
  3391. return true;
  3392. leftTypeVariable = sKind === 13;
  3393. if (leftTypeVariable)
  3394. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  3395. return true;
  3396. tKind = t._kind;
  3397. t1 = s === type$.Null || s === type$.JSNull;
  3398. if (t1) {
  3399. if (tKind === 8)
  3400. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3401. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  3402. }
  3403. if (t === type$.Object) {
  3404. if (sKind === 8)
  3405. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3406. if (sKind === 6)
  3407. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3408. return sKind !== 7;
  3409. }
  3410. if (sKind === 6)
  3411. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3412. if (tKind === 6) {
  3413. t1 = A.Rti__getQuestionFromStar(universe, t);
  3414. return A._isSubtype(universe, s, sEnv, t1, tEnv);
  3415. }
  3416. if (sKind === 8) {
  3417. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  3418. return false;
  3419. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  3420. }
  3421. if (sKind === 7) {
  3422. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
  3423. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3424. }
  3425. if (tKind === 8) {
  3426. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  3427. return true;
  3428. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  3429. }
  3430. if (tKind === 7) {
  3431. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
  3432. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3433. }
  3434. if (leftTypeVariable)
  3435. return false;
  3436. t1 = sKind !== 11;
  3437. if ((!t1 || sKind === 12) && t === type$.Function)
  3438. return true;
  3439. if (tKind === 12) {
  3440. if (s === type$.JavaScriptFunction)
  3441. return true;
  3442. if (sKind !== 12)
  3443. return false;
  3444. sBounds = s._rest;
  3445. tBounds = t._rest;
  3446. sLength = sBounds.length;
  3447. if (sLength !== tBounds.length)
  3448. return false;
  3449. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  3450. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  3451. for (i = 0; i < sLength; ++i) {
  3452. sBound = sBounds[i];
  3453. tBound = tBounds[i];
  3454. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  3455. return false;
  3456. }
  3457. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  3458. }
  3459. if (tKind === 11) {
  3460. if (s === type$.JavaScriptFunction)
  3461. return true;
  3462. if (t1)
  3463. return false;
  3464. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  3465. }
  3466. if (sKind === 9) {
  3467. if (tKind !== 9)
  3468. return false;
  3469. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  3470. }
  3471. return false;
  3472. },
  3473. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  3474. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  3475. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  3476. return false;
  3477. sParameters = s._rest;
  3478. tParameters = t._rest;
  3479. sRequiredPositional = sParameters._requiredPositional;
  3480. tRequiredPositional = tParameters._requiredPositional;
  3481. sRequiredPositionalLength = sRequiredPositional.length;
  3482. tRequiredPositionalLength = tRequiredPositional.length;
  3483. if (sRequiredPositionalLength > tRequiredPositionalLength)
  3484. return false;
  3485. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  3486. sOptionalPositional = sParameters._optionalPositional;
  3487. tOptionalPositional = tParameters._optionalPositional;
  3488. sOptionalPositionalLength = sOptionalPositional.length;
  3489. tOptionalPositionalLength = tOptionalPositional.length;
  3490. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  3491. return false;
  3492. for (i = 0; i < sRequiredPositionalLength; ++i) {
  3493. t1 = sRequiredPositional[i];
  3494. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  3495. return false;
  3496. }
  3497. for (i = 0; i < requiredPositionalDelta; ++i) {
  3498. t1 = sOptionalPositional[i];
  3499. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  3500. return false;
  3501. }
  3502. for (i = 0; i < tOptionalPositionalLength; ++i) {
  3503. t1 = sOptionalPositional[requiredPositionalDelta + i];
  3504. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  3505. return false;
  3506. }
  3507. sNamed = sParameters._named;
  3508. tNamed = tParameters._named;
  3509. sNamedLength = sNamed.length;
  3510. tNamedLength = tNamed.length;
  3511. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  3512. tName = tNamed[tIndex];
  3513. for (; true;) {
  3514. if (sIndex >= sNamedLength)
  3515. return false;
  3516. sName = sNamed[sIndex];
  3517. sIndex += 3;
  3518. if (tName < sName)
  3519. return false;
  3520. sIsRequired = sNamed[sIndex - 2];
  3521. if (sName < tName) {
  3522. if (sIsRequired)
  3523. return false;
  3524. continue;
  3525. }
  3526. t1 = tNamed[tIndex + 1];
  3527. if (sIsRequired && !t1)
  3528. return false;
  3529. t1 = sNamed[sIndex - 1];
  3530. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  3531. return false;
  3532. break;
  3533. }
  3534. }
  3535. for (; sIndex < sNamedLength;) {
  3536. if (sNamed[sIndex + 1])
  3537. return false;
  3538. sIndex += 3;
  3539. }
  3540. return true;
  3541. },
  3542. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  3543. var rule, recipes, $length, supertypeArgs, i, t1, t2,
  3544. sName = s._primary,
  3545. tName = t._primary;
  3546. for (; sName !== tName;) {
  3547. rule = universe.tR[sName];
  3548. if (rule == null)
  3549. return false;
  3550. if (typeof rule == "string") {
  3551. sName = rule;
  3552. continue;
  3553. }
  3554. recipes = rule[tName];
  3555. if (recipes == null)
  3556. return false;
  3557. $length = recipes.length;
  3558. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3559. for (i = 0; i < $length; ++i)
  3560. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  3561. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  3562. }
  3563. t1 = s._rest;
  3564. t2 = t._rest;
  3565. return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
  3566. },
  3567. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  3568. var i, t1, t2,
  3569. $length = sArgs.length;
  3570. for (i = 0; i < $length; ++i) {
  3571. t1 = sArgs[i];
  3572. t2 = tArgs[i];
  3573. if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
  3574. return false;
  3575. }
  3576. return true;
  3577. },
  3578. isNullable(t) {
  3579. var t1,
  3580. kind = t._kind;
  3581. if (!(t === type$.Null || t === type$.JSNull))
  3582. if (!A.isStrongTopType(t))
  3583. if (kind !== 7)
  3584. if (!(kind === 6 && A.isNullable(t._primary)))
  3585. t1 = kind === 8 && A.isNullable(t._primary);
  3586. else
  3587. t1 = true;
  3588. else
  3589. t1 = true;
  3590. else
  3591. t1 = true;
  3592. else
  3593. t1 = true;
  3594. return t1;
  3595. },
  3596. isTopType(t) {
  3597. var t1;
  3598. if (!A.isStrongTopType(t))
  3599. if (!(t === type$.legacy_Object))
  3600. t1 = false;
  3601. else
  3602. t1 = true;
  3603. else
  3604. t1 = true;
  3605. return t1;
  3606. },
  3607. isStrongTopType(t) {
  3608. var kind = t._kind;
  3609. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  3610. },
  3611. _Utils_objectAssign(o, other) {
  3612. var i, key,
  3613. keys = Object.keys(other),
  3614. $length = keys.length;
  3615. for (i = 0; i < $length; ++i) {
  3616. key = keys[i];
  3617. o[key] = other[key];
  3618. }
  3619. },
  3620. _Utils_newArrayOrEmpty($length) {
  3621. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3622. },
  3623. Rti: function Rti(t0, t1) {
  3624. var _ = this;
  3625. _._as = t0;
  3626. _._is = t1;
  3627. _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
  3628. _._kind = 0;
  3629. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  3630. },
  3631. _FunctionParameters: function _FunctionParameters() {
  3632. this._named = this._optionalPositional = this._requiredPositional = null;
  3633. },
  3634. _Type: function _Type(t0) {
  3635. this._rti = t0;
  3636. },
  3637. _Error: function _Error() {
  3638. },
  3639. _TypeError: function _TypeError(t0) {
  3640. this.__rti$_message = t0;
  3641. },
  3642. _AsyncRun__initializeScheduleImmediate() {
  3643. var div, span, t1 = {};
  3644. if (self.scheduleImmediate != null)
  3645. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  3646. if (self.MutationObserver != null && self.document != null) {
  3647. div = self.document.createElement("div");
  3648. span = self.document.createElement("span");
  3649. t1.storedCallback = null;
  3650. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  3651. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  3652. } else if (self.setImmediate != null)
  3653. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  3654. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  3655. },
  3656. _AsyncRun__scheduleImmediateJsOverride(callback) {
  3657. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  3658. },
  3659. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  3660. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  3661. },
  3662. _AsyncRun__scheduleImmediateWithTimer(callback) {
  3663. A.Timer__createTimer(B.Duration_0, callback);
  3664. },
  3665. Timer__createTimer(duration, callback) {
  3666. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  3667. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  3668. },
  3669. _TimerImpl$(milliseconds, callback) {
  3670. var t1 = new A._TimerImpl(true);
  3671. t1._TimerImpl$2(milliseconds, callback);
  3672. return t1;
  3673. },
  3674. _TimerImpl$periodic(milliseconds, callback) {
  3675. var t1 = new A._TimerImpl(false);
  3676. t1._TimerImpl$periodic$2(milliseconds, callback);
  3677. return t1;
  3678. },
  3679. _makeAsyncAwaitCompleter($T) {
  3680. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  3681. },
  3682. _asyncStartSync(bodyFunction, completer) {
  3683. bodyFunction.call$2(0, null);
  3684. completer.isSync = true;
  3685. return completer._future;
  3686. },
  3687. _asyncAwait(object, bodyFunction) {
  3688. A._awaitOnObject(object, bodyFunction);
  3689. },
  3690. _asyncReturn(object, completer) {
  3691. completer.complete$1(object);
  3692. },
  3693. _asyncRethrow(object, completer) {
  3694. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  3695. },
  3696. _awaitOnObject(object, bodyFunction) {
  3697. var t1, future,
  3698. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  3699. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  3700. if (object instanceof A._Future)
  3701. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  3702. else {
  3703. t1 = type$.dynamic;
  3704. if (type$.Future_dynamic._is(object))
  3705. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  3706. else {
  3707. future = new A._Future($.Zone__current, type$._Future_dynamic);
  3708. future._state = 8;
  3709. future._resultOrListeners = object;
  3710. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  3711. }
  3712. }
  3713. },
  3714. _wrapJsFunctionForAsync($function) {
  3715. var $protected = function(fn, ERROR) {
  3716. return function(errorCode, result) {
  3717. while (true)
  3718. try {
  3719. fn(errorCode, result);
  3720. break;
  3721. } catch (error) {
  3722. result = error;
  3723. errorCode = ERROR;
  3724. }
  3725. };
  3726. }($function, 1);
  3727. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  3728. },
  3729. _IterationMarker_yieldStar(values) {
  3730. return new A._IterationMarker(values, 1);
  3731. },
  3732. _IterationMarker_endOfIteration() {
  3733. return B._IterationMarker_null_2;
  3734. },
  3735. _IterationMarker_uncaughtError(error) {
  3736. return new A._IterationMarker(error, 3);
  3737. },
  3738. _makeSyncStarIterable(body, $T) {
  3739. return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
  3740. },
  3741. AsyncError$(error, stackTrace) {
  3742. var t1 = A.checkNotNullable(error, "error", type$.Object);
  3743. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  3744. },
  3745. AsyncError_defaultStackTrace(error) {
  3746. var stackTrace;
  3747. if (type$.Error._is(error)) {
  3748. stackTrace = error.get$stackTrace();
  3749. if (stackTrace != null)
  3750. return stackTrace;
  3751. }
  3752. return B._StringStackTrace_3uE;
  3753. },
  3754. Future_Future$value(value, $T) {
  3755. var t1, t2;
  3756. $T._as(value);
  3757. t1 = value;
  3758. t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3759. t2._asyncComplete$1(t1);
  3760. return t2;
  3761. },
  3762. Future_Future$error(error, stackTrace, $T) {
  3763. var t1, replacement;
  3764. A.checkNotNullable(error, "error", type$.Object);
  3765. t1 = $.Zone__current;
  3766. if (t1 !== B.C__RootZone) {
  3767. replacement = t1.errorCallback$2(error, stackTrace);
  3768. if (replacement != null) {
  3769. error = replacement.error;
  3770. stackTrace = replacement.stackTrace;
  3771. }
  3772. }
  3773. if (stackTrace == null)
  3774. stackTrace = A.AsyncError_defaultStackTrace(error);
  3775. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3776. t1._asyncCompleteError$2(error, stackTrace);
  3777. return t1;
  3778. },
  3779. Future_wait(futures, $T) {
  3780. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  3781. eagerError = false,
  3782. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  3783. _box_0.values = null;
  3784. _box_0.remaining = 0;
  3785. error = A._Cell$named("error");
  3786. stackTrace = A._Cell$named("stackTrace");
  3787. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  3788. try {
  3789. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  3790. future = t1.get$current(t1);
  3791. pos = _box_0.remaining;
  3792. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  3793. ++_box_0.remaining;
  3794. }
  3795. t1 = _box_0.remaining;
  3796. if (t1 === 0) {
  3797. t1 = _future;
  3798. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  3799. return t1;
  3800. }
  3801. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  3802. } catch (exception) {
  3803. e = A.unwrapException(exception);
  3804. st = A.getTraceFromException(exception);
  3805. if (_box_0.remaining === 0 || eagerError)
  3806. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  3807. else {
  3808. error._value = e;
  3809. stackTrace._value = st;
  3810. }
  3811. }
  3812. return _future;
  3813. },
  3814. _Future$zoneValue(value, _zone, $T) {
  3815. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  3816. t1._state = 8;
  3817. t1._resultOrListeners = value;
  3818. return t1;
  3819. },
  3820. _Future__chainCoreFuture(source, target) {
  3821. var t1, listeners;
  3822. for (; t1 = source._state, (t1 & 4) !== 0;)
  3823. source = source._resultOrListeners;
  3824. if ((t1 & 24) !== 0) {
  3825. listeners = target._removeListeners$0();
  3826. target._cloneResult$1(source);
  3827. A._Future__propagateToListeners(target, listeners);
  3828. } else {
  3829. listeners = target._resultOrListeners;
  3830. target._state = target._state & 1 | 4;
  3831. target._resultOrListeners = source;
  3832. source._prependListeners$1(listeners);
  3833. }
  3834. },
  3835. _Future__propagateToListeners(source, listeners) {
  3836. var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
  3837. t1 = _box_1.source = source;
  3838. for (t2 = type$.Future_dynamic; true;) {
  3839. _box_0 = {};
  3840. t3 = t1._state;
  3841. t4 = (t3 & 16) === 0;
  3842. hasError = !t4;
  3843. if (listeners == null) {
  3844. if (hasError && (t3 & 1) === 0) {
  3845. t2 = t1._resultOrListeners;
  3846. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3847. }
  3848. return;
  3849. }
  3850. _box_0.listener = listeners;
  3851. nextListener = listeners._nextListener;
  3852. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  3853. t1._nextListener = null;
  3854. A._Future__propagateToListeners(_box_1.source, t1);
  3855. _box_0.listener = nextListener;
  3856. nextListener0 = nextListener._nextListener;
  3857. }
  3858. t3 = _box_1.source;
  3859. sourceResult = t3._resultOrListeners;
  3860. _box_0.listenerHasError = hasError;
  3861. _box_0.listenerValueOrError = sourceResult;
  3862. if (t4) {
  3863. t5 = t1.state;
  3864. t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
  3865. } else
  3866. t5 = true;
  3867. if (t5) {
  3868. zone = t1.result._zone;
  3869. if (hasError) {
  3870. t1 = t3._zone;
  3871. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  3872. } else
  3873. t1 = false;
  3874. if (t1) {
  3875. t1 = _box_1.source;
  3876. t2 = t1._resultOrListeners;
  3877. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3878. return;
  3879. }
  3880. oldZone = $.Zone__current;
  3881. if (oldZone !== zone)
  3882. $.Zone__current = zone;
  3883. else
  3884. oldZone = null;
  3885. t1 = _box_0.listener.state;
  3886. if ((t1 & 15) === 8)
  3887. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  3888. else if (t4) {
  3889. if ((t1 & 1) !== 0)
  3890. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  3891. } else if ((t1 & 2) !== 0)
  3892. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  3893. if (oldZone != null)
  3894. $.Zone__current = oldZone;
  3895. t1 = _box_0.listenerValueOrError;
  3896. if (t2._is(t1)) {
  3897. t3 = _box_0.listener.$ti;
  3898. t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
  3899. } else
  3900. t3 = false;
  3901. if (t3) {
  3902. result = _box_0.listener.result;
  3903. if ((t1._state & 24) !== 0) {
  3904. current = result._resultOrListeners;
  3905. result._resultOrListeners = null;
  3906. listeners = result._reverseListeners$1(current);
  3907. result._state = t1._state & 30 | result._state & 1;
  3908. result._resultOrListeners = t1._resultOrListeners;
  3909. _box_1.source = t1;
  3910. continue;
  3911. } else
  3912. A._Future__chainCoreFuture(t1, result);
  3913. return;
  3914. }
  3915. }
  3916. result = _box_0.listener.result;
  3917. current = result._resultOrListeners;
  3918. result._resultOrListeners = null;
  3919. listeners = result._reverseListeners$1(current);
  3920. t1 = _box_0.listenerHasError;
  3921. t3 = _box_0.listenerValueOrError;
  3922. if (!t1) {
  3923. result._state = 8;
  3924. result._resultOrListeners = t3;
  3925. } else {
  3926. result._state = result._state & 1 | 16;
  3927. result._resultOrListeners = t3;
  3928. }
  3929. _box_1.source = result;
  3930. t1 = result;
  3931. }
  3932. },
  3933. _registerErrorHandler(errorHandler, zone) {
  3934. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  3935. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  3936. if (type$.dynamic_Function_Object._is(errorHandler))
  3937. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  3938. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  3939. },
  3940. _microtaskLoop() {
  3941. var entry, next;
  3942. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  3943. $._lastPriorityCallback = null;
  3944. next = entry.next;
  3945. $._nextCallback = next;
  3946. if (next == null)
  3947. $._lastCallback = null;
  3948. entry.callback.call$0();
  3949. }
  3950. },
  3951. _startMicrotaskLoop() {
  3952. $._isInCallbackLoop = true;
  3953. try {
  3954. A._microtaskLoop();
  3955. } finally {
  3956. $._lastPriorityCallback = null;
  3957. $._isInCallbackLoop = false;
  3958. if ($._nextCallback != null)
  3959. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  3960. }
  3961. },
  3962. _scheduleAsyncCallback(callback) {
  3963. var newEntry = new A._AsyncCallbackEntry(callback),
  3964. lastCallback = $._lastCallback;
  3965. if (lastCallback == null) {
  3966. $._nextCallback = $._lastCallback = newEntry;
  3967. if (!$._isInCallbackLoop)
  3968. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  3969. } else
  3970. $._lastCallback = lastCallback.next = newEntry;
  3971. },
  3972. _schedulePriorityAsyncCallback(callback) {
  3973. var entry, lastPriorityCallback, next,
  3974. t1 = $._nextCallback;
  3975. if (t1 == null) {
  3976. A._scheduleAsyncCallback(callback);
  3977. $._lastPriorityCallback = $._lastCallback;
  3978. return;
  3979. }
  3980. entry = new A._AsyncCallbackEntry(callback);
  3981. lastPriorityCallback = $._lastPriorityCallback;
  3982. if (lastPriorityCallback == null) {
  3983. entry.next = t1;
  3984. $._nextCallback = $._lastPriorityCallback = entry;
  3985. } else {
  3986. next = lastPriorityCallback.next;
  3987. entry.next = next;
  3988. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  3989. if (next == null)
  3990. $._lastCallback = entry;
  3991. }
  3992. },
  3993. scheduleMicrotask(callback) {
  3994. var t1, _null = null,
  3995. currentZone = $.Zone__current;
  3996. if (B.C__RootZone === currentZone) {
  3997. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  3998. return;
  3999. }
  4000. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  4001. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  4002. else
  4003. t1 = false;
  4004. if (t1) {
  4005. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  4006. return;
  4007. }
  4008. t1 = $.Zone__current;
  4009. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  4010. },
  4011. Stream_Stream$fromFuture(future, $T) {
  4012. var _null = null,
  4013. t1 = $T._eval$1("_SyncStreamController<0>"),
  4014. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  4015. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  4016. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  4017. },
  4018. StreamIterator_StreamIterator(stream) {
  4019. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  4020. },
  4021. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  4022. return sync ? new A._SyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_SyncStreamController<0>")) : new A._AsyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_AsyncStreamController<0>"));
  4023. },
  4024. _runGuarded(notificationHandler) {
  4025. var e, s, exception;
  4026. if (notificationHandler == null)
  4027. return;
  4028. try {
  4029. notificationHandler.call$0();
  4030. } catch (exception) {
  4031. e = A.unwrapException(exception);
  4032. s = A.getTraceFromException(exception);
  4033. $.Zone__current.handleUncaughtError$2(e, s);
  4034. }
  4035. },
  4036. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  4037. var t1 = $.Zone__current,
  4038. t2 = cancelOnError ? 1 : 0,
  4039. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  4040. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  4041. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  4042. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  4043. },
  4044. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  4045. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  4046. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  4047. },
  4048. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  4049. if (handleError == null)
  4050. handleError = A.async___nullErrorHandler$closure();
  4051. if (type$.void_Function_Object_StackTrace._is(handleError))
  4052. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  4053. if (type$.void_Function_Object._is(handleError))
  4054. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  4055. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  4056. },
  4057. _nullDataHandler(value) {
  4058. },
  4059. _nullErrorHandler(error, stackTrace) {
  4060. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  4061. },
  4062. _nullDoneHandler() {
  4063. },
  4064. Timer_Timer(duration, callback) {
  4065. var t1 = $.Zone__current;
  4066. if (t1 === B.C__RootZone)
  4067. return t1.createTimer$2(duration, callback);
  4068. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  4069. },
  4070. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  4071. A._rootHandleError(error, stackTrace);
  4072. },
  4073. _rootHandleError(error, stackTrace) {
  4074. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  4075. },
  4076. _rootRun($self, $parent, zone, f) {
  4077. var old,
  4078. t1 = $.Zone__current;
  4079. if (t1 === zone)
  4080. return f.call$0();
  4081. $.Zone__current = zone;
  4082. old = t1;
  4083. try {
  4084. t1 = f.call$0();
  4085. return t1;
  4086. } finally {
  4087. $.Zone__current = old;
  4088. }
  4089. },
  4090. _rootRunUnary($self, $parent, zone, f, arg) {
  4091. var old,
  4092. t1 = $.Zone__current;
  4093. if (t1 === zone)
  4094. return f.call$1(arg);
  4095. $.Zone__current = zone;
  4096. old = t1;
  4097. try {
  4098. t1 = f.call$1(arg);
  4099. return t1;
  4100. } finally {
  4101. $.Zone__current = old;
  4102. }
  4103. },
  4104. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  4105. var old,
  4106. t1 = $.Zone__current;
  4107. if (t1 === zone)
  4108. return f.call$2(arg1, arg2);
  4109. $.Zone__current = zone;
  4110. old = t1;
  4111. try {
  4112. t1 = f.call$2(arg1, arg2);
  4113. return t1;
  4114. } finally {
  4115. $.Zone__current = old;
  4116. }
  4117. },
  4118. _rootRegisterCallback($self, $parent, zone, f) {
  4119. return f;
  4120. },
  4121. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  4122. return f;
  4123. },
  4124. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  4125. return f;
  4126. },
  4127. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  4128. return null;
  4129. },
  4130. _rootScheduleMicrotask($self, $parent, zone, f) {
  4131. var t1, t2;
  4132. if (B.C__RootZone !== zone) {
  4133. t1 = B.C__RootZone.get$errorZone();
  4134. t2 = zone.get$errorZone();
  4135. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  4136. }
  4137. A._scheduleAsyncCallback(f);
  4138. },
  4139. _rootCreateTimer($self, $parent, zone, duration, callback) {
  4140. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  4141. },
  4142. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  4143. var milliseconds;
  4144. if (B.C__RootZone !== zone)
  4145. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  4146. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4147. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  4148. },
  4149. _rootPrint($self, $parent, zone, line) {
  4150. A.printString(line);
  4151. },
  4152. _printToZone(line) {
  4153. $.Zone__current.print$1(line);
  4154. },
  4155. _rootFork($self, $parent, zone, specification, zoneValues) {
  4156. var valueMap, t1, handleUncaughtError;
  4157. $.printToZone = A.async___printToZone$closure();
  4158. if (specification == null)
  4159. specification = B._ZoneSpecification_ALf;
  4160. if (zoneValues == null)
  4161. valueMap = zone.get$_async$_map();
  4162. else {
  4163. t1 = type$.nullable_Object;
  4164. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  4165. }
  4166. t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap);
  4167. handleUncaughtError = specification.handleUncaughtError;
  4168. if (handleUncaughtError != null)
  4169. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  4170. return t1;
  4171. },
  4172. runZoned(body, zoneValues, $R) {
  4173. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  4174. return A._runZoned(body, zoneValues, null, $R);
  4175. },
  4176. _runZoned(body, zoneValues, specification, $R) {
  4177. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  4178. },
  4179. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  4180. this._box_0 = t0;
  4181. },
  4182. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  4183. this._box_0 = t0;
  4184. this.div = t1;
  4185. this.span = t2;
  4186. },
  4187. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  4188. this.callback = t0;
  4189. },
  4190. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  4191. this.callback = t0;
  4192. },
  4193. _TimerImpl: function _TimerImpl(t0) {
  4194. this._once = t0;
  4195. this._handle = null;
  4196. this._tick = 0;
  4197. },
  4198. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  4199. this.$this = t0;
  4200. this.callback = t1;
  4201. },
  4202. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  4203. var _ = this;
  4204. _.$this = t0;
  4205. _.milliseconds = t1;
  4206. _.start = t2;
  4207. _.callback = t3;
  4208. },
  4209. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  4210. this._future = t0;
  4211. this.isSync = false;
  4212. this.$ti = t1;
  4213. },
  4214. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  4215. this.bodyFunction = t0;
  4216. },
  4217. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  4218. this.bodyFunction = t0;
  4219. },
  4220. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  4221. this.$protected = t0;
  4222. },
  4223. _IterationMarker: function _IterationMarker(t0, t1) {
  4224. this.value = t0;
  4225. this.state = t1;
  4226. },
  4227. _SyncStarIterator: function _SyncStarIterator(t0) {
  4228. var _ = this;
  4229. _._body = t0;
  4230. _._suspendedBodies = _._nestedIterator = _._async$_current = null;
  4231. },
  4232. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  4233. this._outerHelper = t0;
  4234. this.$ti = t1;
  4235. },
  4236. AsyncError: function AsyncError(t0, t1) {
  4237. this.error = t0;
  4238. this.stackTrace = t1;
  4239. },
  4240. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  4241. var _ = this;
  4242. _._box_0 = t0;
  4243. _.cleanUp = t1;
  4244. _.eagerError = t2;
  4245. _._future = t3;
  4246. _.error = t4;
  4247. _.stackTrace = t5;
  4248. },
  4249. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  4250. var _ = this;
  4251. _._box_0 = t0;
  4252. _.pos = t1;
  4253. _._future = t2;
  4254. _.cleanUp = t3;
  4255. _.eagerError = t4;
  4256. _.error = t5;
  4257. _.stackTrace = t6;
  4258. _.T = t7;
  4259. },
  4260. _Completer: function _Completer() {
  4261. },
  4262. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  4263. this.future = t0;
  4264. this.$ti = t1;
  4265. },
  4266. _SyncCompleter: function _SyncCompleter(t0, t1) {
  4267. this.future = t0;
  4268. this.$ti = t1;
  4269. },
  4270. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  4271. var _ = this;
  4272. _._nextListener = null;
  4273. _.result = t0;
  4274. _.state = t1;
  4275. _.callback = t2;
  4276. _.errorCallback = t3;
  4277. _.$ti = t4;
  4278. },
  4279. _Future: function _Future(t0, t1) {
  4280. var _ = this;
  4281. _._state = 0;
  4282. _._zone = t0;
  4283. _._resultOrListeners = null;
  4284. _.$ti = t1;
  4285. },
  4286. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  4287. this.$this = t0;
  4288. this.listener = t1;
  4289. },
  4290. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  4291. this._box_0 = t0;
  4292. this.$this = t1;
  4293. },
  4294. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  4295. this.$this = t0;
  4296. },
  4297. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  4298. this.$this = t0;
  4299. },
  4300. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  4301. this.$this = t0;
  4302. this.e = t1;
  4303. this.s = t2;
  4304. },
  4305. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  4306. this.$this = t0;
  4307. this.value = t1;
  4308. },
  4309. _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
  4310. this.$this = t0;
  4311. this.value = t1;
  4312. },
  4313. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  4314. this.$this = t0;
  4315. this.error = t1;
  4316. this.stackTrace = t2;
  4317. },
  4318. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  4319. this._box_0 = t0;
  4320. this._box_1 = t1;
  4321. this.hasError = t2;
  4322. },
  4323. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  4324. this.originalSource = t0;
  4325. },
  4326. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  4327. this._box_0 = t0;
  4328. this.sourceResult = t1;
  4329. },
  4330. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  4331. this._box_1 = t0;
  4332. this._box_0 = t1;
  4333. },
  4334. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  4335. this.callback = t0;
  4336. this.next = null;
  4337. },
  4338. Stream: function Stream() {
  4339. },
  4340. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  4341. this.controller = t0;
  4342. this.T = t1;
  4343. },
  4344. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  4345. this.controller = t0;
  4346. },
  4347. Stream_length_closure: function Stream_length_closure(t0, t1) {
  4348. this._box_0 = t0;
  4349. this.$this = t1;
  4350. },
  4351. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  4352. this._box_0 = t0;
  4353. this.future = t1;
  4354. },
  4355. StreamTransformerBase: function StreamTransformerBase() {
  4356. },
  4357. _StreamController: function _StreamController() {
  4358. },
  4359. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  4360. this.$this = t0;
  4361. },
  4362. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  4363. this.$this = t0;
  4364. },
  4365. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  4366. },
  4367. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  4368. },
  4369. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  4370. var _ = this;
  4371. _._varData = null;
  4372. _._state = 0;
  4373. _._doneFuture = null;
  4374. _.onListen = t0;
  4375. _.onPause = t1;
  4376. _.onResume = t2;
  4377. _.onCancel = t3;
  4378. _.$ti = t4;
  4379. },
  4380. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  4381. var _ = this;
  4382. _._varData = null;
  4383. _._state = 0;
  4384. _._doneFuture = null;
  4385. _.onListen = t0;
  4386. _.onPause = t1;
  4387. _.onResume = t2;
  4388. _.onCancel = t3;
  4389. _.$ti = t4;
  4390. },
  4391. _ControllerStream: function _ControllerStream(t0, t1) {
  4392. this._controller = t0;
  4393. this.$ti = t1;
  4394. },
  4395. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4396. var _ = this;
  4397. _._controller = t0;
  4398. _._onData = t1;
  4399. _._onError = t2;
  4400. _._onDone = t3;
  4401. _._zone = t4;
  4402. _._state = t5;
  4403. _._pending = _._cancelFuture = null;
  4404. _.$ti = t6;
  4405. },
  4406. _AddStreamState: function _AddStreamState() {
  4407. },
  4408. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  4409. this.$this = t0;
  4410. },
  4411. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  4412. this.varData = t0;
  4413. this.addStreamFuture = t1;
  4414. this.addSubscription = t2;
  4415. },
  4416. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  4417. },
  4418. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  4419. this.$this = t0;
  4420. this.error = t1;
  4421. this.stackTrace = t2;
  4422. },
  4423. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  4424. this.$this = t0;
  4425. },
  4426. _StreamImpl: function _StreamImpl() {
  4427. },
  4428. _DelayedEvent: function _DelayedEvent() {
  4429. },
  4430. _DelayedData: function _DelayedData(t0) {
  4431. this.value = t0;
  4432. this.next = null;
  4433. },
  4434. _DelayedError: function _DelayedError(t0, t1) {
  4435. this.error = t0;
  4436. this.stackTrace = t1;
  4437. this.next = null;
  4438. },
  4439. _DelayedDone: function _DelayedDone() {
  4440. },
  4441. _PendingEvents: function _PendingEvents() {
  4442. this._state = 0;
  4443. this.lastPendingEvent = this.firstPendingEvent = null;
  4444. },
  4445. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  4446. this.$this = t0;
  4447. this.dispatch = t1;
  4448. },
  4449. _StreamIterator: function _StreamIterator(t0) {
  4450. this._subscription = null;
  4451. this._stateData = t0;
  4452. this._async$_hasValue = false;
  4453. },
  4454. _ForwardingStream: function _ForwardingStream() {
  4455. },
  4456. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4457. var _ = this;
  4458. _._stream = t0;
  4459. _._subscription = null;
  4460. _._onData = t1;
  4461. _._onError = t2;
  4462. _._onDone = t3;
  4463. _._zone = t4;
  4464. _._state = t5;
  4465. _._pending = _._cancelFuture = null;
  4466. _.$ti = t6;
  4467. },
  4468. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  4469. this._expand = t0;
  4470. this._async$_source = t1;
  4471. this.$ti = t2;
  4472. },
  4473. _ZoneFunction: function _ZoneFunction(t0, t1) {
  4474. this.zone = t0;
  4475. this.$function = t1;
  4476. },
  4477. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  4478. var _ = this;
  4479. _.handleUncaughtError = t0;
  4480. _.run = t1;
  4481. _.runUnary = t2;
  4482. _.runBinary = t3;
  4483. _.registerCallback = t4;
  4484. _.registerUnaryCallback = t5;
  4485. _.registerBinaryCallback = t6;
  4486. _.errorCallback = t7;
  4487. _.scheduleMicrotask = t8;
  4488. _.createTimer = t9;
  4489. _.createPeriodicTimer = t10;
  4490. _.print = t11;
  4491. _.fork = t12;
  4492. },
  4493. _ZoneDelegate: function _ZoneDelegate(t0) {
  4494. this._delegationTarget = t0;
  4495. },
  4496. _Zone: function _Zone() {
  4497. },
  4498. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  4499. var _ = this;
  4500. _._run = t0;
  4501. _._runUnary = t1;
  4502. _._runBinary = t2;
  4503. _._registerCallback = t3;
  4504. _._registerUnaryCallback = t4;
  4505. _._registerBinaryCallback = t5;
  4506. _._errorCallback = t6;
  4507. _._scheduleMicrotask = t7;
  4508. _._createTimer = t8;
  4509. _._createPeriodicTimer = t9;
  4510. _._print = t10;
  4511. _._fork = t11;
  4512. _._handleUncaughtError = t12;
  4513. _._delegateCache = null;
  4514. _.parent = t13;
  4515. _._async$_map = t14;
  4516. },
  4517. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  4518. this.$this = t0;
  4519. this.registered = t1;
  4520. this.R = t2;
  4521. },
  4522. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4523. var _ = this;
  4524. _.$this = t0;
  4525. _.registered = t1;
  4526. _.T = t2;
  4527. _.R = t3;
  4528. },
  4529. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  4530. this.$this = t0;
  4531. this.registered = t1;
  4532. },
  4533. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  4534. this.error = t0;
  4535. this.stackTrace = t1;
  4536. },
  4537. _RootZone: function _RootZone() {
  4538. },
  4539. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  4540. this.$this = t0;
  4541. this.f = t1;
  4542. this.R = t2;
  4543. },
  4544. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4545. var _ = this;
  4546. _.$this = t0;
  4547. _.f = t1;
  4548. _.T = t2;
  4549. _.R = t3;
  4550. },
  4551. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  4552. this.$this = t0;
  4553. this.f = t1;
  4554. },
  4555. HashMap_HashMap($K, $V) {
  4556. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  4557. },
  4558. _HashMap__getTableEntry(table, key) {
  4559. var entry = table[key];
  4560. return entry === table ? null : entry;
  4561. },
  4562. _HashMap__setTableEntry(table, key, value) {
  4563. if (value == null)
  4564. table[key] = table;
  4565. else
  4566. table[key] = value;
  4567. },
  4568. _HashMap__newHashTable() {
  4569. var table = Object.create(null);
  4570. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  4571. delete table["<non-identifier-key>"];
  4572. return table;
  4573. },
  4574. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  4575. if (isValidKey == null)
  4576. if (hashCode == null) {
  4577. if (equals == null)
  4578. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4579. hashCode = A.collection___defaultHashCode$closure();
  4580. } else {
  4581. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  4582. return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
  4583. if (equals == null)
  4584. equals = A.collection___defaultEquals$closure();
  4585. }
  4586. else {
  4587. if (hashCode == null)
  4588. hashCode = A.collection___defaultHashCode$closure();
  4589. if (equals == null)
  4590. equals = A.collection___defaultEquals$closure();
  4591. }
  4592. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  4593. },
  4594. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  4595. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  4596. },
  4597. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  4598. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4599. },
  4600. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  4601. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  4602. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  4603. },
  4604. LinkedHashSet_LinkedHashSet($E) {
  4605. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4606. },
  4607. LinkedHashSet_LinkedHashSet$_empty($E) {
  4608. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4609. },
  4610. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  4611. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  4612. },
  4613. _LinkedHashSet__newHashTable() {
  4614. var table = Object.create(null);
  4615. table["<non-identifier-key>"] = table;
  4616. delete table["<non-identifier-key>"];
  4617. return table;
  4618. },
  4619. _LinkedHashSetIterator$(_set, _modifications) {
  4620. var t1 = new A._LinkedHashSetIterator(_set, _modifications);
  4621. t1._collection$_cell = _set._collection$_first;
  4622. return t1;
  4623. },
  4624. UnmodifiableListView$(source, $E) {
  4625. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  4626. },
  4627. _defaultEquals(a, b) {
  4628. return J.$eq$(a, b);
  4629. },
  4630. _defaultHashCode(a) {
  4631. return J.get$hashCode$(a);
  4632. },
  4633. HashMap_HashMap$from(other, $K, $V) {
  4634. var result = A.HashMap_HashMap($K, $V);
  4635. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  4636. return result;
  4637. },
  4638. IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  4639. var parts, t1;
  4640. if (A._isToStringVisiting(iterable)) {
  4641. if (leftDelimiter === "(" && rightDelimiter === ")")
  4642. return "(...)";
  4643. return leftDelimiter + "..." + rightDelimiter;
  4644. }
  4645. parts = A._setArrayType([], type$.JSArray_String);
  4646. $._toStringVisiting.push(iterable);
  4647. try {
  4648. A._iterablePartsToStrings(iterable, parts);
  4649. } finally {
  4650. $._toStringVisiting.pop();
  4651. }
  4652. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  4653. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4654. },
  4655. IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  4656. var buffer, t1;
  4657. if (A._isToStringVisiting(iterable))
  4658. return leftDelimiter + "..." + rightDelimiter;
  4659. buffer = new A.StringBuffer(leftDelimiter);
  4660. $._toStringVisiting.push(iterable);
  4661. try {
  4662. t1 = buffer;
  4663. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  4664. } finally {
  4665. $._toStringVisiting.pop();
  4666. }
  4667. buffer._contents += rightDelimiter;
  4668. t1 = buffer._contents;
  4669. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4670. },
  4671. _isToStringVisiting(o) {
  4672. var t1, i;
  4673. for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
  4674. if (o === $._toStringVisiting[i])
  4675. return true;
  4676. return false;
  4677. },
  4678. _iterablePartsToStrings(iterable, parts) {
  4679. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  4680. it = iterable.get$iterator(iterable),
  4681. $length = 0, count = 0;
  4682. while (true) {
  4683. if (!($length < 80 || count < 3))
  4684. break;
  4685. if (!it.moveNext$0())
  4686. return;
  4687. next = A.S(it.get$current(it));
  4688. parts.push(next);
  4689. $length += next.length + 2;
  4690. ++count;
  4691. }
  4692. if (!it.moveNext$0()) {
  4693. if (count <= 5)
  4694. return;
  4695. ultimateString = parts.pop();
  4696. penultimateString = parts.pop();
  4697. } else {
  4698. penultimate = it.get$current(it);
  4699. ++count;
  4700. if (!it.moveNext$0()) {
  4701. if (count <= 4) {
  4702. parts.push(A.S(penultimate));
  4703. return;
  4704. }
  4705. ultimateString = A.S(penultimate);
  4706. penultimateString = parts.pop();
  4707. $length += ultimateString.length + 2;
  4708. } else {
  4709. ultimate = it.get$current(it);
  4710. ++count;
  4711. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  4712. ultimate0 = it.get$current(it);
  4713. ++count;
  4714. if (count > 100) {
  4715. while (true) {
  4716. if (!($length > 75 && count > 3))
  4717. break;
  4718. $length -= parts.pop().length + 2;
  4719. --count;
  4720. }
  4721. parts.push("...");
  4722. return;
  4723. }
  4724. }
  4725. penultimateString = A.S(penultimate);
  4726. ultimateString = A.S(ultimate);
  4727. $length += ultimateString.length + penultimateString.length + 4;
  4728. }
  4729. }
  4730. if (count > parts.length + 2) {
  4731. $length += 5;
  4732. elision = "...";
  4733. } else
  4734. elision = null;
  4735. while (true) {
  4736. if (!($length > 80 && parts.length > 3))
  4737. break;
  4738. $length -= parts.pop().length + 2;
  4739. if (elision == null) {
  4740. $length += 5;
  4741. elision = "...";
  4742. }
  4743. }
  4744. if (elision != null)
  4745. parts.push(elision);
  4746. parts.push(penultimateString);
  4747. parts.push(ultimateString);
  4748. },
  4749. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  4750. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4751. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  4752. return result;
  4753. },
  4754. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  4755. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4756. t1.addAll$1(0, other);
  4757. return t1;
  4758. },
  4759. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  4760. var t1, _i,
  4761. result = A.LinkedHashSet_LinkedHashSet($E);
  4762. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  4763. result.add$1(0, $E._as(elements[_i]));
  4764. return result;
  4765. },
  4766. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  4767. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  4768. t1.addAll$1(0, elements);
  4769. return t1;
  4770. },
  4771. ListMixin__compareAny(a, b) {
  4772. var t1 = type$.Comparable_dynamic;
  4773. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  4774. },
  4775. MapBase_mapToString(m) {
  4776. var result, t1 = {};
  4777. if (A._isToStringVisiting(m))
  4778. return "{...}";
  4779. result = new A.StringBuffer("");
  4780. try {
  4781. $._toStringVisiting.push(m);
  4782. result._contents += "{";
  4783. t1.first = true;
  4784. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  4785. result._contents += "}";
  4786. } finally {
  4787. $._toStringVisiting.pop();
  4788. }
  4789. t1 = result._contents;
  4790. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4791. },
  4792. MapBase__fillMapWithIterables(map, keys, values) {
  4793. var keyIterator = keys.get$iterator(keys),
  4794. valueIterator = values.get$iterator(values),
  4795. hasNextKey = keyIterator.moveNext$0(),
  4796. hasNextValue = valueIterator.moveNext$0();
  4797. while (true) {
  4798. if (!(hasNextKey && hasNextValue))
  4799. break;
  4800. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  4801. hasNextKey = keyIterator.moveNext$0();
  4802. hasNextValue = valueIterator.moveNext$0();
  4803. }
  4804. if (hasNextKey || hasNextValue)
  4805. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  4806. },
  4807. ListQueue$($E) {
  4808. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  4809. },
  4810. ListQueue__calculateCapacity(initialCapacity) {
  4811. return 8;
  4812. },
  4813. ListQueue_ListQueue$of(elements, $E) {
  4814. var t1 = A.ListQueue$($E);
  4815. t1.addAll$1(0, elements);
  4816. return t1;
  4817. },
  4818. ListQueue__nextPowerOf2(number) {
  4819. var nextNumber;
  4820. number = (number << 1 >>> 0) - 1;
  4821. for (; true; number = nextNumber) {
  4822. nextNumber = (number & number - 1) >>> 0;
  4823. if (nextNumber === 0)
  4824. return number;
  4825. }
  4826. },
  4827. _ListQueueIterator$(queue) {
  4828. return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
  4829. },
  4830. _UnmodifiableSetMixin__throwUnmodifiable() {
  4831. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  4832. },
  4833. _HashMap: function _HashMap(t0) {
  4834. var _ = this;
  4835. _._collection$_length = 0;
  4836. _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4837. _.$ti = t0;
  4838. },
  4839. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  4840. this.$this = t0;
  4841. },
  4842. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  4843. this.$this = t0;
  4844. },
  4845. _IdentityHashMap: function _IdentityHashMap(t0) {
  4846. var _ = this;
  4847. _._collection$_length = 0;
  4848. _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4849. _.$ti = t0;
  4850. },
  4851. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  4852. this._map = t0;
  4853. this.$ti = t1;
  4854. },
  4855. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
  4856. var _ = this;
  4857. _._map = t0;
  4858. _._keys = t1;
  4859. _._offset = 0;
  4860. _._collection$_current = null;
  4861. },
  4862. _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
  4863. var _ = this;
  4864. _.__js_helper$_length = 0;
  4865. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4866. _._modifications = 0;
  4867. _.$ti = t0;
  4868. },
  4869. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  4870. var _ = this;
  4871. _._equals = t0;
  4872. _._hashCode = t1;
  4873. _._validKey = t2;
  4874. _.__js_helper$_length = 0;
  4875. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4876. _._modifications = 0;
  4877. _.$ti = t3;
  4878. },
  4879. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  4880. this.K = t0;
  4881. },
  4882. _LinkedHashSet: function _LinkedHashSet(t0) {
  4883. var _ = this;
  4884. _._collection$_length = 0;
  4885. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4886. _._collection$_modifications = 0;
  4887. _.$ti = t0;
  4888. },
  4889. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  4890. var _ = this;
  4891. _._collection$_length = 0;
  4892. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4893. _._collection$_modifications = 0;
  4894. _.$ti = t0;
  4895. },
  4896. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  4897. this._element = t0;
  4898. this._collection$_previous = this._collection$_next = null;
  4899. },
  4900. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
  4901. var _ = this;
  4902. _._set = t0;
  4903. _._collection$_modifications = t1;
  4904. _._collection$_current = _._collection$_cell = null;
  4905. },
  4906. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  4907. this._collection$_source = t0;
  4908. this.$ti = t1;
  4909. },
  4910. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  4911. this.result = t0;
  4912. this.K = t1;
  4913. this.V = t2;
  4914. },
  4915. IterableBase: function IterableBase() {
  4916. },
  4917. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  4918. this.result = t0;
  4919. this.K = t1;
  4920. this.V = t2;
  4921. },
  4922. ListBase: function ListBase() {
  4923. },
  4924. ListMixin: function ListMixin() {
  4925. },
  4926. MapBase: function MapBase() {
  4927. },
  4928. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  4929. this._box_0 = t0;
  4930. this.result = t1;
  4931. },
  4932. MapMixin: function MapMixin() {
  4933. },
  4934. MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) {
  4935. this.$this = t0;
  4936. },
  4937. MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
  4938. this.$this = t0;
  4939. },
  4940. UnmodifiableMapBase: function UnmodifiableMapBase() {
  4941. },
  4942. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  4943. this._map = t0;
  4944. this.$ti = t1;
  4945. },
  4946. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
  4947. this._keys = t0;
  4948. this._map = t1;
  4949. this._collection$_current = null;
  4950. },
  4951. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  4952. },
  4953. MapView: function MapView() {
  4954. },
  4955. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  4956. this._map = t0;
  4957. this.$ti = t1;
  4958. },
  4959. ListQueue: function ListQueue(t0, t1) {
  4960. var _ = this;
  4961. _._collection$_table = t0;
  4962. _._modificationCount = _._collection$_tail = _._collection$_head = 0;
  4963. _.$ti = t1;
  4964. },
  4965. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
  4966. var _ = this;
  4967. _._queue = t0;
  4968. _._collection$_end = t1;
  4969. _._modificationCount = t2;
  4970. _._collection$_position = t3;
  4971. _._collection$_current = null;
  4972. },
  4973. SetMixin: function SetMixin() {
  4974. },
  4975. _SetBase: function _SetBase() {
  4976. },
  4977. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  4978. },
  4979. _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
  4980. this._map = t0;
  4981. this.$ti = t1;
  4982. },
  4983. _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
  4984. },
  4985. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  4986. },
  4987. __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
  4988. },
  4989. __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
  4990. },
  4991. Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
  4992. var casted, result;
  4993. if (codeUnits instanceof Uint8Array) {
  4994. casted = codeUnits;
  4995. end = casted.length;
  4996. if (end - start < 15)
  4997. return null;
  4998. result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
  4999. if (result != null && allowMalformed)
  5000. if (result.indexOf("\ufffd") >= 0)
  5001. return null;
  5002. return result;
  5003. }
  5004. return null;
  5005. },
  5006. Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  5007. var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
  5008. if (decoder == null)
  5009. return null;
  5010. if (0 === start && end === codeUnits.length)
  5011. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
  5012. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
  5013. },
  5014. Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  5015. var t1, exception;
  5016. try {
  5017. t1 = decoder.decode(codeUnits);
  5018. return t1;
  5019. } catch (exception) {
  5020. }
  5021. return null;
  5022. },
  5023. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  5024. if (B.JSInt_methods.$mod($length, 4) !== 0)
  5025. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  5026. if (firstPadding + paddingCount !== $length)
  5027. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  5028. if (paddingCount > 2)
  5029. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  5030. },
  5031. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  5032. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  5033. bits = state >>> 2,
  5034. expectedChars = 3 - (state & 3);
  5035. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  5036. byte = t1.$index(bytes, i);
  5037. byteOr = (byteOr | byte) >>> 0;
  5038. bits = (bits << 8 | byte) & 16777215;
  5039. --expectedChars;
  5040. if (expectedChars === 0) {
  5041. outputIndex0 = outputIndex + 1;
  5042. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
  5043. outputIndex = outputIndex0 + 1;
  5044. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
  5045. outputIndex0 = outputIndex + 1;
  5046. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
  5047. outputIndex = outputIndex0 + 1;
  5048. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
  5049. bits = 0;
  5050. expectedChars = 3;
  5051. }
  5052. }
  5053. if (byteOr >= 0 && byteOr <= 255) {
  5054. if (isLast && expectedChars < 3) {
  5055. outputIndex0 = outputIndex + 1;
  5056. outputIndex1 = outputIndex0 + 1;
  5057. if (3 - expectedChars === 1) {
  5058. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
  5059. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
  5060. output[outputIndex1] = 61;
  5061. output[outputIndex1 + 1] = 61;
  5062. } else {
  5063. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
  5064. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
  5065. output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
  5066. output[outputIndex1 + 1] = 61;
  5067. }
  5068. return 0;
  5069. }
  5070. return (bits << 2 | 3 - expectedChars) >>> 0;
  5071. }
  5072. for (i = start; i < end;) {
  5073. byte = t1.$index(bytes, i);
  5074. if (byte < 0 || byte > 255)
  5075. break;
  5076. ++i;
  5077. }
  5078. throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + J.toRadixString$1$n(t1.$index(bytes, i), 16), null));
  5079. },
  5080. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  5081. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  5082. },
  5083. _defaultToEncodable(object) {
  5084. return object.toJson$0();
  5085. },
  5086. _JsonStringStringifier$(_sink, _toEncodable) {
  5087. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  5088. },
  5089. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  5090. var t1,
  5091. output = new A.StringBuffer(""),
  5092. stringifier = A._JsonStringStringifier$(output, toEncodable);
  5093. stringifier.writeObject$1(object);
  5094. t1 = output._contents;
  5095. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5096. },
  5097. _Utf8Decoder_errorDescription(state) {
  5098. switch (state) {
  5099. case 65:
  5100. return "Missing extension byte";
  5101. case 67:
  5102. return "Unexpected extension byte";
  5103. case 69:
  5104. return "Invalid UTF-8 byte";
  5105. case 71:
  5106. return "Overlong encoding";
  5107. case 73:
  5108. return "Out of unicode range";
  5109. case 75:
  5110. return "Encoded surrogate";
  5111. case 77:
  5112. return "Unfinished UTF-8 octet sequence";
  5113. default:
  5114. return "";
  5115. }
  5116. },
  5117. _Utf8Decoder__makeUint8List(codeUnits, start, end) {
  5118. var t1, i, b,
  5119. $length = end - start,
  5120. bytes = new Uint8Array($length);
  5121. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  5122. b = t1.$index(codeUnits, start + i);
  5123. bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
  5124. }
  5125. return bytes;
  5126. },
  5127. Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
  5128. },
  5129. Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
  5130. },
  5131. AsciiCodec: function AsciiCodec() {
  5132. },
  5133. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  5134. },
  5135. AsciiEncoder: function AsciiEncoder(t0) {
  5136. this._subsetMask = t0;
  5137. },
  5138. Base64Codec: function Base64Codec() {
  5139. },
  5140. Base64Encoder: function Base64Encoder() {
  5141. },
  5142. _Base64Encoder: function _Base64Encoder(t0) {
  5143. this._convert$_state = 0;
  5144. this._alphabet = t0;
  5145. },
  5146. _Base64EncoderSink: function _Base64EncoderSink() {
  5147. },
  5148. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  5149. this._sink = t0;
  5150. this._encoder = t1;
  5151. },
  5152. ByteConversionSink: function ByteConversionSink() {
  5153. },
  5154. ByteConversionSinkBase: function ByteConversionSinkBase() {
  5155. },
  5156. ChunkedConversionSink: function ChunkedConversionSink() {
  5157. },
  5158. Codec: function Codec() {
  5159. },
  5160. Converter: function Converter() {
  5161. },
  5162. Encoding: function Encoding() {
  5163. },
  5164. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  5165. this.unsupportedObject = t0;
  5166. this.cause = t1;
  5167. },
  5168. JsonCyclicError: function JsonCyclicError(t0, t1) {
  5169. this.unsupportedObject = t0;
  5170. this.cause = t1;
  5171. },
  5172. JsonCodec: function JsonCodec() {
  5173. },
  5174. JsonEncoder: function JsonEncoder(t0) {
  5175. this._toEncodable = t0;
  5176. },
  5177. _JsonStringifier: function _JsonStringifier() {
  5178. },
  5179. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  5180. this._box_0 = t0;
  5181. this.keyValueList = t1;
  5182. },
  5183. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  5184. this._sink = t0;
  5185. this._seen = t1;
  5186. this._toEncodable = t2;
  5187. },
  5188. StringConversionSinkBase: function StringConversionSinkBase() {
  5189. },
  5190. StringConversionSinkMixin: function StringConversionSinkMixin() {
  5191. },
  5192. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  5193. this._stringSink = t0;
  5194. },
  5195. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  5196. this._convert$_callback = t0;
  5197. this._stringSink = t1;
  5198. },
  5199. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  5200. this._decoder = t0;
  5201. this._sink = t1;
  5202. this._stringSink = t2;
  5203. },
  5204. Utf8Codec: function Utf8Codec() {
  5205. },
  5206. Utf8Encoder: function Utf8Encoder() {
  5207. },
  5208. _Utf8Encoder: function _Utf8Encoder(t0) {
  5209. this._bufferIndex = 0;
  5210. this._convert$_buffer = t0;
  5211. },
  5212. Utf8Decoder: function Utf8Decoder(t0) {
  5213. this._allowMalformed = t0;
  5214. },
  5215. _Utf8Decoder: function _Utf8Decoder(t0) {
  5216. this.allowMalformed = t0;
  5217. this._convert$_state = 16;
  5218. this._charOrIndex = 0;
  5219. },
  5220. identityHashCode(object) {
  5221. return A.objectHashCode(object);
  5222. },
  5223. Function_apply($function, positionalArguments) {
  5224. return A.Primitives_applyFunction($function, positionalArguments, null);
  5225. },
  5226. Expando$() {
  5227. return new A.Expando(new WeakMap());
  5228. },
  5229. Expando__checkType(object) {
  5230. if (A._isBool(object) || typeof object == "number" || typeof object == "string")
  5231. throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
  5232. },
  5233. int_parse(source, radix) {
  5234. var value = A.Primitives_parseInt(source, radix);
  5235. if (value != null)
  5236. return value;
  5237. throw A.wrapException(A.FormatException$(source, null, null));
  5238. },
  5239. double_parse(source) {
  5240. var value = A.Primitives_parseDouble(source);
  5241. if (value != null)
  5242. return value;
  5243. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  5244. },
  5245. Error__objectToString(object) {
  5246. if (object instanceof A.Closure)
  5247. return object.toString$0(0);
  5248. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  5249. },
  5250. Error__throw(error, stackTrace) {
  5251. error = A.wrapException(error);
  5252. error.stack = stackTrace.toString$0(0);
  5253. throw error;
  5254. throw A.wrapException("unreachable");
  5255. },
  5256. List_List$filled($length, fill, growable, $E) {
  5257. var i,
  5258. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  5259. if ($length !== 0 && fill != null)
  5260. for (i = 0; i < result.length; ++i)
  5261. result[i] = fill;
  5262. return result;
  5263. },
  5264. List_List$from(elements, growable, $E) {
  5265. var t1,
  5266. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5267. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5268. list.push(t1.get$current(t1));
  5269. if (growable)
  5270. return list;
  5271. return J.JSArray_markFixedList(list);
  5272. },
  5273. List_List$of(elements, growable, $E) {
  5274. var t1;
  5275. if (growable)
  5276. return A.List_List$_of(elements, $E);
  5277. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  5278. return t1;
  5279. },
  5280. List_List$_of(elements, $E) {
  5281. var list, t1;
  5282. if (Array.isArray(elements))
  5283. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  5284. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5285. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5286. list.push(t1.get$current(t1));
  5287. return list;
  5288. },
  5289. List_List$unmodifiable(elements, $E) {
  5290. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  5291. },
  5292. String_String$fromCharCodes(charCodes, start, end) {
  5293. var array, len;
  5294. if (Array.isArray(charCodes)) {
  5295. array = charCodes;
  5296. len = array.length;
  5297. end = A.RangeError_checkValidRange(start, end, len);
  5298. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  5299. }
  5300. if (type$.NativeUint8List._is(charCodes))
  5301. return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
  5302. return A.String__stringFromIterable(charCodes, start, end);
  5303. },
  5304. String_String$fromCharCode(charCode) {
  5305. return A.Primitives_stringFromCharCode(charCode);
  5306. },
  5307. String__stringFromIterable(charCodes, start, end) {
  5308. var t1, it, i, list, _null = null;
  5309. if (start < 0)
  5310. throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
  5311. t1 = end == null;
  5312. if (!t1 && end < start)
  5313. throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
  5314. it = J.get$iterator$ax(charCodes);
  5315. for (i = 0; i < start; ++i)
  5316. if (!it.moveNext$0())
  5317. throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
  5318. list = [];
  5319. if (t1)
  5320. for (; it.moveNext$0();)
  5321. list.push(it.get$current(it));
  5322. else
  5323. for (i = start; i < end; ++i) {
  5324. if (!it.moveNext$0())
  5325. throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
  5326. list.push(it.get$current(it));
  5327. }
  5328. return A.Primitives_stringFromCharCodes(list);
  5329. },
  5330. RegExp_RegExp(source, multiLine) {
  5331. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  5332. },
  5333. identical(a, b) {
  5334. return a == null ? b == null : a === b;
  5335. },
  5336. StringBuffer__writeAll(string, objects, separator) {
  5337. var iterator = J.get$iterator$ax(objects);
  5338. if (!iterator.moveNext$0())
  5339. return string;
  5340. if (separator.length === 0) {
  5341. do
  5342. string += A.S(iterator.get$current(iterator));
  5343. while (iterator.moveNext$0());
  5344. } else {
  5345. string += A.S(iterator.get$current(iterator));
  5346. for (; iterator.moveNext$0();)
  5347. string = string + separator + A.S(iterator.get$current(iterator));
  5348. }
  5349. return string;
  5350. },
  5351. NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
  5352. return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
  5353. },
  5354. Uri_base() {
  5355. var uri = A.Primitives_currentUri();
  5356. if (uri != null)
  5357. return A.Uri_parse(uri);
  5358. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  5359. },
  5360. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  5361. var t1, bytes, i, t2, byte,
  5362. _s16_ = "0123456789ABCDEF";
  5363. if (encoding === B.C_Utf8Codec) {
  5364. t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
  5365. t1 = t1.test(text);
  5366. } else
  5367. t1 = false;
  5368. if (t1)
  5369. return text;
  5370. bytes = encoding.get$encoder().convert$1(text);
  5371. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  5372. byte = bytes[i];
  5373. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  5374. t2 += A.Primitives_stringFromCharCode(byte);
  5375. else
  5376. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  5377. }
  5378. return t2.charCodeAt(0) == 0 ? t2 : t2;
  5379. },
  5380. StackTrace_current() {
  5381. var stackTrace, exception;
  5382. if ($.$get$_hasErrorStackProperty())
  5383. return A.getTraceFromException(new Error());
  5384. try {
  5385. throw A.wrapException("");
  5386. } catch (exception) {
  5387. stackTrace = A.getTraceFromException(exception);
  5388. return stackTrace;
  5389. }
  5390. },
  5391. DateTime$_withValue(_value, isUtc) {
  5392. var t1;
  5393. if (Math.abs(_value) <= 864e13)
  5394. t1 = false;
  5395. else
  5396. t1 = true;
  5397. if (t1)
  5398. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
  5399. A.checkNotNullable(false, "isUtc", type$.bool);
  5400. return new A.DateTime(_value, false);
  5401. },
  5402. DateTime__fourDigits(n) {
  5403. var absN = Math.abs(n),
  5404. sign = n < 0 ? "-" : "";
  5405. if (absN >= 1000)
  5406. return "" + n;
  5407. if (absN >= 100)
  5408. return sign + "0" + absN;
  5409. if (absN >= 10)
  5410. return sign + "00" + absN;
  5411. return sign + "000" + absN;
  5412. },
  5413. DateTime__threeDigits(n) {
  5414. if (n >= 100)
  5415. return "" + n;
  5416. if (n >= 10)
  5417. return "0" + n;
  5418. return "00" + n;
  5419. },
  5420. DateTime__twoDigits(n) {
  5421. if (n >= 10)
  5422. return "" + n;
  5423. return "0" + n;
  5424. },
  5425. Duration$(milliseconds) {
  5426. return new A.Duration(1000 * milliseconds);
  5427. },
  5428. Error_safeToString(object) {
  5429. if (typeof object == "number" || A._isBool(object) || object == null)
  5430. return J.toString$0$(object);
  5431. if (typeof object == "string")
  5432. return JSON.stringify(object);
  5433. return A.Error__objectToString(object);
  5434. },
  5435. AssertionError$(message) {
  5436. return new A.AssertionError(message);
  5437. },
  5438. ArgumentError$(message, $name) {
  5439. return new A.ArgumentError(false, null, $name, message);
  5440. },
  5441. ArgumentError$value(value, $name, message) {
  5442. return new A.ArgumentError(true, value, $name, message);
  5443. },
  5444. ArgumentError_checkNotNull(argument, $name) {
  5445. return argument;
  5446. },
  5447. RangeError$(message) {
  5448. var _null = null;
  5449. return new A.RangeError(_null, _null, false, _null, _null, message);
  5450. },
  5451. RangeError$value(value, $name, message) {
  5452. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  5453. },
  5454. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  5455. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  5456. },
  5457. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  5458. if (value < minValue || value > maxValue)
  5459. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  5460. return value;
  5461. },
  5462. RangeError_checkValidIndex(index, indexable, $name) {
  5463. var $length = indexable.get$length(indexable);
  5464. if (0 > index || index >= $length)
  5465. throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
  5466. return index;
  5467. },
  5468. RangeError_checkValidRange(start, end, $length) {
  5469. if (0 > start || start > $length)
  5470. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  5471. if (end != null) {
  5472. if (start > end || end > $length)
  5473. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  5474. return end;
  5475. }
  5476. return $length;
  5477. },
  5478. RangeError_checkNotNegative(value, $name) {
  5479. if (value < 0)
  5480. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  5481. return value;
  5482. },
  5483. IndexError$(invalidValue, indexable, $name, message, $length) {
  5484. var t1 = $length == null ? J.get$length$asx(indexable) : $length;
  5485. return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
  5486. },
  5487. UnsupportedError$(message) {
  5488. return new A.UnsupportedError(message);
  5489. },
  5490. UnimplementedError$(message) {
  5491. return new A.UnimplementedError(message);
  5492. },
  5493. StateError$(message) {
  5494. return new A.StateError(message);
  5495. },
  5496. ConcurrentModificationError$(modifiedObject) {
  5497. return new A.ConcurrentModificationError(modifiedObject);
  5498. },
  5499. FormatException$(message, source, offset) {
  5500. return new A.FormatException(message, source, offset);
  5501. },
  5502. Iterable_Iterable$generate(count, generator, $E) {
  5503. if (count <= 0)
  5504. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  5505. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  5506. },
  5507. Map_castFrom(source, $K, $V, K2, V2) {
  5508. return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>"));
  5509. },
  5510. Object_hash(object1, object2, object3) {
  5511. var t1, t2;
  5512. if (B.C_SentinelValue === object3) {
  5513. t1 = J.get$hashCode$(object1);
  5514. object2 = J.get$hashCode$(object2);
  5515. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  5516. }
  5517. t1 = J.get$hashCode$(object1);
  5518. object2 = J.get$hashCode$(object2);
  5519. object3 = J.get$hashCode$(object3);
  5520. t2 = $.$get$_hashSeed();
  5521. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
  5522. },
  5523. print(object) {
  5524. var line = A.S(object),
  5525. toZone = $.printToZone;
  5526. if (toZone == null)
  5527. A.printString(line);
  5528. else
  5529. toZone.call$1(line);
  5530. },
  5531. Set_castFrom(source, newSet, $S, $T) {
  5532. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  5533. },
  5534. _combineSurrogatePair(start, end) {
  5535. return 65536 + ((start & 1023) << 10) + (end & 1023);
  5536. },
  5537. Uri_Uri$dataFromString($content, encoding, mimeType) {
  5538. var encodingName, t1,
  5539. buffer = new A.StringBuffer(""),
  5540. indices = A._setArrayType([-1], type$.JSArray_int);
  5541. if (encoding == null)
  5542. encodingName = null;
  5543. else
  5544. encodingName = "utf-8";
  5545. if (encoding == null)
  5546. encoding = B.C_AsciiCodec;
  5547. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  5548. indices.push(buffer._contents.length);
  5549. buffer._contents += ",";
  5550. A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
  5551. t1 = buffer._contents;
  5552. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  5553. },
  5554. Uri_parse(uri) {
  5555. var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null,
  5556. end = uri.length;
  5557. if (end >= 5) {
  5558. delta = ((B.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0;
  5559. if (delta === 0)
  5560. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  5561. else if (delta === 32)
  5562. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  5563. }
  5564. indices = A.List_List$filled(8, 0, false, type$.int);
  5565. indices[0] = 0;
  5566. indices[1] = -1;
  5567. indices[2] = -1;
  5568. indices[7] = -1;
  5569. indices[3] = 0;
  5570. indices[4] = 0;
  5571. indices[5] = end;
  5572. indices[6] = end;
  5573. if (A._scan(uri, 0, end, 0, indices) >= 14)
  5574. indices[7] = end;
  5575. schemeEnd = indices[1];
  5576. if (schemeEnd >= 0)
  5577. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  5578. indices[7] = schemeEnd;
  5579. hostStart = indices[2] + 1;
  5580. portStart = indices[3];
  5581. pathStart = indices[4];
  5582. queryStart = indices[5];
  5583. fragmentStart = indices[6];
  5584. if (fragmentStart < queryStart)
  5585. queryStart = fragmentStart;
  5586. if (pathStart < hostStart)
  5587. pathStart = queryStart;
  5588. else if (pathStart <= schemeEnd)
  5589. pathStart = schemeEnd + 1;
  5590. if (portStart < hostStart)
  5591. portStart = pathStart;
  5592. isSimple = indices[7] < 0;
  5593. if (isSimple)
  5594. if (hostStart > schemeEnd + 3) {
  5595. scheme = _null;
  5596. isSimple = false;
  5597. } else {
  5598. t1 = portStart > 0;
  5599. if (t1 && portStart + 1 === pathStart) {
  5600. scheme = _null;
  5601. isSimple = false;
  5602. } else {
  5603. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  5604. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  5605. else
  5606. t2 = true;
  5607. if (t2) {
  5608. scheme = _null;
  5609. isSimple = false;
  5610. } else {
  5611. if (schemeEnd === 4)
  5612. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  5613. if (hostStart <= 0) {
  5614. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  5615. schemeAuth = "file:///";
  5616. delta = 3;
  5617. } else {
  5618. schemeAuth = "file://";
  5619. delta = 2;
  5620. }
  5621. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  5622. schemeEnd -= 0;
  5623. t1 = delta - 0;
  5624. queryStart += t1;
  5625. fragmentStart += t1;
  5626. end = uri.length;
  5627. hostStart = 7;
  5628. portStart = 7;
  5629. pathStart = 7;
  5630. } else if (pathStart === queryStart) {
  5631. ++fragmentStart;
  5632. queryStart0 = queryStart + 1;
  5633. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  5634. ++end;
  5635. queryStart = queryStart0;
  5636. }
  5637. scheme = "file";
  5638. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  5639. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  5640. fragmentStart -= 3;
  5641. pathStart0 = pathStart - 3;
  5642. queryStart -= 3;
  5643. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5644. end -= 3;
  5645. pathStart = pathStart0;
  5646. }
  5647. scheme = "http";
  5648. } else
  5649. scheme = _null;
  5650. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  5651. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  5652. fragmentStart -= 4;
  5653. pathStart0 = pathStart - 4;
  5654. queryStart -= 4;
  5655. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5656. end -= 3;
  5657. pathStart = pathStart0;
  5658. }
  5659. scheme = "https";
  5660. } else
  5661. scheme = _null;
  5662. isSimple = true;
  5663. }
  5664. }
  5665. }
  5666. else
  5667. scheme = _null;
  5668. if (isSimple) {
  5669. if (end < uri.length) {
  5670. uri = B.JSString_methods.substring$2(uri, 0, end);
  5671. schemeEnd -= 0;
  5672. hostStart -= 0;
  5673. portStart -= 0;
  5674. pathStart -= 0;
  5675. queryStart -= 0;
  5676. fragmentStart -= 0;
  5677. }
  5678. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  5679. }
  5680. if (scheme == null)
  5681. if (schemeEnd > 0)
  5682. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  5683. else {
  5684. if (schemeEnd === 0)
  5685. A._Uri__fail(uri, 0, "Invalid empty scheme");
  5686. scheme = "";
  5687. }
  5688. if (hostStart > 0) {
  5689. userInfoStart = schemeEnd + 3;
  5690. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  5691. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  5692. t1 = portStart + 1;
  5693. if (t1 < pathStart) {
  5694. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  5695. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  5696. } else
  5697. port = _null;
  5698. } else {
  5699. port = _null;
  5700. host = port;
  5701. userInfo = "";
  5702. }
  5703. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  5704. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  5705. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  5706. },
  5707. Uri_decodeComponent(encodedComponent) {
  5708. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  5709. },
  5710. Uri__parseIPv4Address(host, start, end) {
  5711. var i, partStart, partIndex, char, part, partIndex0,
  5712. _s43_ = "IPv4 address should contain exactly 4 parts",
  5713. _s37_ = "each part must be in the range 0..255",
  5714. error = new A.Uri__parseIPv4Address_error(host),
  5715. result = new Uint8Array(4);
  5716. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  5717. char = B.JSString_methods.codeUnitAt$1(host, i);
  5718. if (char !== 46) {
  5719. if ((char ^ 48) > 9)
  5720. error.call$2("invalid character", i);
  5721. } else {
  5722. if (partIndex === 3)
  5723. error.call$2(_s43_, i);
  5724. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  5725. if (part > 255)
  5726. error.call$2(_s37_, partStart);
  5727. partIndex0 = partIndex + 1;
  5728. result[partIndex] = part;
  5729. partStart = i + 1;
  5730. partIndex = partIndex0;
  5731. }
  5732. }
  5733. if (partIndex !== 3)
  5734. error.call$2(_s43_, end);
  5735. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  5736. if (part > 255)
  5737. error.call$2(_s37_, partStart);
  5738. result[partIndex] = part;
  5739. return result;
  5740. },
  5741. Uri_parseIPv6Address(host, start, end) {
  5742. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  5743. error = new A.Uri_parseIPv6Address_error(host),
  5744. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  5745. if (host.length < 2)
  5746. error.call$2("address is too short", _null);
  5747. parts = A._setArrayType([], type$.JSArray_int);
  5748. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  5749. char = B.JSString_methods.codeUnitAt$1(host, i);
  5750. if (char === 58) {
  5751. if (i === start) {
  5752. ++i;
  5753. if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
  5754. error.call$2("invalid start colon.", i);
  5755. partStart = i;
  5756. }
  5757. if (i === partStart) {
  5758. if (wildcardSeen)
  5759. error.call$2("only one wildcard `::` is allowed", i);
  5760. parts.push(-1);
  5761. wildcardSeen = true;
  5762. } else
  5763. parts.push(parseHex.call$2(partStart, i));
  5764. partStart = i + 1;
  5765. } else if (char === 46)
  5766. seenDot = true;
  5767. }
  5768. if (parts.length === 0)
  5769. error.call$2("too few parts", _null);
  5770. atEnd = partStart === end;
  5771. t1 = B.JSArray_methods.get$last(parts);
  5772. if (atEnd && t1 !== -1)
  5773. error.call$2("expected a part after last `:`", end);
  5774. if (!atEnd)
  5775. if (!seenDot)
  5776. parts.push(parseHex.call$2(partStart, end));
  5777. else {
  5778. last = A.Uri__parseIPv4Address(host, partStart, end);
  5779. parts.push((last[0] << 8 | last[1]) >>> 0);
  5780. parts.push((last[2] << 8 | last[3]) >>> 0);
  5781. }
  5782. if (wildcardSeen) {
  5783. if (parts.length > 7)
  5784. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  5785. } else if (parts.length !== 8)
  5786. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  5787. bytes = new Uint8Array(16);
  5788. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  5789. value = parts[i];
  5790. if (value === -1)
  5791. for (j = 0; j < wildCardLength; ++j) {
  5792. bytes[index] = 0;
  5793. bytes[index + 1] = 0;
  5794. index += 2;
  5795. }
  5796. else {
  5797. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  5798. bytes[index + 1] = value & 255;
  5799. index += 2;
  5800. }
  5801. }
  5802. return bytes;
  5803. },
  5804. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  5805. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  5806. },
  5807. _Uri__Uri(host, path, pathSegments, scheme) {
  5808. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  5809. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  5810. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  5811. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  5812. query = A._Uri__makeQuery(_null, 0, 0, _null);
  5813. fragment = A._Uri__makeFragment(_null, 0, 0);
  5814. port = A._Uri__makePort(_null, scheme);
  5815. isFile = scheme === "file";
  5816. if (host == null)
  5817. t1 = userInfo.length !== 0 || port != null || isFile;
  5818. else
  5819. t1 = false;
  5820. if (t1)
  5821. host = "";
  5822. t1 = host == null;
  5823. hasAuthority = !t1;
  5824. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  5825. t2 = scheme.length === 0;
  5826. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  5827. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  5828. else
  5829. path = A._Uri__removeDotSegments(path);
  5830. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  5831. },
  5832. _Uri__defaultPort(scheme) {
  5833. if (scheme === "http")
  5834. return 80;
  5835. if (scheme === "https")
  5836. return 443;
  5837. return 0;
  5838. },
  5839. _Uri__fail(uri, index, message) {
  5840. throw A.wrapException(A.FormatException$(message, uri, index));
  5841. },
  5842. _Uri__Uri$file(path, windows) {
  5843. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  5844. },
  5845. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  5846. var t1, _i, segment, t2, t3;
  5847. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  5848. segment = segments[_i];
  5849. t2 = J.getInterceptor$asx(segment);
  5850. t3 = t2.get$length(segment);
  5851. if (0 > t3)
  5852. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  5853. if (A.stringContainsUnchecked(segment, "/", 0)) {
  5854. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  5855. throw A.wrapException(t1);
  5856. }
  5857. }
  5858. },
  5859. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  5860. var t1, t2, t3, t4, t5, _null = null;
  5861. for (t1 = A.SubListIterable$(segments, firstSegment, _null, A._arrayInstanceType(segments)._precomputed1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  5862. t3 = t1.__internal$_current;
  5863. if (t3 == null)
  5864. t3 = t2._as(t3);
  5865. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  5866. t5 = t3.length;
  5867. if (A.stringContainsUnchecked(t3, t4, 0))
  5868. if (argumentError)
  5869. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  5870. else
  5871. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  5872. }
  5873. },
  5874. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  5875. var t1,
  5876. _s21_ = "Illegal drive letter ";
  5877. if (!(65 <= charCode && charCode <= 90))
  5878. t1 = 97 <= charCode && charCode <= 122;
  5879. else
  5880. t1 = true;
  5881. if (t1)
  5882. return;
  5883. if (argumentError)
  5884. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  5885. else
  5886. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  5887. },
  5888. _Uri__makeFileUri(path, slashTerminated) {
  5889. var _null = null,
  5890. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  5891. if (B.JSString_methods.startsWith$1(path, "/"))
  5892. return A._Uri__Uri(_null, _null, segments, "file");
  5893. else
  5894. return A._Uri__Uri(_null, _null, segments, _null);
  5895. },
  5896. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  5897. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  5898. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  5899. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  5900. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  5901. else {
  5902. path = B.JSString_methods.substring$1(path, 4);
  5903. if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  5904. throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
  5905. }
  5906. else
  5907. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  5908. t1 = path.length;
  5909. if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
  5910. A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
  5911. if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  5912. throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
  5913. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5914. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  5915. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  5916. }
  5917. if (B.JSString_methods.startsWith$1(path, _s1_))
  5918. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  5919. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  5920. t1 = pathStart < 0;
  5921. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  5922. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  5923. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5924. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  5925. } else {
  5926. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5927. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5928. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  5929. }
  5930. else {
  5931. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5932. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5933. return A._Uri__Uri(_null, _null, pathSegments, _null);
  5934. }
  5935. },
  5936. _Uri__makePort(port, scheme) {
  5937. if (port != null && port === A._Uri__defaultPort(scheme))
  5938. return null;
  5939. return port;
  5940. },
  5941. _Uri__makeHost(host, start, end, strictIPv6) {
  5942. var t1, t2, index, zoneIDstart, zoneID, i;
  5943. if (host == null)
  5944. return null;
  5945. if (start === end)
  5946. return "";
  5947. if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
  5948. t1 = end - 1;
  5949. if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
  5950. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  5951. t2 = start + 1;
  5952. index = A._Uri__checkZoneID(host, t2, t1);
  5953. if (index < t1) {
  5954. zoneIDstart = index + 1;
  5955. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  5956. } else
  5957. zoneID = "";
  5958. A.Uri_parseIPv6Address(host, t2, index);
  5959. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  5960. }
  5961. for (i = start; i < end; ++i)
  5962. if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
  5963. index = B.JSString_methods.indexOf$2(host, "%", start);
  5964. index = index >= start && index < end ? index : end;
  5965. if (index < end) {
  5966. zoneIDstart = index + 1;
  5967. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  5968. } else
  5969. zoneID = "";
  5970. A.Uri_parseIPv6Address(host, start, index);
  5971. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  5972. }
  5973. return A._Uri__normalizeRegName(host, start, end);
  5974. },
  5975. _Uri__checkZoneID(host, start, end) {
  5976. var index = B.JSString_methods.indexOf$2(host, "%", start);
  5977. return index >= start && index < end ? index : end;
  5978. },
  5979. _Uri__normalizeZoneID(host, start, end, prefix) {
  5980. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  5981. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  5982. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  5983. char = B.JSString_methods.codeUnitAt$1(host, index);
  5984. if (char === 37) {
  5985. replacement = A._Uri__normalizeEscape(host, index, true);
  5986. t1 = replacement == null;
  5987. if (t1 && isNormalized) {
  5988. index += 3;
  5989. continue;
  5990. }
  5991. if (buffer == null)
  5992. buffer = new A.StringBuffer("");
  5993. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  5994. if (t1)
  5995. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  5996. else if (replacement === "%")
  5997. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  5998. buffer._contents = t2 + replacement;
  5999. index += 3;
  6000. sectionStart = index;
  6001. isNormalized = true;
  6002. } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
  6003. if (isNormalized && 65 <= char && 90 >= char) {
  6004. if (buffer == null)
  6005. buffer = new A.StringBuffer("");
  6006. if (sectionStart < index) {
  6007. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6008. sectionStart = index;
  6009. }
  6010. isNormalized = false;
  6011. }
  6012. ++index;
  6013. } else {
  6014. if ((char & 64512) === 55296 && index + 1 < end) {
  6015. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6016. if ((tail & 64512) === 56320) {
  6017. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6018. sourceLength = 2;
  6019. } else
  6020. sourceLength = 1;
  6021. } else
  6022. sourceLength = 1;
  6023. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6024. if (buffer == null) {
  6025. buffer = new A.StringBuffer("");
  6026. t1 = buffer;
  6027. } else
  6028. t1 = buffer;
  6029. t1._contents += slice;
  6030. t1._contents += A._Uri__escapeChar(char);
  6031. index += sourceLength;
  6032. sectionStart = index;
  6033. }
  6034. }
  6035. if (buffer == null)
  6036. return B.JSString_methods.substring$2(host, start, end);
  6037. if (sectionStart < end)
  6038. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  6039. t1 = buffer._contents;
  6040. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6041. },
  6042. _Uri__normalizeRegName(host, start, end) {
  6043. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  6044. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  6045. char = B.JSString_methods.codeUnitAt$1(host, index);
  6046. if (char === 37) {
  6047. replacement = A._Uri__normalizeEscape(host, index, true);
  6048. t1 = replacement == null;
  6049. if (t1 && isNormalized) {
  6050. index += 3;
  6051. continue;
  6052. }
  6053. if (buffer == null)
  6054. buffer = new A.StringBuffer("");
  6055. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6056. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6057. if (t1) {
  6058. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6059. sourceLength = 3;
  6060. } else if (replacement === "%") {
  6061. replacement = "%25";
  6062. sourceLength = 1;
  6063. } else
  6064. sourceLength = 3;
  6065. buffer._contents = t2 + replacement;
  6066. index += sourceLength;
  6067. sectionStart = index;
  6068. isNormalized = true;
  6069. } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
  6070. if (isNormalized && 65 <= char && 90 >= char) {
  6071. if (buffer == null)
  6072. buffer = new A.StringBuffer("");
  6073. if (sectionStart < index) {
  6074. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6075. sectionStart = index;
  6076. }
  6077. isNormalized = false;
  6078. }
  6079. ++index;
  6080. } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
  6081. A._Uri__fail(host, index, "Invalid character");
  6082. else {
  6083. if ((char & 64512) === 55296 && index + 1 < end) {
  6084. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6085. if ((tail & 64512) === 56320) {
  6086. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6087. sourceLength = 2;
  6088. } else
  6089. sourceLength = 1;
  6090. } else
  6091. sourceLength = 1;
  6092. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6093. if (!isNormalized)
  6094. slice = slice.toLowerCase();
  6095. if (buffer == null) {
  6096. buffer = new A.StringBuffer("");
  6097. t1 = buffer;
  6098. } else
  6099. t1 = buffer;
  6100. t1._contents += slice;
  6101. t1._contents += A._Uri__escapeChar(char);
  6102. index += sourceLength;
  6103. sectionStart = index;
  6104. }
  6105. }
  6106. if (buffer == null)
  6107. return B.JSString_methods.substring$2(host, start, end);
  6108. if (sectionStart < end) {
  6109. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  6110. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6111. }
  6112. t1 = buffer._contents;
  6113. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6114. },
  6115. _Uri__makeScheme(scheme, start, end) {
  6116. var i, containsUpperCase, codeUnit;
  6117. if (start === end)
  6118. return "";
  6119. if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
  6120. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  6121. for (i = start, containsUpperCase = false; i < end; ++i) {
  6122. codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
  6123. if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  6124. A._Uri__fail(scheme, i, "Illegal scheme character");
  6125. if (65 <= codeUnit && codeUnit <= 90)
  6126. containsUpperCase = true;
  6127. }
  6128. scheme = B.JSString_methods.substring$2(scheme, start, end);
  6129. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  6130. },
  6131. _Uri__canonicalizeScheme(scheme) {
  6132. if (scheme === "http")
  6133. return "http";
  6134. if (scheme === "file")
  6135. return "file";
  6136. if (scheme === "https")
  6137. return "https";
  6138. if (scheme === "package")
  6139. return "package";
  6140. return scheme;
  6141. },
  6142. _Uri__makeUserInfo(userInfo, start, end) {
  6143. if (userInfo == null)
  6144. return "";
  6145. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
  6146. },
  6147. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  6148. var result,
  6149. isFile = scheme === "file",
  6150. ensureLeadingSlash = isFile || hasAuthority;
  6151. if (path == null) {
  6152. if (pathSegments == null)
  6153. return isFile ? "/" : "";
  6154. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  6155. } else if (pathSegments != null)
  6156. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  6157. else
  6158. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
  6159. if (result.length === 0) {
  6160. if (isFile)
  6161. return "/";
  6162. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  6163. result = "/" + result;
  6164. return A._Uri__normalizePath(result, scheme, hasAuthority);
  6165. },
  6166. _Uri__normalizePath(path, scheme, hasAuthority) {
  6167. var t1 = scheme.length === 0;
  6168. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
  6169. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  6170. return A._Uri__removeDotSegments(path);
  6171. },
  6172. _Uri__makeQuery(query, start, end, queryParameters) {
  6173. if (query != null)
  6174. return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
  6175. return null;
  6176. },
  6177. _Uri__makeFragment(fragment, start, end) {
  6178. if (fragment == null)
  6179. return null;
  6180. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
  6181. },
  6182. _Uri__normalizeEscape(source, index, lowerCase) {
  6183. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  6184. t1 = index + 2;
  6185. if (t1 >= source.length)
  6186. return "%";
  6187. firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
  6188. secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
  6189. firstDigitValue = A.hexDigitValue(firstDigit);
  6190. secondDigitValue = A.hexDigitValue(secondDigit);
  6191. if (firstDigitValue < 0 || secondDigitValue < 0)
  6192. return "%";
  6193. value = firstDigitValue * 16 + secondDigitValue;
  6194. if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  6195. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  6196. if (firstDigit >= 97 || secondDigit >= 97)
  6197. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  6198. return null;
  6199. },
  6200. _Uri__escapeChar(char) {
  6201. var codeUnits, flag, encodedBytes, index, byte,
  6202. _s16_ = "0123456789ABCDEF";
  6203. if (char < 128) {
  6204. codeUnits = new Uint8Array(3);
  6205. codeUnits[0] = 37;
  6206. codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
  6207. codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
  6208. } else {
  6209. if (char > 2047)
  6210. if (char > 65535) {
  6211. flag = 240;
  6212. encodedBytes = 4;
  6213. } else {
  6214. flag = 224;
  6215. encodedBytes = 3;
  6216. }
  6217. else {
  6218. flag = 192;
  6219. encodedBytes = 2;
  6220. }
  6221. codeUnits = new Uint8Array(3 * encodedBytes);
  6222. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  6223. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  6224. codeUnits[index] = 37;
  6225. codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
  6226. codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
  6227. index += 3;
  6228. }
  6229. }
  6230. return A.String_String$fromCharCodes(codeUnits, 0, null);
  6231. },
  6232. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
  6233. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
  6234. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  6235. },
  6236. _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
  6237. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  6238. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  6239. char = B.JSString_methods.codeUnitAt$1(component, index);
  6240. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  6241. ++index;
  6242. else {
  6243. if (char === 37) {
  6244. replacement = A._Uri__normalizeEscape(component, index, false);
  6245. if (replacement == null) {
  6246. index += 3;
  6247. continue;
  6248. }
  6249. if ("%" === replacement) {
  6250. replacement = "%25";
  6251. sourceLength = 1;
  6252. } else
  6253. sourceLength = 3;
  6254. } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
  6255. A._Uri__fail(component, index, "Invalid character");
  6256. sourceLength = _null;
  6257. replacement = sourceLength;
  6258. } else {
  6259. if ((char & 64512) === 55296) {
  6260. t2 = index + 1;
  6261. if (t2 < end) {
  6262. tail = B.JSString_methods.codeUnitAt$1(component, t2);
  6263. if ((tail & 64512) === 56320) {
  6264. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6265. sourceLength = 2;
  6266. } else
  6267. sourceLength = 1;
  6268. } else
  6269. sourceLength = 1;
  6270. } else
  6271. sourceLength = 1;
  6272. replacement = A._Uri__escapeChar(char);
  6273. }
  6274. if (buffer == null) {
  6275. buffer = new A.StringBuffer("");
  6276. t2 = buffer;
  6277. } else
  6278. t2 = buffer;
  6279. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  6280. t2._contents = t3 + A.S(replacement);
  6281. index += sourceLength;
  6282. sectionStart = index;
  6283. }
  6284. }
  6285. if (buffer == null)
  6286. return _null;
  6287. if (sectionStart < end)
  6288. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  6289. t1 = buffer._contents;
  6290. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6291. },
  6292. _Uri__mayContainDotSegments(path) {
  6293. if (B.JSString_methods.startsWith$1(path, "."))
  6294. return true;
  6295. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  6296. },
  6297. _Uri__removeDotSegments(path) {
  6298. var output, t1, t2, appendSlash, _i, segment;
  6299. if (!A._Uri__mayContainDotSegments(path))
  6300. return path;
  6301. output = A._setArrayType([], type$.JSArray_String);
  6302. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6303. segment = t1[_i];
  6304. if (J.$eq$(segment, "..")) {
  6305. if (output.length !== 0) {
  6306. output.pop();
  6307. if (output.length === 0)
  6308. output.push("");
  6309. }
  6310. appendSlash = true;
  6311. } else if ("." === segment)
  6312. appendSlash = true;
  6313. else {
  6314. output.push(segment);
  6315. appendSlash = false;
  6316. }
  6317. }
  6318. if (appendSlash)
  6319. output.push("");
  6320. return B.JSArray_methods.join$1(output, "/");
  6321. },
  6322. _Uri__normalizeRelativePath(path, allowScheme) {
  6323. var output, t1, t2, appendSlash, _i, segment;
  6324. if (!A._Uri__mayContainDotSegments(path))
  6325. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  6326. output = A._setArrayType([], type$.JSArray_String);
  6327. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6328. segment = t1[_i];
  6329. if (".." === segment)
  6330. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  6331. output.pop();
  6332. appendSlash = true;
  6333. } else {
  6334. output.push("..");
  6335. appendSlash = false;
  6336. }
  6337. else if ("." === segment)
  6338. appendSlash = true;
  6339. else {
  6340. output.push(segment);
  6341. appendSlash = false;
  6342. }
  6343. }
  6344. t1 = output.length;
  6345. if (t1 !== 0)
  6346. t1 = t1 === 1 && output[0].length === 0;
  6347. else
  6348. t1 = true;
  6349. if (t1)
  6350. return "./";
  6351. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  6352. output.push("");
  6353. if (!allowScheme)
  6354. output[0] = A._Uri__escapeScheme(output[0]);
  6355. return B.JSArray_methods.join$1(output, "/");
  6356. },
  6357. _Uri__escapeScheme(path) {
  6358. var i, char,
  6359. t1 = path.length;
  6360. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
  6361. for (i = 1; i < t1; ++i) {
  6362. char = B.JSString_methods._codeUnitAt$1(path, i);
  6363. if (char === 58)
  6364. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  6365. if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
  6366. break;
  6367. }
  6368. return path;
  6369. },
  6370. _Uri__packageNameEnd(uri, path) {
  6371. if (uri.isScheme$1("package") && uri._host == null)
  6372. return A._skipPackageNameChars(path, 0, path.length);
  6373. return -1;
  6374. },
  6375. _Uri__toWindowsFilePath(uri) {
  6376. var hasDriveLetter, t2, host,
  6377. segments = uri.get$pathSegments(),
  6378. t1 = segments.length;
  6379. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  6380. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  6381. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  6382. hasDriveLetter = true;
  6383. } else {
  6384. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  6385. hasDriveLetter = false;
  6386. }
  6387. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  6388. if (uri.get$hasAuthority()) {
  6389. host = uri.get$host();
  6390. if (host.length !== 0)
  6391. t2 = t2 + "\\" + host + "\\";
  6392. }
  6393. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  6394. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  6395. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6396. },
  6397. _Uri__hexCharPairToByte(s, pos) {
  6398. var byte, i, charCode;
  6399. for (byte = 0, i = 0; i < 2; ++i) {
  6400. charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
  6401. if (48 <= charCode && charCode <= 57)
  6402. byte = byte * 16 + charCode - 48;
  6403. else {
  6404. charCode |= 32;
  6405. if (97 <= charCode && charCode <= 102)
  6406. byte = byte * 16 + charCode - 87;
  6407. else
  6408. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  6409. }
  6410. }
  6411. return byte;
  6412. },
  6413. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  6414. var simple, codeUnit, t1, bytes,
  6415. i = start;
  6416. while (true) {
  6417. if (!(i < end)) {
  6418. simple = true;
  6419. break;
  6420. }
  6421. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6422. if (codeUnit <= 127)
  6423. if (codeUnit !== 37)
  6424. t1 = false;
  6425. else
  6426. t1 = true;
  6427. else
  6428. t1 = true;
  6429. if (t1) {
  6430. simple = false;
  6431. break;
  6432. }
  6433. ++i;
  6434. }
  6435. if (simple) {
  6436. if (B.C_Utf8Codec !== encoding)
  6437. t1 = false;
  6438. else
  6439. t1 = true;
  6440. if (t1)
  6441. return B.JSString_methods.substring$2(text, start, end);
  6442. else
  6443. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  6444. } else {
  6445. bytes = A._setArrayType([], type$.JSArray_int);
  6446. for (t1 = text.length, i = start; i < end; ++i) {
  6447. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6448. if (codeUnit > 127)
  6449. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  6450. if (codeUnit === 37) {
  6451. if (i + 3 > t1)
  6452. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  6453. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  6454. i += 2;
  6455. } else
  6456. bytes.push(codeUnit);
  6457. }
  6458. }
  6459. return B.Utf8Decoder_false.convert$1(bytes);
  6460. },
  6461. _Uri__isAlphabeticCharacter(codeUnit) {
  6462. var lowerCase = codeUnit | 32;
  6463. return 97 <= lowerCase && lowerCase <= 122;
  6464. },
  6465. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  6466. var t1, slashIndex;
  6467. if (mimeType != null)
  6468. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  6469. else
  6470. t1 = true;
  6471. if (t1)
  6472. mimeType = "";
  6473. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  6474. t1 = buffer._contents += mimeType;
  6475. else {
  6476. slashIndex = A.UriData__validateMimeType(mimeType);
  6477. if (slashIndex < 0)
  6478. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  6479. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  6480. buffer._contents = t1 + "/";
  6481. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  6482. }
  6483. if (charsetName != null) {
  6484. indices.push(t1.length);
  6485. indices.push(buffer._contents.length + 8);
  6486. buffer._contents += ";charset=";
  6487. buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
  6488. }
  6489. },
  6490. UriData__validateMimeType(mimeType) {
  6491. var t1, slashIndex, i;
  6492. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  6493. if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
  6494. continue;
  6495. if (slashIndex < 0) {
  6496. slashIndex = i;
  6497. continue;
  6498. }
  6499. return -1;
  6500. }
  6501. return slashIndex;
  6502. },
  6503. UriData__parse(text, start, sourceUri) {
  6504. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  6505. _s17_ = "Invalid MIME type",
  6506. indices = A._setArrayType([start - 1], type$.JSArray_int);
  6507. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  6508. char = B.JSString_methods._codeUnitAt$1(text, i);
  6509. if (char === 44 || char === 59)
  6510. break;
  6511. if (char === 47) {
  6512. if (slashIndex < 0) {
  6513. slashIndex = i;
  6514. continue;
  6515. }
  6516. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6517. }
  6518. }
  6519. if (slashIndex < 0 && i > start)
  6520. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6521. for (; char !== 44;) {
  6522. indices.push(i);
  6523. ++i;
  6524. for (equalsIndex = -1; i < t1; ++i) {
  6525. char = B.JSString_methods._codeUnitAt$1(text, i);
  6526. if (char === 61) {
  6527. if (equalsIndex < 0)
  6528. equalsIndex = i;
  6529. } else if (char === 59 || char === 44)
  6530. break;
  6531. }
  6532. if (equalsIndex >= 0)
  6533. indices.push(equalsIndex);
  6534. else {
  6535. lastSeparator = B.JSArray_methods.get$last(indices);
  6536. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  6537. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  6538. break;
  6539. }
  6540. }
  6541. indices.push(i);
  6542. t2 = i + 1;
  6543. if ((indices.length & 1) === 1)
  6544. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  6545. else {
  6546. data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
  6547. if (data != null)
  6548. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  6549. }
  6550. return new A.UriData(text, indices, sourceUri);
  6551. },
  6552. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  6553. var t1, byteOr, i, byte, t2, t3,
  6554. _s16_ = "0123456789ABCDEF";
  6555. for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
  6556. byte = t1.$index(bytes, i);
  6557. byteOr |= byte;
  6558. t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
  6559. t3 = buffer._contents;
  6560. if (t2)
  6561. buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
  6562. else {
  6563. t2 = t3 + A.Primitives_stringFromCharCode(37);
  6564. buffer._contents = t2;
  6565. t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
  6566. buffer._contents = t2;
  6567. buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
  6568. }
  6569. }
  6570. if ((byteOr & 4294967040) >>> 0 !== 0)
  6571. for (i = 0; i < t1.get$length(bytes); ++i) {
  6572. byte = t1.$index(bytes, i);
  6573. if (byte < 0 || byte > 255)
  6574. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  6575. }
  6576. },
  6577. _createTables() {
  6578. var _i, t1, t2, t3, b,
  6579. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  6580. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
  6581. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  6582. for (_i = 0; _i < 22; ++_i)
  6583. tables[_i] = new Uint8Array(96);
  6584. t1 = new A._createTables_build(tables);
  6585. t2 = new A._createTables_setChars();
  6586. t3 = new A._createTables_setRange();
  6587. b = t1.call$2(0, 225);
  6588. t2.call$3(b, _s77_, 1);
  6589. t2.call$3(b, _s1_, 14);
  6590. t2.call$3(b, _s1_0, 34);
  6591. t2.call$3(b, _s1_1, 3);
  6592. t2.call$3(b, _s1_2, 172);
  6593. t2.call$3(b, _s1_3, 205);
  6594. b = t1.call$2(14, 225);
  6595. t2.call$3(b, _s77_, 1);
  6596. t2.call$3(b, _s1_, 15);
  6597. t2.call$3(b, _s1_0, 34);
  6598. t2.call$3(b, _s1_1, 234);
  6599. t2.call$3(b, _s1_2, 172);
  6600. t2.call$3(b, _s1_3, 205);
  6601. b = t1.call$2(15, 225);
  6602. t2.call$3(b, _s77_, 1);
  6603. t2.call$3(b, "%", 225);
  6604. t2.call$3(b, _s1_0, 34);
  6605. t2.call$3(b, _s1_1, 9);
  6606. t2.call$3(b, _s1_2, 172);
  6607. t2.call$3(b, _s1_3, 205);
  6608. b = t1.call$2(1, 225);
  6609. t2.call$3(b, _s77_, 1);
  6610. t2.call$3(b, _s1_0, 34);
  6611. t2.call$3(b, _s1_1, 10);
  6612. t2.call$3(b, _s1_2, 172);
  6613. t2.call$3(b, _s1_3, 205);
  6614. b = t1.call$2(2, 235);
  6615. t2.call$3(b, _s77_, 139);
  6616. t2.call$3(b, _s1_1, 131);
  6617. t2.call$3(b, _s1_, 146);
  6618. t2.call$3(b, _s1_2, 172);
  6619. t2.call$3(b, _s1_3, 205);
  6620. b = t1.call$2(3, 235);
  6621. t2.call$3(b, _s77_, 11);
  6622. t2.call$3(b, _s1_1, 68);
  6623. t2.call$3(b, _s1_, 18);
  6624. t2.call$3(b, _s1_2, 172);
  6625. t2.call$3(b, _s1_3, 205);
  6626. b = t1.call$2(4, 229);
  6627. t2.call$3(b, _s77_, 5);
  6628. t3.call$3(b, "AZ", 229);
  6629. t2.call$3(b, _s1_0, 102);
  6630. t2.call$3(b, "@", 68);
  6631. t2.call$3(b, "[", 232);
  6632. t2.call$3(b, _s1_1, 138);
  6633. t2.call$3(b, _s1_2, 172);
  6634. t2.call$3(b, _s1_3, 205);
  6635. b = t1.call$2(5, 229);
  6636. t2.call$3(b, _s77_, 5);
  6637. t3.call$3(b, "AZ", 229);
  6638. t2.call$3(b, _s1_0, 102);
  6639. t2.call$3(b, "@", 68);
  6640. t2.call$3(b, _s1_1, 138);
  6641. t2.call$3(b, _s1_2, 172);
  6642. t2.call$3(b, _s1_3, 205);
  6643. b = t1.call$2(6, 231);
  6644. t3.call$3(b, "19", 7);
  6645. t2.call$3(b, "@", 68);
  6646. t2.call$3(b, _s1_1, 138);
  6647. t2.call$3(b, _s1_2, 172);
  6648. t2.call$3(b, _s1_3, 205);
  6649. b = t1.call$2(7, 231);
  6650. t3.call$3(b, "09", 7);
  6651. t2.call$3(b, "@", 68);
  6652. t2.call$3(b, _s1_1, 138);
  6653. t2.call$3(b, _s1_2, 172);
  6654. t2.call$3(b, _s1_3, 205);
  6655. t2.call$3(t1.call$2(8, 8), "]", 5);
  6656. b = t1.call$2(9, 235);
  6657. t2.call$3(b, _s77_, 11);
  6658. t2.call$3(b, _s1_, 16);
  6659. t2.call$3(b, _s1_1, 234);
  6660. t2.call$3(b, _s1_2, 172);
  6661. t2.call$3(b, _s1_3, 205);
  6662. b = t1.call$2(16, 235);
  6663. t2.call$3(b, _s77_, 11);
  6664. t2.call$3(b, _s1_, 17);
  6665. t2.call$3(b, _s1_1, 234);
  6666. t2.call$3(b, _s1_2, 172);
  6667. t2.call$3(b, _s1_3, 205);
  6668. b = t1.call$2(17, 235);
  6669. t2.call$3(b, _s77_, 11);
  6670. t2.call$3(b, _s1_1, 9);
  6671. t2.call$3(b, _s1_2, 172);
  6672. t2.call$3(b, _s1_3, 205);
  6673. b = t1.call$2(10, 235);
  6674. t2.call$3(b, _s77_, 11);
  6675. t2.call$3(b, _s1_, 18);
  6676. t2.call$3(b, _s1_1, 234);
  6677. t2.call$3(b, _s1_2, 172);
  6678. t2.call$3(b, _s1_3, 205);
  6679. b = t1.call$2(18, 235);
  6680. t2.call$3(b, _s77_, 11);
  6681. t2.call$3(b, _s1_, 19);
  6682. t2.call$3(b, _s1_1, 234);
  6683. t2.call$3(b, _s1_2, 172);
  6684. t2.call$3(b, _s1_3, 205);
  6685. b = t1.call$2(19, 235);
  6686. t2.call$3(b, _s77_, 11);
  6687. t2.call$3(b, _s1_1, 234);
  6688. t2.call$3(b, _s1_2, 172);
  6689. t2.call$3(b, _s1_3, 205);
  6690. b = t1.call$2(11, 235);
  6691. t2.call$3(b, _s77_, 11);
  6692. t2.call$3(b, _s1_1, 10);
  6693. t2.call$3(b, _s1_2, 172);
  6694. t2.call$3(b, _s1_3, 205);
  6695. b = t1.call$2(12, 236);
  6696. t2.call$3(b, _s77_, 12);
  6697. t2.call$3(b, _s1_2, 12);
  6698. t2.call$3(b, _s1_3, 205);
  6699. b = t1.call$2(13, 237);
  6700. t2.call$3(b, _s77_, 13);
  6701. t2.call$3(b, _s1_2, 13);
  6702. t3.call$3(t1.call$2(20, 245), "az", 21);
  6703. b = t1.call$2(21, 245);
  6704. t3.call$3(b, "az", 21);
  6705. t3.call$3(b, "09", 21);
  6706. t2.call$3(b, "+-.", 21);
  6707. return tables;
  6708. },
  6709. _scan(uri, start, end, state, indices) {
  6710. var i, table, char, transition,
  6711. tables = $.$get$_scannerTables();
  6712. for (i = start; i < end; ++i) {
  6713. table = tables[state];
  6714. char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
  6715. transition = table[char > 95 ? 31 : char];
  6716. state = transition & 31;
  6717. indices[transition >>> 5] = i;
  6718. }
  6719. return state;
  6720. },
  6721. _SimpleUri__packageNameEnd(uri) {
  6722. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  6723. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  6724. return -1;
  6725. },
  6726. _skipPackageNameChars(source, start, end) {
  6727. var i, dots, char;
  6728. for (i = start, dots = 0; i < end; ++i) {
  6729. char = B.JSString_methods.codeUnitAt$1(source, i);
  6730. if (char === 47)
  6731. return dots !== 0 ? i : -1;
  6732. if (char === 37 || char === 58)
  6733. return -1;
  6734. dots |= char ^ 46;
  6735. }
  6736. return -1;
  6737. },
  6738. _caseInsensitiveCompareStart(prefix, string, start) {
  6739. var t1, result, i, prefixChar, stringChar, delta, lowerChar;
  6740. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  6741. prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i);
  6742. stringChar = B.JSString_methods._codeUnitAt$1(string, start + i);
  6743. delta = prefixChar ^ stringChar;
  6744. if (delta !== 0) {
  6745. if (delta === 32) {
  6746. lowerChar = stringChar | delta;
  6747. if (97 <= lowerChar && lowerChar <= 122) {
  6748. result = 32;
  6749. continue;
  6750. }
  6751. }
  6752. return -1;
  6753. }
  6754. }
  6755. return result;
  6756. },
  6757. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  6758. this._box_0 = t0;
  6759. this.sb = t1;
  6760. },
  6761. DateTime: function DateTime(t0, t1) {
  6762. this._core$_value = t0;
  6763. this.isUtc = t1;
  6764. },
  6765. Duration: function Duration(t0) {
  6766. this._duration = t0;
  6767. },
  6768. _Enum: function _Enum() {
  6769. },
  6770. Error: function Error() {
  6771. },
  6772. AssertionError: function AssertionError(t0) {
  6773. this.message = t0;
  6774. },
  6775. TypeError: function TypeError() {
  6776. },
  6777. NullThrownError: function NullThrownError() {
  6778. },
  6779. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  6780. var _ = this;
  6781. _._hasValue = t0;
  6782. _.invalidValue = t1;
  6783. _.name = t2;
  6784. _.message = t3;
  6785. },
  6786. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  6787. var _ = this;
  6788. _.start = t0;
  6789. _.end = t1;
  6790. _._hasValue = t2;
  6791. _.invalidValue = t3;
  6792. _.name = t4;
  6793. _.message = t5;
  6794. },
  6795. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  6796. var _ = this;
  6797. _.length = t0;
  6798. _._hasValue = t1;
  6799. _.invalidValue = t2;
  6800. _.name = t3;
  6801. _.message = t4;
  6802. },
  6803. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  6804. var _ = this;
  6805. _._core$_receiver = t0;
  6806. _._memberName = t1;
  6807. _._core$_arguments = t2;
  6808. _._namedArguments = t3;
  6809. },
  6810. UnsupportedError: function UnsupportedError(t0) {
  6811. this.message = t0;
  6812. },
  6813. UnimplementedError: function UnimplementedError(t0) {
  6814. this.message = t0;
  6815. },
  6816. StateError: function StateError(t0) {
  6817. this.message = t0;
  6818. },
  6819. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  6820. this.modifiedObject = t0;
  6821. },
  6822. OutOfMemoryError: function OutOfMemoryError() {
  6823. },
  6824. StackOverflowError: function StackOverflowError() {
  6825. },
  6826. CyclicInitializationError: function CyclicInitializationError(t0) {
  6827. this.variableName = t0;
  6828. },
  6829. _Exception: function _Exception(t0) {
  6830. this.message = t0;
  6831. },
  6832. FormatException: function FormatException(t0, t1, t2) {
  6833. this.message = t0;
  6834. this.source = t1;
  6835. this.offset = t2;
  6836. },
  6837. Iterable: function Iterable() {
  6838. },
  6839. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  6840. this.length = t0;
  6841. this._generator = t1;
  6842. this.$ti = t2;
  6843. },
  6844. Iterator: function Iterator() {
  6845. },
  6846. MapEntry: function MapEntry(t0, t1, t2) {
  6847. this.key = t0;
  6848. this.value = t1;
  6849. this.$ti = t2;
  6850. },
  6851. Null: function Null() {
  6852. },
  6853. Object: function Object() {
  6854. },
  6855. _StringStackTrace: function _StringStackTrace(t0) {
  6856. this._stackTrace = t0;
  6857. },
  6858. Runes: function Runes(t0) {
  6859. this.string = t0;
  6860. },
  6861. RuneIterator: function RuneIterator(t0) {
  6862. var _ = this;
  6863. _.string = t0;
  6864. _._nextPosition = _._position = 0;
  6865. _._currentCodePoint = -1;
  6866. },
  6867. StringBuffer: function StringBuffer(t0) {
  6868. this._contents = t0;
  6869. },
  6870. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  6871. this.host = t0;
  6872. },
  6873. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  6874. this.host = t0;
  6875. },
  6876. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  6877. this.error = t0;
  6878. this.host = t1;
  6879. },
  6880. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  6881. var _ = this;
  6882. _.scheme = t0;
  6883. _._userInfo = t1;
  6884. _._host = t2;
  6885. _._port = t3;
  6886. _.path = t4;
  6887. _._query = t5;
  6888. _._fragment = t6;
  6889. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  6890. },
  6891. _Uri__makePath_closure: function _Uri__makePath_closure() {
  6892. },
  6893. UriData: function UriData(t0, t1, t2) {
  6894. this._text = t0;
  6895. this._separatorIndices = t1;
  6896. this._uriCache = t2;
  6897. },
  6898. _createTables_build: function _createTables_build(t0) {
  6899. this.tables = t0;
  6900. },
  6901. _createTables_setChars: function _createTables_setChars() {
  6902. },
  6903. _createTables_setRange: function _createTables_setRange() {
  6904. },
  6905. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  6906. var _ = this;
  6907. _._uri = t0;
  6908. _._schemeEnd = t1;
  6909. _._hostStart = t2;
  6910. _._portStart = t3;
  6911. _._pathStart = t4;
  6912. _._queryStart = t5;
  6913. _._fragmentStart = t6;
  6914. _._schemeCache = t7;
  6915. _._hashCodeCache = null;
  6916. },
  6917. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  6918. var _ = this;
  6919. _.scheme = t0;
  6920. _._userInfo = t1;
  6921. _._host = t2;
  6922. _._port = t3;
  6923. _.path = t4;
  6924. _._query = t5;
  6925. _._fragment = t6;
  6926. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  6927. },
  6928. Expando: function Expando(t0) {
  6929. this._jsWeakMap = t0;
  6930. },
  6931. _convertDataTree(data) {
  6932. var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
  6933. t1.toString;
  6934. return t1;
  6935. },
  6936. callConstructor(constr, $arguments) {
  6937. var args, factoryFunction;
  6938. if ($arguments instanceof Array)
  6939. switch ($arguments.length) {
  6940. case 0:
  6941. return new constr();
  6942. case 1:
  6943. return new constr($arguments[0]);
  6944. case 2:
  6945. return new constr($arguments[0], $arguments[1]);
  6946. case 3:
  6947. return new constr($arguments[0], $arguments[1], $arguments[2]);
  6948. case 4:
  6949. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  6950. }
  6951. args = [null];
  6952. B.JSArray_methods.addAll$1(args, $arguments);
  6953. factoryFunction = constr.bind.apply(constr, args);
  6954. String(factoryFunction);
  6955. return new factoryFunction();
  6956. },
  6957. _convertDataTree__convert: function _convertDataTree__convert(t0) {
  6958. this._convertedObjects = t0;
  6959. },
  6960. max(a, b) {
  6961. return Math.max(A.checkNum(a), A.checkNum(b));
  6962. },
  6963. pow(x, exponent) {
  6964. return Math.pow(x, exponent);
  6965. },
  6966. Random_Random() {
  6967. return B.C__JSRandom;
  6968. },
  6969. _JSRandom: function _JSRandom() {
  6970. },
  6971. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  6972. var _ = this;
  6973. _._arg_parser$_options = t0;
  6974. _._aliases = t1;
  6975. _.options = t2;
  6976. _.commands = t3;
  6977. _._optionsAndSeparators = t4;
  6978. _.allowTrailingOptions = t5;
  6979. _.usageLineLength = t6;
  6980. },
  6981. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  6982. this.$this = t0;
  6983. },
  6984. ArgParserException$(message, commands) {
  6985. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  6986. },
  6987. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  6988. var _ = this;
  6989. _.commands = t0;
  6990. _.message = t1;
  6991. _.source = t2;
  6992. _.offset = t3;
  6993. },
  6994. ArgResults: function ArgResults(t0, t1, t2, t3) {
  6995. var _ = this;
  6996. _._parser = t0;
  6997. _._parsed = t1;
  6998. _.name = t2;
  6999. _.rest = t3;
  7000. },
  7001. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  7002. var _ = this;
  7003. _.name = t0;
  7004. _.abbr = t1;
  7005. _.help = t2;
  7006. _.valueHelp = t3;
  7007. _.allowed = t4;
  7008. _.allowedHelp = t5;
  7009. _.defaultsTo = t6;
  7010. _.negatable = t7;
  7011. _.callback = t8;
  7012. _.type = t9;
  7013. _.splitCommas = t10;
  7014. _.mandatory = t11;
  7015. _.hide = t12;
  7016. },
  7017. OptionType: function OptionType(t0) {
  7018. this.name = t0;
  7019. },
  7020. Parser$(_commandName, _grammar, _args, _parent, rest) {
  7021. var t1 = A._setArrayType([], type$.JSArray_String);
  7022. if (rest != null)
  7023. B.JSArray_methods.addAll$1(t1, rest);
  7024. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  7025. },
  7026. _isLetterOrDigit(codeUnit) {
  7027. var t1;
  7028. if (!(codeUnit >= 65 && codeUnit <= 90))
  7029. if (!(codeUnit >= 97 && codeUnit <= 122))
  7030. t1 = codeUnit >= 48 && codeUnit <= 57;
  7031. else
  7032. t1 = true;
  7033. else
  7034. t1 = true;
  7035. return t1;
  7036. },
  7037. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  7038. var _ = this;
  7039. _._commandName = t0;
  7040. _._parser$_parent = t1;
  7041. _._grammar = t2;
  7042. _._args = t3;
  7043. _._parser$_rest = t4;
  7044. _._results = t5;
  7045. },
  7046. Parser_parse_closure: function Parser_parse_closure(t0) {
  7047. this.$this = t0;
  7048. },
  7049. Parser__setOption_closure: function Parser__setOption_closure() {
  7050. },
  7051. _Usage: function _Usage(t0, t1, t2) {
  7052. var _ = this;
  7053. _._usage$_optionsAndSeparators = t0;
  7054. _._buffer = t1;
  7055. _._currentColumn = 0;
  7056. _.___Usage__columnWidths_FI = $;
  7057. _._newlinesNeeded = 0;
  7058. _.lineLength = t2;
  7059. },
  7060. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  7061. },
  7062. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  7063. this.option = t0;
  7064. },
  7065. ErrorResult: function ErrorResult(t0, t1) {
  7066. this.error = t0;
  7067. this.stackTrace = t1;
  7068. },
  7069. ValueResult: function ValueResult(t0, t1) {
  7070. this.value = t0;
  7071. this.$ti = t1;
  7072. },
  7073. StreamCompleter: function StreamCompleter(t0, t1) {
  7074. this._stream_completer$_stream = t0;
  7075. this.$ti = t1;
  7076. },
  7077. _CompleterStream: function _CompleterStream(t0) {
  7078. this._sourceStream = this._stream_completer$_controller = null;
  7079. this.$ti = t0;
  7080. },
  7081. StreamGroup: function StreamGroup(t0, t1, t2) {
  7082. var _ = this;
  7083. _.__StreamGroup__controller_A = $;
  7084. _._closed = false;
  7085. _._stream_group$_state = t0;
  7086. _._subscriptions = t1;
  7087. _.$ti = t2;
  7088. },
  7089. StreamGroup_add_closure: function StreamGroup_add_closure() {
  7090. },
  7091. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  7092. this.$this = t0;
  7093. this.stream = t1;
  7094. },
  7095. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  7096. },
  7097. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  7098. this.$this = t0;
  7099. },
  7100. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  7101. this.$this = t0;
  7102. this.stream = t1;
  7103. },
  7104. _StreamGroupState: function _StreamGroupState(t0) {
  7105. this.name = t0;
  7106. },
  7107. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  7108. var _ = this;
  7109. _._stream_queue$_source = t0;
  7110. _._stream_queue$_subscription = null;
  7111. _._isDone = false;
  7112. _._eventsReceived = 0;
  7113. _._eventQueue = t1;
  7114. _._requestQueue = t2;
  7115. _.$ti = t3;
  7116. },
  7117. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  7118. this.$this = t0;
  7119. },
  7120. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  7121. this.$this = t0;
  7122. },
  7123. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  7124. this.$this = t0;
  7125. },
  7126. _NextRequest: function _NextRequest(t0, t1) {
  7127. this._completer = t0;
  7128. this.$ti = t1;
  7129. },
  7130. Repl: function Repl(t0, t1, t2, t3) {
  7131. var _ = this;
  7132. _.prompt = t0;
  7133. _.continuation = t1;
  7134. _.validator = t2;
  7135. _.__Repl__adapter_A = $;
  7136. _.history = t3;
  7137. },
  7138. alwaysValid_closure: function alwaysValid_closure() {
  7139. },
  7140. ReplAdapter: function ReplAdapter(t0) {
  7141. this.repl = t0;
  7142. this.rl = null;
  7143. },
  7144. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  7145. var _ = this;
  7146. _._box_0 = t0;
  7147. _.$this = t1;
  7148. _.rl = t2;
  7149. _.runController = t3;
  7150. },
  7151. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  7152. this.lineController = t0;
  7153. },
  7154. Stdin: function Stdin() {
  7155. },
  7156. Stdout: function Stdout() {
  7157. },
  7158. ReadlineModule: function ReadlineModule() {
  7159. },
  7160. ReadlineOptions: function ReadlineOptions() {
  7161. },
  7162. ReadlineInterface: function ReadlineInterface() {
  7163. },
  7164. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  7165. this.$ti = t0;
  7166. },
  7167. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  7168. },
  7169. DefaultEquality: function DefaultEquality() {
  7170. },
  7171. IterableEquality: function IterableEquality() {
  7172. },
  7173. ListEquality: function ListEquality() {
  7174. },
  7175. _MapEntry: function _MapEntry(t0, t1, t2) {
  7176. this.equality = t0;
  7177. this.key = t1;
  7178. this.value = t2;
  7179. },
  7180. MapEquality: function MapEquality() {
  7181. },
  7182. QueueList$(initialCapacity, $E) {
  7183. return new A.QueueList(A.List_List$filled(A.QueueList__computeInitialCapacity(initialCapacity), null, false, $E._eval$1("0?")), 0, 0, $E._eval$1("QueueList<0>"));
  7184. },
  7185. QueueList_QueueList$from(source, $E) {
  7186. var $length, queue, t1;
  7187. if (type$.List_dynamic._is(source)) {
  7188. $length = J.get$length$asx(source);
  7189. queue = A.QueueList$($length + 1, $E);
  7190. J.setRange$4$ax(queue._table, 0, $length, source, 0);
  7191. queue._tail = $length;
  7192. return queue;
  7193. } else {
  7194. t1 = A.QueueList$(null, $E);
  7195. t1.addAll$1(0, source);
  7196. return t1;
  7197. }
  7198. },
  7199. QueueList__computeInitialCapacity(initialCapacity) {
  7200. if (initialCapacity == null || initialCapacity < 8)
  7201. return 8;
  7202. ++initialCapacity;
  7203. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  7204. return initialCapacity;
  7205. return A.QueueList__nextPowerOf2(initialCapacity);
  7206. },
  7207. QueueList__nextPowerOf2(number) {
  7208. var nextNumber;
  7209. number = (number << 1 >>> 0) - 1;
  7210. for (; true; number = nextNumber) {
  7211. nextNumber = (number & number - 1) >>> 0;
  7212. if (nextNumber === 0)
  7213. return number;
  7214. }
  7215. },
  7216. QueueList: function QueueList(t0, t1, t2, t3) {
  7217. var _ = this;
  7218. _._table = t0;
  7219. _._head = t1;
  7220. _._tail = t2;
  7221. _.$ti = t3;
  7222. },
  7223. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  7224. var _ = this;
  7225. _._queue_list$_delegate = t0;
  7226. _._table = t1;
  7227. _._head = t2;
  7228. _._tail = t3;
  7229. _.$ti = t4;
  7230. },
  7231. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  7232. },
  7233. UnmodifiableSetMixin__throw() {
  7234. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  7235. },
  7236. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  7237. this._base = t0;
  7238. this.$ti = t1;
  7239. },
  7240. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  7241. },
  7242. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  7243. },
  7244. _DelegatingIterableBase: function _DelegatingIterableBase() {
  7245. },
  7246. DelegatingSet: function DelegatingSet(t0, t1) {
  7247. this._base = t0;
  7248. this.$ti = t1;
  7249. },
  7250. MapKeySet: function MapKeySet(t0, t1) {
  7251. this._baseMap = t0;
  7252. this.$ti = t1;
  7253. },
  7254. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  7255. this.$this = t0;
  7256. this.other = t1;
  7257. },
  7258. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  7259. },
  7260. BufferModule: function BufferModule() {
  7261. },
  7262. BufferConstants: function BufferConstants() {
  7263. },
  7264. Buffer: function Buffer() {
  7265. },
  7266. ConsoleModule: function ConsoleModule() {
  7267. },
  7268. Console: function Console() {
  7269. },
  7270. EventEmitter: function EventEmitter() {
  7271. },
  7272. fs() {
  7273. var t1 = $._fs;
  7274. return t1 == null ? $._fs = self.fs : t1;
  7275. },
  7276. FS: function FS() {
  7277. },
  7278. FSConstants: function FSConstants() {
  7279. },
  7280. FSWatcher: function FSWatcher() {
  7281. },
  7282. ReadStream: function ReadStream() {
  7283. },
  7284. ReadStreamOptions: function ReadStreamOptions() {
  7285. },
  7286. WriteStream: function WriteStream() {
  7287. },
  7288. WriteStreamOptions: function WriteStreamOptions() {
  7289. },
  7290. FileOptions: function FileOptions() {
  7291. },
  7292. StatOptions: function StatOptions() {
  7293. },
  7294. MkdirOptions: function MkdirOptions() {
  7295. },
  7296. RmdirOptions: function RmdirOptions() {
  7297. },
  7298. WatchOptions: function WatchOptions() {
  7299. },
  7300. WatchFileOptions: function WatchFileOptions() {
  7301. },
  7302. Stats: function Stats() {
  7303. },
  7304. Promise: function Promise() {
  7305. },
  7306. Date: function Date() {
  7307. },
  7308. JsError: function JsError() {
  7309. },
  7310. Atomics: function Atomics() {
  7311. },
  7312. Modules: function Modules() {
  7313. },
  7314. Module1: function Module1() {
  7315. },
  7316. Net: function Net() {
  7317. },
  7318. Socket: function Socket() {
  7319. },
  7320. NetAddress: function NetAddress() {
  7321. },
  7322. NetServer: function NetServer() {
  7323. },
  7324. NodeJsError: function NodeJsError() {
  7325. },
  7326. JsAssertionError: function JsAssertionError() {
  7327. },
  7328. JsRangeError: function JsRangeError() {
  7329. },
  7330. JsReferenceError: function JsReferenceError() {
  7331. },
  7332. JsSyntaxError: function JsSyntaxError() {
  7333. },
  7334. JsTypeError: function JsTypeError() {
  7335. },
  7336. JsSystemError: function JsSystemError() {
  7337. },
  7338. Process: function Process() {
  7339. },
  7340. CPUUsage: function CPUUsage() {
  7341. },
  7342. Release: function Release() {
  7343. },
  7344. StreamModule: function StreamModule() {
  7345. },
  7346. Readable: function Readable() {
  7347. },
  7348. Writable: function Writable() {
  7349. },
  7350. Duplex: function Duplex() {
  7351. },
  7352. Transform: function Transform() {
  7353. },
  7354. WritableOptions: function WritableOptions() {
  7355. },
  7356. ReadableOptions: function ReadableOptions() {
  7357. },
  7358. Immediate: function Immediate() {
  7359. },
  7360. Timeout: function Timeout() {
  7361. },
  7362. TTY: function TTY() {
  7363. },
  7364. TTYReadStream: function TTYReadStream() {
  7365. },
  7366. TTYWriteStream: function TTYWriteStream() {
  7367. },
  7368. jsify(dartObject) {
  7369. if (A._isBasicType(dartObject))
  7370. return dartObject;
  7371. return A._convertDataTree(dartObject);
  7372. },
  7373. _isBasicType(value) {
  7374. var t1 = false;
  7375. if (t1)
  7376. return true;
  7377. return false;
  7378. },
  7379. promiseToFuture(promise, $T) {
  7380. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  7381. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  7382. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  7383. return t1;
  7384. },
  7385. futureToPromise(future, $T) {
  7386. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  7387. },
  7388. Util: function Util() {
  7389. },
  7390. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  7391. this.completer = t0;
  7392. },
  7393. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  7394. this.completer = t0;
  7395. },
  7396. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  7397. this.future = t0;
  7398. this.T = t1;
  7399. },
  7400. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  7401. this.resolve = t0;
  7402. this.T = t1;
  7403. },
  7404. Context_Context(style) {
  7405. var current = style == null ? A.current() : ".";
  7406. if (style == null)
  7407. style = $.$get$Style_platform();
  7408. return new A.Context(type$.InternalStyle._as(style), current);
  7409. },
  7410. _parseUri(uri) {
  7411. if (typeof uri == "string")
  7412. return A.Uri_parse(uri);
  7413. if (type$.Uri._is(uri))
  7414. return uri;
  7415. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  7416. },
  7417. _validateArgList(method, args) {
  7418. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  7419. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  7420. if (args[i] == null || args[i - 1] != null)
  7421. continue;
  7422. for (; numArgs >= 1; numArgs = numArgs0) {
  7423. numArgs0 = numArgs - 1;
  7424. if (args[numArgs0] != null)
  7425. break;
  7426. }
  7427. message = new A.StringBuffer("");
  7428. t1 = "" + (method + "(");
  7429. message._contents = t1;
  7430. t2 = A._arrayInstanceType(args);
  7431. t3 = t2._eval$1("SubListIterable<1>");
  7432. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  7433. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  7434. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  7435. message._contents = t3;
  7436. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  7437. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  7438. }
  7439. },
  7440. Context: function Context(t0, t1) {
  7441. this.style = t0;
  7442. this._context$_current = t1;
  7443. },
  7444. Context_joinAll_closure: function Context_joinAll_closure() {
  7445. },
  7446. Context_split_closure: function Context_split_closure() {
  7447. },
  7448. _validateArgList_closure: function _validateArgList_closure() {
  7449. },
  7450. _PathDirection: function _PathDirection(t0) {
  7451. this.name = t0;
  7452. },
  7453. _PathRelation: function _PathRelation(t0) {
  7454. this.name = t0;
  7455. },
  7456. InternalStyle: function InternalStyle() {
  7457. },
  7458. ParsedPath_ParsedPath$parse(path, style) {
  7459. var t1, parts, separators, start, i,
  7460. root = style.getRoot$1(path),
  7461. isRootRelative = style.isRootRelative$1(path);
  7462. if (root != null)
  7463. path = B.JSString_methods.substring$1(path, root.length);
  7464. t1 = type$.JSArray_String;
  7465. parts = A._setArrayType([], t1);
  7466. separators = A._setArrayType([], t1);
  7467. t1 = path.length;
  7468. if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
  7469. separators.push(path[0]);
  7470. start = 1;
  7471. } else {
  7472. separators.push("");
  7473. start = 0;
  7474. }
  7475. for (i = start; i < t1; ++i)
  7476. if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
  7477. parts.push(B.JSString_methods.substring$2(path, start, i));
  7478. separators.push(path[i]);
  7479. start = i + 1;
  7480. }
  7481. if (start < t1) {
  7482. parts.push(B.JSString_methods.substring$1(path, start));
  7483. separators.push("");
  7484. }
  7485. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  7486. },
  7487. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  7488. var _ = this;
  7489. _.style = t0;
  7490. _.root = t1;
  7491. _.isRootRelative = t2;
  7492. _.parts = t3;
  7493. _.separators = t4;
  7494. },
  7495. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  7496. },
  7497. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  7498. },
  7499. PathException$(message) {
  7500. return new A.PathException(message);
  7501. },
  7502. PathException: function PathException(t0) {
  7503. this.message = t0;
  7504. },
  7505. PathMap__create(context, $V) {
  7506. var t1 = {};
  7507. t1.context = context;
  7508. t1.context = $.$get$context();
  7509. return A.LinkedHashMap_LinkedHashMap(new A.PathMap__create_closure(t1), new A.PathMap__create_closure0(t1), new A.PathMap__create_closure1(), type$.nullable_String, $V);
  7510. },
  7511. PathMap: function PathMap(t0, t1) {
  7512. this._map = t0;
  7513. this.$ti = t1;
  7514. },
  7515. PathMap__create_closure: function PathMap__create_closure(t0) {
  7516. this._box_0 = t0;
  7517. },
  7518. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  7519. this._box_0 = t0;
  7520. },
  7521. PathMap__create_closure1: function PathMap__create_closure1() {
  7522. },
  7523. Style__getPlatformStyle() {
  7524. if (A.Uri_base().get$scheme() !== "file")
  7525. return $.$get$Style_url();
  7526. var t1 = A.Uri_base();
  7527. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  7528. return $.$get$Style_url();
  7529. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  7530. return $.$get$Style_windows();
  7531. return $.$get$Style_posix();
  7532. },
  7533. Style: function Style() {
  7534. },
  7535. PosixStyle: function PosixStyle(t0, t1, t2) {
  7536. this.separatorPattern = t0;
  7537. this.needsSeparatorPattern = t1;
  7538. this.rootPattern = t2;
  7539. },
  7540. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  7541. var _ = this;
  7542. _.separatorPattern = t0;
  7543. _.needsSeparatorPattern = t1;
  7544. _.rootPattern = t2;
  7545. _.relativeRootPattern = t3;
  7546. },
  7547. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  7548. var _ = this;
  7549. _.separatorPattern = t0;
  7550. _.needsSeparatorPattern = t1;
  7551. _.rootPattern = t2;
  7552. _.relativeRootPattern = t3;
  7553. },
  7554. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  7555. },
  7556. CssMediaQuery$type(type, conditions, modifier) {
  7557. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  7558. },
  7559. CssMediaQuery$condition(conditions, conjunction) {
  7560. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  7561. if (t1.length > 1 && conjunction == null)
  7562. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  7563. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  7564. },
  7565. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  7566. var _ = this;
  7567. _.modifier = t0;
  7568. _.type = t1;
  7569. _.conjunction = t2;
  7570. _.conditions = t3;
  7571. },
  7572. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  7573. this._media_query$_name = t0;
  7574. },
  7575. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  7576. this.query = t0;
  7577. },
  7578. ModifiableCssAtRule$($name, span, childless, value) {
  7579. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7580. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7581. },
  7582. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  7583. var _ = this;
  7584. _.name = t0;
  7585. _.value = t1;
  7586. _.isChildless = t2;
  7587. _.span = t3;
  7588. _.children = t4;
  7589. _._children = t5;
  7590. _._indexInParent = _._parent = null;
  7591. _.isGroupEnd = false;
  7592. },
  7593. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  7594. var _ = this;
  7595. _.text = t0;
  7596. _.span = t1;
  7597. _._indexInParent = _._parent = null;
  7598. _.isGroupEnd = false;
  7599. },
  7600. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  7601. var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
  7602. if (parsedAsCustomProperty)
  7603. if (!J.startsWith$1$s($name.get$value($name), "--"))
  7604. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  7605. else if (!(value.get$value(value) instanceof A.SassString))
  7606. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
  7607. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  7608. },
  7609. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  7610. var _ = this;
  7611. _.name = t0;
  7612. _.value = t1;
  7613. _.parsedAsCustomProperty = t2;
  7614. _.valueSpanForMap = t3;
  7615. _.span = t4;
  7616. _._indexInParent = _._parent = null;
  7617. _.isGroupEnd = false;
  7618. },
  7619. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  7620. var _ = this;
  7621. _.url = t0;
  7622. _.modifiers = t1;
  7623. _.span = t2;
  7624. _._indexInParent = _._parent = null;
  7625. _.isGroupEnd = false;
  7626. },
  7627. ModifiableCssKeyframeBlock$(selector, span) {
  7628. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7629. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7630. },
  7631. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  7632. var _ = this;
  7633. _.selector = t0;
  7634. _.span = t1;
  7635. _.children = t2;
  7636. _._children = t3;
  7637. _._indexInParent = _._parent = null;
  7638. _.isGroupEnd = false;
  7639. },
  7640. ModifiableCssMediaRule$(queries, span) {
  7641. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  7642. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7643. if (J.get$isEmpty$asx(queries))
  7644. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  7645. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  7646. },
  7647. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  7648. var _ = this;
  7649. _.queries = t0;
  7650. _.span = t1;
  7651. _.children = t2;
  7652. _._children = t3;
  7653. _._indexInParent = _._parent = null;
  7654. _.isGroupEnd = false;
  7655. },
  7656. ModifiableCssNode: function ModifiableCssNode() {
  7657. },
  7658. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  7659. },
  7660. ModifiableCssParentNode: function ModifiableCssParentNode() {
  7661. },
  7662. ModifiableCssStyleRule$(selector, span, originalSelector) {
  7663. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7664. return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7665. },
  7666. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  7667. var _ = this;
  7668. _.selector = t0;
  7669. _.originalSelector = t1;
  7670. _.span = t2;
  7671. _.children = t3;
  7672. _._children = t4;
  7673. _._indexInParent = _._parent = null;
  7674. _.isGroupEnd = false;
  7675. },
  7676. ModifiableCssStylesheet$(span) {
  7677. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7678. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7679. },
  7680. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  7681. var _ = this;
  7682. _.span = t0;
  7683. _.children = t1;
  7684. _._children = t2;
  7685. _._indexInParent = _._parent = null;
  7686. _.isGroupEnd = false;
  7687. },
  7688. ModifiableCssSupportsRule$(condition, span) {
  7689. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7690. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7691. },
  7692. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  7693. var _ = this;
  7694. _.condition = t0;
  7695. _.span = t1;
  7696. _.children = t2;
  7697. _._children = t3;
  7698. _._indexInParent = _._parent = null;
  7699. _.isGroupEnd = false;
  7700. },
  7701. ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
  7702. this.value = t0;
  7703. this.span = t1;
  7704. this.$ti = t2;
  7705. },
  7706. CssNode: function CssNode() {
  7707. },
  7708. CssParentNode: function CssParentNode() {
  7709. },
  7710. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  7711. this.includeBogus = t0;
  7712. this.includeComments = t1;
  7713. },
  7714. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  7715. },
  7716. CssStylesheet: function CssStylesheet(t0, t1) {
  7717. this.children = t0;
  7718. this.span = t1;
  7719. },
  7720. CssValue: function CssValue(t0, t1, t2) {
  7721. this.value = t0;
  7722. this.span = t1;
  7723. this.$ti = t2;
  7724. },
  7725. AstNode: function AstNode() {
  7726. },
  7727. _FakeAstNode: function _FakeAstNode(t0) {
  7728. this._callback = t0;
  7729. },
  7730. Argument: function Argument(t0, t1, t2) {
  7731. this.name = t0;
  7732. this.defaultValue = t1;
  7733. this.span = t2;
  7734. },
  7735. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  7736. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  7737. },
  7738. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  7739. this.$arguments = t0;
  7740. this.restArgument = t1;
  7741. this.span = t2;
  7742. },
  7743. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  7744. },
  7745. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  7746. },
  7747. ArgumentInvocation$empty(span) {
  7748. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty2, null, null, span);
  7749. },
  7750. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  7751. var _ = this;
  7752. _.positional = t0;
  7753. _.named = t1;
  7754. _.rest = t2;
  7755. _.keywordRest = t3;
  7756. _.span = t4;
  7757. },
  7758. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  7759. var _ = this;
  7760. _.include = t0;
  7761. _.names = t1;
  7762. _._all = t2;
  7763. _._at_root_query$_rule = t3;
  7764. },
  7765. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  7766. var _ = this;
  7767. _.name = t0;
  7768. _.expression = t1;
  7769. _.isGuarded = t2;
  7770. _.span = t3;
  7771. },
  7772. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  7773. var _ = this;
  7774. _.operator = t0;
  7775. _.left = t1;
  7776. _.right = t2;
  7777. _.allowsSlash = t3;
  7778. },
  7779. BinaryOperator: function BinaryOperator(t0, t1, t2, t3) {
  7780. var _ = this;
  7781. _.name = t0;
  7782. _.operator = t1;
  7783. _.precedence = t2;
  7784. _._name = t3;
  7785. },
  7786. BooleanExpression: function BooleanExpression(t0, t1) {
  7787. this.value = t0;
  7788. this.span = t1;
  7789. },
  7790. CalculationExpression__verifyArguments($arguments) {
  7791. return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
  7792. },
  7793. CalculationExpression__verify(expression) {
  7794. var t1,
  7795. _s29_ = "Invalid calculation argument ";
  7796. if (expression instanceof A.NumberExpression)
  7797. return;
  7798. if (expression instanceof A.CalculationExpression)
  7799. return;
  7800. if (expression instanceof A.VariableExpression)
  7801. return;
  7802. if (expression instanceof A.FunctionExpression)
  7803. return;
  7804. if (expression instanceof A.IfExpression)
  7805. return;
  7806. if (expression instanceof A.StringExpression) {
  7807. if (expression.hasQuotes)
  7808. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7809. } else if (expression instanceof A.ParenthesizedExpression)
  7810. A.CalculationExpression__verify(expression.expression);
  7811. else if (expression instanceof A.BinaryOperationExpression) {
  7812. A.CalculationExpression__verify(expression.left);
  7813. A.CalculationExpression__verify(expression.right);
  7814. t1 = expression.operator;
  7815. if (t1 === B.BinaryOperator_qbf)
  7816. return;
  7817. if (t1 === B.BinaryOperator_KlB)
  7818. return;
  7819. if (t1 === B.BinaryOperator_6pl)
  7820. return;
  7821. if (t1 === B.BinaryOperator_qpm)
  7822. return;
  7823. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7824. } else
  7825. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7826. },
  7827. CalculationExpression: function CalculationExpression(t0, t1, t2) {
  7828. this.name = t0;
  7829. this.$arguments = t1;
  7830. this.span = t2;
  7831. },
  7832. CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
  7833. },
  7834. ColorExpression: function ColorExpression(t0, t1) {
  7835. this.value = t0;
  7836. this.span = t1;
  7837. },
  7838. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  7839. var _ = this;
  7840. _.namespace = t0;
  7841. _.originalName = t1;
  7842. _.$arguments = t2;
  7843. _.span = t3;
  7844. },
  7845. IfExpression: function IfExpression(t0, t1) {
  7846. this.$arguments = t0;
  7847. this.span = t1;
  7848. },
  7849. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  7850. this.name = t0;
  7851. this.$arguments = t1;
  7852. this.span = t2;
  7853. },
  7854. ListExpression: function ListExpression(t0, t1, t2, t3) {
  7855. var _ = this;
  7856. _.contents = t0;
  7857. _.separator = t1;
  7858. _.hasBrackets = t2;
  7859. _.span = t3;
  7860. },
  7861. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  7862. this.$this = t0;
  7863. },
  7864. MapExpression: function MapExpression(t0, t1) {
  7865. this.pairs = t0;
  7866. this.span = t1;
  7867. },
  7868. MapExpression_toString_closure: function MapExpression_toString_closure() {
  7869. },
  7870. NullExpression: function NullExpression(t0) {
  7871. this.span = t0;
  7872. },
  7873. NumberExpression: function NumberExpression(t0, t1, t2) {
  7874. this.value = t0;
  7875. this.unit = t1;
  7876. this.span = t2;
  7877. },
  7878. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  7879. this.expression = t0;
  7880. this.span = t1;
  7881. },
  7882. SelectorExpression: function SelectorExpression(t0) {
  7883. this.span = t0;
  7884. },
  7885. StringExpression_quoteText(text) {
  7886. var t1,
  7887. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  7888. buffer = new A.StringBuffer("");
  7889. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  7890. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  7891. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  7892. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7893. },
  7894. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  7895. var t1, t2, i, codeUnit, next, t3;
  7896. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  7897. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  7898. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  7899. buffer.writeCharCode$1(92);
  7900. buffer.writeCharCode$1(97);
  7901. if (i !== t2) {
  7902. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  7903. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
  7904. buffer.writeCharCode$1(32);
  7905. }
  7906. } else {
  7907. if (codeUnit !== quote)
  7908. if (codeUnit !== 92)
  7909. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  7910. else
  7911. t3 = true;
  7912. else
  7913. t3 = true;
  7914. if (t3)
  7915. buffer.writeCharCode$1(92);
  7916. buffer.writeCharCode$1(codeUnit);
  7917. }
  7918. }
  7919. },
  7920. StringExpression__bestQuote(strings) {
  7921. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  7922. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  7923. t2 = t1.get$current(t1);
  7924. for (t3 = t2.length, i = 0; i < t3; ++i) {
  7925. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  7926. if (codeUnit === 39)
  7927. return 34;
  7928. if (codeUnit === 34)
  7929. containsDoubleQuote = true;
  7930. }
  7931. }
  7932. return containsDoubleQuote ? 39 : 34;
  7933. },
  7934. StringExpression: function StringExpression(t0, t1) {
  7935. this.text = t0;
  7936. this.hasQuotes = t1;
  7937. },
  7938. SupportsExpression: function SupportsExpression(t0) {
  7939. this.condition = t0;
  7940. },
  7941. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  7942. this.operator = t0;
  7943. this.operand = t1;
  7944. this.span = t2;
  7945. },
  7946. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  7947. this.name = t0;
  7948. this.operator = t1;
  7949. this._name = t2;
  7950. },
  7951. ValueExpression: function ValueExpression(t0, t1) {
  7952. this.value = t0;
  7953. this.span = t1;
  7954. },
  7955. VariableExpression: function VariableExpression(t0, t1, t2) {
  7956. this.namespace = t0;
  7957. this.name = t1;
  7958. this.span = t2;
  7959. },
  7960. DynamicImport: function DynamicImport(t0, t1) {
  7961. this.urlString = t0;
  7962. this.span = t1;
  7963. },
  7964. StaticImport: function StaticImport(t0, t1, t2) {
  7965. this.url = t0;
  7966. this.modifiers = t1;
  7967. this.span = t2;
  7968. },
  7969. Interpolation$(contents, span) {
  7970. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  7971. t1.Interpolation$2(contents, span);
  7972. return t1;
  7973. },
  7974. Interpolation: function Interpolation(t0, t1) {
  7975. this.contents = t0;
  7976. this.span = t1;
  7977. },
  7978. Interpolation_toString_closure: function Interpolation_toString_closure() {
  7979. },
  7980. AtRootRule$(children, span, query) {
  7981. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  7982. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  7983. return new A.AtRootRule(query, span, t1, t2);
  7984. },
  7985. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  7986. var _ = this;
  7987. _.query = t0;
  7988. _.span = t1;
  7989. _.children = t2;
  7990. _.hasDeclarations = t3;
  7991. },
  7992. AtRule$($name, span, children, value) {
  7993. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  7994. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  7995. return new A.AtRule($name, value, span, t1, t2 === true);
  7996. },
  7997. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  7998. var _ = this;
  7999. _.name = t0;
  8000. _.value = t1;
  8001. _.span = t2;
  8002. _.children = t3;
  8003. _.hasDeclarations = t4;
  8004. },
  8005. CallableDeclaration: function CallableDeclaration() {
  8006. },
  8007. ContentBlock$($arguments, children, span) {
  8008. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8009. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8010. return new A.ContentBlock("@content", $arguments, span, t1, t2);
  8011. },
  8012. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
  8013. var _ = this;
  8014. _.name = t0;
  8015. _.$arguments = t1;
  8016. _.span = t2;
  8017. _.children = t3;
  8018. _.hasDeclarations = t4;
  8019. },
  8020. ContentRule: function ContentRule(t0, t1) {
  8021. this.$arguments = t0;
  8022. this.span = t1;
  8023. },
  8024. DebugRule: function DebugRule(t0, t1) {
  8025. this.expression = t0;
  8026. this.span = t1;
  8027. },
  8028. Declaration$($name, value, span) {
  8029. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
  8030. A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
  8031. return new A.Declaration($name, value, span, null, false);
  8032. },
  8033. Declaration$nested($name, children, span, value) {
  8034. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8035. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8036. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
  8037. A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
  8038. return new A.Declaration($name, value, span, t1, t2);
  8039. },
  8040. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  8041. var _ = this;
  8042. _.name = t0;
  8043. _.value = t1;
  8044. _.span = t2;
  8045. _.children = t3;
  8046. _.hasDeclarations = t4;
  8047. },
  8048. EachRule$(variables, list, children, span) {
  8049. var t1 = A.List_List$unmodifiable(variables, type$.String),
  8050. t2 = A.List_List$unmodifiable(children, type$.Statement),
  8051. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  8052. return new A.EachRule(t1, list, span, t2, t3);
  8053. },
  8054. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  8055. var _ = this;
  8056. _.variables = t0;
  8057. _.list = t1;
  8058. _.span = t2;
  8059. _.children = t3;
  8060. _.hasDeclarations = t4;
  8061. },
  8062. EachRule_toString_closure: function EachRule_toString_closure() {
  8063. },
  8064. ErrorRule: function ErrorRule(t0, t1) {
  8065. this.expression = t0;
  8066. this.span = t1;
  8067. },
  8068. ExtendRule: function ExtendRule(t0, t1, t2) {
  8069. this.selector = t0;
  8070. this.isOptional = t1;
  8071. this.span = t2;
  8072. },
  8073. ForRule$(variable, from, to, children, span, exclusive) {
  8074. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8075. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8076. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  8077. },
  8078. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  8079. var _ = this;
  8080. _.variable = t0;
  8081. _.from = t1;
  8082. _.to = t2;
  8083. _.isExclusive = t3;
  8084. _.span = t4;
  8085. _.children = t5;
  8086. _.hasDeclarations = t6;
  8087. },
  8088. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  8089. var _ = this;
  8090. _.url = t0;
  8091. _.shownMixinsAndFunctions = t1;
  8092. _.shownVariables = t2;
  8093. _.hiddenMixinsAndFunctions = t3;
  8094. _.hiddenVariables = t4;
  8095. _.prefix = t5;
  8096. _.configuration = t6;
  8097. _.span = t7;
  8098. },
  8099. FunctionRule$($name, $arguments, children, span, comment) {
  8100. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8101. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8102. return new A.FunctionRule($name, $arguments, span, t1, t2);
  8103. },
  8104. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  8105. var _ = this;
  8106. _.name = t0;
  8107. _.$arguments = t1;
  8108. _.span = t2;
  8109. _.children = t3;
  8110. _.hasDeclarations = t4;
  8111. },
  8112. IfClause$(expression, children) {
  8113. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8114. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8115. },
  8116. ElseClause$(children) {
  8117. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8118. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8119. },
  8120. IfRule: function IfRule(t0, t1, t2) {
  8121. this.clauses = t0;
  8122. this.lastClause = t1;
  8123. this.span = t2;
  8124. },
  8125. IfRule_toString_closure: function IfRule_toString_closure() {
  8126. },
  8127. IfRuleClause: function IfRuleClause() {
  8128. },
  8129. IfRuleClause$__closure: function IfRuleClause$__closure() {
  8130. },
  8131. IfRuleClause$___closure: function IfRuleClause$___closure() {
  8132. },
  8133. IfClause: function IfClause(t0, t1, t2) {
  8134. this.expression = t0;
  8135. this.children = t1;
  8136. this.hasDeclarations = t2;
  8137. },
  8138. ElseClause: function ElseClause(t0, t1) {
  8139. this.children = t0;
  8140. this.hasDeclarations = t1;
  8141. },
  8142. ImportRule: function ImportRule(t0, t1) {
  8143. this.imports = t0;
  8144. this.span = t1;
  8145. },
  8146. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  8147. var _ = this;
  8148. _.namespace = t0;
  8149. _.name = t1;
  8150. _.$arguments = t2;
  8151. _.content = t3;
  8152. _.span = t4;
  8153. },
  8154. LoudComment: function LoudComment(t0) {
  8155. this.text = t0;
  8156. },
  8157. MediaRule$(query, children, span) {
  8158. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8159. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8160. return new A.MediaRule(query, span, t1, t2);
  8161. },
  8162. MediaRule: function MediaRule(t0, t1, t2, t3) {
  8163. var _ = this;
  8164. _.query = t0;
  8165. _.span = t1;
  8166. _.children = t2;
  8167. _.hasDeclarations = t3;
  8168. },
  8169. MixinRule$($name, $arguments, children, span, comment) {
  8170. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8171. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8172. return new A.MixinRule($name, $arguments, span, t1, t2);
  8173. },
  8174. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  8175. var _ = this;
  8176. _.__MixinRule_hasContent_FI = $;
  8177. _.name = t0;
  8178. _.$arguments = t1;
  8179. _.span = t2;
  8180. _.children = t3;
  8181. _.hasDeclarations = t4;
  8182. },
  8183. _HasContentVisitor: function _HasContentVisitor() {
  8184. },
  8185. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  8186. },
  8187. ParentStatement: function ParentStatement() {
  8188. },
  8189. ParentStatement_closure: function ParentStatement_closure() {
  8190. },
  8191. ParentStatement__closure: function ParentStatement__closure() {
  8192. },
  8193. ReturnRule: function ReturnRule(t0, t1) {
  8194. this.expression = t0;
  8195. this.span = t1;
  8196. },
  8197. SilentComment: function SilentComment(t0, t1) {
  8198. this.text = t0;
  8199. this.span = t1;
  8200. },
  8201. StyleRule$(selector, children, span) {
  8202. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8203. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8204. return new A.StyleRule(selector, span, t1, t2);
  8205. },
  8206. StyleRule: function StyleRule(t0, t1, t2, t3) {
  8207. var _ = this;
  8208. _.selector = t0;
  8209. _.span = t1;
  8210. _.children = t2;
  8211. _.hasDeclarations = t3;
  8212. },
  8213. Stylesheet$(children, span) {
  8214. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8215. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8216. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8217. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8218. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  8219. t1.Stylesheet$internal$3$plainCss(children, span, false);
  8220. return t1;
  8221. },
  8222. Stylesheet$internal(children, span, plainCss) {
  8223. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8224. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8225. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8226. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8227. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  8228. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  8229. return t1;
  8230. },
  8231. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  8232. var t1, t2;
  8233. switch (syntax) {
  8234. case B.Syntax_Sass_sass:
  8235. t1 = A.SpanScanner$(contents, url);
  8236. t2 = logger == null ? B.StderrLogger_false : logger;
  8237. return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
  8238. case B.Syntax_SCSS_scss:
  8239. return A.ScssParser$(contents, logger, url).parse$0();
  8240. case B.Syntax_CSS_css:
  8241. t1 = A.SpanScanner$(contents, url);
  8242. t2 = logger == null ? B.StderrLogger_false : logger;
  8243. return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
  8244. default:
  8245. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  8246. }
  8247. },
  8248. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  8249. var _ = this;
  8250. _.span = t0;
  8251. _.plainCss = t1;
  8252. _._uses = t2;
  8253. _._forwards = t3;
  8254. _.children = t4;
  8255. _.hasDeclarations = t5;
  8256. },
  8257. SupportsRule$(condition, children, span) {
  8258. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8259. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8260. return new A.SupportsRule(condition, span, t1, t2);
  8261. },
  8262. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  8263. var _ = this;
  8264. _.condition = t0;
  8265. _.span = t1;
  8266. _.children = t2;
  8267. _.hasDeclarations = t3;
  8268. },
  8269. UseRule: function UseRule(t0, t1, t2, t3) {
  8270. var _ = this;
  8271. _.url = t0;
  8272. _.namespace = t1;
  8273. _.configuration = t2;
  8274. _.span = t3;
  8275. },
  8276. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  8277. if (namespace != null && global)
  8278. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  8279. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  8280. },
  8281. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  8282. var _ = this;
  8283. _.namespace = t0;
  8284. _.name = t1;
  8285. _.expression = t2;
  8286. _.isGuarded = t3;
  8287. _.isGlobal = t4;
  8288. _.span = t5;
  8289. },
  8290. WarnRule: function WarnRule(t0, t1) {
  8291. this.expression = t0;
  8292. this.span = t1;
  8293. },
  8294. WhileRule$(condition, children, span) {
  8295. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8296. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8297. return new A.WhileRule(condition, span, t1, t2);
  8298. },
  8299. WhileRule: function WhileRule(t0, t1, t2, t3) {
  8300. var _ = this;
  8301. _.condition = t0;
  8302. _.span = t1;
  8303. _.children = t2;
  8304. _.hasDeclarations = t3;
  8305. },
  8306. SupportsAnything: function SupportsAnything(t0, t1) {
  8307. this.contents = t0;
  8308. this.span = t1;
  8309. },
  8310. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  8311. this.name = t0;
  8312. this.value = t1;
  8313. this.span = t2;
  8314. },
  8315. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  8316. this.name = t0;
  8317. this.$arguments = t1;
  8318. this.span = t2;
  8319. },
  8320. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  8321. this.expression = t0;
  8322. this.span = t1;
  8323. },
  8324. SupportsNegation: function SupportsNegation(t0, t1) {
  8325. this.condition = t0;
  8326. this.span = t1;
  8327. },
  8328. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  8329. var _ = this;
  8330. _.left = t0;
  8331. _.right = t1;
  8332. _.operator = t2;
  8333. _.span = t3;
  8334. },
  8335. Selector: function Selector() {
  8336. },
  8337. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  8338. this.includeBogus = t0;
  8339. },
  8340. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  8341. this.includeLeadingCombinator = t0;
  8342. },
  8343. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  8344. this.$this = t0;
  8345. },
  8346. _IsUselessVisitor: function _IsUselessVisitor() {
  8347. },
  8348. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  8349. this.$this = t0;
  8350. },
  8351. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  8352. },
  8353. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  8354. },
  8355. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  8356. },
  8357. AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
  8358. var _ = this;
  8359. _.name = t0;
  8360. _.op = t1;
  8361. _.value = t2;
  8362. _.modifier = t3;
  8363. },
  8364. AttributeOperator: function AttributeOperator(t0, t1) {
  8365. this._attribute$_text = t0;
  8366. this._name = t1;
  8367. },
  8368. ClassSelector: function ClassSelector(t0) {
  8369. this.name = t0;
  8370. },
  8371. Combinator: function Combinator(t0, t1) {
  8372. this._combinator$_text = t0;
  8373. this._name = t1;
  8374. },
  8375. ComplexSelector$(leadingCombinators, components, lineBreak) {
  8376. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.Combinator),
  8377. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  8378. if (t1.length === 0 && t2.length === 0)
  8379. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  8380. return new A.ComplexSelector(t1, t2, lineBreak);
  8381. },
  8382. ComplexSelector: function ComplexSelector(t0, t1, t2) {
  8383. var _ = this;
  8384. _.leadingCombinators = t0;
  8385. _.components = t1;
  8386. _.lineBreak = t2;
  8387. _.__ComplexSelector_specificity_FI = $;
  8388. },
  8389. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  8390. },
  8391. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1) {
  8392. this.selector = t0;
  8393. this.combinators = t1;
  8394. },
  8395. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  8396. },
  8397. CompoundSelector$(components) {
  8398. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  8399. if (t1.length === 0)
  8400. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8401. return new A.CompoundSelector(t1);
  8402. },
  8403. CompoundSelector: function CompoundSelector(t0) {
  8404. this.components = t0;
  8405. this.__CompoundSelector_specificity_FI = $;
  8406. },
  8407. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  8408. },
  8409. IDSelector: function IDSelector(t0) {
  8410. this.name = t0;
  8411. },
  8412. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  8413. this.$this = t0;
  8414. },
  8415. SelectorList$(components) {
  8416. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  8417. if (t1.length === 0)
  8418. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8419. return new A.SelectorList(t1);
  8420. },
  8421. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
  8422. return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
  8423. },
  8424. SelectorList: function SelectorList(t0) {
  8425. this.components = t0;
  8426. },
  8427. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  8428. },
  8429. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  8430. this.$this = t0;
  8431. this.implicitParent = t1;
  8432. this.parent = t2;
  8433. },
  8434. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  8435. this.complex = t0;
  8436. },
  8437. SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
  8438. },
  8439. SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
  8440. },
  8441. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  8442. },
  8443. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  8444. this.parent = t0;
  8445. },
  8446. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  8447. this.parentSelector = t0;
  8448. this.resolvedSimples = t1;
  8449. this.component = t2;
  8450. },
  8451. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  8452. this.combinators = t0;
  8453. },
  8454. ParentSelector: function ParentSelector(t0) {
  8455. this.suffix = t0;
  8456. },
  8457. PlaceholderSelector: function PlaceholderSelector(t0) {
  8458. this.name = t0;
  8459. },
  8460. PseudoSelector$($name, argument, element, selector) {
  8461. var t1 = !element,
  8462. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  8463. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
  8464. },
  8465. PseudoSelector__isFakePseudoElement($name) {
  8466. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  8467. case 97:
  8468. case 65:
  8469. return A.equalsIgnoreCase($name, "after");
  8470. case 98:
  8471. case 66:
  8472. return A.equalsIgnoreCase($name, "before");
  8473. case 102:
  8474. case 70:
  8475. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  8476. default:
  8477. return false;
  8478. }
  8479. },
  8480. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
  8481. var _ = this;
  8482. _.name = t0;
  8483. _.normalizedName = t1;
  8484. _.isClass = t2;
  8485. _.isSyntacticClass = t3;
  8486. _.argument = t4;
  8487. _.selector = t5;
  8488. _.__PseudoSelector_specificity_FI = $;
  8489. },
  8490. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  8491. this.$this = t0;
  8492. },
  8493. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  8494. },
  8495. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  8496. },
  8497. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  8498. },
  8499. QualifiedName: function QualifiedName(t0, t1) {
  8500. this.name = t0;
  8501. this.namespace = t1;
  8502. },
  8503. SimpleSelector: function SimpleSelector() {
  8504. },
  8505. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  8506. this.$this = t0;
  8507. },
  8508. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  8509. this.$this = t0;
  8510. },
  8511. TypeSelector: function TypeSelector(t0) {
  8512. this.name = t0;
  8513. },
  8514. UniversalSelector: function UniversalSelector(t0) {
  8515. this.namespace = t0;
  8516. },
  8517. compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8518. return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
  8519. },
  8520. compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8521. var $async$goto = 0,
  8522. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8523. $async$returnValue, t1, terseLogger, t2, stylesheet, result;
  8524. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8525. if ($async$errorCode === 1)
  8526. return A._asyncRethrow($async$result, $async$completer);
  8527. while (true)
  8528. switch ($async$goto) {
  8529. case 0:
  8530. // Function start
  8531. if (!verbose) {
  8532. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8533. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
  8534. logger = terseLogger;
  8535. } else
  8536. terseLogger = null;
  8537. t1 = syntax === A.Syntax_forPath(path);
  8538. $async$goto = t1 ? 3 : 5;
  8539. break;
  8540. case 3:
  8541. // then
  8542. t1 = $.$get$context();
  8543. t2 = t1.absolute$7(".", null, null, null, null, null, null);
  8544. $async$goto = 6;
  8545. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path)), $async$compileAsync);
  8546. case 6:
  8547. // returning from await.
  8548. t2 = $async$result;
  8549. t2.toString;
  8550. stylesheet = t2;
  8551. // goto join
  8552. $async$goto = 4;
  8553. break;
  8554. case 5:
  8555. // else
  8556. t1 = A.readFile(path);
  8557. t2 = $.$get$context();
  8558. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
  8559. t1 = t2;
  8560. case 4:
  8561. // join
  8562. $async$goto = 7;
  8563. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  8564. case 7:
  8565. // returning from await.
  8566. result = $async$result;
  8567. if (terseLogger != null)
  8568. terseLogger.summarize$1$node(false);
  8569. $async$returnValue = result;
  8570. // goto return
  8571. $async$goto = 1;
  8572. break;
  8573. case 1:
  8574. // return
  8575. return A._asyncReturn($async$returnValue, $async$completer);
  8576. }
  8577. });
  8578. return A._asyncStartSync($async$compileAsync, $async$completer);
  8579. },
  8580. compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8581. return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
  8582. },
  8583. compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8584. var $async$goto = 0,
  8585. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8586. $async$returnValue, t1, terseLogger, stylesheet, result;
  8587. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8588. if ($async$errorCode === 1)
  8589. return A._asyncRethrow($async$result, $async$completer);
  8590. while (true)
  8591. switch ($async$goto) {
  8592. case 0:
  8593. // Function start
  8594. if (!verbose) {
  8595. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8596. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
  8597. logger = terseLogger;
  8598. } else
  8599. terseLogger = null;
  8600. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  8601. $async$goto = 3;
  8602. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  8603. case 3:
  8604. // returning from await.
  8605. result = $async$result;
  8606. if (terseLogger != null)
  8607. terseLogger.summarize$1$node(false);
  8608. $async$returnValue = result;
  8609. // goto return
  8610. $async$goto = 1;
  8611. break;
  8612. case 1:
  8613. // return
  8614. return A._asyncReturn($async$returnValue, $async$completer);
  8615. }
  8616. });
  8617. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  8618. },
  8619. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8620. var $async$goto = 0,
  8621. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8622. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  8623. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8624. if ($async$errorCode === 1)
  8625. return A._asyncRethrow($async$result, $async$completer);
  8626. while (true)
  8627. switch ($async$goto) {
  8628. case 0:
  8629. // Function start
  8630. $async$temp1 = A;
  8631. $async$goto = 3;
  8632. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  8633. case 3:
  8634. // returning from await.
  8635. serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  8636. resultSourceMap = serializeResult.sourceMap;
  8637. if (resultSourceMap != null && true)
  8638. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  8639. $async$returnValue = new A.CompileResult(serializeResult);
  8640. // goto return
  8641. $async$goto = 1;
  8642. break;
  8643. case 1:
  8644. // return
  8645. return A._asyncReturn($async$returnValue, $async$completer);
  8646. }
  8647. });
  8648. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  8649. },
  8650. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  8651. this.stylesheet = t0;
  8652. this.importCache = t1;
  8653. },
  8654. AsyncEnvironment$() {
  8655. var t1 = type$.String,
  8656. t2 = type$.Module_AsyncCallable,
  8657. t3 = type$.AstNode,
  8658. t4 = type$.int,
  8659. t5 = type$.AsyncCallable,
  8660. t6 = type$.JSArray_Map_String_AsyncCallable;
  8661. return new A.AsyncEnvironment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
  8662. },
  8663. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  8664. var t1 = type$.String,
  8665. t2 = type$.int;
  8666. return new A.AsyncEnvironment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
  8667. },
  8668. _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
  8669. var t1, t2, t3, t4, t5, t6;
  8670. if (forwarded == null)
  8671. forwarded = B.Set_empty1;
  8672. t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  8673. t2 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure5(), type$.Map_String_Value), type$.Value);
  8674. t3 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure6(), type$.Map_String_AstNode), type$.AstNode);
  8675. t4 = type$.Map_String_AsyncCallable;
  8676. t5 = type$.AsyncCallable;
  8677. t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t4), t5);
  8678. t5 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t4), t5);
  8679. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  8680. return A._EnvironmentModule$_0(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
  8681. },
  8682. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  8683. var modulesByVariable, t1, t2, t3, t4, t5;
  8684. if (forwarded.get$isEmpty(forwarded))
  8685. return B.Map_empty3;
  8686. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  8687. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  8688. t2 = t1.get$current(t1);
  8689. if (t2 instanceof A._EnvironmentModule0) {
  8690. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  8691. t4 = t3.get$current(t3);
  8692. t5 = t4.get$variables();
  8693. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  8694. }
  8695. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  8696. } else {
  8697. t3 = t2.get$variables();
  8698. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  8699. }
  8700. }
  8701. return modulesByVariable;
  8702. },
  8703. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  8704. var t1, t2, t3;
  8705. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  8706. if (otherMaps.get$isEmpty(otherMaps))
  8707. return localMap;
  8708. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  8709. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  8710. t3 = t2.get$current(t2);
  8711. if (t3.get$isNotEmpty(t3))
  8712. t1.push(t3);
  8713. }
  8714. t1.push(localMap);
  8715. if (t1.length === 1)
  8716. return localMap;
  8717. return A.MergedMapView$(t1, type$.String, $V);
  8718. },
  8719. _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  8720. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  8721. },
  8722. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  8723. var _ = this;
  8724. _._async_environment$_modules = t0;
  8725. _._async_environment$_namespaceNodes = t1;
  8726. _._async_environment$_globalModules = t2;
  8727. _._async_environment$_importedModules = t3;
  8728. _._async_environment$_forwardedModules = t4;
  8729. _._async_environment$_nestedForwardedModules = t5;
  8730. _._async_environment$_allModules = t6;
  8731. _._async_environment$_variables = t7;
  8732. _._async_environment$_variableNodes = t8;
  8733. _._async_environment$_variableIndices = t9;
  8734. _._async_environment$_functions = t10;
  8735. _._async_environment$_functionIndices = t11;
  8736. _._async_environment$_mixins = t12;
  8737. _._async_environment$_mixinIndices = t13;
  8738. _._async_environment$_content = t14;
  8739. _._async_environment$_inMixin = false;
  8740. _._async_environment$_inSemiGlobalScope = true;
  8741. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  8742. },
  8743. AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
  8744. },
  8745. AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
  8746. },
  8747. AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
  8748. },
  8749. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  8750. this.name = t0;
  8751. },
  8752. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  8753. this.$this = t0;
  8754. this.name = t1;
  8755. },
  8756. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  8757. this.name = t0;
  8758. },
  8759. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  8760. this.$this = t0;
  8761. this.name = t1;
  8762. },
  8763. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  8764. this.name = t0;
  8765. },
  8766. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  8767. this.name = t0;
  8768. },
  8769. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  8770. },
  8771. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  8772. },
  8773. AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
  8774. this.callback = t0;
  8775. this.T = t1;
  8776. },
  8777. AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
  8778. this.entry = t0;
  8779. this.T = t1;
  8780. },
  8781. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  8782. var _ = this;
  8783. _.upstream = t0;
  8784. _.variables = t1;
  8785. _.variableNodes = t2;
  8786. _.functions = t3;
  8787. _.mixins = t4;
  8788. _.extensionStore = t5;
  8789. _.css = t6;
  8790. _.transitivelyContainsCss = t7;
  8791. _.transitivelyContainsExtensions = t8;
  8792. _._async_environment$_environment = t9;
  8793. _._async_environment$_modulesByVariable = t10;
  8794. },
  8795. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  8796. },
  8797. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  8798. },
  8799. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  8800. },
  8801. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  8802. },
  8803. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  8804. },
  8805. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  8806. },
  8807. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  8808. var sassPath, t2, t3, _i, path, _null = null,
  8809. t1 = J.get$env$x(self.process);
  8810. if (t1 == null)
  8811. t1 = type$.Object._as(t1);
  8812. sassPath = A._asStringQ(t1.SASS_PATH);
  8813. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  8814. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  8815. t3 = t2.get$current(t2);
  8816. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  8817. }
  8818. if (sassPath != null) {
  8819. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  8820. t3 = t2.length;
  8821. _i = 0;
  8822. for (; _i < t3; ++_i) {
  8823. path = t2[_i];
  8824. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  8825. }
  8826. }
  8827. return t1;
  8828. },
  8829. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  8830. var _ = this;
  8831. _._async_import_cache$_importers = t0;
  8832. _._async_import_cache$_logger = t1;
  8833. _._async_import_cache$_canonicalizeCache = t2;
  8834. _._async_import_cache$_relativeCanonicalizeCache = t3;
  8835. _._async_import_cache$_importCache = t4;
  8836. _._async_import_cache$_resultsCache = t5;
  8837. },
  8838. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  8839. var _ = this;
  8840. _.$this = t0;
  8841. _.baseUrl = t1;
  8842. _.url = t2;
  8843. _.baseImporter = t3;
  8844. _.forImport = t4;
  8845. },
  8846. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
  8847. this.$this = t0;
  8848. this.url = t1;
  8849. this.forImport = t2;
  8850. },
  8851. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  8852. this.importer = t0;
  8853. this.url = t1;
  8854. },
  8855. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  8856. var _ = this;
  8857. _.$this = t0;
  8858. _.importer = t1;
  8859. _.canonicalUrl = t2;
  8860. _.originalUrl = t3;
  8861. _.quiet = t4;
  8862. },
  8863. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  8864. this.canonicalUrl = t0;
  8865. },
  8866. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  8867. },
  8868. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  8869. },
  8870. AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
  8871. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
  8872. },
  8873. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
  8874. this.name = t0;
  8875. this._async_built_in$_arguments = t1;
  8876. this._async_built_in$_callback = t2;
  8877. },
  8878. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  8879. this.callback = t0;
  8880. },
  8881. BuiltInCallable$function($name, $arguments, callback, url) {
  8882. return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  8883. },
  8884. BuiltInCallable$mixin($name, $arguments, callback, url) {
  8885. return new A.BuiltInCallable($name, A._setArrayType([new A.Tuple2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  8886. },
  8887. BuiltInCallable$overloadedFunction($name, overloads) {
  8888. var t2, t3, t4, t5, t6, t7, t8,
  8889. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
  8890. for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration; t2.moveNext$0();) {
  8891. t7 = t2.get$current(t2);
  8892. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  8893. t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false).parseArgumentDeclaration$0(), t7.value, t3));
  8894. }
  8895. return new A.BuiltInCallable($name, t1);
  8896. },
  8897. BuiltInCallable: function BuiltInCallable(t0, t1) {
  8898. this.name = t0;
  8899. this._overloads = t1;
  8900. },
  8901. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  8902. this.callback = t0;
  8903. },
  8904. PlainCssCallable: function PlainCssCallable(t0) {
  8905. this.name = t0;
  8906. },
  8907. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  8908. var _ = this;
  8909. _.declaration = t0;
  8910. _.environment = t1;
  8911. _.inDependency = t2;
  8912. _.$ti = t3;
  8913. },
  8914. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8915. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet).stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true),
  8916. resultSourceMap = serializeResult.sourceMap;
  8917. if (resultSourceMap != null && true)
  8918. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  8919. return new A.CompileResult(serializeResult);
  8920. },
  8921. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  8922. this.stylesheet = t0;
  8923. this.importCache = t1;
  8924. },
  8925. CompileResult: function CompileResult(t0) {
  8926. this._serialize = t0;
  8927. },
  8928. Configuration: function Configuration(t0, t1) {
  8929. this._values = t0;
  8930. this.__originalConfiguration = t1;
  8931. },
  8932. Configuration_toString_closure: function Configuration_toString_closure() {
  8933. },
  8934. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  8935. this.nodeWithSpan = t0;
  8936. this._values = t1;
  8937. this.__originalConfiguration = t2;
  8938. },
  8939. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  8940. this.value = t0;
  8941. this.configurationSpan = t1;
  8942. this.assignmentNode = t2;
  8943. },
  8944. Environment$() {
  8945. var t1 = type$.String,
  8946. t2 = type$.Module_Callable,
  8947. t3 = type$.AstNode,
  8948. t4 = type$.int,
  8949. t5 = type$.Callable,
  8950. t6 = type$.JSArray_Map_String_Callable;
  8951. return new A.Environment(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value)], type$.JSArray_Map_String_Value), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
  8952. },
  8953. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  8954. var t1 = type$.String,
  8955. t2 = type$.int;
  8956. return new A.Environment(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
  8957. },
  8958. _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
  8959. var t1, t2, t3, t4, t5, t6;
  8960. if (forwarded == null)
  8961. forwarded = B.Set_empty;
  8962. t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  8963. t2 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
  8964. t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
  8965. t4 = type$.Map_String_Callable;
  8966. t5 = type$.Callable;
  8967. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
  8968. t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
  8969. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  8970. return A._EnvironmentModule$_(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
  8971. },
  8972. _EnvironmentModule__makeModulesByVariable(forwarded) {
  8973. var modulesByVariable, t1, t2, t3, t4, t5;
  8974. if (forwarded.get$isEmpty(forwarded))
  8975. return B.Map_empty;
  8976. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  8977. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  8978. t2 = t1.get$current(t1);
  8979. if (t2 instanceof A._EnvironmentModule) {
  8980. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  8981. t4 = t3.get$current(t3);
  8982. t5 = t4.get$variables();
  8983. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  8984. }
  8985. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  8986. } else {
  8987. t3 = t2.get$variables();
  8988. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  8989. }
  8990. }
  8991. return modulesByVariable;
  8992. },
  8993. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  8994. var t1, t2, t3;
  8995. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  8996. if (otherMaps.get$isEmpty(otherMaps))
  8997. return localMap;
  8998. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  8999. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  9000. t3 = t2.get$current(t2);
  9001. if (t3.get$isNotEmpty(t3))
  9002. t1.push(t3);
  9003. }
  9004. t1.push(localMap);
  9005. if (t1.length === 1)
  9006. return localMap;
  9007. return A.MergedMapView$(t1, type$.String, $V);
  9008. },
  9009. _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  9010. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  9011. },
  9012. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  9013. var _ = this;
  9014. _._environment$_modules = t0;
  9015. _._namespaceNodes = t1;
  9016. _._globalModules = t2;
  9017. _._importedModules = t3;
  9018. _._forwardedModules = t4;
  9019. _._nestedForwardedModules = t5;
  9020. _._allModules = t6;
  9021. _._variables = t7;
  9022. _._variableNodes = t8;
  9023. _._variableIndices = t9;
  9024. _._functions = t10;
  9025. _._functionIndices = t11;
  9026. _._mixins = t12;
  9027. _._mixinIndices = t13;
  9028. _._content = t14;
  9029. _._inMixin = false;
  9030. _._inSemiGlobalScope = true;
  9031. _._lastVariableIndex = _._lastVariableName = null;
  9032. },
  9033. Environment_importForwards_closure: function Environment_importForwards_closure() {
  9034. },
  9035. Environment_importForwards_closure0: function Environment_importForwards_closure0() {
  9036. },
  9037. Environment_importForwards_closure1: function Environment_importForwards_closure1() {
  9038. },
  9039. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  9040. this.name = t0;
  9041. },
  9042. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  9043. this.$this = t0;
  9044. this.name = t1;
  9045. },
  9046. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  9047. this.name = t0;
  9048. },
  9049. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  9050. this.$this = t0;
  9051. this.name = t1;
  9052. },
  9053. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  9054. this.name = t0;
  9055. },
  9056. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  9057. this.name = t0;
  9058. },
  9059. Environment_toModule_closure: function Environment_toModule_closure() {
  9060. },
  9061. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  9062. },
  9063. Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
  9064. this.callback = t0;
  9065. this.T = t1;
  9066. },
  9067. Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
  9068. this.entry = t0;
  9069. this.T = t1;
  9070. },
  9071. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9072. var _ = this;
  9073. _.upstream = t0;
  9074. _.variables = t1;
  9075. _.variableNodes = t2;
  9076. _.functions = t3;
  9077. _.mixins = t4;
  9078. _.extensionStore = t5;
  9079. _.css = t6;
  9080. _.transitivelyContainsCss = t7;
  9081. _.transitivelyContainsExtensions = t8;
  9082. _._environment$_environment = t9;
  9083. _._modulesByVariable = t10;
  9084. },
  9085. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  9086. },
  9087. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  9088. },
  9089. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  9090. },
  9091. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  9092. },
  9093. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  9094. },
  9095. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  9096. },
  9097. SassException$(message, span) {
  9098. return new A.SassException(message, span);
  9099. },
  9100. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
  9101. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  9102. },
  9103. SassFormatException$(message, span) {
  9104. return new A.SassFormatException(message, span);
  9105. },
  9106. SassScriptException$(message, argumentName) {
  9107. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  9108. },
  9109. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  9110. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9111. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  9112. },
  9113. SassException: function SassException(t0, t1) {
  9114. this._span_exception$_message = t0;
  9115. this._span = t1;
  9116. },
  9117. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
  9118. var _ = this;
  9119. _.primaryLabel = t0;
  9120. _.secondarySpans = t1;
  9121. _._span_exception$_message = t2;
  9122. _._span = t3;
  9123. },
  9124. SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
  9125. this.trace = t0;
  9126. this._span_exception$_message = t1;
  9127. this._span = t2;
  9128. },
  9129. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
  9130. var _ = this;
  9131. _.trace = t0;
  9132. _.primaryLabel = t1;
  9133. _.secondarySpans = t2;
  9134. _._span_exception$_message = t3;
  9135. _._span = t4;
  9136. },
  9137. SassFormatException: function SassFormatException(t0, t1) {
  9138. this._span_exception$_message = t0;
  9139. this._span = t1;
  9140. },
  9141. SassScriptException: function SassScriptException(t0) {
  9142. this.message = t0;
  9143. },
  9144. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  9145. this.primaryLabel = t0;
  9146. this.secondarySpans = t1;
  9147. this.message = t2;
  9148. },
  9149. compileStylesheet(options, graph, source, destination, ifModified) {
  9150. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  9151. },
  9152. compileStylesheet$body(options, graph, source, destination, ifModified) {
  9153. var $async$goto = 0,
  9154. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9155. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t2, t3, t4, t5, t6, t7, t8, t9, result0, logger, terseLogger, stylesheet, css, buffer, sourceName, t1, importer, $async$exception;
  9156. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9157. if ($async$errorCode === 1) {
  9158. $async$currentError = $async$result;
  9159. $async$goto = $async$handler;
  9160. }
  9161. while (true)
  9162. switch ($async$goto) {
  9163. case 0:
  9164. // Function start
  9165. t1 = $.$get$context();
  9166. importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
  9167. if (ifModified)
  9168. try {
  9169. if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
  9170. // goto return
  9171. $async$goto = 1;
  9172. break;
  9173. }
  9174. } catch (exception) {
  9175. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  9176. throw exception;
  9177. }
  9178. syntax = null;
  9179. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  9180. syntax = B.Syntax_Sass_sass;
  9181. else if (source != null)
  9182. syntax = A.Syntax_forPath(source);
  9183. else
  9184. syntax = B.Syntax_SCSS_scss;
  9185. result = null;
  9186. $async$handler = 4;
  9187. t1 = options._options;
  9188. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  9189. break;
  9190. case 7:
  9191. // then
  9192. t2 = type$.List_String._as(t1.$index(0, "load-path"));
  9193. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9194. t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
  9195. t5 = type$.Uri;
  9196. t2 = A.AsyncImportCache__toImporters(null, t2, null);
  9197. importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
  9198. $async$goto = source == null ? 10 : 12;
  9199. break;
  9200. case 10:
  9201. // then
  9202. $async$goto = 13;
  9203. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9204. case 13:
  9205. // returning from await.
  9206. t2 = $async$result;
  9207. t3 = syntax;
  9208. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9209. t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  9210. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9211. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9212. t8 = A._asBool(t1.$index(0, "verbose"));
  9213. t9 = options.get$emitSourceMap();
  9214. $async$goto = 14;
  9215. return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
  9216. case 14:
  9217. // returning from await.
  9218. result0 = $async$result;
  9219. // goto join
  9220. $async$goto = 11;
  9221. break;
  9222. case 12:
  9223. // else
  9224. t2 = syntax;
  9225. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9226. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9227. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9228. t6 = A._asBool(t1.$index(0, "verbose"));
  9229. t7 = options.get$emitSourceMap();
  9230. $async$goto = 15;
  9231. return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
  9232. case 15:
  9233. // returning from await.
  9234. result0 = $async$result;
  9235. case 11:
  9236. // join
  9237. result = result0;
  9238. // goto join
  9239. $async$goto = 8;
  9240. break;
  9241. case 9:
  9242. // else
  9243. $async$goto = source == null ? 16 : 18;
  9244. break;
  9245. case 16:
  9246. // then
  9247. $async$goto = 19;
  9248. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9249. case 19:
  9250. // returning from await.
  9251. t2 = $async$result;
  9252. t3 = syntax;
  9253. logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9254. t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  9255. t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9256. t6 = A._asBool(t1.$index(0, "quiet-deps"));
  9257. t7 = A._asBool(t1.$index(0, "verbose"));
  9258. t8 = options.get$emitSourceMap();
  9259. t1 = A._asBool(t1.$index(0, "charset"));
  9260. if (!t7) {
  9261. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  9262. logger = terseLogger;
  9263. } else
  9264. terseLogger = null;
  9265. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  9266. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
  9267. if (terseLogger != null)
  9268. terseLogger.summarize$1$node(false);
  9269. // goto join
  9270. $async$goto = 17;
  9271. break;
  9272. case 18:
  9273. // else
  9274. t2 = syntax;
  9275. logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9276. importCache = graph.importCache;
  9277. t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9278. t4 = A._asBool(t1.$index(0, "quiet-deps"));
  9279. t5 = A._asBool(t1.$index(0, "verbose"));
  9280. t6 = options.get$emitSourceMap();
  9281. t1 = A._asBool(t1.$index(0, "charset"));
  9282. if (!t5) {
  9283. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  9284. logger = terseLogger;
  9285. } else
  9286. terseLogger = null;
  9287. t5 = t2 == null || t2 === A.Syntax_forPath(source);
  9288. if (t5) {
  9289. t2 = $.$get$context();
  9290. t5 = t2.absolute$7(".", null, null, null, null, null, null);
  9291. t5 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t5), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t2.absolute$7(t2.normalize$1(source), null, null, null, null, null, null)) : t2.canonicalize$1(0, source)), t2.toUri$1(source));
  9292. t5.toString;
  9293. stylesheet = t5;
  9294. } else {
  9295. t5 = A.readFile(source);
  9296. if (t2 == null)
  9297. t2 = A.Syntax_forPath(source);
  9298. t7 = $.$get$context();
  9299. stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
  9300. t2 = t7;
  9301. }
  9302. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(t2.absolute$7(".", null, null, null, null, null, null)), null, t3, true, null, null, t4, t6, t1);
  9303. if (terseLogger != null)
  9304. terseLogger.summarize$1$node(false);
  9305. case 17:
  9306. // join
  9307. result = result0;
  9308. case 8:
  9309. // join
  9310. $async$handler = 2;
  9311. // goto after finally
  9312. $async$goto = 6;
  9313. break;
  9314. case 4:
  9315. // catch
  9316. $async$handler = 3;
  9317. $async$exception = $async$currentError;
  9318. t1 = A.unwrapException($async$exception);
  9319. if (t1 instanceof A.SassException) {
  9320. error = t1;
  9321. if (options.get$emitErrorCss())
  9322. if (destination == null)
  9323. A.print(error.toCssString$0());
  9324. else {
  9325. A.ensureDir($.$get$context().dirname$1(destination));
  9326. A.writeFile(destination, error.toCssString$0() + "\n");
  9327. }
  9328. throw $async$exception;
  9329. } else
  9330. throw $async$exception;
  9331. // goto after finally
  9332. $async$goto = 6;
  9333. break;
  9334. case 3:
  9335. // uncaught
  9336. // goto rethrow
  9337. $async$goto = 2;
  9338. break;
  9339. case 6:
  9340. // after finally
  9341. css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
  9342. if (destination == null) {
  9343. if (css.length !== 0)
  9344. A.print(css);
  9345. } else {
  9346. A.ensureDir($.$get$context().dirname$1(destination));
  9347. A.writeFile(destination, css + "\n");
  9348. }
  9349. t1 = options._options;
  9350. if (!A._asBool(t1.$index(0, "quiet")))
  9351. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  9352. else
  9353. t1 = true;
  9354. if (t1) {
  9355. // goto return
  9356. $async$goto = 1;
  9357. break;
  9358. }
  9359. buffer = new A.StringBuffer("");
  9360. t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
  9361. if (source == null)
  9362. sourceName = "stdin";
  9363. else {
  9364. t2 = $.$get$context();
  9365. sourceName = t2.prettyUri$1(t2.toUri$1(source));
  9366. }
  9367. destination.toString;
  9368. t2 = $.$get$context();
  9369. t2 = t1 + ("Compiled " + sourceName + " to " + t2.prettyUri$1(t2.toUri$1(destination)) + ".");
  9370. buffer._contents = t2;
  9371. if (options.get$color())
  9372. buffer._contents = t2 + "\x1b[0m";
  9373. A.print(buffer);
  9374. case 1:
  9375. // return
  9376. return A._asyncReturn($async$returnValue, $async$completer);
  9377. case 2:
  9378. // rethrow
  9379. return A._asyncRethrow($async$currentError, $async$completer);
  9380. }
  9381. });
  9382. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  9383. },
  9384. _writeSourceMap(options, sourceMap, destination) {
  9385. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  9386. if (sourceMap == null)
  9387. return "";
  9388. if (destination != null) {
  9389. t1 = $.$get$context();
  9390. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  9391. }
  9392. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  9393. t1 = options._options;
  9394. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  9395. if (A._asBool(t1.$index(0, "embed-source-map")))
  9396. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  9397. else {
  9398. destination.toString;
  9399. sourceMapPath = destination + ".map";
  9400. t2 = $.$get$context();
  9401. A.ensureDir(t2.dirname$1(sourceMapPath));
  9402. A.writeFile(sourceMapPath, sourceMapText);
  9403. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  9404. }
  9405. t2 = url.toString$0(0);
  9406. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  9407. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  9408. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  9409. },
  9410. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  9411. this.options = t0;
  9412. this.destination = t1;
  9413. },
  9414. ExecutableOptions__separator(text) {
  9415. var t1 = $.$get$ExecutableOptions__separatorBar(),
  9416. t2 = B.JSString_methods.$mul(t1, 3),
  9417. t3 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "",
  9418. t4 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "";
  9419. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  9420. },
  9421. ExecutableOptions__fail(message) {
  9422. return A.throwExpression(A.UsageException$(message));
  9423. },
  9424. ExecutableOptions_ExecutableOptions$parse(args) {
  9425. var options, error, t1, exception;
  9426. try {
  9427. t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
  9428. if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
  9429. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  9430. options = new A.ExecutableOptions(t1);
  9431. if (A._asBool(options._options.$index(0, "help")))
  9432. A.ExecutableOptions__fail("Compile Sass to CSS.");
  9433. return options;
  9434. } catch (exception) {
  9435. t1 = A.unwrapException(exception);
  9436. if (type$.FormatException._is(t1)) {
  9437. error = t1;
  9438. A.ExecutableOptions__fail(J.get$message$x(error));
  9439. } else
  9440. throw exception;
  9441. }
  9442. },
  9443. UsageException$(message) {
  9444. return new A.UsageException(message);
  9445. },
  9446. ExecutableOptions: function ExecutableOptions(t0) {
  9447. var _ = this;
  9448. _._options = t0;
  9449. _.__ExecutableOptions_interactive_FI = $;
  9450. _._sourcesToDestinations = null;
  9451. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  9452. },
  9453. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  9454. },
  9455. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  9456. this.$this = t0;
  9457. },
  9458. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  9459. },
  9460. UsageException: function UsageException(t0) {
  9461. this.message = t0;
  9462. },
  9463. watch(options, graph) {
  9464. return A.watch$body(options, graph);
  9465. },
  9466. watch$body(options, graph) {
  9467. var $async$goto = 0,
  9468. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9469. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
  9470. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9471. if ($async$errorCode === 1)
  9472. return A._asyncRethrow($async$result, $async$completer);
  9473. while (true)
  9474. switch ($async$goto) {
  9475. case 0:
  9476. // Function start
  9477. options._ensureSources$0();
  9478. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  9479. t1 === $ && A.throwUnnamedLateFieldNI();
  9480. t2 = type$.String;
  9481. t1 = t1.cast$2$0(0, t2, t2);
  9482. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  9483. for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
  9484. t4 = t3.get$current(t3);
  9485. t1.push($.$get$context().dirname$1(t4));
  9486. }
  9487. t3 = options._options;
  9488. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  9489. t4 = A._asBool(t3.$index(0, "poll"));
  9490. t5 = type$.Stream_WatchEvent;
  9491. t6 = A.PathMap__create(null, t5);
  9492. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  9493. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  9494. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  9495. $async$goto = 3;
  9496. return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t1, new A.watch_closure(dirWatcher), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$watch);
  9497. case 3:
  9498. // returning from await.
  9499. watcher = new A._Watcher(options, graph);
  9500. options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  9501. case 4:
  9502. // for condition
  9503. if (!t1.moveNext$0()) {
  9504. // goto after for
  9505. $async$goto = 5;
  9506. break;
  9507. }
  9508. t2 = t1.get$current(t1);
  9509. t4 = $.$get$context();
  9510. t5 = t4.absolute$7(".", null, null, null, null, null, null);
  9511. t6 = t2.key;
  9512. graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$7(t4.normalize$1(t6), null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
  9513. $async$goto = 6;
  9514. return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
  9515. case 6:
  9516. // returning from await.
  9517. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  9518. t1 = dirWatcher._group.__StreamGroup__controller_A;
  9519. t1 === $ && A.throwUnnamedLateFieldNI();
  9520. t1._subscribe$4(null, null, null, false).cancel$0();
  9521. // goto return
  9522. $async$goto = 1;
  9523. break;
  9524. }
  9525. // goto for condition
  9526. $async$goto = 4;
  9527. break;
  9528. case 5:
  9529. // after for
  9530. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  9531. $async$goto = 7;
  9532. return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
  9533. case 7:
  9534. // returning from await.
  9535. case 1:
  9536. // return
  9537. return A._asyncReturn($async$returnValue, $async$completer);
  9538. }
  9539. });
  9540. return A._asyncStartSync($async$watch, $async$completer);
  9541. },
  9542. watch_closure: function watch_closure(t0) {
  9543. this.dirWatcher = t0;
  9544. },
  9545. _Watcher: function _Watcher(t0, t1) {
  9546. this._watch$_options = t0;
  9547. this._graph = t1;
  9548. },
  9549. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  9550. },
  9551. EmptyExtensionStore: function EmptyExtensionStore() {
  9552. },
  9553. Extension: function Extension(t0, t1, t2, t3, t4) {
  9554. var _ = this;
  9555. _.extender = t0;
  9556. _.target = t1;
  9557. _.mediaContext = t2;
  9558. _.isOptional = t3;
  9559. _.span = t4;
  9560. },
  9561. Extender: function Extender(t0, t1, t2) {
  9562. var _ = this;
  9563. _.selector = t0;
  9564. _.isOriginal = t1;
  9565. _._extension = null;
  9566. _.span = t2;
  9567. },
  9568. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  9569. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  9570. extender = A.ExtensionStore$_mode(mode);
  9571. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  9572. extender._originals.addAll$1(0, selector.components);
  9573. for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = type$.SimpleSelector, t8 = type$.Map_ComplexSelector_Extension, _i = 0; _i < t2; ++_i) {
  9574. complex = t1[_i];
  9575. if (complex.leadingCombinators.length === 0) {
  9576. t9 = complex.components;
  9577. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  9578. } else
  9579. t9 = false;
  9580. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  9581. if (compound == null)
  9582. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  9583. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  9584. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  9585. simple = t10[_i0];
  9586. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  9587. for (_i1 = 0; _i1 < t4; ++_i1) {
  9588. complex = t3[_i1];
  9589. complex.get$specificity();
  9590. t13 = new A.Extender(complex, false, span);
  9591. t14 = new A.Extension(t13, simple, null, true, span);
  9592. t13._extension = t14;
  9593. t12.$indexSet(0, complex, t14);
  9594. }
  9595. t9.$indexSet(0, simple, t12);
  9596. }
  9597. selector = extender._extendList$3(selector, span, t9);
  9598. }
  9599. return selector;
  9600. },
  9601. ExtensionStore$() {
  9602. var t1 = type$.SimpleSelector;
  9603. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_normal);
  9604. },
  9605. ExtensionStore$_mode(_mode) {
  9606. var t1 = type$.SimpleSelector;
  9607. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  9608. },
  9609. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  9610. var _ = this;
  9611. _._selectors = t0;
  9612. _._extensions = t1;
  9613. _._extensionsByExtender = t2;
  9614. _._mediaContexts = t3;
  9615. _._sourceSpecificity = t4;
  9616. _._originals = t5;
  9617. _._mode = t6;
  9618. },
  9619. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  9620. },
  9621. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  9622. },
  9623. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  9624. },
  9625. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  9626. },
  9627. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  9628. this.complex = t0;
  9629. },
  9630. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  9631. },
  9632. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  9633. },
  9634. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
  9635. this._box_0 = t0;
  9636. this.$this = t1;
  9637. },
  9638. ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
  9639. var _ = this;
  9640. _._box_0 = t0;
  9641. _.existingSources = t1;
  9642. _.extensionsForTarget = t2;
  9643. _.selectorsForTarget = t3;
  9644. _.target = t4;
  9645. },
  9646. ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
  9647. },
  9648. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
  9649. this._box_0 = t0;
  9650. this.$this = t1;
  9651. },
  9652. ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
  9653. this.$this = t0;
  9654. this.newExtensions = t1;
  9655. },
  9656. ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
  9657. this.$this = t0;
  9658. this.newExtensions = t1;
  9659. },
  9660. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  9661. this._box_0 = t0;
  9662. this.$this = t1;
  9663. this.complex = t2;
  9664. },
  9665. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  9666. this._box_0 = t0;
  9667. this.$this = t1;
  9668. this.complex = t2;
  9669. },
  9670. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  9671. },
  9672. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  9673. },
  9674. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  9675. this.original = t0;
  9676. },
  9677. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
  9678. var _ = this;
  9679. _.$this = t0;
  9680. _.extensions = t1;
  9681. _.targetsUsed = t2;
  9682. _.simpleSpan = t3;
  9683. },
  9684. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
  9685. this.$this = t0;
  9686. this.withoutPseudo = t1;
  9687. this.simpleSpan = t2;
  9688. },
  9689. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  9690. },
  9691. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  9692. },
  9693. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  9694. },
  9695. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  9696. },
  9697. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  9698. this.pseudo = t0;
  9699. },
  9700. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
  9701. this.pseudo = t0;
  9702. },
  9703. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  9704. this._box_0 = t0;
  9705. this.complex1 = t1;
  9706. },
  9707. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  9708. this._box_0 = t0;
  9709. this.complex1 = t1;
  9710. },
  9711. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  9712. var _ = this;
  9713. _.$this = t0;
  9714. _.newSelectors = t1;
  9715. _.oldToNewSelectors = t2;
  9716. _.newMediaContexts = t3;
  9717. },
  9718. unifyComplex(complexes) {
  9719. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, t9, t10, result, _null = null,
  9720. t1 = J.getInterceptor$asx(complexes);
  9721. if (t1.get$length(complexes) === 1)
  9722. return complexes;
  9723. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  9724. t3 = t2.get$current(t2);
  9725. if (t3.accept$1(B.C__IsUselessVisitor))
  9726. return _null;
  9727. t4 = t3.components;
  9728. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  9729. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  9730. if (leadingCombinator != null && leadingCombinator !== newLeadingCombinator)
  9731. return _null;
  9732. leadingCombinator = newLeadingCombinator;
  9733. }
  9734. base = B.JSArray_methods.get$last(t4);
  9735. t3 = base.combinators;
  9736. if (t3.length !== 0) {
  9737. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  9738. if (trailingCombinator != null && trailingCombinator !== newTrailingCombinator)
  9739. return _null;
  9740. trailingCombinator = newTrailingCombinator;
  9741. }
  9742. if (unifiedBase == null)
  9743. unifiedBase = base.selector.components;
  9744. else
  9745. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  9746. unifiedBase = t3[_i].unify$1(unifiedBase);
  9747. if (unifiedBase == null)
  9748. return _null;
  9749. }
  9750. }
  9751. t2 = type$.JSArray_ComplexSelector;
  9752. t3 = A._setArrayType([], t2);
  9753. for (t4 = t1.get$iterator(complexes), t5 = type$.Combinator, t6 = type$.ComplexSelectorComponent; t4.moveNext$0();) {
  9754. t7 = t4.get$current(t4);
  9755. t8 = t7.components;
  9756. t9 = t8.length;
  9757. if (t9 > 1) {
  9758. t10 = t7.leadingCombinators;
  9759. t8 = B.JSArray_methods.take$1(t8, t9 - 1);
  9760. t7 = t7.lineBreak;
  9761. result = A.List_List$from(t10, false, t5);
  9762. result.fixed$length = Array;
  9763. result.immutable$list = Array;
  9764. t10 = result;
  9765. result = A.List_List$from(t8, false, t6);
  9766. result.fixed$length = Array;
  9767. result.immutable$list = Array;
  9768. t8 = result;
  9769. if (t10.length === 0 && t8.length === 0)
  9770. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  9771. t3.push(new A.ComplexSelector(t10, t8, t7));
  9772. }
  9773. }
  9774. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_Combinator);
  9775. unifiedBase.toString;
  9776. t6 = A.CompoundSelector$(unifiedBase);
  9777. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(t6, A.List_List$unmodifiable(trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_Combinator), t5))], type$.JSArray_ComplexSelectorComponent), t1.any$1(complexes, new A.unifyComplex_closure()));
  9778. if (t3.length === 0)
  9779. t1 = A._setArrayType([base], t2);
  9780. else {
  9781. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  9782. t1.push(B.JSArray_methods.get$last(t3).concatenate$1(base));
  9783. }
  9784. return A.weave(t1, false);
  9785. },
  9786. unifyCompound(compound1, compound2) {
  9787. var t1, result, _i, unified;
  9788. for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
  9789. unified = compound1[_i].unify$1(result);
  9790. if (unified == null)
  9791. return null;
  9792. }
  9793. return A.CompoundSelector$(result);
  9794. },
  9795. unifyUniversalAndElement(selector1, selector2) {
  9796. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  9797. _s45_ = string$.must_b;
  9798. if (selector1 instanceof A.UniversalSelector) {
  9799. namespace1 = selector1.namespace;
  9800. name1 = _null;
  9801. } else if (selector1 instanceof A.TypeSelector) {
  9802. t1 = selector1.name;
  9803. namespace1 = t1.namespace;
  9804. name1 = t1.name;
  9805. } else
  9806. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  9807. if (selector2 instanceof A.UniversalSelector) {
  9808. namespace2 = selector2.namespace;
  9809. name2 = _null;
  9810. } else if (selector2 instanceof A.TypeSelector) {
  9811. t1 = selector2.name;
  9812. namespace2 = t1.namespace;
  9813. name2 = t1.name;
  9814. } else
  9815. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  9816. if (namespace1 == namespace2 || namespace2 === "*")
  9817. namespace = namespace1;
  9818. else {
  9819. if (namespace1 !== "*")
  9820. return _null;
  9821. namespace = namespace2;
  9822. }
  9823. if (name1 == name2 || name2 == null)
  9824. $name = name1;
  9825. else {
  9826. if (!(name1 == null || name1 === "*"))
  9827. return _null;
  9828. $name = name2;
  9829. }
  9830. return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
  9831. },
  9832. weave(complexes, forceLineBreak) {
  9833. var complex, t2, prefixes, t3, t4, t5, t6, target, i, t7, _i, t8, t9, _i0, parentPrefix, t10, t11, result, t12,
  9834. t1 = J.getInterceptor$asx(complexes);
  9835. if (t1.get$length(complexes) === 1) {
  9836. complex = t1.get$first(complexes);
  9837. if (!forceLineBreak || complex.lineBreak)
  9838. return complexes;
  9839. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, true)], type$.JSArray_ComplexSelector);
  9840. }
  9841. t2 = type$.JSArray_ComplexSelector;
  9842. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  9843. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.Combinator, t4 = type$.ComplexSelectorComponent; t1.moveNext$0();) {
  9844. t5 = t1.get$current(t1);
  9845. t6 = t5.components;
  9846. target = B.JSArray_methods.get$last(t6);
  9847. if (t6.length === 1) {
  9848. for (i = 0; i < prefixes.length; ++i)
  9849. prefixes[i] = prefixes[i].concatenate$2$forceLineBreak(t5, forceLineBreak);
  9850. continue;
  9851. }
  9852. t6 = A._setArrayType([], t2);
  9853. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  9854. t8 = A._weaveParents(prefixes[_i], t5);
  9855. if (t8 == null)
  9856. t8 = B.List_empty1;
  9857. t9 = t8.length;
  9858. _i0 = 0;
  9859. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  9860. parentPrefix = t8[_i0];
  9861. t10 = A.List_List$of(parentPrefix.components, true, t4);
  9862. t10.push(target);
  9863. t11 = parentPrefix.lineBreak || forceLineBreak;
  9864. result = A.List_List$from(parentPrefix.leadingCombinators, false, t3);
  9865. result.fixed$length = Array;
  9866. result.immutable$list = Array;
  9867. t12 = result;
  9868. result = A.List_List$from(t10, false, t4);
  9869. result.fixed$length = Array;
  9870. result.immutable$list = Array;
  9871. t10 = result;
  9872. if (t12.length === 0 && t10.length === 0)
  9873. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9874. t6.push(new A.ComplexSelector(t12, t10, t11));
  9875. }
  9876. }
  9877. prefixes = t6;
  9878. }
  9879. return prefixes;
  9880. },
  9881. _weaveParents(prefix, base) {
  9882. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, t2, rootish, groups1, groups2, lcs, choices, t3, t4, t5, _i, group, t6, t7, t8, _i0, chunk, t9, t10, result, _null = null,
  9883. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  9884. if (leadingCombinators == null)
  9885. return _null;
  9886. t1 = type$.ComplexSelectorComponent;
  9887. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  9888. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast(base.components), t1);
  9889. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, _null);
  9890. if (trailingCombinators == null)
  9891. return _null;
  9892. rootish1 = A._firstIfRootish(queue1);
  9893. rootish2 = A._firstIfRootish(queue2);
  9894. t2 = rootish1 == null;
  9895. if (!t2 && rootish2 != null) {
  9896. rootish = A.unifyCompound(rootish1.selector.components, rootish2.selector.components);
  9897. if (rootish == null)
  9898. return _null;
  9899. t2 = type$.Combinator;
  9900. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish1.combinators, t2)));
  9901. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t2)));
  9902. } else if (!t2 || rootish2 != null) {
  9903. t2 = t2 ? rootish2 : rootish1;
  9904. t2.toString;
  9905. queue1.addFirst$1(t2);
  9906. queue2.addFirst$1(t2);
  9907. }
  9908. groups1 = A._groupSelectors(queue1);
  9909. groups2 = A._groupSelectors(queue2);
  9910. t2 = type$.List_ComplexSelectorComponent;
  9911. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t2);
  9912. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  9913. for (t3 = lcs.length, t4 = type$.JSArray_Iterable_ComplexSelectorComponent, t5 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  9914. group = lcs[_i];
  9915. t6 = A._setArrayType([], t4);
  9916. for (t7 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t2), t8 = t7.length, _i0 = 0; _i0 < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i0) {
  9917. chunk = t7[_i0];
  9918. t9 = A._setArrayType([], t5);
  9919. for (t10 = B.JSArray_methods.get$iterator(chunk); t10.moveNext$0();)
  9920. B.JSArray_methods.addAll$1(t9, t10.get$current(t10));
  9921. t6.push(t9);
  9922. }
  9923. choices.push(t6);
  9924. choices.push(A._setArrayType([group], t4));
  9925. groups1.removeFirst$0();
  9926. groups2.removeFirst$0();
  9927. }
  9928. t3 = A._setArrayType([], t4);
  9929. for (t2 = A._chunks(groups1, groups2, new A._weaveParents_closure1(), t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  9930. chunk = t2[_i];
  9931. t6 = A._setArrayType([], t5);
  9932. for (t7 = B.JSArray_methods.get$iterator(chunk); t7.moveNext$0();)
  9933. B.JSArray_methods.addAll$1(t6, t7.get$current(t7));
  9934. t3.push(t6);
  9935. }
  9936. choices.push(t3);
  9937. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  9938. t2 = A._setArrayType([], type$.JSArray_ComplexSelector);
  9939. for (t3 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure2(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t4 = type$.Combinator, t6 = !prefix.lineBreak, t7 = base.lineBreak; t3.moveNext$0();) {
  9940. t8 = t3.get$current(t3);
  9941. t9 = A._setArrayType([], t5);
  9942. for (t8 = J.get$iterator$ax(t8); t8.moveNext$0();)
  9943. B.JSArray_methods.addAll$1(t9, t8.get$current(t8));
  9944. t8 = !t6 || t7;
  9945. result = A.List_List$from(leadingCombinators, false, t4);
  9946. result.fixed$length = Array;
  9947. result.immutable$list = Array;
  9948. t10 = result;
  9949. result = A.List_List$from(t9, false, t1);
  9950. result.fixed$length = Array;
  9951. result.immutable$list = Array;
  9952. t9 = result;
  9953. if (t10.length === 0 && t9.length === 0)
  9954. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  9955. t2.push(new A.ComplexSelector(t10, t9, t8));
  9956. }
  9957. return t2;
  9958. },
  9959. _firstIfRootish(queue) {
  9960. var first, t1, t2, _i, simple;
  9961. if (queue._collection$_head === queue._collection$_tail)
  9962. return null;
  9963. first = queue.get$first(queue);
  9964. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  9965. simple = t1[_i];
  9966. if (simple instanceof A.PseudoSelector && simple.isClass && $._rootishPseudoClasses.contains$1(0, simple.normalizedName)) {
  9967. queue.removeFirst$0();
  9968. return first;
  9969. }
  9970. }
  9971. return null;
  9972. },
  9973. _mergeLeadingCombinators(combinators1, combinators2) {
  9974. var t2, _null = null,
  9975. t1 = combinators1.length;
  9976. if (t1 > 1)
  9977. return _null;
  9978. t2 = combinators2.length;
  9979. if (t2 > 1)
  9980. return _null;
  9981. if (t1 === 0)
  9982. return combinators2;
  9983. if (t2 === 0)
  9984. return combinators1;
  9985. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  9986. },
  9987. _mergeTrailingCombinators(components1, components2, result) {
  9988. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  9989. if (result == null)
  9990. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  9991. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty0 : components1.get$last(components1).combinators;
  9992. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty0 : components2.get$last(components2).combinators;
  9993. t1 = combinators1.length;
  9994. t2 = t1 === 0;
  9995. if (t2 && combinators2.length === 0)
  9996. return result;
  9997. if (t1 > 1 || combinators2.length > 1)
  9998. return _null;
  9999. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  10000. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  10001. t1 = combinator1 != null;
  10002. if (t1 && combinator2 != null) {
  10003. component1 = components1.removeLast$0(0);
  10004. component2 = components2.removeLast$0(0);
  10005. t1 = combinator1 === B.Combinator_Htt;
  10006. if (t1 && combinator2 === B.Combinator_Htt) {
  10007. t1 = component1.selector;
  10008. t2 = component2.selector;
  10009. if (A.compoundIsSuperselector(t1, t2, _null))
  10010. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10011. else {
  10012. t3 = type$.JSArray_ComplexSelectorComponent;
  10013. t4 = type$.JSArray_List_ComplexSelectorComponent;
  10014. if (A.compoundIsSuperselector(t2, t1, _null))
  10015. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  10016. else {
  10017. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  10018. unified = A.unifyCompound(t1.components, t2.components);
  10019. if (unified != null)
  10020. choices.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(B.List_Kw1, type$.Combinator))], t3));
  10021. result.addFirst$1(choices);
  10022. }
  10023. }
  10024. } else {
  10025. if (!(t1 && combinator2 === B.Combinator_4QF))
  10026. t2 = combinator1 === B.Combinator_4QF && combinator2 === B.Combinator_Htt;
  10027. else
  10028. t2 = true;
  10029. if (t2) {
  10030. followingSiblingComponent = t1 ? component1 : component2;
  10031. nextSiblingComponent = t1 ? component2 : component1;
  10032. t1 = type$.JSArray_ComplexSelectorComponent;
  10033. t2 = type$.JSArray_List_ComplexSelectorComponent;
  10034. if (A.compoundIsSuperselector(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  10035. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  10036. else {
  10037. unified = A.unifyCompound(component1.selector.components, component2.selector.components);
  10038. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  10039. if (unified != null)
  10040. t2.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(B.List_IoD, type$.Combinator))], t1));
  10041. result.addFirst$1(t2);
  10042. }
  10043. } else {
  10044. if (combinator1 === B.Combinator_Cht)
  10045. t2 = combinator2 === B.Combinator_4QF || combinator2 === B.Combinator_Htt;
  10046. else
  10047. t2 = false;
  10048. if (t2) {
  10049. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10050. components1._add$1(component1);
  10051. } else {
  10052. if (combinator2 === B.Combinator_Cht)
  10053. t1 = combinator1 === B.Combinator_4QF || t1;
  10054. else
  10055. t1 = false;
  10056. if (t1) {
  10057. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10058. components2._add$1(component2);
  10059. } else if (combinator1 === combinator2) {
  10060. unified = A.unifyCompound(component1.selector.components, component2.selector.components);
  10061. if (unified == null)
  10062. return _null;
  10063. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_Combinator), type$.Combinator))], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10064. } else
  10065. return _null;
  10066. }
  10067. }
  10068. }
  10069. return A._mergeTrailingCombinators(components1, components2, result);
  10070. } else if (t1) {
  10071. if (combinator1 === B.Combinator_Cht && !components2.get$isEmpty(components2) && A.compoundIsSuperselector(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  10072. components2.removeLast$0(0);
  10073. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10074. return A._mergeTrailingCombinators(components1, components2, result);
  10075. } else {
  10076. if (combinator2 === B.Combinator_Cht && !components1.get$isEmpty(components1) && A.compoundIsSuperselector(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  10077. components1.removeLast$0(0);
  10078. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10079. return A._mergeTrailingCombinators(components1, components2, result);
  10080. }
  10081. },
  10082. _mustUnify(complex1, complex2) {
  10083. var t2, t3, t4,
  10084. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  10085. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  10086. for (t3 = B.JSArray_methods.get$iterator(t2.get$current(t2).selector.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
  10087. t1.add$1(0, t3.get$current(t3));
  10088. if (t1._collection$_length === 0)
  10089. return false;
  10090. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  10091. },
  10092. _isUnique(simple) {
  10093. var t1;
  10094. if (!(simple instanceof A.IDSelector))
  10095. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  10096. else
  10097. t1 = true;
  10098. return t1;
  10099. },
  10100. _chunks(queue1, queue2, done, $T) {
  10101. var chunk2, t2,
  10102. t1 = $T._eval$1("JSArray<0>"),
  10103. chunk1 = A._setArrayType([], t1);
  10104. for (; !done.call$1(queue1);)
  10105. chunk1.push(queue1.removeFirst$0());
  10106. chunk2 = A._setArrayType([], t1);
  10107. for (; !done.call$1(queue2);)
  10108. chunk2.push(queue2.removeFirst$0());
  10109. t1 = chunk1.length === 0;
  10110. if (t1 && chunk2.length === 0)
  10111. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  10112. if (t1)
  10113. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  10114. if (chunk2.length === 0)
  10115. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  10116. t1 = A.List_List$of(chunk1, true, $T);
  10117. B.JSArray_methods.addAll$1(t1, chunk2);
  10118. t2 = A.List_List$of(chunk2, true, $T);
  10119. B.JSArray_methods.addAll$1(t2, chunk1);
  10120. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  10121. },
  10122. paths(choices, $T) {
  10123. return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure($T));
  10124. },
  10125. _groupSelectors(complex) {
  10126. var t2, t3, t4,
  10127. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  10128. t1 = type$.JSArray_ComplexSelectorComponent,
  10129. group = A._setArrayType([], t1);
  10130. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  10131. t4 = t2._collection$_current;
  10132. if (t4 == null)
  10133. t4 = t3._as(t4);
  10134. group.push(t4);
  10135. if (t4.combinators.length === 0) {
  10136. groups._queue_list$_add$1(group);
  10137. group = A._setArrayType([], t1);
  10138. }
  10139. }
  10140. if (group.length !== 0)
  10141. groups._queue_list$_add$1(group);
  10142. return groups;
  10143. },
  10144. listIsSuperselector(list1, list2) {
  10145. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  10146. },
  10147. _complexIsParentSuperselector(complex1, complex2) {
  10148. var base, t1, t2;
  10149. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  10150. return false;
  10151. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector)), A.List_List$unmodifiable(B.List_empty0, type$.Combinator));
  10152. t1 = type$.ComplexSelectorComponent;
  10153. t2 = A.List_List$of(complex1, true, t1);
  10154. t2.push(base);
  10155. t1 = A.List_List$of(complex2, true, t1);
  10156. t1.push(base);
  10157. return A.complexIsSuperselector(t2, t1);
  10158. },
  10159. complexIsSuperselector(complex1, complex2) {
  10160. var t1, t2, t3, i1, i2, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1, combinator2;
  10161. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  10162. return false;
  10163. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  10164. return false;
  10165. for (t1 = type$.JSArray_ComplexSelectorComponent, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0; true;) {
  10166. remaining1 = complex1.length - i1;
  10167. t4 = complex2.length;
  10168. remaining2 = t4 - i2;
  10169. if (remaining1 === 0 || remaining2 === 0)
  10170. return false;
  10171. if (remaining1 > remaining2)
  10172. return false;
  10173. component1 = complex1[i1];
  10174. t5 = component1.combinators;
  10175. if (t5.length > 1)
  10176. return false;
  10177. if (remaining1 === 1) {
  10178. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  10179. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  10180. return false;
  10181. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  10182. }
  10183. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  10184. component2 = complex2[endOfSubselector];
  10185. if (component2.combinators.length > 1)
  10186. return false;
  10187. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  10188. break;
  10189. ++endOfSubselector;
  10190. if (endOfSubselector === complex2.length - 1)
  10191. return false;
  10192. if (parents == null)
  10193. parents = A._setArrayType([], t1);
  10194. parents.push(component2);
  10195. }
  10196. component2 = complex2[endOfSubselector];
  10197. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  10198. combinator2 = A.IterableExtension_get_firstOrNull(component2.combinators);
  10199. if (combinator1 != combinator2)
  10200. if (!(combinator1 == null && combinator2 === B.Combinator_Cht))
  10201. t4 = combinator1 === B.Combinator_Htt && combinator2 === B.Combinator_4QF;
  10202. else
  10203. t4 = true;
  10204. else
  10205. t4 = true;
  10206. if (!t4)
  10207. return false;
  10208. ++i1;
  10209. i2 = endOfSubselector + 1;
  10210. if (complex1.length - i1 === 1)
  10211. if (combinator1 === B.Combinator_Htt) {
  10212. t4 = complex2.length - 1;
  10213. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  10214. t5.SubListIterable$3(complex2, 0, t4, t3);
  10215. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  10216. return false;
  10217. } else if (combinator1 != null)
  10218. if (complex2.length - i2 > 1)
  10219. return false;
  10220. }
  10221. },
  10222. _isSupercombinator(combinator1, combinator2) {
  10223. var t1;
  10224. if (combinator1 != combinator2)
  10225. if (!(combinator1 == null && combinator2 === B.Combinator_Cht))
  10226. t1 = combinator1 === B.Combinator_Htt && combinator2 === B.Combinator_4QF;
  10227. else
  10228. t1 = true;
  10229. else
  10230. t1 = true;
  10231. return t1;
  10232. },
  10233. compoundIsSuperselector(compound1, compound2, parents) {
  10234. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  10235. tuple1 = A._findPseudoElementIndexed(compound1),
  10236. tuple2 = A._findPseudoElementIndexed(compound2),
  10237. t1 = tuple1 == null;
  10238. if (!t1 && tuple2 != null) {
  10239. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  10240. t1 = compound1.components;
  10241. t2 = tuple1.item2;
  10242. t3 = type$.int;
  10243. t4 = A._arrayInstanceType(t1)._precomputed1;
  10244. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  10245. t6 = compound2.components;
  10246. t7 = tuple2.item2;
  10247. t8 = A._arrayInstanceType(t6)._precomputed1;
  10248. t1 = A._compoundComponentsIsSuperselector(t5, A.SubListIterable$(t6, 0, A.checkNotNullable(t7, "count", t3), t8), parents) && A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, t2 + 1, null, t4), A.SubListIterable$(t6, t7 + 1, null, t8), parents);
  10249. } else
  10250. t1 = false;
  10251. return t1;
  10252. } else if (!t1 || tuple2 != null)
  10253. return false;
  10254. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  10255. simple1 = t1[_i];
  10256. if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
  10257. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  10258. return false;
  10259. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  10260. return false;
  10261. }
  10262. return true;
  10263. },
  10264. _findPseudoElementIndexed(compound) {
  10265. var t1, t2, i, simple;
  10266. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  10267. simple = t1[i];
  10268. if (simple instanceof A.PseudoSelector && !simple.isClass)
  10269. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int);
  10270. }
  10271. return null;
  10272. },
  10273. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  10274. if (compound1.get$length(compound1) === 0)
  10275. return true;
  10276. if (compound2.get$length(compound2) === 0)
  10277. compound2 = A._setArrayType([new A.UniversalSelector("*")], type$.JSArray_SimpleSelector);
  10278. return A.compoundIsSuperselector(A.CompoundSelector$(compound1), A.CompoundSelector$(compound2), parents);
  10279. },
  10280. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  10281. var selector1_ = pseudo1.selector;
  10282. if (selector1_ == null)
  10283. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  10284. switch (pseudo1.normalizedName) {
  10285. case "is":
  10286. case "matches":
  10287. case "any":
  10288. case "where":
  10289. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure(selector1_)) || B.JSArray_methods.any$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure0(parents, compound2));
  10290. case "has":
  10291. case "host":
  10292. case "host-context":
  10293. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
  10294. case "slotted":
  10295. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
  10296. case "not":
  10297. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  10298. case "current":
  10299. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
  10300. case "nth-child":
  10301. case "nth-last-child":
  10302. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
  10303. default:
  10304. throw A.wrapException("unreachable");
  10305. }
  10306. },
  10307. _selectorPseudoArgs(compound, $name, isClass) {
  10308. var t1 = type$.WhereTypeIterable_PseudoSelector;
  10309. return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure0(), t1._eval$1("MappedIterable<Iterable.E,SelectorList?>")), type$.SelectorList);
  10310. },
  10311. unifyComplex_closure: function unifyComplex_closure() {
  10312. },
  10313. _weaveParents_closure: function _weaveParents_closure() {
  10314. },
  10315. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  10316. this.group = t0;
  10317. },
  10318. _weaveParents_closure1: function _weaveParents_closure1() {
  10319. },
  10320. _weaveParents_closure2: function _weaveParents_closure2() {
  10321. },
  10322. _mustUnify_closure: function _mustUnify_closure(t0) {
  10323. this.uniqueSelectors = t0;
  10324. },
  10325. _mustUnify__closure: function _mustUnify__closure(t0) {
  10326. this.uniqueSelectors = t0;
  10327. },
  10328. paths_closure: function paths_closure(t0) {
  10329. this.T = t0;
  10330. },
  10331. paths__closure: function paths__closure(t0, t1) {
  10332. this.paths = t0;
  10333. this.T = t1;
  10334. },
  10335. paths___closure: function paths___closure(t0, t1) {
  10336. this.option = t0;
  10337. this.T = t1;
  10338. },
  10339. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  10340. this.list1 = t0;
  10341. },
  10342. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  10343. this.complex1 = t0;
  10344. },
  10345. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  10346. },
  10347. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  10348. this.combinator1 = t0;
  10349. },
  10350. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  10351. this.selector1 = t0;
  10352. },
  10353. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  10354. this.parents = t0;
  10355. this.compound2 = t1;
  10356. },
  10357. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  10358. this.selector1 = t0;
  10359. },
  10360. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  10361. this.selector1 = t0;
  10362. },
  10363. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  10364. this.compound2 = t0;
  10365. this.pseudo1 = t1;
  10366. },
  10367. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  10368. this.complex = t0;
  10369. this.pseudo1 = t1;
  10370. },
  10371. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  10372. this.simple2 = t0;
  10373. },
  10374. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  10375. this.simple2 = t0;
  10376. },
  10377. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  10378. this.selector1 = t0;
  10379. },
  10380. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  10381. this.pseudo1 = t0;
  10382. this.selector1 = t1;
  10383. },
  10384. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  10385. this.isClass = t0;
  10386. this.name = t1;
  10387. },
  10388. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  10389. },
  10390. MergedExtension_merge(left, right) {
  10391. var t3, t4, t5, t6,
  10392. t1 = left.extender,
  10393. t2 = t1.selector;
  10394. if (!t2.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  10395. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  10396. t3 = left.mediaContext;
  10397. t4 = t3 == null;
  10398. if (!t4) {
  10399. t5 = right.mediaContext;
  10400. t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
  10401. } else
  10402. t5 = false;
  10403. if (t5)
  10404. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  10405. if (right.isOptional && right.mediaContext == null)
  10406. return left;
  10407. if (left.isOptional && t4)
  10408. return right;
  10409. t5 = left.target;
  10410. t6 = left.span;
  10411. if (t4)
  10412. t3 = right.mediaContext;
  10413. t2.get$specificity();
  10414. t1 = new A.Extender(t2, false, t1.span);
  10415. return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
  10416. },
  10417. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  10418. var _ = this;
  10419. _.left = t0;
  10420. _.right = t1;
  10421. _.extender = t2;
  10422. _.target = t3;
  10423. _.mediaContext = t4;
  10424. _.isOptional = t5;
  10425. _.span = t6;
  10426. },
  10427. ExtendMode: function ExtendMode(t0, t1) {
  10428. this.name = t0;
  10429. this._name = t1;
  10430. },
  10431. globalFunctions_closure: function globalFunctions_closure() {
  10432. },
  10433. _updateComponents($arguments, adjust, change, scale) {
  10434. var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
  10435. t1 = J.getInterceptor$asx($arguments),
  10436. color = t1.$index($arguments, 0).assertColor$1("color"),
  10437. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  10438. if (argumentList._list$_contents.length !== 0)
  10439. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  10440. argumentList._wereKeywordsAccessed = true;
  10441. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  10442. t1 = new A._updateComponents_getParam(keywords, scale, change);
  10443. alpha = t1.call$2("alpha", 1);
  10444. red = t1.call$2("red", 255);
  10445. green = t1.call$2("green", 255);
  10446. blue = t1.call$2("blue", 255);
  10447. if (scale)
  10448. hueNumber = _null;
  10449. else {
  10450. t2 = keywords.remove$1(0, "hue");
  10451. hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
  10452. }
  10453. t2 = hueNumber == null;
  10454. if (!t2)
  10455. A._checkAngle(hueNumber, "hue");
  10456. hue = t2 ? _null : hueNumber._number$_value;
  10457. saturation = t1.call$3$checkPercent("saturation", 100, true);
  10458. lightness = t1.call$3$checkPercent("lightness", 100, true);
  10459. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  10460. blackness = t1.call$3$assertPercent("blackness", 100, true);
  10461. t1 = keywords.__js_helper$_length;
  10462. if (t1 !== 0)
  10463. throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.S(A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure(), type$.Object), "or")) + ".", _null));
  10464. hasRgb = red != null || green != null || blue != null;
  10465. hasSL = saturation != null || lightness != null;
  10466. hasWB = whiteness != null || blackness != null;
  10467. if (hasRgb)
  10468. t1 = hasSL || hasWB || hue != null;
  10469. else
  10470. t1 = false;
  10471. if (t1)
  10472. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  10473. if (hasSL && hasWB)
  10474. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  10475. t1 = new A._updateComponents_updateValue(change, adjust);
  10476. t2 = new A._updateComponents_updateRgb(t1);
  10477. if (hasRgb) {
  10478. t3 = t2.call$2(color.get$red(color), red);
  10479. t4 = t2.call$2(color.get$green(color), green);
  10480. t2 = t2.call$2(color.get$blue(color), blue);
  10481. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10482. } else if (hasWB) {
  10483. if (change)
  10484. t2 = hue;
  10485. else {
  10486. t2 = color.get$hue(color);
  10487. t2 += hue == null ? 0 : hue;
  10488. }
  10489. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  10490. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  10491. t5 = color._alpha;
  10492. t1 = t1.call$3(t5, alpha, 1);
  10493. if (t2 == null)
  10494. t2 = color.get$hue(color);
  10495. if (t3 == null)
  10496. t3 = color.get$whiteness(color);
  10497. if (t4 == null)
  10498. t4 = color.get$blackness(color);
  10499. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  10500. } else {
  10501. t2 = hue == null;
  10502. if (!t2 || hasSL) {
  10503. if (change)
  10504. t2 = hue;
  10505. else {
  10506. t3 = color.get$hue(color);
  10507. t3 += t2 ? 0 : hue;
  10508. t2 = t3;
  10509. }
  10510. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  10511. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  10512. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10513. } else if (alpha != null)
  10514. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  10515. else
  10516. return color;
  10517. }
  10518. },
  10519. _functionString($name, $arguments) {
  10520. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  10521. },
  10522. _removedColorFunction($name, argument, negative) {
  10523. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  10524. },
  10525. _rgb($name, $arguments) {
  10526. var t2, red, green, blue,
  10527. t1 = J.getInterceptor$asx($arguments),
  10528. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10529. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10530. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10531. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10532. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10533. t2 = t2 === true;
  10534. } else
  10535. t2 = true;
  10536. else
  10537. t2 = true;
  10538. else
  10539. t2 = true;
  10540. if (t2)
  10541. return A._functionString($name, $arguments);
  10542. red = t1.$index($arguments, 0).assertNumber$1("red");
  10543. green = t1.$index($arguments, 1).assertNumber$1("green");
  10544. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  10545. return A.SassColor$rgbInternal(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), B._ColorFormatEnum_rgbFunction);
  10546. },
  10547. _rgbTwoArg($name, $arguments) {
  10548. var first, color,
  10549. t1 = J.getInterceptor$asx($arguments);
  10550. if (t1.$index($arguments, 0).get$isVar())
  10551. return A._functionString($name, $arguments);
  10552. else if (t1.$index($arguments, 1).get$isVar()) {
  10553. first = t1.$index($arguments, 0);
  10554. if (first instanceof A.SassColor)
  10555. return new A.SassString($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  10556. else
  10557. return A._functionString($name, $arguments);
  10558. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  10559. color = t1.$index($arguments, 0).assertColor$1("color");
  10560. return new A.SassString($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  10561. }
  10562. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  10563. },
  10564. _hsl($name, $arguments) {
  10565. var t2, hue, saturation, lightness,
  10566. _s10_ = "saturation",
  10567. _s9_ = "lightness",
  10568. t1 = J.getInterceptor$asx($arguments),
  10569. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10570. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10571. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10572. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10573. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10574. t2 = t2 === true;
  10575. } else
  10576. t2 = true;
  10577. else
  10578. t2 = true;
  10579. else
  10580. t2 = true;
  10581. if (t2)
  10582. return A._functionString($name, $arguments);
  10583. hue = t1.$index($arguments, 0).assertNumber$1("hue");
  10584. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  10585. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  10586. A._checkAngle(hue, "hue");
  10587. A._checkPercent(saturation, _s10_);
  10588. A._checkPercent(lightness, _s9_);
  10589. return A.SassColor$hslInternal(hue._number$_value, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()), B._ColorFormatEnum_hslFunction);
  10590. },
  10591. _checkAngle(angle, $name) {
  10592. var t1, t2, t3;
  10593. if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
  10594. return;
  10595. t1 = "" + ("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
  10596. t2 = "To preserve current behavior: $" + $name;
  10597. if (angle.compatibleWithUnit$1("deg")) {
  10598. t3 = type$.JSArray_String;
  10599. t2 = t1 + ("You're passing " + angle.toString$0(0) + string$.x2c_whici + A.SassNumber_SassNumber(angle._number$_value, "deg").toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n" + (t2 + " * 1deg/1" + B.JSArray_methods.get$first(angle.get$numeratorUnits(angle)) + "\n") + ("To migrate to new behavior: 0deg + $" + $name + "\n") + "\n";
  10600. t1 = t2;
  10601. } else
  10602. t1 = t1 + (t2 + A._removeUnits(angle) + "\n") + "\n";
  10603. t1 += "See https://sass-lang.com/d/color-units";
  10604. A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
  10605. },
  10606. _checkPercent(number, $name) {
  10607. var t1, t2;
  10608. if (number.hasUnit$1("%"))
  10609. return;
  10610. t1 = number.toString$0(0);
  10611. t2 = A._removeUnits(number);
  10612. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + $name + t2 + " * 1%", true);
  10613. },
  10614. _removeUnits(number) {
  10615. var t2,
  10616. t1 = number.get$denominatorUnits(number);
  10617. t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  10618. t2 = number.get$numeratorUnits(number);
  10619. return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  10620. },
  10621. _hwb($arguments) {
  10622. var _s9_ = "whiteness",
  10623. _s9_0 = "blackness",
  10624. t1 = J.getInterceptor$asx($arguments),
  10625. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  10626. hue = t1.$index($arguments, 0).assertNumber$1("hue"),
  10627. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  10628. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  10629. A._checkAngle(hue, "hue");
  10630. whiteness.assertUnit$2("%", _s9_);
  10631. blackness.assertUnit$2("%", _s9_0);
  10632. return A.SassColor_SassColor$hwb(hue._number$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen(alpha, new A._hwb_closure()));
  10633. },
  10634. _parseChannels($name, argumentNames, channels) {
  10635. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  10636. _s17_ = "$channels must be";
  10637. if (channels.get$isVar())
  10638. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10639. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  10640. list = channels.get$asList();
  10641. t1 = list.length;
  10642. if (t1 !== 2)
  10643. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  10644. channels0 = list[0];
  10645. alphaFromSlashList = list[1];
  10646. if (!alphaFromSlashList.get$isSpecialNumber())
  10647. alphaFromSlashList.assertNumber$1("alpha");
  10648. if (list[0].get$isVar())
  10649. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10650. } else {
  10651. alphaFromSlashList = _null;
  10652. channels0 = channels;
  10653. }
  10654. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  10655. isBracketed = channels0.get$hasBrackets();
  10656. if (isCommaSeparated || isBracketed) {
  10657. buffer = new A.StringBuffer(_s17_);
  10658. if (isBracketed) {
  10659. t1 = _s17_ + " an unbracketed";
  10660. buffer._contents = t1;
  10661. } else
  10662. t1 = _s17_;
  10663. if (isCommaSeparated) {
  10664. t1 += isBracketed ? "," : " a";
  10665. buffer._contents = t1;
  10666. t1 = buffer._contents = t1 + " space-separated";
  10667. }
  10668. buffer._contents = t1 + " list.";
  10669. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  10670. }
  10671. list = channels0.get$asList();
  10672. t1 = list.length;
  10673. if (t1 > 3)
  10674. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  10675. else if (t1 < 3) {
  10676. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  10677. if (list.length !== 0) {
  10678. t1 = B.JSArray_methods.get$last(list);
  10679. if (t1 instanceof A.SassString)
  10680. if (t1._hasQuotes) {
  10681. t1 = t1._string$_text;
  10682. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  10683. } else
  10684. t1 = false;
  10685. else
  10686. t1 = false;
  10687. } else
  10688. t1 = false;
  10689. else
  10690. t1 = true;
  10691. if (t1)
  10692. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10693. else
  10694. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  10695. }
  10696. if (alphaFromSlashList != null) {
  10697. t1 = A.List_List$of(list, true, type$.Value);
  10698. t1.push(alphaFromSlashList);
  10699. return t1;
  10700. }
  10701. maybeSlashSeparated = list[2];
  10702. if (maybeSlashSeparated instanceof A.SassNumber) {
  10703. slash = maybeSlashSeparated.asSlash;
  10704. if (slash == null)
  10705. return list;
  10706. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
  10707. } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
  10708. return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  10709. else
  10710. return list;
  10711. },
  10712. _percentageOrUnitless(number, max, $name) {
  10713. var value;
  10714. if (!number.get$hasUnits())
  10715. value = number._number$_value;
  10716. else if (number.hasUnit$1("%"))
  10717. value = max * number._number$_value / 100;
  10718. else
  10719. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  10720. return B.JSNumber_methods.clamp$2(value, 0, max);
  10721. },
  10722. _mixColors(color1, color2, weight) {
  10723. var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  10724. normalizedWeight = weightScale * 2 - 1,
  10725. t1 = color1._alpha,
  10726. t2 = color2._alpha,
  10727. alphaDistance = t1 - t2,
  10728. t3 = normalizedWeight * alphaDistance,
  10729. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
  10730. weight2 = 1 - weight1;
  10731. return A.SassColor$rgb(A.fuzzyRound(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  10732. },
  10733. _opacify($arguments) {
  10734. var t1 = J.getInterceptor$asx($arguments),
  10735. color = t1.$index($arguments, 0).assertColor$1("color");
  10736. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  10737. },
  10738. _transparentize($arguments) {
  10739. var t1 = J.getInterceptor$asx($arguments),
  10740. color = t1.$index($arguments, 0).assertColor$1("color");
  10741. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  10742. },
  10743. _function4($name, $arguments, callback) {
  10744. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  10745. },
  10746. global_closure: function global_closure() {
  10747. },
  10748. global_closure0: function global_closure0() {
  10749. },
  10750. global_closure1: function global_closure1() {
  10751. },
  10752. global_closure2: function global_closure2() {
  10753. },
  10754. global_closure3: function global_closure3() {
  10755. },
  10756. global_closure4: function global_closure4() {
  10757. },
  10758. global_closure5: function global_closure5() {
  10759. },
  10760. global_closure6: function global_closure6() {
  10761. },
  10762. global_closure7: function global_closure7() {
  10763. },
  10764. global_closure8: function global_closure8() {
  10765. },
  10766. global_closure9: function global_closure9() {
  10767. },
  10768. global_closure10: function global_closure10() {
  10769. },
  10770. global_closure11: function global_closure11() {
  10771. },
  10772. global_closure12: function global_closure12() {
  10773. },
  10774. global_closure13: function global_closure13() {
  10775. },
  10776. global_closure14: function global_closure14() {
  10777. },
  10778. global_closure15: function global_closure15() {
  10779. },
  10780. global_closure16: function global_closure16() {
  10781. },
  10782. global_closure17: function global_closure17() {
  10783. },
  10784. global_closure18: function global_closure18() {
  10785. },
  10786. global_closure19: function global_closure19() {
  10787. },
  10788. global_closure20: function global_closure20() {
  10789. },
  10790. global_closure21: function global_closure21() {
  10791. },
  10792. global_closure22: function global_closure22() {
  10793. },
  10794. global_closure23: function global_closure23() {
  10795. },
  10796. global_closure24: function global_closure24() {
  10797. },
  10798. global__closure: function global__closure() {
  10799. },
  10800. global_closure25: function global_closure25() {
  10801. },
  10802. module_closure: function module_closure() {
  10803. },
  10804. module_closure0: function module_closure0() {
  10805. },
  10806. module_closure1: function module_closure1() {
  10807. },
  10808. module_closure2: function module_closure2() {
  10809. },
  10810. module_closure3: function module_closure3() {
  10811. },
  10812. module_closure4: function module_closure4() {
  10813. },
  10814. module_closure5: function module_closure5() {
  10815. },
  10816. module_closure6: function module_closure6() {
  10817. },
  10818. module__closure: function module__closure() {
  10819. },
  10820. module_closure7: function module_closure7() {
  10821. },
  10822. _red_closure: function _red_closure() {
  10823. },
  10824. _green_closure: function _green_closure() {
  10825. },
  10826. _blue_closure: function _blue_closure() {
  10827. },
  10828. _mix_closure: function _mix_closure() {
  10829. },
  10830. _hue_closure: function _hue_closure() {
  10831. },
  10832. _saturation_closure: function _saturation_closure() {
  10833. },
  10834. _lightness_closure: function _lightness_closure() {
  10835. },
  10836. _complement_closure: function _complement_closure() {
  10837. },
  10838. _adjust_closure: function _adjust_closure() {
  10839. },
  10840. _scale_closure: function _scale_closure() {
  10841. },
  10842. _change_closure: function _change_closure() {
  10843. },
  10844. _ieHexStr_closure: function _ieHexStr_closure() {
  10845. },
  10846. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  10847. },
  10848. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  10849. this.keywords = t0;
  10850. this.scale = t1;
  10851. this.change = t2;
  10852. },
  10853. _updateComponents_closure: function _updateComponents_closure() {
  10854. },
  10855. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  10856. this.change = t0;
  10857. this.adjust = t1;
  10858. },
  10859. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  10860. this.updateValue = t0;
  10861. },
  10862. _functionString_closure: function _functionString_closure() {
  10863. },
  10864. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  10865. this.name = t0;
  10866. this.argument = t1;
  10867. this.negative = t2;
  10868. },
  10869. _rgb_closure: function _rgb_closure() {
  10870. },
  10871. _hsl_closure: function _hsl_closure() {
  10872. },
  10873. _removeUnits_closure: function _removeUnits_closure() {
  10874. },
  10875. _removeUnits_closure0: function _removeUnits_closure0() {
  10876. },
  10877. _hwb_closure: function _hwb_closure() {
  10878. },
  10879. _parseChannels_closure: function _parseChannels_closure() {
  10880. },
  10881. _function3($name, $arguments, callback) {
  10882. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  10883. },
  10884. _length_closure0: function _length_closure0() {
  10885. },
  10886. _nth_closure: function _nth_closure() {
  10887. },
  10888. _setNth_closure: function _setNth_closure() {
  10889. },
  10890. _join_closure: function _join_closure() {
  10891. },
  10892. _append_closure0: function _append_closure0() {
  10893. },
  10894. _zip_closure: function _zip_closure() {
  10895. },
  10896. _zip__closure: function _zip__closure() {
  10897. },
  10898. _zip__closure0: function _zip__closure0(t0) {
  10899. this._box_0 = t0;
  10900. },
  10901. _zip__closure1: function _zip__closure1(t0) {
  10902. this._box_0 = t0;
  10903. },
  10904. _index_closure0: function _index_closure0() {
  10905. },
  10906. _separator_closure: function _separator_closure() {
  10907. },
  10908. _isBracketed_closure: function _isBracketed_closure() {
  10909. },
  10910. _slash_closure: function _slash_closure() {
  10911. },
  10912. _modify(map, keys, modify, addNesting) {
  10913. var keyIterator = J.get$iterator$ax(keys);
  10914. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  10915. },
  10916. _deepMergeImpl(map1, map2) {
  10917. var t2, t3, result,
  10918. t1 = map1._map$_contents;
  10919. if (t1.get$isEmpty(t1))
  10920. return map2;
  10921. t2 = map2._map$_contents;
  10922. if (t2.get$isEmpty(t2))
  10923. return map1;
  10924. t3 = type$.Value;
  10925. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  10926. t2.forEach$1(0, new A._deepMergeImpl_closure(result));
  10927. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  10928. },
  10929. _function2($name, $arguments, callback) {
  10930. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  10931. },
  10932. _get_closure: function _get_closure() {
  10933. },
  10934. _set_closure: function _set_closure() {
  10935. },
  10936. _set__closure0: function _set__closure0(t0) {
  10937. this.$arguments = t0;
  10938. },
  10939. _set_closure0: function _set_closure0() {
  10940. },
  10941. _set__closure: function _set__closure(t0) {
  10942. this.args = t0;
  10943. },
  10944. _merge_closure: function _merge_closure() {
  10945. },
  10946. _merge_closure0: function _merge_closure0() {
  10947. },
  10948. _merge__closure: function _merge__closure(t0) {
  10949. this.map2 = t0;
  10950. },
  10951. _deepMerge_closure: function _deepMerge_closure() {
  10952. },
  10953. _deepRemove_closure: function _deepRemove_closure() {
  10954. },
  10955. _deepRemove__closure: function _deepRemove__closure(t0) {
  10956. this.keys = t0;
  10957. },
  10958. _remove_closure: function _remove_closure() {
  10959. },
  10960. _remove_closure0: function _remove_closure0() {
  10961. },
  10962. _keys_closure: function _keys_closure() {
  10963. },
  10964. _values_closure: function _values_closure() {
  10965. },
  10966. _hasKey_closure: function _hasKey_closure() {
  10967. },
  10968. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  10969. this.keyIterator = t0;
  10970. this.modify = t1;
  10971. this.addNesting = t2;
  10972. },
  10973. _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
  10974. this.result = t0;
  10975. },
  10976. _numberFunction($name, transform) {
  10977. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  10978. },
  10979. _function1($name, $arguments, callback) {
  10980. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  10981. },
  10982. _ceil_closure: function _ceil_closure() {
  10983. },
  10984. _clamp_closure: function _clamp_closure() {
  10985. },
  10986. _floor_closure: function _floor_closure() {
  10987. },
  10988. _max_closure: function _max_closure() {
  10989. },
  10990. _min_closure: function _min_closure() {
  10991. },
  10992. _round_closure: function _round_closure() {
  10993. },
  10994. _abs_closure: function _abs_closure() {
  10995. },
  10996. _hypot_closure: function _hypot_closure() {
  10997. },
  10998. _hypot__closure: function _hypot__closure() {
  10999. },
  11000. _log_closure: function _log_closure() {
  11001. },
  11002. _pow_closure: function _pow_closure() {
  11003. },
  11004. _sqrt_closure: function _sqrt_closure() {
  11005. },
  11006. _acos_closure: function _acos_closure() {
  11007. },
  11008. _asin_closure: function _asin_closure() {
  11009. },
  11010. _atan_closure: function _atan_closure() {
  11011. },
  11012. _atan2_closure: function _atan2_closure() {
  11013. },
  11014. _cos_closure: function _cos_closure() {
  11015. },
  11016. _sin_closure: function _sin_closure() {
  11017. },
  11018. _tan_closure: function _tan_closure() {
  11019. },
  11020. _compatible_closure: function _compatible_closure() {
  11021. },
  11022. _isUnitless_closure: function _isUnitless_closure() {
  11023. },
  11024. _unit_closure: function _unit_closure() {
  11025. },
  11026. _percentage_closure: function _percentage_closure() {
  11027. },
  11028. _randomFunction_closure: function _randomFunction_closure() {
  11029. },
  11030. _div_closure: function _div_closure() {
  11031. },
  11032. _numberFunction_closure: function _numberFunction_closure(t0) {
  11033. this.transform = t0;
  11034. },
  11035. _function5($name, $arguments, callback) {
  11036. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  11037. },
  11038. global_closure26: function global_closure26() {
  11039. },
  11040. global_closure27: function global_closure27() {
  11041. },
  11042. global_closure28: function global_closure28() {
  11043. },
  11044. global_closure29: function global_closure29() {
  11045. },
  11046. local_closure: function local_closure() {
  11047. },
  11048. local_closure0: function local_closure0() {
  11049. },
  11050. local__closure: function local__closure() {
  11051. },
  11052. _prependParent(compound) {
  11053. var t2, _null = null,
  11054. t1 = compound.components,
  11055. first = B.JSArray_methods.get$first(t1);
  11056. if (first instanceof A.UniversalSelector)
  11057. return _null;
  11058. if (first instanceof A.TypeSelector) {
  11059. t2 = first.name;
  11060. if (t2.namespace != null)
  11061. return _null;
  11062. t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
  11063. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  11064. return A.CompoundSelector$(t2);
  11065. } else {
  11066. t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
  11067. B.JSArray_methods.addAll$1(t2, t1);
  11068. return A.CompoundSelector$(t2);
  11069. }
  11070. },
  11071. _function0($name, $arguments, callback) {
  11072. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  11073. },
  11074. _nest_closure: function _nest_closure() {
  11075. },
  11076. _nest__closure: function _nest__closure(t0) {
  11077. this._box_0 = t0;
  11078. },
  11079. _nest__closure0: function _nest__closure0() {
  11080. },
  11081. _append_closure: function _append_closure() {
  11082. },
  11083. _append__closure: function _append__closure() {
  11084. },
  11085. _append__closure0: function _append__closure0() {
  11086. },
  11087. _append___closure: function _append___closure(t0) {
  11088. this.parent = t0;
  11089. },
  11090. _extend_closure: function _extend_closure() {
  11091. },
  11092. _replace_closure: function _replace_closure() {
  11093. },
  11094. _unify_closure: function _unify_closure() {
  11095. },
  11096. _isSuperselector_closure: function _isSuperselector_closure() {
  11097. },
  11098. _simpleSelectors_closure: function _simpleSelectors_closure() {
  11099. },
  11100. _simpleSelectors__closure: function _simpleSelectors__closure() {
  11101. },
  11102. _parse_closure: function _parse_closure() {
  11103. },
  11104. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  11105. var result;
  11106. if (index === 0)
  11107. return 0;
  11108. if (index > 0)
  11109. return Math.min(index - 1, lengthInCodepoints);
  11110. result = lengthInCodepoints + index;
  11111. if (result < 0 && !allowNegative)
  11112. return 0;
  11113. return result;
  11114. },
  11115. _function($name, $arguments, callback) {
  11116. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  11117. },
  11118. _unquote_closure: function _unquote_closure() {
  11119. },
  11120. _quote_closure: function _quote_closure() {
  11121. },
  11122. _length_closure: function _length_closure() {
  11123. },
  11124. _insert_closure: function _insert_closure() {
  11125. },
  11126. _index_closure: function _index_closure() {
  11127. },
  11128. _slice_closure: function _slice_closure() {
  11129. },
  11130. _toUpperCase_closure: function _toUpperCase_closure() {
  11131. },
  11132. _toLowerCase_closure: function _toLowerCase_closure() {
  11133. },
  11134. _uniqueId_closure: function _uniqueId_closure() {
  11135. },
  11136. ImportCache$(loadPaths, logger) {
  11137. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
  11138. t2 = type$.Uri,
  11139. t3 = A.ImportCache__toImporters(null, loadPaths, null),
  11140. t4 = logger == null ? B.StderrLogger_false : logger;
  11141. return new A.ImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
  11142. },
  11143. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  11144. var sassPath, t2, t3, _i, path, _null = null,
  11145. t1 = J.get$env$x(self.process);
  11146. if (t1 == null)
  11147. t1 = type$.Object._as(t1);
  11148. sassPath = A._asStringQ(t1.SASS_PATH);
  11149. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  11150. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  11151. t3 = t2.get$current(t2);
  11152. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  11153. }
  11154. if (sassPath != null) {
  11155. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  11156. t3 = t2.length;
  11157. _i = 0;
  11158. for (; _i < t3; ++_i) {
  11159. path = t2[_i];
  11160. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  11161. }
  11162. }
  11163. return t1;
  11164. },
  11165. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  11166. var _ = this;
  11167. _._importers = t0;
  11168. _._logger = t1;
  11169. _._canonicalizeCache = t2;
  11170. _._relativeCanonicalizeCache = t3;
  11171. _._importCache = t4;
  11172. _._resultsCache = t5;
  11173. },
  11174. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  11175. var _ = this;
  11176. _.$this = t0;
  11177. _.baseUrl = t1;
  11178. _.url = t2;
  11179. _.baseImporter = t3;
  11180. _.forImport = t4;
  11181. },
  11182. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
  11183. this.$this = t0;
  11184. this.url = t1;
  11185. this.forImport = t2;
  11186. },
  11187. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  11188. this.importer = t0;
  11189. this.url = t1;
  11190. },
  11191. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  11192. var _ = this;
  11193. _.$this = t0;
  11194. _.importer = t1;
  11195. _.canonicalUrl = t2;
  11196. _.originalUrl = t3;
  11197. _.quiet = t4;
  11198. },
  11199. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  11200. this.canonicalUrl = t0;
  11201. },
  11202. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  11203. },
  11204. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  11205. },
  11206. Importer: function Importer() {
  11207. },
  11208. AsyncImporter: function AsyncImporter() {
  11209. },
  11210. FilesystemImporter: function FilesystemImporter(t0) {
  11211. this._loadPath = t0;
  11212. },
  11213. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  11214. },
  11215. ImporterResult: function ImporterResult(t0, t1, t2) {
  11216. this.contents = t0;
  11217. this._sourceMapUrl = t1;
  11218. this.syntax = t2;
  11219. },
  11220. fromImport() {
  11221. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  11222. return t1 === true;
  11223. },
  11224. resolveImportPath(path) {
  11225. var t1,
  11226. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  11227. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  11228. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  11229. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  11230. }
  11231. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  11232. if (t1 == null)
  11233. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  11234. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  11235. },
  11236. _tryPathWithExtensions(path) {
  11237. var result = A._tryPath(path + ".sass");
  11238. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  11239. return result.length !== 0 ? result : A._tryPath(path + ".css");
  11240. },
  11241. _tryPath(path) {
  11242. var t1 = $.$get$context(),
  11243. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  11244. t1 = A._setArrayType([], type$.JSArray_String);
  11245. if (A.fileExists(partial))
  11246. t1.push(partial);
  11247. if (A.fileExists(path))
  11248. t1.push(path);
  11249. return t1;
  11250. },
  11251. _tryPathAsDirectory(path) {
  11252. var t1;
  11253. if (!A.dirExists(path))
  11254. return null;
  11255. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  11256. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  11257. },
  11258. _exactlyOne(paths) {
  11259. var t1 = paths.length;
  11260. if (t1 === 0)
  11261. return null;
  11262. if (t1 === 1)
  11263. return B.JSArray_methods.get$first(paths);
  11264. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  11265. },
  11266. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  11267. this.path = t0;
  11268. this.extension = t1;
  11269. },
  11270. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  11271. this.path = t0;
  11272. },
  11273. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  11274. this.path = t0;
  11275. },
  11276. _exactlyOne_closure: function _exactlyOne_closure() {
  11277. },
  11278. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  11279. this._interpolation_buffer$_text = t0;
  11280. this._interpolation_buffer$_contents = t1;
  11281. },
  11282. _realCasePath(path) {
  11283. var prefix, t1;
  11284. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  11285. return path;
  11286. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  11287. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  11288. t1 = prefix.length;
  11289. if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  11290. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  11291. }
  11292. return new A._realCasePath_helper().call$1(path);
  11293. },
  11294. _realCasePath_helper: function _realCasePath_helper() {
  11295. },
  11296. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  11297. this.helper = t0;
  11298. this.dirname = t1;
  11299. this.path = t2;
  11300. },
  11301. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  11302. this.basename = t0;
  11303. },
  11304. readFile(path) {
  11305. var sourceFile, t1, i,
  11306. contents = A._asString(A._readFile(path, "utf8"));
  11307. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  11308. return contents;
  11309. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  11310. for (t1 = contents.length, i = 0; i < t1; ++i) {
  11311. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  11312. continue;
  11313. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  11314. }
  11315. return contents;
  11316. },
  11317. _readFile(path, encoding) {
  11318. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  11319. },
  11320. writeFile(path, contents) {
  11321. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  11322. },
  11323. deleteFile(path) {
  11324. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  11325. },
  11326. readStdin() {
  11327. return A.readStdin$body();
  11328. },
  11329. readStdin$body() {
  11330. var $async$goto = 0,
  11331. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  11332. $async$returnValue, sink, t1, t2, completer;
  11333. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11334. if ($async$errorCode === 1)
  11335. return A._asyncRethrow($async$result, $async$completer);
  11336. while (true)
  11337. switch ($async$goto) {
  11338. case 0:
  11339. // Function start
  11340. t1 = {};
  11341. t2 = new A._Future($.Zone__current, type$._Future_String);
  11342. completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
  11343. t1.contents = null;
  11344. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  11345. J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  11346. J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  11347. J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  11348. $async$returnValue = t2;
  11349. // goto return
  11350. $async$goto = 1;
  11351. break;
  11352. case 1:
  11353. // return
  11354. return A._asyncReturn($async$returnValue, $async$completer);
  11355. }
  11356. });
  11357. return A._asyncStartSync($async$readStdin, $async$completer);
  11358. },
  11359. fileExists(path) {
  11360. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  11361. },
  11362. dirExists(path) {
  11363. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  11364. },
  11365. ensureDir(path) {
  11366. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  11367. },
  11368. listDir(path, recursive) {
  11369. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  11370. },
  11371. modificationTime(path) {
  11372. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  11373. },
  11374. _systemErrorToFileSystemException(callback) {
  11375. var error, t1, exception, t2;
  11376. try {
  11377. t1 = callback.call$0();
  11378. return t1;
  11379. } catch (exception) {
  11380. error = A.unwrapException(exception);
  11381. if (!type$.JsSystemError._is(error))
  11382. throw exception;
  11383. t1 = error;
  11384. t2 = J.getInterceptor$x(t1);
  11385. throw A.wrapException(new A.FileSystemException(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
  11386. }
  11387. },
  11388. isWindows() {
  11389. return J.$eq$(J.get$platform$x(self.process), "win32");
  11390. },
  11391. watchDir(path, poll) {
  11392. var t2, t3, t1 = {},
  11393. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  11394. t1.controller = null;
  11395. t2 = J.getInterceptor$x(watcher);
  11396. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  11397. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  11398. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  11399. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  11400. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  11401. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  11402. return t3;
  11403. },
  11404. FileSystemException: function FileSystemException(t0, t1) {
  11405. this.message = t0;
  11406. this.path = t1;
  11407. },
  11408. Stderr: function Stderr(t0) {
  11409. this._stderr = t0;
  11410. },
  11411. _readFile_closure: function _readFile_closure(t0, t1) {
  11412. this.path = t0;
  11413. this.encoding = t1;
  11414. },
  11415. writeFile_closure: function writeFile_closure(t0, t1) {
  11416. this.path = t0;
  11417. this.contents = t1;
  11418. },
  11419. deleteFile_closure: function deleteFile_closure(t0) {
  11420. this.path = t0;
  11421. },
  11422. readStdin_closure: function readStdin_closure(t0, t1) {
  11423. this._box_0 = t0;
  11424. this.completer = t1;
  11425. },
  11426. readStdin_closure0: function readStdin_closure0(t0) {
  11427. this.sink = t0;
  11428. },
  11429. readStdin_closure1: function readStdin_closure1(t0) {
  11430. this.sink = t0;
  11431. },
  11432. readStdin_closure2: function readStdin_closure2(t0) {
  11433. this.completer = t0;
  11434. },
  11435. fileExists_closure: function fileExists_closure(t0) {
  11436. this.path = t0;
  11437. },
  11438. dirExists_closure: function dirExists_closure(t0) {
  11439. this.path = t0;
  11440. },
  11441. ensureDir_closure: function ensureDir_closure(t0) {
  11442. this.path = t0;
  11443. },
  11444. listDir_closure: function listDir_closure(t0, t1) {
  11445. this.recursive = t0;
  11446. this.path = t1;
  11447. },
  11448. listDir__closure: function listDir__closure(t0) {
  11449. this.path = t0;
  11450. },
  11451. listDir__closure0: function listDir__closure0() {
  11452. },
  11453. listDir_closure_list: function listDir_closure_list() {
  11454. },
  11455. listDir__list_closure: function listDir__list_closure(t0, t1) {
  11456. this.parent = t0;
  11457. this.list = t1;
  11458. },
  11459. modificationTime_closure: function modificationTime_closure(t0) {
  11460. this.path = t0;
  11461. },
  11462. watchDir_closure: function watchDir_closure(t0) {
  11463. this._box_0 = t0;
  11464. },
  11465. watchDir_closure0: function watchDir_closure0(t0) {
  11466. this._box_0 = t0;
  11467. },
  11468. watchDir_closure1: function watchDir_closure1(t0) {
  11469. this._box_0 = t0;
  11470. },
  11471. watchDir_closure2: function watchDir_closure2(t0) {
  11472. this._box_0 = t0;
  11473. },
  11474. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  11475. this._box_0 = t0;
  11476. this.watcher = t1;
  11477. this.completer = t2;
  11478. },
  11479. watchDir__closure: function watchDir__closure(t0) {
  11480. this.watcher = t0;
  11481. },
  11482. _QuietLogger: function _QuietLogger() {
  11483. },
  11484. StderrLogger: function StderrLogger(t0) {
  11485. this.color = t0;
  11486. },
  11487. TerseLogger: function TerseLogger(t0, t1) {
  11488. this._warningCounts = t0;
  11489. this._inner = t1;
  11490. },
  11491. TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
  11492. },
  11493. TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
  11494. },
  11495. TrackingLogger: function TrackingLogger(t0) {
  11496. this._tracking$_logger = t0;
  11497. this._emittedDebug = this._emittedWarning = false;
  11498. },
  11499. BuiltInModule$($name, functions, mixins, variables, $T) {
  11500. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  11501. t2 = A.BuiltInModule__callableMap(functions, $T),
  11502. t3 = A.BuiltInModule__callableMap(mixins, $T),
  11503. t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  11504. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  11505. },
  11506. BuiltInModule__callableMap(callables, $T) {
  11507. var t2, _i, callable,
  11508. t1 = type$.String;
  11509. if (callables == null)
  11510. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11511. else {
  11512. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11513. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  11514. callable = callables[_i];
  11515. t1.$indexSet(0, J.get$name$x(callable), callable);
  11516. }
  11517. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11518. }
  11519. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11520. },
  11521. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  11522. var _ = this;
  11523. _.url = t0;
  11524. _.functions = t1;
  11525. _.mixins = t2;
  11526. _.variables = t3;
  11527. _.$ti = t4;
  11528. },
  11529. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  11530. var t1;
  11531. if (rule.prefix == null)
  11532. if (rule.shownMixinsAndFunctions == null)
  11533. if (rule.shownVariables == null) {
  11534. t1 = rule.hiddenMixinsAndFunctions;
  11535. if (t1 == null)
  11536. t1 = null;
  11537. else {
  11538. t1 = t1._base;
  11539. t1 = t1.get$isEmpty(t1);
  11540. }
  11541. if (t1 === true) {
  11542. t1 = rule.hiddenVariables;
  11543. if (t1 == null)
  11544. t1 = null;
  11545. else {
  11546. t1 = t1._base;
  11547. t1 = t1.get$isEmpty(t1);
  11548. }
  11549. t1 = t1 === true;
  11550. } else
  11551. t1 = false;
  11552. } else
  11553. t1 = false;
  11554. else
  11555. t1 = false;
  11556. else
  11557. t1 = false;
  11558. if (t1)
  11559. return inner;
  11560. else
  11561. return A.ForwardedModuleView$(inner, rule, $T);
  11562. },
  11563. ForwardedModuleView$(_inner, _rule, $T) {
  11564. var t1 = _rule.prefix,
  11565. t2 = _rule.shownVariables,
  11566. t3 = _rule.hiddenVariables,
  11567. t4 = _rule.shownMixinsAndFunctions,
  11568. t5 = _rule.hiddenMixinsAndFunctions;
  11569. return new A.ForwardedModuleView(_inner, _rule, A.ForwardedModuleView__forwardedMap(_inner.get$variables(), t1, t2, t3, type$.Value), A.ForwardedModuleView__forwardedMap(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode), A.ForwardedModuleView__forwardedMap(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView<0>"));
  11570. },
  11571. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  11572. var t2,
  11573. t1 = prefix == null;
  11574. if (t1)
  11575. if (safelist == null)
  11576. if (blocklist != null) {
  11577. t2 = blocklist._base;
  11578. t2 = t2.get$isEmpty(t2);
  11579. } else
  11580. t2 = true;
  11581. else
  11582. t2 = false;
  11583. else
  11584. t2 = false;
  11585. if (t2)
  11586. return map;
  11587. if (!t1)
  11588. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  11589. if (safelist != null)
  11590. map = new A.LimitedMapView(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  11591. else {
  11592. if (blocklist != null) {
  11593. t1 = blocklist._base;
  11594. t1 = t1.get$isNotEmpty(t1);
  11595. } else
  11596. t1 = false;
  11597. if (t1)
  11598. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11599. }
  11600. return map;
  11601. },
  11602. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  11603. var _ = this;
  11604. _._forwarded_view$_inner = t0;
  11605. _._rule = t1;
  11606. _.variables = t2;
  11607. _.variableNodes = t3;
  11608. _.functions = t4;
  11609. _.mixins = t5;
  11610. _.$ti = t6;
  11611. },
  11612. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  11613. return A.ShadowedModuleView__needsBlocklist(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist(inner.get$mixins(), mixins) ? new A.ShadowedModuleView(inner, A.ShadowedModuleView__shadowedMap(inner.get$variables(), variables, type$.Value), A.ShadowedModuleView__shadowedMap(inner.get$variableNodes(), variables, type$.AstNode), A.ShadowedModuleView__shadowedMap(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView<0>")) : null;
  11614. },
  11615. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  11616. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  11617. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11618. },
  11619. ShadowedModuleView__needsBlocklist(map, blocklist) {
  11620. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  11621. },
  11622. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  11623. var _ = this;
  11624. _._shadowed_view$_inner = t0;
  11625. _.variables = t1;
  11626. _.variableNodes = t2;
  11627. _.functions = t3;
  11628. _.mixins = t4;
  11629. _.$ti = t5;
  11630. },
  11631. JSArray0: function JSArray0() {
  11632. },
  11633. Chokidar: function Chokidar() {
  11634. },
  11635. ChokidarOptions: function ChokidarOptions() {
  11636. },
  11637. ChokidarWatcher: function ChokidarWatcher() {
  11638. },
  11639. JSFunction: function JSFunction() {
  11640. },
  11641. NodeImporterResult: function NodeImporterResult() {
  11642. },
  11643. RenderContext: function RenderContext() {
  11644. },
  11645. RenderContextOptions: function RenderContextOptions() {
  11646. },
  11647. RenderContextResult: function RenderContextResult() {
  11648. },
  11649. RenderContextResultStats: function RenderContextResultStats() {
  11650. },
  11651. JSClass: function JSClass() {
  11652. },
  11653. JSUrl: function JSUrl() {
  11654. },
  11655. _PropertyDescriptor: function _PropertyDescriptor() {
  11656. },
  11657. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  11658. this.scanner = t0;
  11659. this.logger = t1;
  11660. },
  11661. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  11662. this.$this = t0;
  11663. },
  11664. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  11665. },
  11666. CssParser: function CssParser(t0, t1, t2) {
  11667. var _ = this;
  11668. _._isUseAllowed = true;
  11669. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11670. _._globalVariables = t0;
  11671. _.lastSilentComment = null;
  11672. _.scanner = t1;
  11673. _.logger = t2;
  11674. },
  11675. KeyframeSelectorParser$(contents, logger) {
  11676. var t1 = A.SpanScanner$(contents, null);
  11677. return new A.KeyframeSelectorParser(t1, logger);
  11678. },
  11679. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  11680. this.scanner = t0;
  11681. this.logger = t1;
  11682. },
  11683. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  11684. this.$this = t0;
  11685. },
  11686. MediaQueryParser: function MediaQueryParser(t0, t1) {
  11687. this.scanner = t0;
  11688. this.logger = t1;
  11689. },
  11690. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  11691. this.$this = t0;
  11692. },
  11693. Parser_isIdentifier(text) {
  11694. var t1, t2, exception, logger = null;
  11695. try {
  11696. t1 = logger;
  11697. t2 = A.SpanScanner$(text, null);
  11698. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
  11699. return true;
  11700. } catch (exception) {
  11701. if (A.unwrapException(exception) instanceof A.SassFormatException)
  11702. return false;
  11703. else
  11704. throw exception;
  11705. }
  11706. },
  11707. Parser: function Parser(t0, t1) {
  11708. this.scanner = t0;
  11709. this.logger = t1;
  11710. },
  11711. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  11712. this.$this = t0;
  11713. },
  11714. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  11715. this.caseSensitive = t0;
  11716. this.char = t1;
  11717. },
  11718. SassParser: function SassParser(t0, t1, t2) {
  11719. var _ = this;
  11720. _._currentIndentation = 0;
  11721. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  11722. _._isUseAllowed = true;
  11723. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11724. _._globalVariables = t0;
  11725. _.lastSilentComment = null;
  11726. _.scanner = t1;
  11727. _.logger = t2;
  11728. },
  11729. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  11730. this.$this = t0;
  11731. this.child = t1;
  11732. this.children = t2;
  11733. },
  11734. ScssParser$(contents, logger, url) {
  11735. var t1 = A.SpanScanner$(contents, url),
  11736. t2 = logger == null ? B.StderrLogger_false : logger;
  11737. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
  11738. },
  11739. ScssParser: function ScssParser(t0, t1, t2) {
  11740. var _ = this;
  11741. _._isUseAllowed = true;
  11742. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11743. _._globalVariables = t0;
  11744. _.lastSilentComment = null;
  11745. _.scanner = t1;
  11746. _.logger = t2;
  11747. },
  11748. SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
  11749. var t1 = A.SpanScanner$(contents, url);
  11750. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
  11751. },
  11752. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  11753. var _ = this;
  11754. _._allowParent = t0;
  11755. _._allowPlaceholder = t1;
  11756. _.scanner = t2;
  11757. _.logger = t3;
  11758. },
  11759. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  11760. this.$this = t0;
  11761. },
  11762. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  11763. this.$this = t0;
  11764. },
  11765. StylesheetParser: function StylesheetParser() {
  11766. },
  11767. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  11768. this.$this = t0;
  11769. },
  11770. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  11771. this.$this = t0;
  11772. },
  11773. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  11774. },
  11775. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  11776. this.$this = t0;
  11777. },
  11778. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  11779. this.$this = t0;
  11780. },
  11781. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  11782. this.$this = t0;
  11783. },
  11784. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  11785. this.$this = t0;
  11786. this.production = t1;
  11787. this.T = t2;
  11788. },
  11789. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  11790. this.$this = t0;
  11791. },
  11792. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  11793. this.$this = t0;
  11794. this.start = t1;
  11795. },
  11796. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  11797. this.declaration = t0;
  11798. },
  11799. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  11800. this.name = t0;
  11801. },
  11802. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  11803. this._box_0 = t0;
  11804. this.name = t1;
  11805. },
  11806. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  11807. var _ = this;
  11808. _._box_0 = t0;
  11809. _.$this = t1;
  11810. _.wasInStyleRule = t2;
  11811. _.start = t3;
  11812. },
  11813. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  11814. this._box_0 = t0;
  11815. },
  11816. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  11817. this._box_0 = t0;
  11818. this.value = t1;
  11819. },
  11820. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  11821. this.query = t0;
  11822. },
  11823. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  11824. },
  11825. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  11826. var _ = this;
  11827. _.$this = t0;
  11828. _.wasInControlDirective = t1;
  11829. _.variables = t2;
  11830. _.list = t3;
  11831. },
  11832. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  11833. this.name = t0;
  11834. this.$arguments = t1;
  11835. this.precedingComment = t2;
  11836. },
  11837. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  11838. this._box_0 = t0;
  11839. this.$this = t1;
  11840. },
  11841. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  11842. var _ = this;
  11843. _._box_0 = t0;
  11844. _.$this = t1;
  11845. _.wasInControlDirective = t2;
  11846. _.variable = t3;
  11847. _.from = t4;
  11848. _.to = t5;
  11849. },
  11850. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  11851. this.$this = t0;
  11852. this.variables = t1;
  11853. this.identifiers = t2;
  11854. },
  11855. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  11856. this.contentArguments_ = t0;
  11857. },
  11858. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  11859. this.query = t0;
  11860. },
  11861. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  11862. var _ = this;
  11863. _.$this = t0;
  11864. _.name = t1;
  11865. _.$arguments = t2;
  11866. _.precedingComment = t3;
  11867. },
  11868. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  11869. var _ = this;
  11870. _._box_0 = t0;
  11871. _.$this = t1;
  11872. _.name = t2;
  11873. _.value = t3;
  11874. },
  11875. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  11876. this.condition = t0;
  11877. },
  11878. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  11879. this.$this = t0;
  11880. this.wasInControlDirective = t1;
  11881. this.condition = t2;
  11882. },
  11883. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  11884. this._box_0 = t0;
  11885. this.name = t1;
  11886. },
  11887. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  11888. this._box_0 = t0;
  11889. this.$this = t1;
  11890. this.start = t2;
  11891. },
  11892. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  11893. this._box_0 = t0;
  11894. this.$this = t1;
  11895. },
  11896. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  11897. this._box_0 = t0;
  11898. this.resolveOneOperation = t1;
  11899. },
  11900. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  11901. var _ = this;
  11902. _._box_0 = t0;
  11903. _.$this = t1;
  11904. _.resetState = t2;
  11905. _.resolveOperations = t3;
  11906. },
  11907. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  11908. this._box_0 = t0;
  11909. this.$this = t1;
  11910. this.resolveOneOperation = t2;
  11911. },
  11912. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  11913. this._box_0 = t0;
  11914. this.$this = t1;
  11915. this.resolveOperations = t2;
  11916. },
  11917. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  11918. this.$this = t0;
  11919. },
  11920. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  11921. },
  11922. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  11923. },
  11924. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  11925. this.$this = t0;
  11926. this.start = t1;
  11927. },
  11928. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  11929. },
  11930. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  11931. this.$this = t0;
  11932. },
  11933. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  11934. this.$this = t0;
  11935. this.start = t1;
  11936. },
  11937. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  11938. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  11939. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  11940. return t1;
  11941. },
  11942. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  11943. this._nodes = t0;
  11944. this.importCache = t1;
  11945. this._transitiveModificationTimes = t2;
  11946. },
  11947. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  11948. this.$this = t0;
  11949. },
  11950. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  11951. this.node = t0;
  11952. this.transitiveModificationTime = t1;
  11953. },
  11954. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  11955. var _ = this;
  11956. _.$this = t0;
  11957. _.url = t1;
  11958. _.baseImporter = t2;
  11959. _.baseUrl = t3;
  11960. },
  11961. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  11962. var _ = this;
  11963. _.$this = t0;
  11964. _.importer = t1;
  11965. _.canonicalUrl = t2;
  11966. _.originalUrl = t3;
  11967. },
  11968. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  11969. this.$this = t0;
  11970. this.node = t1;
  11971. this.canonicalUrl = t2;
  11972. },
  11973. StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
  11974. var _ = this;
  11975. _.$this = t0;
  11976. _.importer = t1;
  11977. _.canonicalUrl = t2;
  11978. _.node = t3;
  11979. _.forImport = t4;
  11980. _.newMap = t5;
  11981. },
  11982. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  11983. var _ = this;
  11984. _.$this = t0;
  11985. _.url = t1;
  11986. _.baseImporter = t2;
  11987. _.baseUrl = t3;
  11988. _.forImport = t4;
  11989. },
  11990. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
  11991. var _ = this;
  11992. _.$this = t0;
  11993. _.importer = t1;
  11994. _.canonicalUrl = t2;
  11995. _.resolvedUrl = t3;
  11996. },
  11997. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  11998. var _ = this;
  11999. _._stylesheet = t0;
  12000. _.importer = t1;
  12001. _.canonicalUrl = t2;
  12002. _._upstream = t3;
  12003. _._upstreamImports = t4;
  12004. _._downstream = t5;
  12005. },
  12006. Syntax_forPath(path) {
  12007. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  12008. case ".sass":
  12009. return B.Syntax_Sass_sass;
  12010. case ".css":
  12011. return B.Syntax_CSS_css;
  12012. default:
  12013. return B.Syntax_SCSS_scss;
  12014. }
  12015. },
  12016. Syntax: function Syntax(t0, t1) {
  12017. this._syntax$_name = t0;
  12018. this._name = t1;
  12019. },
  12020. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  12021. var t2, key,
  12022. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  12023. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  12024. key = t2.get$current(t2);
  12025. if (!blocklist.contains$1(0, key))
  12026. t1.add$1(0, key);
  12027. }
  12028. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  12029. },
  12030. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  12031. this._limited_map_view$_map = t0;
  12032. this._limited_map_view$_keys = t1;
  12033. this.$ti = t2;
  12034. },
  12035. MergedMapView$(maps, $K, $V) {
  12036. var t1 = $K._eval$1("@<0>")._bind$1($V);
  12037. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  12038. t1.MergedMapView$1(maps, $K, $V);
  12039. return t1;
  12040. },
  12041. MergedMapView: function MergedMapView(t0, t1) {
  12042. this._mapsByKey = t0;
  12043. this.$ti = t1;
  12044. },
  12045. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  12046. this._watchers = t0;
  12047. this._group = t1;
  12048. this._poll = t2;
  12049. },
  12050. MultiSpan: function MultiSpan(t0, t1, t2) {
  12051. this._multi_span$_primary = t0;
  12052. this.primaryLabel = t1;
  12053. this.secondarySpans = t2;
  12054. },
  12055. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  12056. this._no_source_map_buffer$_buffer = t0;
  12057. },
  12058. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  12059. this._prefixed_map_view$_map = t0;
  12060. this._prefix = t1;
  12061. this.$ti = t2;
  12062. },
  12063. _PrefixedKeys: function _PrefixedKeys(t0) {
  12064. this._view = t0;
  12065. },
  12066. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  12067. this.$this = t0;
  12068. },
  12069. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  12070. this._public_member_map_view$_inner = t0;
  12071. this.$ti = t1;
  12072. },
  12073. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  12074. var _ = this;
  12075. _._source_map_buffer$_buffer = t0;
  12076. _._entries = t1;
  12077. _._column = _._line = 0;
  12078. _._inSpan = false;
  12079. },
  12080. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  12081. this._box_0 = t0;
  12082. this.prefixLength = t1;
  12083. },
  12084. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  12085. this._unprefixed_map_view$_map = t0;
  12086. this._unprefixed_map_view$_prefix = t1;
  12087. this.$ti = t2;
  12088. },
  12089. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  12090. this._unprefixed_map_view$_view = t0;
  12091. },
  12092. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  12093. this.$this = t0;
  12094. },
  12095. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  12096. this.$this = t0;
  12097. },
  12098. toSentence(iter, conjunction) {
  12099. var t1 = iter.__internal$_iterable,
  12100. t2 = J.getInterceptor$asx(t1);
  12101. if (t2.get$length(t1) === 1)
  12102. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  12103. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  12104. },
  12105. indent(string, indentation) {
  12106. return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
  12107. },
  12108. pluralize($name, number, plural) {
  12109. if (number === 1)
  12110. return $name;
  12111. if (plural != null)
  12112. return plural;
  12113. return $name + "s";
  12114. },
  12115. trimAscii(string, excludeEscape) {
  12116. var t1,
  12117. start = A._firstNonWhitespace(string);
  12118. if (start == null)
  12119. t1 = "";
  12120. else {
  12121. t1 = A._lastNonWhitespace(string, true);
  12122. t1.toString;
  12123. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  12124. }
  12125. return t1;
  12126. },
  12127. trimAsciiRight(string, excludeEscape) {
  12128. var end = A._lastNonWhitespace(string, excludeEscape);
  12129. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  12130. },
  12131. _firstNonWhitespace(string) {
  12132. var t1, i, t2;
  12133. for (t1 = string.length, i = 0; i < t1; ++i) {
  12134. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  12135. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  12136. return i;
  12137. }
  12138. return null;
  12139. },
  12140. _lastNonWhitespace(string, excludeEscape) {
  12141. var t1, i, codeUnit;
  12142. for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
  12143. codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
  12144. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  12145. if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
  12146. return i + 1;
  12147. else
  12148. return i;
  12149. }
  12150. return null;
  12151. },
  12152. isPublic(member) {
  12153. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  12154. return start !== 45 && start !== 95;
  12155. },
  12156. flattenVertically(iterable, $T) {
  12157. var result,
  12158. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  12159. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  12160. if (queues.length === 1)
  12161. return B.JSArray_methods.get$first(queues);
  12162. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  12163. for (; queues.length !== 0;) {
  12164. if (!!queues.fixed$length)
  12165. A.throwExpression(A.UnsupportedError$("removeWhere"));
  12166. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  12167. }
  12168. return result;
  12169. },
  12170. firstOrNull(iterable) {
  12171. var iterator = J.get$iterator$ax(iterable);
  12172. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  12173. },
  12174. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  12175. var codeUnitIndex, i, codeUnitIndex0;
  12176. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  12177. codeUnitIndex0 = codeUnitIndex + 1;
  12178. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  12179. }
  12180. return codeUnitIndex;
  12181. },
  12182. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  12183. var codepointIndex, i;
  12184. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  12185. ++codepointIndex;
  12186. return codepointIndex;
  12187. },
  12188. frameForSpan(span, member, url) {
  12189. var t2, t3,
  12190. t1 = url == null ? span.get$sourceUrl(span) : url;
  12191. if (t1 == null)
  12192. t1 = $.$get$_noSourceUrl();
  12193. t2 = span.get$start(span);
  12194. t2 = t2.file.getLine$1(t2.offset);
  12195. t3 = span.get$start(span);
  12196. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  12197. },
  12198. declarationName(span) {
  12199. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  12200. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  12201. },
  12202. unvendor($name) {
  12203. var i,
  12204. t1 = $name.length;
  12205. if (t1 < 2)
  12206. return $name;
  12207. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  12208. return $name;
  12209. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  12210. return $name;
  12211. for (i = 2; i < t1; ++i)
  12212. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  12213. return B.JSString_methods.substring$1($name, i + 1);
  12214. return $name;
  12215. },
  12216. equalsIgnoreCase(string1, string2) {
  12217. var t1, i;
  12218. if (string1 === string2)
  12219. return true;
  12220. if (string1 == null || false)
  12221. return false;
  12222. t1 = string1.length;
  12223. if (t1 !== string2.length)
  12224. return false;
  12225. for (i = 0; i < t1; ++i)
  12226. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  12227. return false;
  12228. return true;
  12229. },
  12230. startsWithIgnoreCase(string, prefix) {
  12231. var i,
  12232. t1 = prefix.length;
  12233. if (string.length < t1)
  12234. return false;
  12235. for (i = 0; i < t1; ++i)
  12236. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  12237. return false;
  12238. return true;
  12239. },
  12240. mapInPlace(list, $function) {
  12241. var i;
  12242. for (i = 0; i < list.length; ++i)
  12243. list[i] = $function.call$1(list[i]);
  12244. },
  12245. longestCommonSubsequence(list1, list2, select, $T) {
  12246. var t1, _i, selections, i, i0, j, selection, j0,
  12247. _length = list1.get$length(list1) + 1,
  12248. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  12249. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  12250. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  12251. _length = list1.get$length(list1);
  12252. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  12253. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  12254. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  12255. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  12256. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  12257. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  12258. selections[i][j] = selection;
  12259. t1 = lengths[i0];
  12260. j0 = j + 1;
  12261. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  12262. }
  12263. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  12264. },
  12265. removeFirstWhere(list, test, orElse) {
  12266. var i;
  12267. for (i = 0; i < list.length; ++i) {
  12268. if (!test.call$1(list[i]))
  12269. continue;
  12270. B.JSArray_methods.removeAt$1(list, i);
  12271. return;
  12272. }
  12273. orElse.call$0();
  12274. },
  12275. mapAddAll2(destination, source, K1, K2, $V) {
  12276. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  12277. },
  12278. setAll(map, keys, value) {
  12279. var t1;
  12280. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  12281. map.$indexSet(0, t1.get$current(t1), value);
  12282. },
  12283. rotateSlice(list, start, end) {
  12284. var i, next,
  12285. element = list.$index(0, end - 1);
  12286. for (i = start; i < end; ++i, element = next) {
  12287. next = list.$index(0, i);
  12288. list.$indexSet(0, i, element);
  12289. }
  12290. },
  12291. mapAsync(iterable, callback, $E, $F) {
  12292. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  12293. },
  12294. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  12295. var $async$goto = 0,
  12296. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12297. $async$returnValue, t2, _i, t1, $async$temp1;
  12298. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12299. if ($async$errorCode === 1)
  12300. return A._asyncRethrow($async$result, $async$completer);
  12301. while (true)
  12302. switch ($async$goto) {
  12303. case 0:
  12304. // Function start
  12305. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  12306. t2 = iterable.length, _i = 0;
  12307. case 3:
  12308. // for condition
  12309. if (!(_i < t2)) {
  12310. // goto after for
  12311. $async$goto = 5;
  12312. break;
  12313. }
  12314. $async$temp1 = t1;
  12315. $async$goto = 6;
  12316. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  12317. case 6:
  12318. // returning from await.
  12319. $async$temp1.push($async$result);
  12320. case 4:
  12321. // for update
  12322. ++_i;
  12323. // goto for condition
  12324. $async$goto = 3;
  12325. break;
  12326. case 5:
  12327. // after for
  12328. $async$returnValue = t1;
  12329. // goto return
  12330. $async$goto = 1;
  12331. break;
  12332. case 1:
  12333. // return
  12334. return A._asyncReturn($async$returnValue, $async$completer);
  12335. }
  12336. });
  12337. return A._asyncStartSync($async$mapAsync, $async$completer);
  12338. },
  12339. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  12340. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  12341. },
  12342. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  12343. var $async$goto = 0,
  12344. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12345. $async$returnValue, t1, value;
  12346. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12347. if ($async$errorCode === 1)
  12348. return A._asyncRethrow($async$result, $async$completer);
  12349. while (true)
  12350. switch ($async$goto) {
  12351. case 0:
  12352. // Function start
  12353. if (map.containsKey$1(key)) {
  12354. t1 = map.$index(0, key);
  12355. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  12356. // goto return
  12357. $async$goto = 1;
  12358. break;
  12359. }
  12360. $async$goto = 3;
  12361. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  12362. case 3:
  12363. // returning from await.
  12364. value = $async$result;
  12365. map.$indexSet(0, key, value);
  12366. $async$returnValue = value;
  12367. // goto return
  12368. $async$goto = 1;
  12369. break;
  12370. case 1:
  12371. // return
  12372. return A._asyncReturn($async$returnValue, $async$completer);
  12373. }
  12374. });
  12375. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  12376. },
  12377. copyMapOfMap(map, K1, K2, $V) {
  12378. var t2, t3, t4, t5,
  12379. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  12380. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12381. t3 = t2.get$current(t2);
  12382. t4 = t3.key;
  12383. t3 = t3.value;
  12384. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  12385. t5.addAll$1(0, t3);
  12386. t1.$indexSet(0, t4, t5);
  12387. }
  12388. return t1;
  12389. },
  12390. copyMapOfList(map, $K, $E) {
  12391. var t2, t3,
  12392. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  12393. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12394. t3 = t2.get$current(t2);
  12395. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  12396. }
  12397. return t1;
  12398. },
  12399. consumeEscapedCharacter(scanner) {
  12400. var first, value, i, next, t1;
  12401. scanner.expectChar$1(92);
  12402. first = scanner.peekChar$0();
  12403. if (first == null)
  12404. return 65533;
  12405. else if (first === 10 || first === 13 || first === 12)
  12406. scanner.error$1(0, "Expected escape sequence.");
  12407. else if (A.isHex(first)) {
  12408. for (value = 0, i = 0; i < 6; ++i) {
  12409. next = scanner.peekChar$0();
  12410. if (next == null || !A.isHex(next))
  12411. break;
  12412. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  12413. }
  12414. t1 = scanner.peekChar$0();
  12415. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  12416. scanner.readChar$0();
  12417. if (value !== 0)
  12418. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  12419. else
  12420. t1 = true;
  12421. if (t1)
  12422. return 65533;
  12423. else
  12424. return value;
  12425. } else
  12426. return scanner.readChar$0();
  12427. },
  12428. throwWithTrace(error, trace) {
  12429. A.attachTrace(error, trace);
  12430. throw A.wrapException(error);
  12431. },
  12432. attachTrace(error, trace) {
  12433. var t1;
  12434. if (trace.toString$0(0).length === 0)
  12435. return;
  12436. t1 = $.$get$_traces();
  12437. A.Expando__checkType(error);
  12438. t1 = t1._jsWeakMap;
  12439. if (t1.get(error) == null)
  12440. t1.set(error, trace);
  12441. },
  12442. getTrace(error) {
  12443. var t1;
  12444. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  12445. t1 = null;
  12446. else {
  12447. t1 = $.$get$_traces();
  12448. A.Expando__checkType(error);
  12449. t1 = t1._jsWeakMap.get(error);
  12450. }
  12451. return t1;
  12452. },
  12453. IterableExtension_get_exceptLast(_this) {
  12454. var t1 = J.getInterceptor$asx(_this),
  12455. size = t1.get$length(_this) - 1;
  12456. if (size < 0)
  12457. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  12458. return t1.take$1(_this, size);
  12459. },
  12460. indent_closure: function indent_closure(t0) {
  12461. this.indentation = t0;
  12462. },
  12463. flattenVertically_closure: function flattenVertically_closure(t0) {
  12464. this.T = t0;
  12465. },
  12466. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  12467. this.result = t0;
  12468. this.T = t1;
  12469. },
  12470. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  12471. this.selections = t0;
  12472. this.lengths = t1;
  12473. this.T = t2;
  12474. },
  12475. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  12476. var _ = this;
  12477. _.destination = t0;
  12478. _.K1 = t1;
  12479. _.K2 = t2;
  12480. _.V = t3;
  12481. },
  12482. SassApiValue_assertSelector(_this, allowParent, $name) {
  12483. var error, stackTrace, t1, exception,
  12484. string = _this._selectorString$1($name);
  12485. try {
  12486. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
  12487. return t1;
  12488. } catch (exception) {
  12489. t1 = A.unwrapException(exception);
  12490. if (t1 instanceof A.SassFormatException) {
  12491. error = t1;
  12492. stackTrace = A.getTraceFromException(exception);
  12493. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12494. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  12495. } else
  12496. throw exception;
  12497. }
  12498. },
  12499. SassApiValue_assertCompoundSelector(_this, $name) {
  12500. var error, stackTrace, t1, exception,
  12501. allowParent = false,
  12502. string = _this._selectorString$1($name);
  12503. try {
  12504. t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
  12505. return t1;
  12506. } catch (exception) {
  12507. t1 = A.unwrapException(exception);
  12508. if (t1 instanceof A.SassFormatException) {
  12509. error = t1;
  12510. stackTrace = A.getTraceFromException(exception);
  12511. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12512. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
  12513. } else
  12514. throw exception;
  12515. }
  12516. },
  12517. Value: function Value() {
  12518. },
  12519. SassArgumentList$(contents, keywords, separator) {
  12520. var t1 = type$.Value;
  12521. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  12522. t1.SassList$3$brackets(contents, separator, false);
  12523. return t1;
  12524. },
  12525. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  12526. var _ = this;
  12527. _._keywords = t0;
  12528. _._wereKeywordsAccessed = false;
  12529. _._list$_contents = t1;
  12530. _._separator = t2;
  12531. _._hasBrackets = t3;
  12532. },
  12533. SassBoolean: function SassBoolean(t0) {
  12534. this.value = t0;
  12535. },
  12536. SassCalculation_calc(argument) {
  12537. argument = A.SassCalculation__simplify(argument);
  12538. if (argument instanceof A.SassNumber)
  12539. return argument;
  12540. if (argument instanceof A.SassCalculation)
  12541. return argument;
  12542. return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
  12543. },
  12544. SassCalculation_min($arguments) {
  12545. var minimum, _i, arg, t2,
  12546. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12547. t1 = args.length;
  12548. if (t1 === 0)
  12549. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  12550. for (minimum = null, _i = 0; _i < t1; ++_i) {
  12551. arg = args[_i];
  12552. if (arg instanceof A.SassNumber)
  12553. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  12554. else
  12555. t2 = true;
  12556. if (t2) {
  12557. minimum = null;
  12558. break;
  12559. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  12560. minimum = arg;
  12561. }
  12562. if (minimum != null)
  12563. return minimum;
  12564. A.SassCalculation__verifyCompatibleNumbers(args);
  12565. return new A.SassCalculation("min", args);
  12566. },
  12567. SassCalculation_max($arguments) {
  12568. var maximum, _i, arg, t2,
  12569. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12570. t1 = args.length;
  12571. if (t1 === 0)
  12572. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  12573. for (maximum = null, _i = 0; _i < t1; ++_i) {
  12574. arg = args[_i];
  12575. if (arg instanceof A.SassNumber)
  12576. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  12577. else
  12578. t2 = true;
  12579. if (t2) {
  12580. maximum = null;
  12581. break;
  12582. } else if (maximum == null || maximum.lessThan$1(arg).value)
  12583. maximum = arg;
  12584. }
  12585. if (maximum != null)
  12586. return maximum;
  12587. A.SassCalculation__verifyCompatibleNumbers(args);
  12588. return new A.SassCalculation("max", args);
  12589. },
  12590. SassCalculation_clamp(min, value, max) {
  12591. var t1, args;
  12592. if (value == null && max != null)
  12593. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  12594. min = A.SassCalculation__simplify(min);
  12595. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  12596. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  12597. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  12598. if (value.lessThanOrEquals$1(min).value)
  12599. return min;
  12600. if (value.greaterThanOrEquals$1(max).value)
  12601. return max;
  12602. return value;
  12603. }
  12604. t1 = [min];
  12605. if (value != null)
  12606. t1.push(value);
  12607. if (max != null)
  12608. t1.push(max);
  12609. args = A.List_List$unmodifiable(t1, type$.Object);
  12610. A.SassCalculation__verifyCompatibleNumbers(args);
  12611. A.SassCalculation__verifyLength(args, 3);
  12612. return new A.SassCalculation("clamp", args);
  12613. },
  12614. SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
  12615. var t1, t2;
  12616. if (!simplify)
  12617. return new A.CalculationOperation(operator, left, right);
  12618. left = A.SassCalculation__simplify(left);
  12619. right = A.SassCalculation__simplify(right);
  12620. t1 = operator === B.CalculationOperator_IyK;
  12621. if (t1 || operator === B.CalculationOperator_2bx) {
  12622. if (left instanceof A.SassNumber)
  12623. if (right instanceof A.SassNumber)
  12624. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  12625. else
  12626. t2 = false;
  12627. else
  12628. t2 = false;
  12629. if (t2)
  12630. return t1 ? left.plus$1(right) : left.minus$1(right);
  12631. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  12632. if (right instanceof A.SassNumber) {
  12633. t2 = right._number$_value;
  12634. t2 = t2 < 0 && !A.fuzzyEquals(t2, 0);
  12635. } else
  12636. t2 = false;
  12637. if (t2) {
  12638. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  12639. operator = t1 ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  12640. }
  12641. return new A.CalculationOperation(operator, left, right);
  12642. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  12643. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  12644. else
  12645. return new A.CalculationOperation(operator, left, right);
  12646. },
  12647. SassCalculation__simplify(arg) {
  12648. var _s32_ = " can't be used in a calculation.";
  12649. if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
  12650. return arg;
  12651. else if (arg instanceof A.SassString) {
  12652. if (!arg._hasQuotes)
  12653. return arg;
  12654. throw A.wrapException(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, null));
  12655. } else if (arg instanceof A.SassCalculation)
  12656. return arg.name === "calc" ? arg.$arguments[0] : arg;
  12657. else if (arg instanceof A.Value)
  12658. throw A.wrapException(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, null));
  12659. else
  12660. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  12661. },
  12662. SassCalculation__verifyCompatibleNumbers(args) {
  12663. var t1, _i, t2, arg, i, number1, j, number2;
  12664. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  12665. arg = args[_i];
  12666. if (!(arg instanceof A.SassNumber))
  12667. continue;
  12668. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  12669. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  12670. }
  12671. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  12672. number1 = args[i];
  12673. if (!(number1 instanceof A.SassNumber))
  12674. continue;
  12675. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  12676. number2 = args[j];
  12677. if (!(number2 instanceof A.SassNumber))
  12678. continue;
  12679. if (number1.hasPossiblyCompatibleUnits$1(number2))
  12680. continue;
  12681. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  12682. }
  12683. }
  12684. },
  12685. SassCalculation__verifyLength(args, expectedLength) {
  12686. var t1 = args.length;
  12687. if (t1 === expectedLength)
  12688. return;
  12689. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  12690. return;
  12691. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  12692. },
  12693. SassCalculation: function SassCalculation(t0, t1) {
  12694. this.name = t0;
  12695. this.$arguments = t1;
  12696. },
  12697. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  12698. },
  12699. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  12700. this.operator = t0;
  12701. this.left = t1;
  12702. this.right = t2;
  12703. },
  12704. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  12705. var _ = this;
  12706. _.name = t0;
  12707. _.operator = t1;
  12708. _.precedence = t2;
  12709. _._name = t3;
  12710. },
  12711. CalculationInterpolation: function CalculationInterpolation(t0) {
  12712. this.value = t0;
  12713. },
  12714. SassColor$rgb(red, green, blue, alpha) {
  12715. var _null = null,
  12716. t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
  12717. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  12718. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  12719. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  12720. return t1;
  12721. },
  12722. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  12723. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  12724. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  12725. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  12726. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  12727. return t1;
  12728. },
  12729. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  12730. var t1 = B.JSNumber_methods.$mod(hue, 360),
  12731. t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
  12732. t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
  12733. return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  12734. },
  12735. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  12736. var t2, t1 = {},
  12737. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  12738. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  12739. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  12740. sum = scaledWhiteness + scaledBlackness;
  12741. if (sum > 1) {
  12742. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  12743. scaledBlackness /= sum;
  12744. } else
  12745. t2 = scaledWhiteness;
  12746. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  12747. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  12748. },
  12749. SassColor__hueToRgb(m1, m2, hue) {
  12750. if (hue < 0)
  12751. ++hue;
  12752. if (hue > 1)
  12753. --hue;
  12754. if (hue < 0.16666666666666666)
  12755. return m1 + (m2 - m1) * hue * 6;
  12756. else if (hue < 0.5)
  12757. return m2;
  12758. else if (hue < 0.6666666666666666)
  12759. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  12760. else
  12761. return m1;
  12762. },
  12763. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  12764. var _ = this;
  12765. _._red = t0;
  12766. _._green = t1;
  12767. _._blue = t2;
  12768. _._hue = t3;
  12769. _._saturation = t4;
  12770. _._lightness = t5;
  12771. _._alpha = t6;
  12772. _.format = t7;
  12773. },
  12774. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  12775. this._box_0 = t0;
  12776. this.factor = t1;
  12777. },
  12778. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  12779. this._color$_name = t0;
  12780. },
  12781. SpanColorFormat: function SpanColorFormat(t0) {
  12782. this._color$_span = t0;
  12783. },
  12784. SassFunction: function SassFunction(t0) {
  12785. this.callable = t0;
  12786. },
  12787. SassList$(contents, _separator, brackets) {
  12788. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  12789. t1.SassList$3$brackets(contents, _separator, brackets);
  12790. return t1;
  12791. },
  12792. SassList: function SassList(t0, t1, t2) {
  12793. this._list$_contents = t0;
  12794. this._separator = t1;
  12795. this._hasBrackets = t2;
  12796. },
  12797. SassList_isBlank_closure: function SassList_isBlank_closure() {
  12798. },
  12799. ListSeparator: function ListSeparator(t0, t1, t2) {
  12800. this._list$_name = t0;
  12801. this.separator = t1;
  12802. this._name = t2;
  12803. },
  12804. SassMap: function SassMap(t0) {
  12805. this._map$_contents = t0;
  12806. },
  12807. SassMap_asList_closure: function SassMap_asList_closure(t0) {
  12808. this.result = t0;
  12809. },
  12810. _SassNull: function _SassNull() {
  12811. },
  12812. conversionFactor(unit1, unit2) {
  12813. var innerMap;
  12814. if (unit1 === unit2)
  12815. return 1;
  12816. innerMap = B.Map_K2BWj.$index(0, unit1);
  12817. if (innerMap == null)
  12818. return null;
  12819. return innerMap.$index(0, unit2);
  12820. },
  12821. SassNumber_SassNumber(value, unit) {
  12822. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  12823. },
  12824. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  12825. var t1, numerators, unsimplifiedDenominators, denominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  12826. if (denominatorUnits == null || denominatorUnits.length === 0) {
  12827. t1 = numeratorUnits.length;
  12828. if (t1 === 0)
  12829. return new A.UnitlessSassNumber(value, _null);
  12830. else if (t1 === 1)
  12831. return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
  12832. else
  12833. return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  12834. } else {
  12835. t1 = numeratorUnits.length;
  12836. if (t1 === 0)
  12837. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  12838. else {
  12839. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  12840. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
  12841. denominators = A._setArrayType([], type$.JSArray_String);
  12842. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  12843. denominator = unsimplifiedDenominators[_i];
  12844. i = 0;
  12845. while (true) {
  12846. if (!(i < numerators.length)) {
  12847. simplifiedAway = false;
  12848. break;
  12849. }
  12850. c$0: {
  12851. factor = A.conversionFactor(denominator, numerators[i]);
  12852. if (factor == null)
  12853. break c$0;
  12854. valueDouble *= factor;
  12855. B.JSArray_methods.removeAt$1(numerators, i);
  12856. simplifiedAway = true;
  12857. break;
  12858. }
  12859. ++i;
  12860. }
  12861. if (!simplifiedAway)
  12862. denominators.push(denominator);
  12863. }
  12864. if (denominatorUnits.length === 0) {
  12865. t1 = numeratorUnits.length;
  12866. if (t1 === 0)
  12867. return new A.UnitlessSassNumber(valueDouble, _null);
  12868. else if (t1 === 1)
  12869. return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), valueDouble, _null);
  12870. }
  12871. t1 = type$.String;
  12872. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  12873. }
  12874. }
  12875. },
  12876. SassNumber: function SassNumber() {
  12877. },
  12878. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  12879. var _ = this;
  12880. _.$this = t0;
  12881. _.other = t1;
  12882. _.otherName = t2;
  12883. _.otherHasUnits = t3;
  12884. _.name = t4;
  12885. _.newNumerators = t5;
  12886. _.newDenominators = t6;
  12887. },
  12888. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  12889. this._box_0 = t0;
  12890. this.newNumerator = t1;
  12891. },
  12892. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  12893. this.compatibilityException = t0;
  12894. },
  12895. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  12896. this._box_0 = t0;
  12897. this.newDenominator = t1;
  12898. },
  12899. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  12900. this.compatibilityException = t0;
  12901. },
  12902. SassNumber_plus_closure: function SassNumber_plus_closure() {
  12903. },
  12904. SassNumber_minus_closure: function SassNumber_minus_closure() {
  12905. },
  12906. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  12907. this._box_0 = t0;
  12908. this.numerator = t1;
  12909. },
  12910. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  12911. this.newNumerators = t0;
  12912. this.numerator = t1;
  12913. },
  12914. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  12915. this._box_0 = t0;
  12916. this.numerator = t1;
  12917. },
  12918. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  12919. this.newNumerators = t0;
  12920. this.numerator = t1;
  12921. },
  12922. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  12923. this.units2 = t0;
  12924. },
  12925. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  12926. },
  12927. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  12928. this.$this = t0;
  12929. },
  12930. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  12931. var _ = this;
  12932. _._numeratorUnits = t0;
  12933. _._denominatorUnits = t1;
  12934. _._number$_value = t2;
  12935. _.hashCache = null;
  12936. _.asSlash = t3;
  12937. },
  12938. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  12939. var _ = this;
  12940. _._unit = t0;
  12941. _._number$_value = t1;
  12942. _.hashCache = null;
  12943. _.asSlash = t2;
  12944. },
  12945. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  12946. this.$this = t0;
  12947. this.unit = t1;
  12948. },
  12949. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  12950. this.$this = t0;
  12951. },
  12952. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  12953. this._box_0 = t0;
  12954. this.$this = t1;
  12955. },
  12956. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  12957. this._box_0 = t0;
  12958. this.$this = t1;
  12959. },
  12960. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  12961. this._number$_value = t0;
  12962. this.hashCache = null;
  12963. this.asSlash = t1;
  12964. },
  12965. SassString$(_text, quotes) {
  12966. return new A.SassString(_text, quotes);
  12967. },
  12968. SassString: function SassString(t0, t1) {
  12969. var _ = this;
  12970. _._string$_text = t0;
  12971. _._hasQuotes = t1;
  12972. _.__SassString__sassLength_FI = $;
  12973. _._hashCache = null;
  12974. },
  12975. AnySelectorVisitor: function AnySelectorVisitor() {
  12976. },
  12977. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  12978. this.$this = t0;
  12979. },
  12980. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  12981. this.$this = t0;
  12982. },
  12983. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  12984. var t1 = type$.Uri,
  12985. t2 = type$.Module_AsyncCallable,
  12986. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
  12987. t4 = logger == null ? B.StderrLogger_false : logger;
  12988. t3 = new A._EvaluateVisitor0(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  12989. t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  12990. return t3;
  12991. },
  12992. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  12993. var _ = this;
  12994. _._async_evaluate$_importCache = t0;
  12995. _._async_evaluate$_nodeImporter = t1;
  12996. _._async_evaluate$_builtInFunctions = t2;
  12997. _._async_evaluate$_builtInModules = t3;
  12998. _._async_evaluate$_modules = t4;
  12999. _._async_evaluate$_moduleConfigurations = t5;
  13000. _._async_evaluate$_moduleNodes = t6;
  13001. _._async_evaluate$_logger = t7;
  13002. _._async_evaluate$_warningsEmitted = t8;
  13003. _._async_evaluate$_quietDeps = t9;
  13004. _._async_evaluate$_sourceMap = t10;
  13005. _._async_evaluate$_environment = t11;
  13006. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  13007. _._async_evaluate$_member = "root stylesheet";
  13008. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  13009. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  13010. _._async_evaluate$_loadedUrls = t12;
  13011. _._async_evaluate$_activeModules = t13;
  13012. _._async_evaluate$_stack = t14;
  13013. _._async_evaluate$_importer = null;
  13014. _._async_evaluate$_inDependency = false;
  13015. _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  13016. _._async_evaluate$_configuration = t15;
  13017. },
  13018. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  13019. this.$this = t0;
  13020. },
  13021. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  13022. this.$this = t0;
  13023. },
  13024. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  13025. this.$this = t0;
  13026. },
  13027. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  13028. this.$this = t0;
  13029. },
  13030. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  13031. this.$this = t0;
  13032. },
  13033. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  13034. this.$this = t0;
  13035. },
  13036. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  13037. this.$this = t0;
  13038. },
  13039. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  13040. this.$this = t0;
  13041. },
  13042. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
  13043. this.$this = t0;
  13044. this.name = t1;
  13045. this.module = t2;
  13046. },
  13047. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  13048. this.$this = t0;
  13049. },
  13050. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  13051. this.$this = t0;
  13052. },
  13053. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  13054. this.values = t0;
  13055. this.span = t1;
  13056. this.callableNode = t2;
  13057. },
  13058. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
  13059. this.$this = t0;
  13060. },
  13061. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  13062. this.$this = t0;
  13063. this.node = t1;
  13064. this.importer = t2;
  13065. },
  13066. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  13067. this.callback = t0;
  13068. this.builtInModule = t1;
  13069. },
  13070. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  13071. var _ = this;
  13072. _.$this = t0;
  13073. _.url = t1;
  13074. _.nodeWithSpan = t2;
  13075. _.baseUrl = t3;
  13076. _.namesInErrors = t4;
  13077. _.configuration = t5;
  13078. _.callback = t6;
  13079. },
  13080. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
  13081. this.$this = t0;
  13082. this.message = t1;
  13083. },
  13084. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
  13085. var _ = this;
  13086. _.$this = t0;
  13087. _.importer = t1;
  13088. _.stylesheet = t2;
  13089. _.extensionStore = t3;
  13090. _.configuration = t4;
  13091. _.css = t5;
  13092. },
  13093. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
  13094. },
  13095. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
  13096. this.selectors = t0;
  13097. },
  13098. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
  13099. },
  13100. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  13101. this.originalSelectors = t0;
  13102. },
  13103. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  13104. },
  13105. _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
  13106. this.seen = t0;
  13107. this.sorted = t1;
  13108. },
  13109. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  13110. this.$this = t0;
  13111. this.resolved = t1;
  13112. },
  13113. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  13114. this.$this = t0;
  13115. this.node = t1;
  13116. },
  13117. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  13118. this.$this = t0;
  13119. this.node = t1;
  13120. },
  13121. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  13122. this.$this = t0;
  13123. this.newParent = t1;
  13124. this.node = t2;
  13125. },
  13126. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  13127. this.$this = t0;
  13128. this.innerScope = t1;
  13129. },
  13130. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  13131. this.$this = t0;
  13132. this.innerScope = t1;
  13133. },
  13134. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  13135. this.innerScope = t0;
  13136. this.callback = t1;
  13137. },
  13138. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  13139. this.$this = t0;
  13140. this.innerScope = t1;
  13141. },
  13142. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  13143. },
  13144. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  13145. this.$this = t0;
  13146. this.innerScope = t1;
  13147. },
  13148. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  13149. this.$this = t0;
  13150. this.content = t1;
  13151. },
  13152. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
  13153. this.$this = t0;
  13154. },
  13155. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  13156. this.$this = t0;
  13157. this.children = t1;
  13158. },
  13159. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  13160. this.$this = t0;
  13161. this.node = t1;
  13162. this.nodeWithSpan = t2;
  13163. },
  13164. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  13165. this.$this = t0;
  13166. this.node = t1;
  13167. this.nodeWithSpan = t2;
  13168. },
  13169. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  13170. var _ = this;
  13171. _.$this = t0;
  13172. _.list = t1;
  13173. _.setVariables = t2;
  13174. _.node = t3;
  13175. },
  13176. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  13177. this.$this = t0;
  13178. this.setVariables = t1;
  13179. this.node = t2;
  13180. },
  13181. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  13182. this.$this = t0;
  13183. },
  13184. _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
  13185. this.$this = t0;
  13186. this.targetText = t1;
  13187. },
  13188. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  13189. this.$this = t0;
  13190. },
  13191. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
  13192. this.$this = t0;
  13193. this.children = t1;
  13194. },
  13195. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  13196. this.$this = t0;
  13197. this.children = t1;
  13198. },
  13199. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  13200. },
  13201. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  13202. this.$this = t0;
  13203. this.node = t1;
  13204. },
  13205. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  13206. this.$this = t0;
  13207. this.node = t1;
  13208. },
  13209. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  13210. this.fromNumber = t0;
  13211. },
  13212. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  13213. this.toNumber = t0;
  13214. this.fromNumber = t1;
  13215. },
  13216. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  13217. var _ = this;
  13218. _._box_0 = t0;
  13219. _.$this = t1;
  13220. _.node = t2;
  13221. _.from = t3;
  13222. _.direction = t4;
  13223. _.fromNumber = t5;
  13224. },
  13225. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  13226. this.$this = t0;
  13227. },
  13228. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  13229. this.$this = t0;
  13230. this.node = t1;
  13231. },
  13232. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  13233. this.$this = t0;
  13234. this.node = t1;
  13235. },
  13236. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
  13237. this._box_0 = t0;
  13238. this.$this = t1;
  13239. },
  13240. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
  13241. this.$this = t0;
  13242. },
  13243. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  13244. this.$this = t0;
  13245. this.$import = t1;
  13246. },
  13247. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  13248. this.$this = t0;
  13249. },
  13250. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  13251. },
  13252. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  13253. },
  13254. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
  13255. var _ = this;
  13256. _.$this = t0;
  13257. _.result = t1;
  13258. _.stylesheet = t2;
  13259. _.loadsUserDefinedModules = t3;
  13260. _.environment = t4;
  13261. _.children = t5;
  13262. },
  13263. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
  13264. this.$this = t0;
  13265. this.node = t1;
  13266. },
  13267. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  13268. this.node = t0;
  13269. },
  13270. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  13271. this.$this = t0;
  13272. },
  13273. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
  13274. var _ = this;
  13275. _.$this = t0;
  13276. _.contentCallable = t1;
  13277. _.mixin = t2;
  13278. _.nodeWithSpan = t3;
  13279. },
  13280. _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
  13281. this.$this = t0;
  13282. this.mixin = t1;
  13283. this.nodeWithSpan = t2;
  13284. },
  13285. _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
  13286. this.$this = t0;
  13287. this.mixin = t1;
  13288. this.nodeWithSpan = t2;
  13289. },
  13290. _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
  13291. this.$this = t0;
  13292. this.statement = t1;
  13293. },
  13294. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  13295. this.$this = t0;
  13296. this.queries = t1;
  13297. },
  13298. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  13299. var _ = this;
  13300. _.$this = t0;
  13301. _.mergedQueries = t1;
  13302. _.queries = t2;
  13303. _.mergedSources = t3;
  13304. _.node = t4;
  13305. },
  13306. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  13307. this.$this = t0;
  13308. this.node = t1;
  13309. },
  13310. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  13311. this.$this = t0;
  13312. this.node = t1;
  13313. },
  13314. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  13315. this.mergedSources = t0;
  13316. },
  13317. _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
  13318. this.$this = t0;
  13319. this.resolved = t1;
  13320. },
  13321. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  13322. this.$this = t0;
  13323. this.selectorText = t1;
  13324. },
  13325. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8(t0, t1) {
  13326. this.$this = t0;
  13327. this.node = t1;
  13328. },
  13329. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  13330. },
  13331. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
  13332. this.$this = t0;
  13333. this.selectorText = t1;
  13334. },
  13335. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  13336. this._box_0 = t0;
  13337. this.$this = t1;
  13338. },
  13339. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12(t0, t1, t2) {
  13340. this.$this = t0;
  13341. this.rule = t1;
  13342. this.node = t2;
  13343. },
  13344. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  13345. this.$this = t0;
  13346. this.node = t1;
  13347. },
  13348. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  13349. },
  13350. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14() {
  13351. },
  13352. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  13353. this.$this = t0;
  13354. this.node = t1;
  13355. },
  13356. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  13357. this.$this = t0;
  13358. this.node = t1;
  13359. },
  13360. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  13361. },
  13362. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  13363. this.$this = t0;
  13364. this.node = t1;
  13365. this.override = t2;
  13366. },
  13367. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  13368. this.$this = t0;
  13369. this.node = t1;
  13370. },
  13371. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  13372. this.$this = t0;
  13373. this.node = t1;
  13374. this.value = t2;
  13375. },
  13376. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  13377. this.$this = t0;
  13378. this.node = t1;
  13379. },
  13380. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  13381. this.$this = t0;
  13382. this.node = t1;
  13383. },
  13384. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  13385. this.$this = t0;
  13386. this.node = t1;
  13387. },
  13388. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  13389. this.$this = t0;
  13390. },
  13391. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  13392. this.$this = t0;
  13393. this.node = t1;
  13394. },
  13395. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
  13396. },
  13397. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  13398. this.$this = t0;
  13399. this.node = t1;
  13400. },
  13401. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  13402. this.node = t0;
  13403. this.operand = t1;
  13404. },
  13405. _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
  13406. this.$this = t0;
  13407. this.node = t1;
  13408. this.inMinMax = t2;
  13409. },
  13410. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  13411. this.$this = t0;
  13412. },
  13413. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
  13414. this.$this = t0;
  13415. this.node = t1;
  13416. },
  13417. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
  13418. this._box_0 = t0;
  13419. this.$this = t1;
  13420. this.node = t2;
  13421. },
  13422. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  13423. this.$this = t0;
  13424. this.node = t1;
  13425. this.$function = t2;
  13426. },
  13427. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  13428. var _ = this;
  13429. _.$this = t0;
  13430. _.callable = t1;
  13431. _.evaluated = t2;
  13432. _.nodeWithSpan = t3;
  13433. _.run = t4;
  13434. _.V = t5;
  13435. },
  13436. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  13437. var _ = this;
  13438. _.$this = t0;
  13439. _.evaluated = t1;
  13440. _.callable = t2;
  13441. _.nodeWithSpan = t3;
  13442. _.run = t4;
  13443. _.V = t5;
  13444. },
  13445. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  13446. var _ = this;
  13447. _.$this = t0;
  13448. _.evaluated = t1;
  13449. _.callable = t2;
  13450. _.nodeWithSpan = t3;
  13451. _.run = t4;
  13452. _.V = t5;
  13453. },
  13454. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  13455. },
  13456. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  13457. this.$this = t0;
  13458. this.callable = t1;
  13459. },
  13460. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
  13461. this.overload = t0;
  13462. this.evaluated = t1;
  13463. this.namedSet = t2;
  13464. },
  13465. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
  13466. },
  13467. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  13468. },
  13469. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  13470. this.$this = t0;
  13471. this.restNodeForSpan = t1;
  13472. },
  13473. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  13474. var _ = this;
  13475. _.$this = t0;
  13476. _.named = t1;
  13477. _.restNodeForSpan = t2;
  13478. _.namedNodes = t3;
  13479. },
  13480. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  13481. },
  13482. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  13483. this.restArgs = t0;
  13484. },
  13485. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  13486. this.$this = t0;
  13487. this.restNodeForSpan = t1;
  13488. this.restArgs = t2;
  13489. },
  13490. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  13491. var _ = this;
  13492. _.$this = t0;
  13493. _.named = t1;
  13494. _.restNodeForSpan = t2;
  13495. _.restArgs = t3;
  13496. },
  13497. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  13498. this.$this = t0;
  13499. this.keywordRestNodeForSpan = t1;
  13500. this.keywordRestArgs = t2;
  13501. },
  13502. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  13503. var _ = this;
  13504. _.$this = t0;
  13505. _.values = t1;
  13506. _.convert = t2;
  13507. _.expressionNode = t3;
  13508. _.map = t4;
  13509. _.nodeWithSpan = t5;
  13510. },
  13511. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  13512. this.$arguments = t0;
  13513. this.positional = t1;
  13514. this.named = t2;
  13515. },
  13516. _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
  13517. this.$this = t0;
  13518. },
  13519. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  13520. this.$this = t0;
  13521. this.node = t1;
  13522. },
  13523. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  13524. },
  13525. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  13526. this.$this = t0;
  13527. this.node = t1;
  13528. },
  13529. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  13530. },
  13531. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  13532. this.$this = t0;
  13533. this.node = t1;
  13534. },
  13535. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  13536. var _ = this;
  13537. _.$this = t0;
  13538. _.mergedQueries = t1;
  13539. _.node = t2;
  13540. _.mergedSources = t3;
  13541. },
  13542. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  13543. this.$this = t0;
  13544. this.node = t1;
  13545. },
  13546. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  13547. this.$this = t0;
  13548. this.node = t1;
  13549. },
  13550. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  13551. this.mergedSources = t0;
  13552. },
  13553. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
  13554. this.$this = t0;
  13555. this.rule = t1;
  13556. this.node = t2;
  13557. },
  13558. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  13559. this.$this = t0;
  13560. this.node = t1;
  13561. },
  13562. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
  13563. },
  13564. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  13565. this.$this = t0;
  13566. this.node = t1;
  13567. },
  13568. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  13569. this.$this = t0;
  13570. this.node = t1;
  13571. },
  13572. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  13573. },
  13574. _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
  13575. this.$this = t0;
  13576. this.warnForColor = t1;
  13577. this.interpolation = t2;
  13578. },
  13579. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  13580. this.value = t0;
  13581. this.quote = t1;
  13582. },
  13583. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  13584. this.$this = t0;
  13585. this.expression = t1;
  13586. },
  13587. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  13588. },
  13589. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  13590. this.$this = t0;
  13591. },
  13592. _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
  13593. this.$this = t0;
  13594. },
  13595. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  13596. this._async_evaluate$_visitor = t0;
  13597. },
  13598. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  13599. },
  13600. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  13601. this.hasBeenMerged = t0;
  13602. },
  13603. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  13604. },
  13605. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  13606. },
  13607. EvaluateResult: function EvaluateResult(t0) {
  13608. this.stylesheet = t0;
  13609. },
  13610. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  13611. this._async_evaluate$_visitor = t0;
  13612. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  13613. },
  13614. _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
  13615. var _ = this;
  13616. _.positional = t0;
  13617. _.positionalNodes = t1;
  13618. _.named = t2;
  13619. _.namedNodes = t3;
  13620. _.separator = t4;
  13621. },
  13622. _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
  13623. this.stylesheet = t0;
  13624. this.importer = t1;
  13625. this.isDependency = t2;
  13626. },
  13627. cloneCssStylesheet(stylesheet, extensionStore) {
  13628. var result = extensionStore.clone$0();
  13629. return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
  13630. },
  13631. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  13632. this._oldToNewSelectors = t0;
  13633. },
  13634. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  13635. var t1 = type$.Uri,
  13636. t2 = type$.Module_Callable,
  13637. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
  13638. t4 = logger == null ? B.StderrLogger_false : logger;
  13639. t3 = new A._EvaluateVisitor(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  13640. t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13641. return t3;
  13642. },
  13643. Evaluator: function Evaluator(t0, t1) {
  13644. this._visitor = t0;
  13645. this._importer = t1;
  13646. },
  13647. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13648. var _ = this;
  13649. _._evaluate$_importCache = t0;
  13650. _._nodeImporter = t1;
  13651. _._builtInFunctions = t2;
  13652. _._builtInModules = t3;
  13653. _._modules = t4;
  13654. _._moduleConfigurations = t5;
  13655. _._moduleNodes = t6;
  13656. _._evaluate$_logger = t7;
  13657. _._warningsEmitted = t8;
  13658. _._quietDeps = t9;
  13659. _._sourceMap = t10;
  13660. _._environment = t11;
  13661. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  13662. _._member = "root stylesheet";
  13663. _._importSpan = _._callableNode = _._currentCallable = null;
  13664. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  13665. _._loadedUrls = t12;
  13666. _._activeModules = t13;
  13667. _._stack = t14;
  13668. _._importer = null;
  13669. _._inDependency = false;
  13670. _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  13671. _._configuration = t15;
  13672. },
  13673. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  13674. this.$this = t0;
  13675. },
  13676. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  13677. this.$this = t0;
  13678. },
  13679. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  13680. this.$this = t0;
  13681. },
  13682. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  13683. this.$this = t0;
  13684. },
  13685. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  13686. this.$this = t0;
  13687. },
  13688. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  13689. this.$this = t0;
  13690. },
  13691. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  13692. this.$this = t0;
  13693. },
  13694. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  13695. this.$this = t0;
  13696. },
  13697. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  13698. this.$this = t0;
  13699. this.name = t1;
  13700. this.module = t2;
  13701. },
  13702. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  13703. this.$this = t0;
  13704. },
  13705. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  13706. this.$this = t0;
  13707. },
  13708. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  13709. this.values = t0;
  13710. this.span = t1;
  13711. this.callableNode = t2;
  13712. },
  13713. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  13714. this.$this = t0;
  13715. },
  13716. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  13717. this.$this = t0;
  13718. this.node = t1;
  13719. this.importer = t2;
  13720. },
  13721. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  13722. this.$this = t0;
  13723. this.importer = t1;
  13724. this.expression = t2;
  13725. },
  13726. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  13727. this.$this = t0;
  13728. this.expression = t1;
  13729. },
  13730. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  13731. this.$this = t0;
  13732. this.importer = t1;
  13733. this.statement = t2;
  13734. },
  13735. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  13736. this.$this = t0;
  13737. this.statement = t1;
  13738. },
  13739. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  13740. this.callback = t0;
  13741. this.builtInModule = t1;
  13742. },
  13743. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  13744. var _ = this;
  13745. _.$this = t0;
  13746. _.url = t1;
  13747. _.nodeWithSpan = t2;
  13748. _.baseUrl = t3;
  13749. _.namesInErrors = t4;
  13750. _.configuration = t5;
  13751. _.callback = t6;
  13752. },
  13753. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  13754. this.$this = t0;
  13755. this.message = t1;
  13756. },
  13757. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
  13758. var _ = this;
  13759. _.$this = t0;
  13760. _.importer = t1;
  13761. _.stylesheet = t2;
  13762. _.extensionStore = t3;
  13763. _.configuration = t4;
  13764. _.css = t5;
  13765. },
  13766. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  13767. },
  13768. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  13769. this.selectors = t0;
  13770. },
  13771. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  13772. },
  13773. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  13774. this.originalSelectors = t0;
  13775. },
  13776. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  13777. },
  13778. _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
  13779. this.seen = t0;
  13780. this.sorted = t1;
  13781. },
  13782. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  13783. this.$this = t0;
  13784. this.resolved = t1;
  13785. },
  13786. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  13787. this.$this = t0;
  13788. this.node = t1;
  13789. },
  13790. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  13791. this.$this = t0;
  13792. this.node = t1;
  13793. },
  13794. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  13795. this.$this = t0;
  13796. this.newParent = t1;
  13797. this.node = t2;
  13798. },
  13799. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  13800. this.$this = t0;
  13801. this.innerScope = t1;
  13802. },
  13803. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  13804. this.$this = t0;
  13805. this.innerScope = t1;
  13806. },
  13807. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  13808. this.innerScope = t0;
  13809. this.callback = t1;
  13810. },
  13811. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  13812. this.$this = t0;
  13813. this.innerScope = t1;
  13814. },
  13815. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  13816. },
  13817. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  13818. this.$this = t0;
  13819. this.innerScope = t1;
  13820. },
  13821. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  13822. this.$this = t0;
  13823. this.content = t1;
  13824. },
  13825. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
  13826. this.$this = t0;
  13827. },
  13828. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  13829. this.$this = t0;
  13830. this.children = t1;
  13831. },
  13832. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  13833. this.$this = t0;
  13834. this.node = t1;
  13835. this.nodeWithSpan = t2;
  13836. },
  13837. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  13838. this.$this = t0;
  13839. this.node = t1;
  13840. this.nodeWithSpan = t2;
  13841. },
  13842. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  13843. var _ = this;
  13844. _.$this = t0;
  13845. _.list = t1;
  13846. _.setVariables = t2;
  13847. _.node = t3;
  13848. },
  13849. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  13850. this.$this = t0;
  13851. this.setVariables = t1;
  13852. this.node = t2;
  13853. },
  13854. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  13855. this.$this = t0;
  13856. },
  13857. _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
  13858. this.$this = t0;
  13859. this.targetText = t1;
  13860. },
  13861. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  13862. this.$this = t0;
  13863. },
  13864. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
  13865. this.$this = t0;
  13866. this.children = t1;
  13867. },
  13868. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  13869. this.$this = t0;
  13870. this.children = t1;
  13871. },
  13872. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  13873. },
  13874. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  13875. this.$this = t0;
  13876. this.node = t1;
  13877. },
  13878. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  13879. this.$this = t0;
  13880. this.node = t1;
  13881. },
  13882. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  13883. this.fromNumber = t0;
  13884. },
  13885. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  13886. this.toNumber = t0;
  13887. this.fromNumber = t1;
  13888. },
  13889. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  13890. var _ = this;
  13891. _._box_0 = t0;
  13892. _.$this = t1;
  13893. _.node = t2;
  13894. _.from = t3;
  13895. _.direction = t4;
  13896. _.fromNumber = t5;
  13897. },
  13898. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  13899. this.$this = t0;
  13900. },
  13901. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  13902. this.$this = t0;
  13903. this.node = t1;
  13904. },
  13905. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  13906. this.$this = t0;
  13907. this.node = t1;
  13908. },
  13909. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
  13910. this._box_0 = t0;
  13911. this.$this = t1;
  13912. },
  13913. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
  13914. this.$this = t0;
  13915. },
  13916. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  13917. this.$this = t0;
  13918. this.$import = t1;
  13919. },
  13920. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  13921. this.$this = t0;
  13922. },
  13923. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  13924. },
  13925. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  13926. },
  13927. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
  13928. var _ = this;
  13929. _.$this = t0;
  13930. _.result = t1;
  13931. _.stylesheet = t2;
  13932. _.loadsUserDefinedModules = t3;
  13933. _.environment = t4;
  13934. _.children = t5;
  13935. },
  13936. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  13937. this.$this = t0;
  13938. this.node = t1;
  13939. },
  13940. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  13941. this.node = t0;
  13942. },
  13943. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
  13944. this.$this = t0;
  13945. },
  13946. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
  13947. var _ = this;
  13948. _.$this = t0;
  13949. _.contentCallable = t1;
  13950. _.mixin = t2;
  13951. _.nodeWithSpan = t3;
  13952. },
  13953. _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
  13954. this.$this = t0;
  13955. this.mixin = t1;
  13956. this.nodeWithSpan = t2;
  13957. },
  13958. _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
  13959. this.$this = t0;
  13960. this.mixin = t1;
  13961. this.nodeWithSpan = t2;
  13962. },
  13963. _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
  13964. this.$this = t0;
  13965. this.statement = t1;
  13966. },
  13967. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  13968. this.$this = t0;
  13969. this.queries = t1;
  13970. },
  13971. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  13972. var _ = this;
  13973. _.$this = t0;
  13974. _.mergedQueries = t1;
  13975. _.queries = t2;
  13976. _.mergedSources = t3;
  13977. _.node = t4;
  13978. },
  13979. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  13980. this.$this = t0;
  13981. this.node = t1;
  13982. },
  13983. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  13984. this.$this = t0;
  13985. this.node = t1;
  13986. },
  13987. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  13988. this.mergedSources = t0;
  13989. },
  13990. _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
  13991. this.$this = t0;
  13992. this.resolved = t1;
  13993. },
  13994. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  13995. this.$this = t0;
  13996. this.selectorText = t1;
  13997. },
  13998. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
  13999. this.$this = t0;
  14000. this.node = t1;
  14001. },
  14002. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  14003. },
  14004. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
  14005. this.$this = t0;
  14006. this.selectorText = t1;
  14007. },
  14008. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  14009. this._box_0 = t0;
  14010. this.$this = t1;
  14011. },
  14012. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
  14013. this.$this = t0;
  14014. this.rule = t1;
  14015. this.node = t2;
  14016. },
  14017. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  14018. this.$this = t0;
  14019. this.node = t1;
  14020. },
  14021. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  14022. },
  14023. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6() {
  14024. },
  14025. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  14026. this.$this = t0;
  14027. this.node = t1;
  14028. },
  14029. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  14030. this.$this = t0;
  14031. this.node = t1;
  14032. },
  14033. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  14034. },
  14035. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  14036. this.$this = t0;
  14037. this.node = t1;
  14038. this.override = t2;
  14039. },
  14040. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  14041. this.$this = t0;
  14042. this.node = t1;
  14043. },
  14044. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  14045. this.$this = t0;
  14046. this.node = t1;
  14047. this.value = t2;
  14048. },
  14049. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  14050. this.$this = t0;
  14051. this.node = t1;
  14052. },
  14053. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  14054. this.$this = t0;
  14055. this.node = t1;
  14056. },
  14057. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  14058. this.$this = t0;
  14059. this.node = t1;
  14060. },
  14061. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  14062. this.$this = t0;
  14063. },
  14064. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  14065. this.$this = t0;
  14066. this.node = t1;
  14067. },
  14068. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
  14069. },
  14070. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  14071. this.$this = t0;
  14072. this.node = t1;
  14073. },
  14074. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  14075. this.node = t0;
  14076. this.operand = t1;
  14077. },
  14078. _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
  14079. this.$this = t0;
  14080. this.node = t1;
  14081. this.inMinMax = t2;
  14082. },
  14083. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  14084. this.$this = t0;
  14085. },
  14086. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  14087. this.$this = t0;
  14088. this.node = t1;
  14089. },
  14090. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
  14091. this._box_0 = t0;
  14092. this.$this = t1;
  14093. this.node = t2;
  14094. },
  14095. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  14096. this.$this = t0;
  14097. this.node = t1;
  14098. this.$function = t2;
  14099. },
  14100. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  14101. var _ = this;
  14102. _.$this = t0;
  14103. _.callable = t1;
  14104. _.evaluated = t2;
  14105. _.nodeWithSpan = t3;
  14106. _.run = t4;
  14107. _.V = t5;
  14108. },
  14109. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  14110. var _ = this;
  14111. _.$this = t0;
  14112. _.evaluated = t1;
  14113. _.callable = t2;
  14114. _.nodeWithSpan = t3;
  14115. _.run = t4;
  14116. _.V = t5;
  14117. },
  14118. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  14119. var _ = this;
  14120. _.$this = t0;
  14121. _.evaluated = t1;
  14122. _.callable = t2;
  14123. _.nodeWithSpan = t3;
  14124. _.run = t4;
  14125. _.V = t5;
  14126. },
  14127. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  14128. },
  14129. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  14130. this.$this = t0;
  14131. this.callable = t1;
  14132. },
  14133. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  14134. this.overload = t0;
  14135. this.evaluated = t1;
  14136. this.namedSet = t2;
  14137. },
  14138. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
  14139. },
  14140. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  14141. },
  14142. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  14143. this.$this = t0;
  14144. this.restNodeForSpan = t1;
  14145. },
  14146. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  14147. var _ = this;
  14148. _.$this = t0;
  14149. _.named = t1;
  14150. _.restNodeForSpan = t2;
  14151. _.namedNodes = t3;
  14152. },
  14153. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  14154. },
  14155. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  14156. this.restArgs = t0;
  14157. },
  14158. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  14159. this.$this = t0;
  14160. this.restNodeForSpan = t1;
  14161. this.restArgs = t2;
  14162. },
  14163. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  14164. var _ = this;
  14165. _.$this = t0;
  14166. _.named = t1;
  14167. _.restNodeForSpan = t2;
  14168. _.restArgs = t3;
  14169. },
  14170. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  14171. this.$this = t0;
  14172. this.keywordRestNodeForSpan = t1;
  14173. this.keywordRestArgs = t2;
  14174. },
  14175. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  14176. var _ = this;
  14177. _.$this = t0;
  14178. _.values = t1;
  14179. _.convert = t2;
  14180. _.expressionNode = t3;
  14181. _.map = t4;
  14182. _.nodeWithSpan = t5;
  14183. },
  14184. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  14185. this.$arguments = t0;
  14186. this.positional = t1;
  14187. this.named = t2;
  14188. },
  14189. _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
  14190. this.$this = t0;
  14191. },
  14192. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  14193. this.$this = t0;
  14194. this.node = t1;
  14195. },
  14196. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  14197. },
  14198. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14199. this.$this = t0;
  14200. this.node = t1;
  14201. },
  14202. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  14203. },
  14204. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  14205. this.$this = t0;
  14206. this.node = t1;
  14207. },
  14208. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  14209. var _ = this;
  14210. _.$this = t0;
  14211. _.mergedQueries = t1;
  14212. _.node = t2;
  14213. _.mergedSources = t3;
  14214. },
  14215. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  14216. this.$this = t0;
  14217. this.node = t1;
  14218. },
  14219. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  14220. this.$this = t0;
  14221. this.node = t1;
  14222. },
  14223. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  14224. this.mergedSources = t0;
  14225. },
  14226. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  14227. this.$this = t0;
  14228. this.rule = t1;
  14229. this.node = t2;
  14230. },
  14231. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  14232. this.$this = t0;
  14233. this.node = t1;
  14234. },
  14235. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  14236. },
  14237. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  14238. this.$this = t0;
  14239. this.node = t1;
  14240. },
  14241. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  14242. this.$this = t0;
  14243. this.node = t1;
  14244. },
  14245. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  14246. },
  14247. _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
  14248. this.$this = t0;
  14249. this.warnForColor = t1;
  14250. this.interpolation = t2;
  14251. },
  14252. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  14253. this.value = t0;
  14254. this.quote = t1;
  14255. },
  14256. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  14257. this.$this = t0;
  14258. this.expression = t1;
  14259. },
  14260. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  14261. },
  14262. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  14263. this.$this = t0;
  14264. },
  14265. _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
  14266. this.$this = t0;
  14267. },
  14268. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  14269. this._visitor = t0;
  14270. },
  14271. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  14272. },
  14273. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  14274. this.hasBeenMerged = t0;
  14275. },
  14276. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  14277. },
  14278. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  14279. },
  14280. _EvaluationContext: function _EvaluationContext(t0, t1) {
  14281. this._visitor = t0;
  14282. this._defaultWarnNodeWithSpan = t1;
  14283. },
  14284. _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
  14285. var _ = this;
  14286. _.positional = t0;
  14287. _.positionalNodes = t1;
  14288. _.named = t2;
  14289. _.namedNodes = t3;
  14290. _.separator = t4;
  14291. },
  14292. _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
  14293. this.stylesheet = t0;
  14294. this.importer = t1;
  14295. this.isDependency = t2;
  14296. },
  14297. EveryCssVisitor: function EveryCssVisitor() {
  14298. },
  14299. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  14300. this.$this = t0;
  14301. },
  14302. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  14303. this.$this = t0;
  14304. },
  14305. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  14306. this.$this = t0;
  14307. },
  14308. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  14309. this.$this = t0;
  14310. },
  14311. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  14312. this.$this = t0;
  14313. },
  14314. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  14315. this.$this = t0;
  14316. },
  14317. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
  14318. this._usesAndForwards = t0;
  14319. this._imports = t1;
  14320. },
  14321. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  14322. },
  14323. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  14324. },
  14325. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  14326. var t1, css, t2, prefix,
  14327. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  14328. node.accept$1(visitor);
  14329. t1 = visitor._serialize$_buffer;
  14330. css = t1.toString$0(0);
  14331. if (charset) {
  14332. t2 = new A.CodeUnits(css);
  14333. t2 = t2.any$1(t2, new A.serialize_closure());
  14334. } else
  14335. t2 = false;
  14336. if (t2)
  14337. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  14338. else
  14339. prefix = "";
  14340. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  14341. return new A.SerializeResult(prefix + css, t1);
  14342. },
  14343. serializeValue(value, inspect, quote) {
  14344. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  14345. value.accept$1(visitor);
  14346. return visitor._serialize$_buffer.toString$0(0);
  14347. },
  14348. serializeSelector(selector, inspect) {
  14349. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  14350. selector.accept$1(visitor);
  14351. return visitor._serialize$_buffer.toString$0(0);
  14352. },
  14353. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  14354. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  14355. t2 = style == null ? B.OutputStyle_0 : style,
  14356. t3 = indentWidth == null ? 2 : indentWidth;
  14357. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  14358. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  14359. },
  14360. serialize_closure: function serialize_closure() {
  14361. },
  14362. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  14363. var _ = this;
  14364. _._serialize$_buffer = t0;
  14365. _._indentation = 0;
  14366. _._style = t1;
  14367. _._inspect = t2;
  14368. _._quote = t3;
  14369. _._indentCharacter = t4;
  14370. _._indentWidth = t5;
  14371. _._serialize$_lineFeed = t6;
  14372. },
  14373. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  14374. this.$this = t0;
  14375. this.node = t1;
  14376. },
  14377. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  14378. this.$this = t0;
  14379. this.node = t1;
  14380. },
  14381. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  14382. this.$this = t0;
  14383. this.node = t1;
  14384. },
  14385. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  14386. this.$this = t0;
  14387. this.node = t1;
  14388. },
  14389. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  14390. this.$this = t0;
  14391. this.node = t1;
  14392. },
  14393. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14394. this.$this = t0;
  14395. this.node = t1;
  14396. },
  14397. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  14398. this.$this = t0;
  14399. this.node = t1;
  14400. },
  14401. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  14402. this.$this = t0;
  14403. this.node = t1;
  14404. },
  14405. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  14406. this.$this = t0;
  14407. this.node = t1;
  14408. },
  14409. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  14410. this.$this = t0;
  14411. this.node = t1;
  14412. },
  14413. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  14414. },
  14415. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  14416. this.$this = t0;
  14417. this.value = t1;
  14418. },
  14419. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  14420. this.$this = t0;
  14421. },
  14422. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  14423. this.$this = t0;
  14424. },
  14425. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  14426. },
  14427. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  14428. this.$this = t0;
  14429. this.value = t1;
  14430. },
  14431. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  14432. this.$this = t0;
  14433. this.child = t1;
  14434. },
  14435. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  14436. this.$this = t0;
  14437. this.child = t1;
  14438. },
  14439. OutputStyle: function OutputStyle(t0) {
  14440. this._name = t0;
  14441. },
  14442. LineFeed: function LineFeed(t0) {
  14443. this._name = t0;
  14444. },
  14445. SerializeResult: function SerializeResult(t0, t1) {
  14446. this.css = t0;
  14447. this.sourceMap = t1;
  14448. },
  14449. _IterableExtension__search(_this, callback) {
  14450. var t1, value;
  14451. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  14452. value = callback.call$1(t1.get$current(t1));
  14453. if (value != null)
  14454. return value;
  14455. }
  14456. return null;
  14457. },
  14458. StatementSearchVisitor: function StatementSearchVisitor() {
  14459. },
  14460. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  14461. this.$this = t0;
  14462. },
  14463. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  14464. this.$this = t0;
  14465. },
  14466. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  14467. this.$this = t0;
  14468. },
  14469. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  14470. this.$this = t0;
  14471. },
  14472. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  14473. this.$this = t0;
  14474. },
  14475. Entry: function Entry(t0, t1, t2) {
  14476. this.source = t0;
  14477. this.target = t1;
  14478. this.identifierName = t2;
  14479. },
  14480. SingleMapping_SingleMapping$fromEntries(entries) {
  14481. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  14482. sourceEntries = J.toList$0$ax(entries);
  14483. B.JSArray_methods.sort$0(sourceEntries);
  14484. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  14485. t1 = type$.String;
  14486. t2 = type$.int;
  14487. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14488. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14489. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  14490. targetEntries = A._Cell$();
  14491. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, t4 = targetEntries.__late_helper$_name, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  14492. sourceEntry = sourceEntries[_i];
  14493. if (lineNum == null || sourceEntry.target.line > lineNum) {
  14494. lineNum = sourceEntry.target.line;
  14495. t5 = A._setArrayType([], t3);
  14496. targetEntries._value = t5;
  14497. lines.push(new A.TargetLineEntry(lineNum, t5));
  14498. }
  14499. t5 = sourceEntry.source;
  14500. t6 = t5.file;
  14501. sourceUrl = t6.url;
  14502. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  14503. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  14504. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  14505. t7 = targetEntries._value;
  14506. if (t7 === targetEntries)
  14507. A.throwExpression(A.LateError$localNI(t4));
  14508. t5 = t5.offset;
  14509. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  14510. }
  14511. t2 = urls.get$values(urls);
  14512. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  14513. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  14514. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14515. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14516. return new A.SingleMapping(A.List_List$of(new A.LinkedHashMapKeyIterable(urls, t3), true, t3._eval$1("Iterable.E")), A.List_List$of(new A.LinkedHashMapKeyIterable(names, t4), true, t4._eval$1("Iterable.E")), t2, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  14517. },
  14518. Mapping: function Mapping() {
  14519. },
  14520. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  14521. var _ = this;
  14522. _.urls = t0;
  14523. _.names = t1;
  14524. _.files = t2;
  14525. _.lines = t3;
  14526. _.targetUrl = t4;
  14527. _.sourceRoot = null;
  14528. _.extensions = t5;
  14529. },
  14530. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  14531. this.urls = t0;
  14532. },
  14533. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  14534. this.sourceEntry = t0;
  14535. },
  14536. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  14537. this.files = t0;
  14538. },
  14539. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  14540. },
  14541. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  14542. this.result = t0;
  14543. },
  14544. TargetLineEntry: function TargetLineEntry(t0, t1) {
  14545. this.line = t0;
  14546. this.entries = t1;
  14547. },
  14548. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  14549. var _ = this;
  14550. _.column = t0;
  14551. _.sourceUrlId = t1;
  14552. _.sourceLine = t2;
  14553. _.sourceColumn = t3;
  14554. _.sourceNameId = t4;
  14555. },
  14556. SourceFile$fromString(text, url) {
  14557. var t1 = new A.CodeUnits(text),
  14558. t2 = A._setArrayType([0], type$.JSArray_int),
  14559. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14560. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  14561. t2.SourceFile$decoded$2$url(t1, url);
  14562. return t2;
  14563. },
  14564. SourceFile$decoded(decodedChars, url) {
  14565. var t1 = A._setArrayType([0], type$.JSArray_int),
  14566. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14567. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  14568. t1.SourceFile$decoded$2$url(decodedChars, url);
  14569. return t1;
  14570. },
  14571. FileLocation$_(file, offset) {
  14572. if (offset < 0)
  14573. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  14574. else if (offset > file._decodedChars.length)
  14575. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
  14576. return new A.FileLocation(file, offset);
  14577. },
  14578. _FileSpan$(file, _start, _end) {
  14579. if (_end < _start)
  14580. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  14581. else if (_end > file._decodedChars.length)
  14582. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
  14583. else if (_start < 0)
  14584. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  14585. return new A._FileSpan(file, _start, _end);
  14586. },
  14587. FileSpanExtension_subspan(_this, start, end) {
  14588. var startOffset,
  14589. t1 = _this._end,
  14590. t2 = _this._file$_start,
  14591. t3 = t1 - t2;
  14592. A.RangeError_checkValidRange(start, end, t3);
  14593. if (start === 0)
  14594. t3 = end == null || end === t3;
  14595. else
  14596. t3 = false;
  14597. if (t3)
  14598. return _this;
  14599. t3 = _this.file;
  14600. startOffset = A.FileLocation$_(t3, t2).offset;
  14601. t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
  14602. return t3.span$2(0, startOffset + start, t1);
  14603. },
  14604. SourceFile: function SourceFile(t0, t1, t2) {
  14605. var _ = this;
  14606. _.url = t0;
  14607. _._lineStarts = t1;
  14608. _._decodedChars = t2;
  14609. _._cachedLine = null;
  14610. },
  14611. FileLocation: function FileLocation(t0, t1) {
  14612. this.file = t0;
  14613. this.offset = t1;
  14614. },
  14615. _FileSpan: function _FileSpan(t0, t1, t2) {
  14616. this.file = t0;
  14617. this._file$_start = t1;
  14618. this._end = t2;
  14619. },
  14620. Highlighter$(span, color) {
  14621. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  14622. t2 = new A.Highlighter_closure(color).call$0(),
  14623. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  14624. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  14625. t5 = A._arrayInstanceType(t1);
  14626. return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t5._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
  14627. },
  14628. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  14629. var t2, t3, t4, t5, t6,
  14630. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  14631. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  14632. t3 = t2.get$current(t2);
  14633. t1.push(A._Highlight$(t3.key, t3.value, false));
  14634. }
  14635. t1 = A.Highlighter__collateLines(t1);
  14636. if (color)
  14637. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  14638. else
  14639. t2 = null;
  14640. if (color)
  14641. t3 = "\x1b[34m";
  14642. else
  14643. t3 = null;
  14644. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  14645. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  14646. t6 = A._arrayInstanceType(t1);
  14647. return new A.Highlighter(t1, t2, t3, 1 + Math.max(t4.length, t5), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t6._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t6._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer(""));
  14648. },
  14649. Highlighter__contiguous(lines) {
  14650. var i, thisLine, nextLine;
  14651. for (i = 0; i < lines.length - 1;) {
  14652. thisLine = lines[i];
  14653. ++i;
  14654. nextLine = lines[i];
  14655. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  14656. return false;
  14657. }
  14658. return true;
  14659. },
  14660. Highlighter__collateLines(highlights) {
  14661. var t1, t2, t3,
  14662. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  14663. for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  14664. t3 = t1.__internal$_current;
  14665. if (t3 == null)
  14666. t3 = t2._as(t3);
  14667. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  14668. }
  14669. t1 = highlightsByUrl.get$entries(highlightsByUrl);
  14670. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  14671. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  14672. },
  14673. _Highlight$(span, label, primary) {
  14674. var t2,
  14675. t1 = new A._Highlight_closure(span).call$0();
  14676. if (label == null)
  14677. t2 = null;
  14678. else
  14679. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  14680. return new A._Highlight(t1, primary, t2);
  14681. },
  14682. _Highlight__normalizeNewlines(span) {
  14683. var endOffset, t1, i, t2, t3, t4,
  14684. text = span.get$text();
  14685. if (!B.JSString_methods.contains$1(text, "\r\n"))
  14686. return span;
  14687. endOffset = span.get$end(span).get$offset();
  14688. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  14689. if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
  14690. --endOffset;
  14691. t1 = span.get$start(span);
  14692. t2 = span.get$sourceUrl(span);
  14693. t3 = span.get$end(span).get$line();
  14694. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  14695. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  14696. t4 = span.get$context(span);
  14697. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  14698. },
  14699. _Highlight__normalizeTrailingNewline(span) {
  14700. var context, text, start, end, t1, t2, t3;
  14701. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  14702. return span;
  14703. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  14704. return span;
  14705. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  14706. text = span.get$text();
  14707. start = span.get$start(span);
  14708. end = span.get$end(span);
  14709. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  14710. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  14711. t1.toString;
  14712. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  14713. } else
  14714. t1 = false;
  14715. if (t1) {
  14716. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  14717. if (text.length === 0)
  14718. end = start;
  14719. else {
  14720. t1 = span.get$end(span).get$offset();
  14721. t2 = span.get$sourceUrl(span);
  14722. t3 = span.get$end(span).get$line();
  14723. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  14724. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  14725. }
  14726. }
  14727. return A.SourceSpanWithContext$(start, end, text, context);
  14728. },
  14729. _Highlight__normalizeEndOfLine(span) {
  14730. var text, t1, t2, t3, t4;
  14731. if (span.get$end(span).get$column() !== 0)
  14732. return span;
  14733. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  14734. return span;
  14735. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  14736. t1 = span.get$start(span);
  14737. t2 = span.get$end(span).get$offset();
  14738. t3 = span.get$sourceUrl(span);
  14739. t4 = span.get$end(span).get$line();
  14740. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  14741. return A.SourceSpanWithContext$(t1, t3, text, B.JSString_methods.endsWith$1(span.get$context(span), "\n") ? B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span));
  14742. },
  14743. _Highlight__lastLineLength(text) {
  14744. var t1 = text.length;
  14745. if (t1 === 0)
  14746. return 0;
  14747. else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
  14748. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  14749. else
  14750. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  14751. },
  14752. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  14753. var _ = this;
  14754. _._lines = t0;
  14755. _._primaryColor = t1;
  14756. _._secondaryColor = t2;
  14757. _._paddingBeforeSidebar = t3;
  14758. _._maxMultilineSpans = t4;
  14759. _._multipleFiles = t5;
  14760. _._highlighter$_buffer = t6;
  14761. },
  14762. Highlighter_closure: function Highlighter_closure(t0) {
  14763. this.color = t0;
  14764. },
  14765. Highlighter$__closure: function Highlighter$__closure() {
  14766. },
  14767. Highlighter$___closure: function Highlighter$___closure() {
  14768. },
  14769. Highlighter$__closure0: function Highlighter$__closure0() {
  14770. },
  14771. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  14772. },
  14773. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  14774. },
  14775. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  14776. },
  14777. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  14778. this.line = t0;
  14779. },
  14780. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  14781. },
  14782. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  14783. this.$this = t0;
  14784. },
  14785. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  14786. this.$this = t0;
  14787. this.startLine = t1;
  14788. this.line = t2;
  14789. },
  14790. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  14791. this.$this = t0;
  14792. this.highlight = t1;
  14793. },
  14794. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  14795. this.$this = t0;
  14796. },
  14797. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  14798. var _ = this;
  14799. _._box_0 = t0;
  14800. _.$this = t1;
  14801. _.current = t2;
  14802. _.startLine = t3;
  14803. _.line = t4;
  14804. _.highlight = t5;
  14805. _.endLine = t6;
  14806. },
  14807. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  14808. this._box_0 = t0;
  14809. this.$this = t1;
  14810. },
  14811. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  14812. this.$this = t0;
  14813. this.vertical = t1;
  14814. },
  14815. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  14816. var _ = this;
  14817. _.$this = t0;
  14818. _.text = t1;
  14819. _.startColumn = t2;
  14820. _.endColumn = t3;
  14821. },
  14822. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  14823. this.$this = t0;
  14824. this.line = t1;
  14825. this.highlight = t2;
  14826. },
  14827. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  14828. this.$this = t0;
  14829. this.line = t1;
  14830. this.highlight = t2;
  14831. },
  14832. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  14833. var _ = this;
  14834. _.$this = t0;
  14835. _.coversWholeLine = t1;
  14836. _.line = t2;
  14837. _.highlight = t3;
  14838. },
  14839. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  14840. this.$this = t0;
  14841. this.lines = t1;
  14842. },
  14843. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  14844. this.$this = t0;
  14845. this.text = t1;
  14846. },
  14847. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  14848. this._box_0 = t0;
  14849. this.$this = t1;
  14850. this.end = t2;
  14851. },
  14852. _Highlight: function _Highlight(t0, t1, t2) {
  14853. this.span = t0;
  14854. this.isPrimary = t1;
  14855. this.label = t2;
  14856. },
  14857. _Highlight_closure: function _Highlight_closure(t0) {
  14858. this.span = t0;
  14859. },
  14860. _Line: function _Line(t0, t1, t2, t3) {
  14861. var _ = this;
  14862. _.text = t0;
  14863. _.number = t1;
  14864. _.url = t2;
  14865. _.highlights = t3;
  14866. },
  14867. SourceLocation$(offset, column, line, sourceUrl) {
  14868. if (offset < 0)
  14869. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  14870. else if (line < 0)
  14871. A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
  14872. else if (column < 0)
  14873. A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
  14874. return new A.SourceLocation(sourceUrl, offset, line, column);
  14875. },
  14876. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  14877. var _ = this;
  14878. _.sourceUrl = t0;
  14879. _.offset = t1;
  14880. _.line = t2;
  14881. _.column = t3;
  14882. },
  14883. SourceLocationMixin: function SourceLocationMixin() {
  14884. },
  14885. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor) {
  14886. var t2,
  14887. t1 = _this.get$start(_this);
  14888. t1 = t1.file.getLine$1(t1.offset);
  14889. t2 = _this.get$start(_this);
  14890. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  14891. if (_this.get$sourceUrl(_this) != null) {
  14892. t1 = _this.get$sourceUrl(_this);
  14893. t1 = t2 + (" of " + $.$get$context().prettyUri$1(t1));
  14894. } else
  14895. t1 = t2;
  14896. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, null).highlight$0();
  14897. return t1.charCodeAt(0) == 0 ? t1 : t1;
  14898. },
  14899. SourceSpanBase: function SourceSpanBase() {
  14900. },
  14901. SourceSpanException: function SourceSpanException() {
  14902. },
  14903. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  14904. this.source = t0;
  14905. this._span_exception$_message = t1;
  14906. this._span = t2;
  14907. },
  14908. SourceSpanMixin: function SourceSpanMixin() {
  14909. },
  14910. SourceSpanWithContext$(start, end, text, _context) {
  14911. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  14912. t1.SourceSpanBase$3(start, end, text);
  14913. if (!B.JSString_methods.contains$1(_context, text))
  14914. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  14915. if (A.findLineStart(_context, text, start.get$column()) == null)
  14916. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  14917. return t1;
  14918. },
  14919. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  14920. var _ = this;
  14921. _._context = t0;
  14922. _.start = t1;
  14923. _.end = t2;
  14924. _.text = t3;
  14925. },
  14926. Chain_Chain$parse(chain) {
  14927. var t1, t2,
  14928. _s51_ = string$.x3d_____;
  14929. if (chain.length === 0)
  14930. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  14931. t1 = $.$get$vmChainGap();
  14932. if (B.JSString_methods.contains$1(chain, t1)) {
  14933. t1 = B.JSString_methods.split$1(chain, t1);
  14934. t2 = A._arrayInstanceType(t1);
  14935. return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, new A.Chain_Chain$parse_closure(), t2._eval$1("WhereIterable<1>")), new A.Chain_Chain$parse_closure0(), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace));
  14936. }
  14937. if (!B.JSString_methods.contains$1(chain, _s51_))
  14938. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  14939. return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), new A.Chain_Chain$parse_closure1(), type$.MappedListIterable_String_Trace), type$.Trace));
  14940. },
  14941. Chain: function Chain(t0) {
  14942. this.traces = t0;
  14943. },
  14944. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  14945. },
  14946. Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
  14947. },
  14948. Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
  14949. },
  14950. Chain_toTrace_closure: function Chain_toTrace_closure() {
  14951. },
  14952. Chain_toString_closure0: function Chain_toString_closure0() {
  14953. },
  14954. Chain_toString__closure0: function Chain_toString__closure0() {
  14955. },
  14956. Chain_toString_closure: function Chain_toString_closure(t0) {
  14957. this.longest = t0;
  14958. },
  14959. Chain_toString__closure: function Chain_toString__closure(t0) {
  14960. this.longest = t0;
  14961. },
  14962. Frame_Frame$parseVM(frame) {
  14963. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  14964. },
  14965. Frame_Frame$parseV8(frame) {
  14966. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  14967. },
  14968. Frame_Frame$_parseFirefoxEval(frame) {
  14969. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  14970. },
  14971. Frame_Frame$parseFirefox(frame) {
  14972. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  14973. },
  14974. Frame_Frame$parseFriendly(frame) {
  14975. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  14976. },
  14977. Frame__uriOrPathToUri(uriOrPath) {
  14978. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  14979. return A.Uri_parse(uriOrPath);
  14980. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  14981. return A._Uri__Uri$file(uriOrPath, true);
  14982. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  14983. return A._Uri__Uri$file(uriOrPath, false);
  14984. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  14985. return $.$get$windows().toUri$1(uriOrPath);
  14986. return A.Uri_parse(uriOrPath);
  14987. },
  14988. Frame__catchFormatException(text, body) {
  14989. var t1, exception;
  14990. try {
  14991. t1 = body.call$0();
  14992. return t1;
  14993. } catch (exception) {
  14994. if (type$.FormatException._is(A.unwrapException(exception)))
  14995. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  14996. else
  14997. throw exception;
  14998. }
  14999. },
  15000. Frame: function Frame(t0, t1, t2, t3) {
  15001. var _ = this;
  15002. _.uri = t0;
  15003. _.line = t1;
  15004. _.column = t2;
  15005. _.member = t3;
  15006. },
  15007. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  15008. this.frame = t0;
  15009. },
  15010. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  15011. this.frame = t0;
  15012. },
  15013. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  15014. this.frame = t0;
  15015. },
  15016. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  15017. this.frame = t0;
  15018. },
  15019. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  15020. this.frame = t0;
  15021. },
  15022. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  15023. this.frame = t0;
  15024. },
  15025. LazyTrace: function LazyTrace(t0) {
  15026. this._thunk = t0;
  15027. this.__LazyTrace__trace_FI = $;
  15028. },
  15029. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  15030. this.$this = t0;
  15031. },
  15032. Trace_Trace$from(trace) {
  15033. if (type$.Trace._is(trace))
  15034. return trace;
  15035. if (trace instanceof A.Chain)
  15036. return trace.toTrace$0();
  15037. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  15038. },
  15039. Trace_Trace$parse(trace) {
  15040. var error, t1, exception;
  15041. try {
  15042. if (trace.length === 0) {
  15043. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  15044. return t1;
  15045. }
  15046. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  15047. t1 = A.Trace$parseV8(trace);
  15048. return t1;
  15049. }
  15050. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  15051. t1 = A.Trace$parseJSCore(trace);
  15052. return t1;
  15053. }
  15054. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  15055. t1 = A.Trace$parseFirefox(trace);
  15056. return t1;
  15057. }
  15058. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  15059. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  15060. return t1;
  15061. }
  15062. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  15063. t1 = A.Trace$parseFriendly(trace);
  15064. return t1;
  15065. }
  15066. t1 = A.Trace$parseVM(trace);
  15067. return t1;
  15068. } catch (exception) {
  15069. t1 = A.unwrapException(exception);
  15070. if (type$.FormatException._is(t1)) {
  15071. error = t1;
  15072. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  15073. } else
  15074. throw exception;
  15075. }
  15076. },
  15077. Trace$parseVM(trace) {
  15078. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  15079. return new A.Trace(t1, new A._StringStackTrace(trace));
  15080. },
  15081. Trace__parseVM(trace) {
  15082. var $frames,
  15083. t1 = B.JSString_methods.trim$0(trace),
  15084. t2 = $.$get$vmChainGap(),
  15085. t3 = type$.WhereIterable_String,
  15086. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  15087. if (!lines.get$iterator(lines).moveNext$0())
  15088. return A._setArrayType([], type$.JSArray_Frame);
  15089. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
  15090. t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  15091. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  15092. if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
  15093. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
  15094. return $frames;
  15095. },
  15096. Trace$parseV8(trace) {
  15097. var t1 = A.SubListIterable$(A._setArrayType(trace.split("\n"), type$.JSArray_String), 1, null, type$.String).super$Iterable$skipWhile(0, new A.Trace$parseV8_closure()),
  15098. t2 = type$.Frame;
  15099. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  15100. return new A.Trace(t2, new A._StringStackTrace(trace));
  15101. },
  15102. Trace$parseJSCore(trace) {
  15103. var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), new A.Trace$parseJSCore_closure(), type$.WhereIterable_String), new A.Trace$parseJSCore_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
  15104. return new A.Trace(t1, new A._StringStackTrace(trace));
  15105. },
  15106. Trace$parseFirefox(trace) {
  15107. var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFirefox_closure(), type$.WhereIterable_String), new A.Trace$parseFirefox_closure0(), type$.MappedIterable_String_Frame), type$.Frame);
  15108. return new A.Trace(t1, new A._StringStackTrace(trace));
  15109. },
  15110. Trace$parseFriendly(trace) {
  15111. var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), new A.Trace$parseFriendly_closure(), type$.WhereIterable_String), new A.Trace$parseFriendly_closure0(), type$.MappedIterable_String_Frame);
  15112. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  15113. return new A.Trace(t1, new A._StringStackTrace(trace));
  15114. },
  15115. Trace$($frames, original) {
  15116. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  15117. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  15118. },
  15119. Trace: function Trace(t0, t1) {
  15120. this.frames = t0;
  15121. this.original = t1;
  15122. },
  15123. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  15124. this.trace = t0;
  15125. },
  15126. Trace__parseVM_closure: function Trace__parseVM_closure() {
  15127. },
  15128. Trace__parseVM_closure0: function Trace__parseVM_closure0() {
  15129. },
  15130. Trace$parseV8_closure: function Trace$parseV8_closure() {
  15131. },
  15132. Trace$parseV8_closure0: function Trace$parseV8_closure0() {
  15133. },
  15134. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  15135. },
  15136. Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
  15137. },
  15138. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  15139. },
  15140. Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
  15141. },
  15142. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  15143. },
  15144. Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
  15145. },
  15146. Trace_terse_closure: function Trace_terse_closure() {
  15147. },
  15148. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  15149. this.oldPredicate = t0;
  15150. },
  15151. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  15152. this._box_0 = t0;
  15153. },
  15154. Trace_toString_closure0: function Trace_toString_closure0() {
  15155. },
  15156. Trace_toString_closure: function Trace_toString_closure(t0) {
  15157. this.longest = t0;
  15158. },
  15159. UnparsedFrame: function UnparsedFrame(t0, t1) {
  15160. this.uri = t0;
  15161. this.member = t1;
  15162. },
  15163. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  15164. var _null = null, t1 = {},
  15165. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  15166. t1.subscription = null;
  15167. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  15168. return controller.get$stream();
  15169. },
  15170. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  15171. sink.addError$2(error, stackTrace);
  15172. },
  15173. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  15174. var _ = this;
  15175. _._box_1 = t0;
  15176. _._this = t1;
  15177. _.handleData = t2;
  15178. _.controller = t3;
  15179. _.handleError = t4;
  15180. _.handleDone = t5;
  15181. _.S = t6;
  15182. },
  15183. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  15184. this.handleData = t0;
  15185. this.controller = t1;
  15186. this.S = t2;
  15187. },
  15188. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  15189. this.handleError = t0;
  15190. this.controller = t1;
  15191. },
  15192. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  15193. this._box_0 = t0;
  15194. this.handleDone = t1;
  15195. this.controller = t2;
  15196. },
  15197. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  15198. this._box_1 = t0;
  15199. this._box_0 = t1;
  15200. },
  15201. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  15202. var t1 = {};
  15203. t1.soFar = t1.timer = null;
  15204. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  15205. return A.TransformByHandlers_transformByHandlers(_this, new A.RateLimit__debounceAggregate_closure(t1, $S, collect, false, duration, true, $T), new A.RateLimit__debounceAggregate_closure0(t1, true, $S), $T, $S);
  15206. },
  15207. _collect($event, soFar, $T) {
  15208. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  15209. J.add$1$ax(t1, $event);
  15210. return t1;
  15211. },
  15212. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  15213. var _ = this;
  15214. _._box_0 = t0;
  15215. _.S = t1;
  15216. _.collect = t2;
  15217. _.leading = t3;
  15218. _.duration = t4;
  15219. _.trailing = t5;
  15220. _.T = t6;
  15221. },
  15222. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  15223. this._box_0 = t0;
  15224. this.sink = t1;
  15225. this.S = t2;
  15226. },
  15227. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  15228. var _ = this;
  15229. _._box_0 = t0;
  15230. _.trailing = t1;
  15231. _.emit = t2;
  15232. _.sink = t3;
  15233. },
  15234. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  15235. this._box_0 = t0;
  15236. this.trailing = t1;
  15237. this.S = t2;
  15238. },
  15239. StringScannerException$(message, span, source) {
  15240. return new A.StringScannerException(source, message, span);
  15241. },
  15242. StringScannerException: function StringScannerException(t0, t1, t2) {
  15243. this.source = t0;
  15244. this._span_exception$_message = t1;
  15245. this._span = t2;
  15246. },
  15247. LineScanner$(string) {
  15248. return new A.LineScanner(null, string);
  15249. },
  15250. LineScanner: function LineScanner(t0, t1) {
  15251. var _ = this;
  15252. _._line_scanner$_column = _._line_scanner$_line = 0;
  15253. _.sourceUrl = t0;
  15254. _.string = t1;
  15255. _._string_scanner$_position = 0;
  15256. _._lastMatchPosition = _._lastMatch = null;
  15257. },
  15258. SpanScanner$(string, sourceUrl) {
  15259. var t2,
  15260. t1 = A.SourceFile$fromString(string, sourceUrl);
  15261. if (sourceUrl == null)
  15262. t2 = null;
  15263. else
  15264. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15265. return new A.SpanScanner(t1, t2, string);
  15266. },
  15267. SpanScanner: function SpanScanner(t0, t1, t2) {
  15268. var _ = this;
  15269. _._sourceFile = t0;
  15270. _.sourceUrl = t1;
  15271. _.string = t2;
  15272. _._string_scanner$_position = 0;
  15273. _._lastMatchPosition = _._lastMatch = null;
  15274. },
  15275. _SpanScannerState: function _SpanScannerState(t0, t1) {
  15276. this._scanner = t0;
  15277. this.position = t1;
  15278. },
  15279. StringScanner$(string, position, sourceUrl) {
  15280. var t1;
  15281. if (sourceUrl == null)
  15282. t1 = null;
  15283. else
  15284. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15285. return new A.StringScanner(t1, string);
  15286. },
  15287. StringScanner: function StringScanner(t0, t1) {
  15288. var _ = this;
  15289. _.sourceUrl = t0;
  15290. _.string = t1;
  15291. _._string_scanner$_position = 0;
  15292. _._lastMatchPosition = _._lastMatch = null;
  15293. },
  15294. AsciiGlyphSet: function AsciiGlyphSet() {
  15295. },
  15296. UnicodeGlyphSet: function UnicodeGlyphSet() {
  15297. },
  15298. Tuple2: function Tuple2(t0, t1, t2) {
  15299. this.item1 = t0;
  15300. this.item2 = t1;
  15301. this.$ti = t2;
  15302. },
  15303. Tuple3: function Tuple3(t0, t1, t2, t3) {
  15304. var _ = this;
  15305. _.item1 = t0;
  15306. _.item2 = t1;
  15307. _.item3 = t2;
  15308. _.$ti = t3;
  15309. },
  15310. Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
  15311. var _ = this;
  15312. _.item1 = t0;
  15313. _.item2 = t1;
  15314. _.item3 = t2;
  15315. _.item4 = t3;
  15316. _.$ti = t4;
  15317. },
  15318. WatchEvent: function WatchEvent(t0, t1) {
  15319. this.type = t0;
  15320. this.path = t1;
  15321. },
  15322. ChangeType: function ChangeType(t0) {
  15323. this._watch_event$_name = t0;
  15324. },
  15325. AnySelectorVisitor0: function AnySelectorVisitor0() {
  15326. },
  15327. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  15328. this.$this = t0;
  15329. },
  15330. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  15331. this.$this = t0;
  15332. },
  15333. SupportsAnything0: function SupportsAnything0(t0, t1) {
  15334. this.contents = t0;
  15335. this.span = t1;
  15336. },
  15337. Argument0: function Argument0(t0, t1, t2) {
  15338. this.name = t0;
  15339. this.defaultValue = t1;
  15340. this.span = t2;
  15341. },
  15342. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  15343. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  15344. },
  15345. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  15346. this.$arguments = t0;
  15347. this.restArgument = t1;
  15348. this.span = t2;
  15349. },
  15350. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  15351. },
  15352. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  15353. },
  15354. ArgumentInvocation$empty0(span) {
  15355. return new A.ArgumentInvocation0(B.List_empty21, B.Map_empty9, null, null, span);
  15356. },
  15357. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  15358. var _ = this;
  15359. _.positional = t0;
  15360. _.named = t1;
  15361. _.rest = t2;
  15362. _.keywordRest = t3;
  15363. _.span = t4;
  15364. },
  15365. argumentListClass_closure: function argumentListClass_closure() {
  15366. },
  15367. argumentListClass__closure: function argumentListClass__closure() {
  15368. },
  15369. argumentListClass__closure0: function argumentListClass__closure0() {
  15370. },
  15371. SassArgumentList$0(contents, keywords, separator) {
  15372. var t1 = type$.Value_2;
  15373. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15374. t1.SassList$3$brackets0(contents, separator, false);
  15375. return t1;
  15376. },
  15377. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  15378. var _ = this;
  15379. _._argument_list$_keywords = t0;
  15380. _._argument_list$_wereKeywordsAccessed = false;
  15381. _._list1$_contents = t1;
  15382. _._list1$_separator = t2;
  15383. _._list1$_hasBrackets = t3;
  15384. },
  15385. JSArray1: function JSArray1() {
  15386. },
  15387. AsyncImporter0: function AsyncImporter0() {
  15388. },
  15389. NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
  15390. this._async0$_canonicalize = t0;
  15391. this._load = t1;
  15392. },
  15393. AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
  15394. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
  15395. },
  15396. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
  15397. this.name = t0;
  15398. this._async_built_in0$_arguments = t1;
  15399. this._async_built_in0$_callback = t2;
  15400. },
  15401. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  15402. this.callback = t0;
  15403. },
  15404. compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  15405. var $async$goto = 0,
  15406. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15407. $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
  15408. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15409. if ($async$errorCode === 1)
  15410. return A._asyncRethrow($async$result, $async$completer);
  15411. while (true)
  15412. switch ($async$goto) {
  15413. case 0:
  15414. // Function start
  15415. if (!verbose) {
  15416. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  15417. logger = terseLogger;
  15418. } else
  15419. terseLogger = null;
  15420. t1 = nodeImporter == null;
  15421. if (t1)
  15422. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  15423. else
  15424. t2 = false;
  15425. $async$goto = t2 ? 3 : 5;
  15426. break;
  15427. case 3:
  15428. // then
  15429. if (importCache == null)
  15430. importCache = A.AsyncImportCache$none(logger);
  15431. t2 = $.$get$context();
  15432. t3 = t2.absolute$7(".", null, null, null, null, null, null);
  15433. $async$goto = 6;
  15434. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), null, null, null, null, null, null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path)), $async$compileAsync0);
  15435. case 6:
  15436. // returning from await.
  15437. t3 = $async$result;
  15438. t3.toString;
  15439. stylesheet = t3;
  15440. // goto join
  15441. $async$goto = 4;
  15442. break;
  15443. case 5:
  15444. // else
  15445. t2 = A.readFile0(path);
  15446. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  15447. t4 = $.$get$context();
  15448. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
  15449. t2 = t4;
  15450. case 4:
  15451. // join
  15452. $async$goto = 7;
  15453. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  15454. case 7:
  15455. // returning from await.
  15456. result = $async$result;
  15457. if (terseLogger != null)
  15458. terseLogger.summarize$1$node(!t1);
  15459. $async$returnValue = result;
  15460. // goto return
  15461. $async$goto = 1;
  15462. break;
  15463. case 1:
  15464. // return
  15465. return A._asyncReturn($async$returnValue, $async$completer);
  15466. }
  15467. });
  15468. return A._asyncStartSync($async$compileAsync0, $async$completer);
  15469. },
  15470. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  15471. var $async$goto = 0,
  15472. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15473. $async$returnValue, terseLogger, stylesheet, result;
  15474. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15475. if ($async$errorCode === 1)
  15476. return A._asyncRethrow($async$result, $async$completer);
  15477. while (true)
  15478. switch ($async$goto) {
  15479. case 0:
  15480. // Function start
  15481. if (!verbose) {
  15482. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  15483. logger = terseLogger;
  15484. } else
  15485. terseLogger = null;
  15486. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  15487. $async$goto = 3;
  15488. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", null, null, null, null, null, null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  15489. case 3:
  15490. // returning from await.
  15491. result = $async$result;
  15492. if (terseLogger != null)
  15493. terseLogger.summarize$1$node(nodeImporter != null);
  15494. $async$returnValue = result;
  15495. // goto return
  15496. $async$goto = 1;
  15497. break;
  15498. case 1:
  15499. // return
  15500. return A._asyncReturn($async$returnValue, $async$completer);
  15501. }
  15502. });
  15503. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  15504. },
  15505. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  15506. var $async$goto = 0,
  15507. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15508. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  15509. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15510. if ($async$errorCode === 1)
  15511. return A._asyncRethrow($async$result, $async$completer);
  15512. while (true)
  15513. switch ($async$goto) {
  15514. case 0:
  15515. // Function start
  15516. $async$goto = 3;
  15517. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  15518. case 3:
  15519. // returning from await.
  15520. evaluateResult = $async$result;
  15521. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  15522. resultSourceMap = serializeResult.sourceMap;
  15523. if (resultSourceMap != null && importCache != null)
  15524. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  15525. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  15526. // goto return
  15527. $async$goto = 1;
  15528. break;
  15529. case 1:
  15530. // return
  15531. return A._asyncReturn($async$returnValue, $async$completer);
  15532. }
  15533. });
  15534. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  15535. },
  15536. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  15537. this.stylesheet = t0;
  15538. this.importCache = t1;
  15539. },
  15540. AsyncEnvironment$0() {
  15541. var t1 = type$.String,
  15542. t2 = type$.Module_AsyncCallable_2,
  15543. t3 = type$.AstNode_2,
  15544. t4 = type$.int,
  15545. t5 = type$.AsyncCallable_2,
  15546. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  15547. return new A.AsyncEnvironment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_AsyncCallable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
  15548. },
  15549. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  15550. var t1 = type$.String,
  15551. t2 = type$.int;
  15552. return new A.AsyncEnvironment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
  15553. },
  15554. _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
  15555. var t1, t2, t3, t4, t5, t6;
  15556. if (forwarded == null)
  15557. forwarded = B.Set_empty5;
  15558. t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  15559. t2 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure17(), type$.Map_String_Value_2), type$.Value_2);
  15560. t3 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure18(), type$.Map_String_AstNode_2), type$.AstNode_2);
  15561. t4 = type$.Map_String_AsyncCallable_2;
  15562. t5 = type$.AsyncCallable_2;
  15563. t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t4), t5);
  15564. t5 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t4), t5);
  15565. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  15566. return A._EnvironmentModule$_2(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
  15567. },
  15568. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  15569. var modulesByVariable, t1, t2, t3, t4, t5;
  15570. if (forwarded.get$isEmpty(forwarded))
  15571. return B.Map_empty10;
  15572. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  15573. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  15574. t2 = t1.get$current(t1);
  15575. if (t2 instanceof A._EnvironmentModule2) {
  15576. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  15577. t4 = t3.get$current(t3);
  15578. t5 = t4.get$variables();
  15579. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  15580. }
  15581. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  15582. } else {
  15583. t3 = t2.get$variables();
  15584. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  15585. }
  15586. }
  15587. return modulesByVariable;
  15588. },
  15589. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  15590. var t1, t2, t3;
  15591. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  15592. if (otherMaps.get$isEmpty(otherMaps))
  15593. return localMap;
  15594. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  15595. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  15596. t3 = t2.get$current(t2);
  15597. if (t3.get$isNotEmpty(t3))
  15598. t1.push(t3);
  15599. }
  15600. t1.push(localMap);
  15601. if (t1.length === 1)
  15602. return localMap;
  15603. return A.MergedMapView$0(t1, type$.String, $V);
  15604. },
  15605. _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  15606. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  15607. },
  15608. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  15609. var _ = this;
  15610. _._async_environment0$_modules = t0;
  15611. _._async_environment0$_namespaceNodes = t1;
  15612. _._async_environment0$_globalModules = t2;
  15613. _._async_environment0$_importedModules = t3;
  15614. _._async_environment0$_forwardedModules = t4;
  15615. _._async_environment0$_nestedForwardedModules = t5;
  15616. _._async_environment0$_allModules = t6;
  15617. _._async_environment0$_variables = t7;
  15618. _._async_environment0$_variableNodes = t8;
  15619. _._async_environment0$_variableIndices = t9;
  15620. _._async_environment0$_functions = t10;
  15621. _._async_environment0$_functionIndices = t11;
  15622. _._async_environment0$_mixins = t12;
  15623. _._async_environment0$_mixinIndices = t13;
  15624. _._async_environment0$_content = t14;
  15625. _._async_environment0$_inMixin = false;
  15626. _._async_environment0$_inSemiGlobalScope = true;
  15627. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  15628. },
  15629. AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
  15630. },
  15631. AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
  15632. },
  15633. AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
  15634. },
  15635. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  15636. this.name = t0;
  15637. },
  15638. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  15639. this.$this = t0;
  15640. this.name = t1;
  15641. },
  15642. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  15643. this.name = t0;
  15644. },
  15645. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  15646. this.$this = t0;
  15647. this.name = t1;
  15648. },
  15649. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  15650. this.name = t0;
  15651. },
  15652. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  15653. this.name = t0;
  15654. },
  15655. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  15656. },
  15657. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  15658. },
  15659. AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
  15660. this.callback = t0;
  15661. this.T = t1;
  15662. },
  15663. AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
  15664. this.entry = t0;
  15665. this.T = t1;
  15666. },
  15667. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  15668. var _ = this;
  15669. _.upstream = t0;
  15670. _.variables = t1;
  15671. _.variableNodes = t2;
  15672. _.functions = t3;
  15673. _.mixins = t4;
  15674. _.extensionStore = t5;
  15675. _.css = t6;
  15676. _.transitivelyContainsCss = t7;
  15677. _.transitivelyContainsExtensions = t8;
  15678. _._async_environment0$_environment = t9;
  15679. _._async_environment0$_modulesByVariable = t10;
  15680. },
  15681. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  15682. },
  15683. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  15684. },
  15685. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  15686. },
  15687. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  15688. },
  15689. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  15690. },
  15691. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  15692. },
  15693. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  15694. var t4,
  15695. t1 = type$.Uri,
  15696. t2 = type$.Module_AsyncCallable_2,
  15697. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  15698. if (nodeImporter == null)
  15699. t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
  15700. else
  15701. t4 = null;
  15702. t1 = new A._EvaluateVisitor2(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  15703. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  15704. return t1;
  15705. },
  15706. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  15707. var _ = this;
  15708. _._async_evaluate0$_importCache = t0;
  15709. _._async_evaluate0$_nodeImporter = t1;
  15710. _._async_evaluate0$_builtInFunctions = t2;
  15711. _._async_evaluate0$_builtInModules = t3;
  15712. _._async_evaluate0$_modules = t4;
  15713. _._async_evaluate0$_moduleConfigurations = t5;
  15714. _._async_evaluate0$_moduleNodes = t6;
  15715. _._async_evaluate0$_logger = t7;
  15716. _._async_evaluate0$_warningsEmitted = t8;
  15717. _._async_evaluate0$_quietDeps = t9;
  15718. _._async_evaluate0$_sourceMap = t10;
  15719. _._async_evaluate0$_environment = t11;
  15720. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  15721. _._async_evaluate0$_member = "root stylesheet";
  15722. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  15723. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  15724. _._async_evaluate0$_loadedUrls = t12;
  15725. _._async_evaluate0$_activeModules = t13;
  15726. _._async_evaluate0$_stack = t14;
  15727. _._async_evaluate0$_importer = null;
  15728. _._async_evaluate0$_inDependency = false;
  15729. _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  15730. _._async_evaluate0$_configuration = t15;
  15731. },
  15732. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  15733. this.$this = t0;
  15734. },
  15735. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  15736. this.$this = t0;
  15737. },
  15738. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  15739. this.$this = t0;
  15740. },
  15741. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  15742. this.$this = t0;
  15743. },
  15744. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  15745. this.$this = t0;
  15746. },
  15747. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  15748. this.$this = t0;
  15749. },
  15750. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  15751. this.$this = t0;
  15752. },
  15753. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  15754. this.$this = t0;
  15755. },
  15756. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  15757. this.$this = t0;
  15758. this.name = t1;
  15759. this.module = t2;
  15760. },
  15761. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  15762. this.$this = t0;
  15763. },
  15764. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  15765. this.$this = t0;
  15766. },
  15767. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
  15768. this.values = t0;
  15769. this.span = t1;
  15770. this.callableNode = t2;
  15771. },
  15772. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
  15773. this.$this = t0;
  15774. },
  15775. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  15776. this.$this = t0;
  15777. this.node = t1;
  15778. this.importer = t2;
  15779. },
  15780. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  15781. this.callback = t0;
  15782. this.builtInModule = t1;
  15783. },
  15784. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  15785. var _ = this;
  15786. _.$this = t0;
  15787. _.url = t1;
  15788. _.nodeWithSpan = t2;
  15789. _.baseUrl = t3;
  15790. _.namesInErrors = t4;
  15791. _.configuration = t5;
  15792. _.callback = t6;
  15793. },
  15794. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
  15795. this.$this = t0;
  15796. this.message = t1;
  15797. },
  15798. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
  15799. var _ = this;
  15800. _.$this = t0;
  15801. _.importer = t1;
  15802. _.stylesheet = t2;
  15803. _.extensionStore = t3;
  15804. _.configuration = t4;
  15805. _.css = t5;
  15806. },
  15807. _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
  15808. },
  15809. _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
  15810. this.selectors = t0;
  15811. },
  15812. _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
  15813. },
  15814. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  15815. this.originalSelectors = t0;
  15816. },
  15817. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  15818. },
  15819. _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
  15820. this.seen = t0;
  15821. this.sorted = t1;
  15822. },
  15823. _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
  15824. this.$this = t0;
  15825. this.resolved = t1;
  15826. },
  15827. _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
  15828. this.$this = t0;
  15829. this.node = t1;
  15830. },
  15831. _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
  15832. this.$this = t0;
  15833. this.node = t1;
  15834. },
  15835. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  15836. this.$this = t0;
  15837. this.newParent = t1;
  15838. this.node = t2;
  15839. },
  15840. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  15841. this.$this = t0;
  15842. this.innerScope = t1;
  15843. },
  15844. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  15845. this.$this = t0;
  15846. this.innerScope = t1;
  15847. },
  15848. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  15849. this.innerScope = t0;
  15850. this.callback = t1;
  15851. },
  15852. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  15853. this.$this = t0;
  15854. this.innerScope = t1;
  15855. },
  15856. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  15857. },
  15858. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  15859. this.$this = t0;
  15860. this.innerScope = t1;
  15861. },
  15862. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  15863. this.$this = t0;
  15864. this.content = t1;
  15865. },
  15866. _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
  15867. this.$this = t0;
  15868. },
  15869. _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
  15870. this.$this = t0;
  15871. this.children = t1;
  15872. },
  15873. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  15874. this.$this = t0;
  15875. this.node = t1;
  15876. this.nodeWithSpan = t2;
  15877. },
  15878. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  15879. this.$this = t0;
  15880. this.node = t1;
  15881. this.nodeWithSpan = t2;
  15882. },
  15883. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  15884. var _ = this;
  15885. _.$this = t0;
  15886. _.list = t1;
  15887. _.setVariables = t2;
  15888. _.node = t3;
  15889. },
  15890. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  15891. this.$this = t0;
  15892. this.setVariables = t1;
  15893. this.node = t2;
  15894. },
  15895. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  15896. this.$this = t0;
  15897. },
  15898. _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
  15899. this.$this = t0;
  15900. this.targetText = t1;
  15901. },
  15902. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  15903. this.$this = t0;
  15904. },
  15905. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
  15906. this.$this = t0;
  15907. this.children = t1;
  15908. },
  15909. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  15910. this.$this = t0;
  15911. this.children = t1;
  15912. },
  15913. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  15914. },
  15915. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  15916. this.$this = t0;
  15917. this.node = t1;
  15918. },
  15919. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  15920. this.$this = t0;
  15921. this.node = t1;
  15922. },
  15923. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  15924. this.fromNumber = t0;
  15925. },
  15926. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  15927. this.toNumber = t0;
  15928. this.fromNumber = t1;
  15929. },
  15930. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  15931. var _ = this;
  15932. _._box_0 = t0;
  15933. _.$this = t1;
  15934. _.node = t2;
  15935. _.from = t3;
  15936. _.direction = t4;
  15937. _.fromNumber = t5;
  15938. },
  15939. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  15940. this.$this = t0;
  15941. },
  15942. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  15943. this.$this = t0;
  15944. this.node = t1;
  15945. },
  15946. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  15947. this.$this = t0;
  15948. this.node = t1;
  15949. },
  15950. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
  15951. this._box_0 = t0;
  15952. this.$this = t1;
  15953. },
  15954. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
  15955. this.$this = t0;
  15956. },
  15957. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  15958. this.$this = t0;
  15959. this.$import = t1;
  15960. },
  15961. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  15962. this.$this = t0;
  15963. },
  15964. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  15965. },
  15966. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  15967. },
  15968. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
  15969. var _ = this;
  15970. _.$this = t0;
  15971. _.result = t1;
  15972. _.stylesheet = t2;
  15973. _.loadsUserDefinedModules = t3;
  15974. _.environment = t4;
  15975. _.children = t5;
  15976. },
  15977. _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
  15978. this.$this = t0;
  15979. this.node = t1;
  15980. },
  15981. _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
  15982. this.node = t0;
  15983. },
  15984. _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
  15985. this.$this = t0;
  15986. },
  15987. _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
  15988. var _ = this;
  15989. _.$this = t0;
  15990. _.contentCallable = t1;
  15991. _.mixin = t2;
  15992. _.nodeWithSpan = t3;
  15993. },
  15994. _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
  15995. this.$this = t0;
  15996. this.mixin = t1;
  15997. this.nodeWithSpan = t2;
  15998. },
  15999. _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
  16000. this.$this = t0;
  16001. this.mixin = t1;
  16002. this.nodeWithSpan = t2;
  16003. },
  16004. _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
  16005. this.$this = t0;
  16006. this.statement = t1;
  16007. },
  16008. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  16009. this.$this = t0;
  16010. this.queries = t1;
  16011. },
  16012. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  16013. var _ = this;
  16014. _.$this = t0;
  16015. _.mergedQueries = t1;
  16016. _.queries = t2;
  16017. _.mergedSources = t3;
  16018. _.node = t4;
  16019. },
  16020. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  16021. this.$this = t0;
  16022. this.node = t1;
  16023. },
  16024. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  16025. this.$this = t0;
  16026. this.node = t1;
  16027. },
  16028. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  16029. this.mergedSources = t0;
  16030. },
  16031. _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
  16032. this.$this = t0;
  16033. this.resolved = t1;
  16034. },
  16035. _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
  16036. this.$this = t0;
  16037. this.selectorText = t1;
  16038. },
  16039. _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
  16040. this.$this = t0;
  16041. this.node = t1;
  16042. },
  16043. _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25() {
  16044. },
  16045. _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26(t0, t1) {
  16046. this.$this = t0;
  16047. this.selectorText = t1;
  16048. },
  16049. _EvaluateVisitor_visitStyleRule_closure27: function _EvaluateVisitor_visitStyleRule_closure27(t0, t1) {
  16050. this._box_0 = t0;
  16051. this.$this = t1;
  16052. },
  16053. _EvaluateVisitor_visitStyleRule_closure28: function _EvaluateVisitor_visitStyleRule_closure28(t0, t1, t2) {
  16054. this.$this = t0;
  16055. this.rule = t1;
  16056. this.node = t2;
  16057. },
  16058. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  16059. this.$this = t0;
  16060. this.node = t1;
  16061. },
  16062. _EvaluateVisitor_visitStyleRule_closure29: function _EvaluateVisitor_visitStyleRule_closure29() {
  16063. },
  16064. _EvaluateVisitor_visitStyleRule_closure30: function _EvaluateVisitor_visitStyleRule_closure30() {
  16065. },
  16066. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  16067. this.$this = t0;
  16068. this.node = t1;
  16069. },
  16070. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  16071. this.$this = t0;
  16072. this.node = t1;
  16073. },
  16074. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  16075. },
  16076. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  16077. this.$this = t0;
  16078. this.node = t1;
  16079. this.override = t2;
  16080. },
  16081. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  16082. this.$this = t0;
  16083. this.node = t1;
  16084. },
  16085. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  16086. this.$this = t0;
  16087. this.node = t1;
  16088. this.value = t2;
  16089. },
  16090. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  16091. this.$this = t0;
  16092. this.node = t1;
  16093. },
  16094. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  16095. this.$this = t0;
  16096. this.node = t1;
  16097. },
  16098. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  16099. this.$this = t0;
  16100. this.node = t1;
  16101. },
  16102. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  16103. this.$this = t0;
  16104. },
  16105. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  16106. this.$this = t0;
  16107. this.node = t1;
  16108. },
  16109. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
  16110. },
  16111. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  16112. this.$this = t0;
  16113. this.node = t1;
  16114. },
  16115. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  16116. this.node = t0;
  16117. this.operand = t1;
  16118. },
  16119. _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
  16120. this.$this = t0;
  16121. this.node = t1;
  16122. this.inMinMax = t2;
  16123. },
  16124. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  16125. this.$this = t0;
  16126. },
  16127. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  16128. this.$this = t0;
  16129. this.node = t1;
  16130. },
  16131. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
  16132. this._box_0 = t0;
  16133. this.$this = t1;
  16134. this.node = t2;
  16135. },
  16136. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  16137. this.$this = t0;
  16138. this.node = t1;
  16139. this.$function = t2;
  16140. },
  16141. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  16142. var _ = this;
  16143. _.$this = t0;
  16144. _.callable = t1;
  16145. _.evaluated = t2;
  16146. _.nodeWithSpan = t3;
  16147. _.run = t4;
  16148. _.V = t5;
  16149. },
  16150. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  16151. var _ = this;
  16152. _.$this = t0;
  16153. _.evaluated = t1;
  16154. _.callable = t2;
  16155. _.nodeWithSpan = t3;
  16156. _.run = t4;
  16157. _.V = t5;
  16158. },
  16159. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  16160. var _ = this;
  16161. _.$this = t0;
  16162. _.evaluated = t1;
  16163. _.callable = t2;
  16164. _.nodeWithSpan = t3;
  16165. _.run = t4;
  16166. _.V = t5;
  16167. },
  16168. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  16169. },
  16170. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  16171. this.$this = t0;
  16172. this.callable = t1;
  16173. },
  16174. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  16175. this.overload = t0;
  16176. this.evaluated = t1;
  16177. this.namedSet = t2;
  16178. },
  16179. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
  16180. },
  16181. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  16182. },
  16183. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  16184. this.$this = t0;
  16185. this.restNodeForSpan = t1;
  16186. },
  16187. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  16188. var _ = this;
  16189. _.$this = t0;
  16190. _.named = t1;
  16191. _.restNodeForSpan = t2;
  16192. _.namedNodes = t3;
  16193. },
  16194. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  16195. },
  16196. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  16197. this.restArgs = t0;
  16198. },
  16199. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  16200. this.$this = t0;
  16201. this.restNodeForSpan = t1;
  16202. this.restArgs = t2;
  16203. },
  16204. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  16205. var _ = this;
  16206. _.$this = t0;
  16207. _.named = t1;
  16208. _.restNodeForSpan = t2;
  16209. _.restArgs = t3;
  16210. },
  16211. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  16212. this.$this = t0;
  16213. this.keywordRestNodeForSpan = t1;
  16214. this.keywordRestArgs = t2;
  16215. },
  16216. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  16217. var _ = this;
  16218. _.$this = t0;
  16219. _.values = t1;
  16220. _.convert = t2;
  16221. _.expressionNode = t3;
  16222. _.map = t4;
  16223. _.nodeWithSpan = t5;
  16224. },
  16225. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  16226. this.$arguments = t0;
  16227. this.positional = t1;
  16228. this.named = t2;
  16229. },
  16230. _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
  16231. this.$this = t0;
  16232. },
  16233. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  16234. this.$this = t0;
  16235. this.node = t1;
  16236. },
  16237. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  16238. },
  16239. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  16240. this.$this = t0;
  16241. this.node = t1;
  16242. },
  16243. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  16244. },
  16245. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  16246. this.$this = t0;
  16247. this.node = t1;
  16248. },
  16249. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  16250. var _ = this;
  16251. _.$this = t0;
  16252. _.mergedQueries = t1;
  16253. _.node = t2;
  16254. _.mergedSources = t3;
  16255. },
  16256. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  16257. this.$this = t0;
  16258. this.node = t1;
  16259. },
  16260. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  16261. this.$this = t0;
  16262. this.node = t1;
  16263. },
  16264. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  16265. this.mergedSources = t0;
  16266. },
  16267. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  16268. this.$this = t0;
  16269. this.rule = t1;
  16270. this.node = t2;
  16271. },
  16272. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  16273. this.$this = t0;
  16274. this.node = t1;
  16275. },
  16276. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  16277. },
  16278. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  16279. this.$this = t0;
  16280. this.node = t1;
  16281. },
  16282. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  16283. this.$this = t0;
  16284. this.node = t1;
  16285. },
  16286. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  16287. },
  16288. _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
  16289. this.$this = t0;
  16290. this.warnForColor = t1;
  16291. this.interpolation = t2;
  16292. },
  16293. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  16294. this.value = t0;
  16295. this.quote = t1;
  16296. },
  16297. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  16298. this.$this = t0;
  16299. this.expression = t1;
  16300. },
  16301. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  16302. },
  16303. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  16304. this.$this = t0;
  16305. },
  16306. _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
  16307. this.$this = t0;
  16308. },
  16309. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  16310. this._async_evaluate0$_visitor = t0;
  16311. },
  16312. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  16313. },
  16314. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  16315. this.hasBeenMerged = t0;
  16316. },
  16317. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  16318. },
  16319. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  16320. },
  16321. EvaluateResult0: function EvaluateResult0(t0, t1) {
  16322. this.stylesheet = t0;
  16323. this.loadedUrls = t1;
  16324. },
  16325. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  16326. this._async_evaluate0$_visitor = t0;
  16327. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  16328. },
  16329. _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
  16330. var _ = this;
  16331. _.positional = t0;
  16332. _.positionalNodes = t1;
  16333. _.named = t2;
  16334. _.namedNodes = t3;
  16335. _.separator = t4;
  16336. },
  16337. _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
  16338. this.stylesheet = t0;
  16339. this.importer = t1;
  16340. this.isDependency = t2;
  16341. },
  16342. NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
  16343. this._findFileUrl = t0;
  16344. },
  16345. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  16346. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16347. t2 = type$.Uri,
  16348. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  16349. return new A.AsyncImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  16350. },
  16351. AsyncImportCache$none(logger) {
  16352. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16353. t2 = type$.Uri;
  16354. return new A.AsyncImportCache0(B.List_empty25, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  16355. },
  16356. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  16357. var sassPath, t2, t3, _i, path, _null = null,
  16358. t1 = J.get$env$x(self.process);
  16359. if (t1 == null)
  16360. t1 = type$.Object._as(t1);
  16361. sassPath = A._asStringQ(t1.SASS_PATH);
  16362. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  16363. if (importers != null)
  16364. B.JSArray_methods.addAll$1(t1, importers);
  16365. if (loadPaths != null)
  16366. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  16367. t3 = t2.get$current(t2);
  16368. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  16369. }
  16370. if (sassPath != null) {
  16371. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  16372. t3 = t2.length;
  16373. _i = 0;
  16374. for (; _i < t3; ++_i) {
  16375. path = t2[_i];
  16376. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  16377. }
  16378. }
  16379. return t1;
  16380. },
  16381. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  16382. var _ = this;
  16383. _._async_import_cache0$_importers = t0;
  16384. _._async_import_cache0$_logger = t1;
  16385. _._async_import_cache0$_canonicalizeCache = t2;
  16386. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  16387. _._async_import_cache0$_importCache = t4;
  16388. _._async_import_cache0$_resultsCache = t5;
  16389. },
  16390. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  16391. var _ = this;
  16392. _.$this = t0;
  16393. _.baseUrl = t1;
  16394. _.url = t2;
  16395. _.baseImporter = t3;
  16396. _.forImport = t4;
  16397. },
  16398. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
  16399. this.$this = t0;
  16400. this.url = t1;
  16401. this.forImport = t2;
  16402. },
  16403. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  16404. this.importer = t0;
  16405. this.url = t1;
  16406. },
  16407. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  16408. var _ = this;
  16409. _.$this = t0;
  16410. _.importer = t1;
  16411. _.canonicalUrl = t2;
  16412. _.originalUrl = t3;
  16413. _.quiet = t4;
  16414. },
  16415. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  16416. this.canonicalUrl = t0;
  16417. },
  16418. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
  16419. },
  16420. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  16421. },
  16422. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  16423. this.scanner = t0;
  16424. this.logger = t1;
  16425. },
  16426. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  16427. this.$this = t0;
  16428. },
  16429. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  16430. var _ = this;
  16431. _.include = t0;
  16432. _.names = t1;
  16433. _._at_root_query0$_all = t2;
  16434. _._at_root_query0$_rule = t3;
  16435. },
  16436. AtRootRule$0(children, span, query) {
  16437. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  16438. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16439. return new A.AtRootRule0(query, span, t1, t2);
  16440. },
  16441. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  16442. var _ = this;
  16443. _.query = t0;
  16444. _.span = t1;
  16445. _.children = t2;
  16446. _.hasDeclarations = t3;
  16447. },
  16448. ModifiableCssAtRule$0($name, span, childless, value) {
  16449. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  16450. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  16451. },
  16452. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  16453. var _ = this;
  16454. _.name = t0;
  16455. _.value = t1;
  16456. _.isChildless = t2;
  16457. _.span = t3;
  16458. _.children = t4;
  16459. _._node0$_children = t5;
  16460. _._node0$_indexInParent = _._node0$_parent = null;
  16461. _.isGroupEnd = false;
  16462. },
  16463. AtRule$0($name, span, children, value) {
  16464. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  16465. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16466. return new A.AtRule0($name, value, span, t1, t2 === true);
  16467. },
  16468. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  16469. var _ = this;
  16470. _.name = t0;
  16471. _.value = t1;
  16472. _.span = t2;
  16473. _.children = t3;
  16474. _.hasDeclarations = t4;
  16475. },
  16476. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
  16477. var _ = this;
  16478. _.name = t0;
  16479. _.op = t1;
  16480. _.value = t2;
  16481. _.modifier = t3;
  16482. },
  16483. AttributeOperator0: function AttributeOperator0(t0, t1) {
  16484. this._attribute0$_text = t0;
  16485. this._name = t1;
  16486. },
  16487. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  16488. var _ = this;
  16489. _.operator = t0;
  16490. _.left = t1;
  16491. _.right = t2;
  16492. _.allowsSlash = t3;
  16493. },
  16494. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3) {
  16495. var _ = this;
  16496. _.name = t0;
  16497. _.operator = t1;
  16498. _.precedence = t2;
  16499. _._name = t3;
  16500. },
  16501. BooleanExpression0: function BooleanExpression0(t0, t1) {
  16502. this.value = t0;
  16503. this.span = t1;
  16504. },
  16505. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  16506. },
  16507. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  16508. },
  16509. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  16510. },
  16511. booleanClass_closure: function booleanClass_closure() {
  16512. },
  16513. booleanClass__closure: function booleanClass__closure() {
  16514. },
  16515. SassBoolean0: function SassBoolean0(t0) {
  16516. this.value = t0;
  16517. },
  16518. BuiltInCallable$function0($name, $arguments, callback, url) {
  16519. return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback, type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  16520. },
  16521. BuiltInCallable$mixin0($name, $arguments, callback, url) {
  16522. return new A.BuiltInCallable0($name, A._setArrayType([new A.Tuple2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  16523. },
  16524. BuiltInCallable$overloadedFunction0($name, overloads) {
  16525. var t2, t3, t4, t5, t6, t7, t8,
  16526. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
  16527. for (t2 = overloads.get$entries(overloads), t2 = t2.get$iterator(t2), t3 = type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value, t4 = "@function " + $name + "(", t5 = type$.String, t6 = type$.VariableDeclaration_2; t2.moveNext$0();) {
  16528. t7 = t2.get$current(t2);
  16529. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  16530. t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0).parseArgumentDeclaration$0(), t7.value, t3));
  16531. }
  16532. return new A.BuiltInCallable0($name, t1);
  16533. },
  16534. BuiltInCallable0: function BuiltInCallable0(t0, t1) {
  16535. this.name = t0;
  16536. this._built_in$_overloads = t1;
  16537. },
  16538. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  16539. this.callback = t0;
  16540. },
  16541. BuiltInModule$0($name, functions, mixins, variables, $T) {
  16542. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  16543. t2 = A.BuiltInModule__callableMap0(functions, $T),
  16544. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  16545. t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  16546. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  16547. },
  16548. BuiltInModule__callableMap0(callables, $T) {
  16549. var t2, _i, callable,
  16550. t1 = type$.String;
  16551. if (callables == null)
  16552. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16553. else {
  16554. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16555. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  16556. callable = callables[_i];
  16557. t1.$indexSet(0, J.get$name$x(callable), callable);
  16558. }
  16559. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16560. }
  16561. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16562. },
  16563. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  16564. var _ = this;
  16565. _.url = t0;
  16566. _.functions = t1;
  16567. _.mixins = t2;
  16568. _.variables = t3;
  16569. _.$ti = t4;
  16570. },
  16571. CalculationExpression__verifyArguments0($arguments) {
  16572. return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
  16573. },
  16574. CalculationExpression__verify0(expression) {
  16575. var t1,
  16576. _s29_ = "Invalid calculation argument ";
  16577. if (expression instanceof A.NumberExpression0)
  16578. return;
  16579. if (expression instanceof A.CalculationExpression0)
  16580. return;
  16581. if (expression instanceof A.VariableExpression0)
  16582. return;
  16583. if (expression instanceof A.FunctionExpression0)
  16584. return;
  16585. if (expression instanceof A.IfExpression0)
  16586. return;
  16587. if (expression instanceof A.StringExpression0) {
  16588. if (expression.hasQuotes)
  16589. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16590. } else if (expression instanceof A.ParenthesizedExpression0)
  16591. A.CalculationExpression__verify0(expression.expression);
  16592. else if (expression instanceof A.BinaryOperationExpression0) {
  16593. A.CalculationExpression__verify0(expression.left);
  16594. A.CalculationExpression__verify0(expression.right);
  16595. t1 = expression.operator;
  16596. if (t1 === B.BinaryOperator_qbf0)
  16597. return;
  16598. if (t1 === B.BinaryOperator_KlB0)
  16599. return;
  16600. if (t1 === B.BinaryOperator_6pl0)
  16601. return;
  16602. if (t1 === B.BinaryOperator_qpm0)
  16603. return;
  16604. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16605. } else
  16606. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16607. },
  16608. CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
  16609. this.name = t0;
  16610. this.$arguments = t1;
  16611. this.span = t2;
  16612. },
  16613. CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
  16614. },
  16615. SassCalculation_calc0(argument) {
  16616. argument = A.SassCalculation__simplify0(argument);
  16617. if (argument instanceof A.SassNumber0)
  16618. return argument;
  16619. if (argument instanceof A.SassCalculation0)
  16620. return argument;
  16621. return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
  16622. },
  16623. SassCalculation_min0($arguments) {
  16624. var minimum, _i, arg, t2,
  16625. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16626. t1 = args.length;
  16627. if (t1 === 0)
  16628. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  16629. for (minimum = null, _i = 0; _i < t1; ++_i) {
  16630. arg = args[_i];
  16631. if (arg instanceof A.SassNumber0)
  16632. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  16633. else
  16634. t2 = true;
  16635. if (t2) {
  16636. minimum = null;
  16637. break;
  16638. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  16639. minimum = arg;
  16640. }
  16641. if (minimum != null)
  16642. return minimum;
  16643. A.SassCalculation__verifyCompatibleNumbers0(args);
  16644. return new A.SassCalculation0("min", args);
  16645. },
  16646. SassCalculation_max0($arguments) {
  16647. var maximum, _i, arg, t2,
  16648. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16649. t1 = args.length;
  16650. if (t1 === 0)
  16651. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  16652. for (maximum = null, _i = 0; _i < t1; ++_i) {
  16653. arg = args[_i];
  16654. if (arg instanceof A.SassNumber0)
  16655. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  16656. else
  16657. t2 = true;
  16658. if (t2) {
  16659. maximum = null;
  16660. break;
  16661. } else if (maximum == null || maximum.lessThan$1(arg).value)
  16662. maximum = arg;
  16663. }
  16664. if (maximum != null)
  16665. return maximum;
  16666. A.SassCalculation__verifyCompatibleNumbers0(args);
  16667. return new A.SassCalculation0("max", args);
  16668. },
  16669. SassCalculation_clamp0(min, value, max) {
  16670. var t1, args;
  16671. if (value == null && max != null)
  16672. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  16673. min = A.SassCalculation__simplify0(min);
  16674. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  16675. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  16676. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  16677. if (value.lessThanOrEquals$1(min).value)
  16678. return min;
  16679. if (value.greaterThanOrEquals$1(max).value)
  16680. return max;
  16681. return value;
  16682. }
  16683. t1 = [min];
  16684. if (value != null)
  16685. t1.push(value);
  16686. if (max != null)
  16687. t1.push(max);
  16688. args = A.List_List$unmodifiable(t1, type$.Object);
  16689. A.SassCalculation__verifyCompatibleNumbers0(args);
  16690. A.SassCalculation__verifyLength0(args, 3);
  16691. return new A.SassCalculation0("clamp", args);
  16692. },
  16693. SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
  16694. var t1, t2;
  16695. if (!simplify)
  16696. return new A.CalculationOperation0(operator, left, right);
  16697. left = A.SassCalculation__simplify0(left);
  16698. right = A.SassCalculation__simplify0(right);
  16699. t1 = operator === B.CalculationOperator_IyK0;
  16700. if (t1 || operator === B.CalculationOperator_2bx0) {
  16701. if (left instanceof A.SassNumber0)
  16702. if (right instanceof A.SassNumber0)
  16703. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  16704. else
  16705. t2 = false;
  16706. else
  16707. t2 = false;
  16708. if (t2)
  16709. return t1 ? left.plus$1(right) : left.minus$1(right);
  16710. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  16711. if (right instanceof A.SassNumber0) {
  16712. t2 = right._number1$_value;
  16713. t2 = t2 < 0 && !A.fuzzyEquals0(t2, 0);
  16714. } else
  16715. t2 = false;
  16716. if (t2) {
  16717. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  16718. operator = t1 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  16719. }
  16720. return new A.CalculationOperation0(operator, left, right);
  16721. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  16722. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  16723. else
  16724. return new A.CalculationOperation0(operator, left, right);
  16725. },
  16726. SassCalculation__simplify0(arg) {
  16727. var _s32_ = " can't be used in a calculation.";
  16728. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
  16729. return arg;
  16730. else if (arg instanceof A.SassString0) {
  16731. if (!arg._string0$_hasQuotes)
  16732. return arg;
  16733. throw A.wrapException(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, null));
  16734. } else if (arg instanceof A.SassCalculation0)
  16735. return arg.name === "calc" ? arg.$arguments[0] : arg;
  16736. else if (arg instanceof A.Value0)
  16737. throw A.wrapException(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, null));
  16738. else
  16739. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  16740. },
  16741. SassCalculation__verifyCompatibleNumbers0(args) {
  16742. var t1, _i, t2, arg, i, number1, j, number2;
  16743. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  16744. arg = args[_i];
  16745. if (!(arg instanceof A.SassNumber0))
  16746. continue;
  16747. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  16748. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  16749. }
  16750. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  16751. number1 = args[i];
  16752. if (!(number1 instanceof A.SassNumber0))
  16753. continue;
  16754. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  16755. number2 = args[j];
  16756. if (!(number2 instanceof A.SassNumber0))
  16757. continue;
  16758. if (number1.hasPossiblyCompatibleUnits$1(number2))
  16759. continue;
  16760. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  16761. }
  16762. }
  16763. },
  16764. SassCalculation__verifyLength0(args, expectedLength) {
  16765. var t1 = args.length;
  16766. if (t1 === expectedLength)
  16767. return;
  16768. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  16769. return;
  16770. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  16771. },
  16772. SassCalculation0: function SassCalculation0(t0, t1) {
  16773. this.name = t0;
  16774. this.$arguments = t1;
  16775. },
  16776. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  16777. },
  16778. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  16779. this.operator = t0;
  16780. this.left = t1;
  16781. this.right = t2;
  16782. },
  16783. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  16784. var _ = this;
  16785. _.name = t0;
  16786. _.operator = t1;
  16787. _.precedence = t2;
  16788. _._name = t3;
  16789. },
  16790. CalculationInterpolation0: function CalculationInterpolation0(t0) {
  16791. this.value = t0;
  16792. },
  16793. CallableDeclaration0: function CallableDeclaration0() {
  16794. },
  16795. Chokidar0: function Chokidar0() {
  16796. },
  16797. ChokidarOptions0: function ChokidarOptions0() {
  16798. },
  16799. ChokidarWatcher0: function ChokidarWatcher0() {
  16800. },
  16801. ClassSelector0: function ClassSelector0(t0) {
  16802. this.name = t0;
  16803. },
  16804. cloneCssStylesheet0(stylesheet, extensionStore) {
  16805. var result = extensionStore.clone$0();
  16806. return new A.Tuple2(new A._CloneCssVisitor0(result.item2)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore_2);
  16807. },
  16808. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  16809. this._clone_css$_oldToNewSelectors = t0;
  16810. },
  16811. ColorExpression0: function ColorExpression0(t0, t1) {
  16812. this.value = t0;
  16813. this.span = t1;
  16814. },
  16815. _updateComponents0($arguments, adjust, change, scale) {
  16816. var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
  16817. t1 = J.getInterceptor$asx($arguments),
  16818. color = t1.$index($arguments, 0).assertColor$1("color"),
  16819. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  16820. if (argumentList._list1$_contents.length !== 0)
  16821. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  16822. argumentList._argument_list$_wereKeywordsAccessed = true;
  16823. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  16824. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  16825. alpha = t1.call$2("alpha", 1);
  16826. red = t1.call$2("red", 255);
  16827. green = t1.call$2("green", 255);
  16828. blue = t1.call$2("blue", 255);
  16829. if (scale)
  16830. hueNumber = _null;
  16831. else {
  16832. t2 = keywords.remove$1(0, "hue");
  16833. hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
  16834. }
  16835. t2 = hueNumber == null;
  16836. if (!t2)
  16837. A._checkAngle0(hueNumber, "hue");
  16838. hue = t2 ? _null : hueNumber._number1$_value;
  16839. saturation = t1.call$3$checkPercent("saturation", 100, true);
  16840. lightness = t1.call$3$checkPercent("lightness", 100, true);
  16841. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  16842. blackness = t1.call$3$assertPercent("blackness", 100, true);
  16843. t1 = keywords.__js_helper$_length;
  16844. if (t1 !== 0)
  16845. throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.S(A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or")) + ".", _null));
  16846. hasRgb = red != null || green != null || blue != null;
  16847. hasSL = saturation != null || lightness != null;
  16848. hasWB = whiteness != null || blackness != null;
  16849. if (hasRgb)
  16850. t1 = hasSL || hasWB || hue != null;
  16851. else
  16852. t1 = false;
  16853. if (t1)
  16854. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  16855. if (hasSL && hasWB)
  16856. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  16857. t1 = new A._updateComponents_updateValue0(change, adjust);
  16858. t2 = new A._updateComponents_updateRgb0(t1);
  16859. if (hasRgb) {
  16860. t3 = t2.call$2(color.get$red(color), red);
  16861. t4 = t2.call$2(color.get$green(color), green);
  16862. t2 = t2.call$2(color.get$blue(color), blue);
  16863. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  16864. } else if (hasWB) {
  16865. if (change)
  16866. t2 = hue;
  16867. else {
  16868. t2 = color.get$hue(color);
  16869. t2 += hue == null ? 0 : hue;
  16870. }
  16871. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  16872. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  16873. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  16874. } else {
  16875. t2 = hue == null;
  16876. if (!t2 || hasSL) {
  16877. if (change)
  16878. t2 = hue;
  16879. else {
  16880. t3 = color.get$hue(color);
  16881. t3 += t2 ? 0 : hue;
  16882. t2 = t3;
  16883. }
  16884. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  16885. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  16886. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  16887. } else if (alpha != null)
  16888. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  16889. else
  16890. return color;
  16891. }
  16892. },
  16893. _functionString0($name, $arguments) {
  16894. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  16895. },
  16896. _removedColorFunction0($name, argument, negative) {
  16897. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  16898. },
  16899. _rgb0($name, $arguments) {
  16900. var t2, red, green, blue,
  16901. t1 = J.getInterceptor$asx($arguments),
  16902. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  16903. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  16904. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  16905. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  16906. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  16907. t2 = t2 === true;
  16908. } else
  16909. t2 = true;
  16910. else
  16911. t2 = true;
  16912. else
  16913. t2 = true;
  16914. if (t2)
  16915. return A._functionString0($name, $arguments);
  16916. red = t1.$index($arguments, 0).assertNumber$1("red");
  16917. green = t1.$index($arguments, 1).assertNumber$1("green");
  16918. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  16919. return A.SassColor$rgbInternal0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), B._ColorFormatEnum_rgbFunction0);
  16920. },
  16921. _rgbTwoArg0($name, $arguments) {
  16922. var first, color,
  16923. t1 = J.getInterceptor$asx($arguments);
  16924. if (t1.$index($arguments, 0).get$isVar())
  16925. return A._functionString0($name, $arguments);
  16926. else if (t1.$index($arguments, 1).get$isVar()) {
  16927. first = t1.$index($arguments, 0);
  16928. if (first instanceof A.SassColor0)
  16929. return new A.SassString0($name + "(" + first.get$red(first) + ", " + first.get$green(first) + ", " + first.get$blue(first) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  16930. else
  16931. return A._functionString0($name, $arguments);
  16932. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  16933. color = t1.$index($arguments, 0).assertColor$1("color");
  16934. return new A.SassString0($name + "(" + color.get$red(color) + ", " + color.get$green(color) + ", " + color.get$blue(color) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  16935. }
  16936. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  16937. },
  16938. _hsl0($name, $arguments) {
  16939. var t2, hue, saturation, lightness,
  16940. _s10_ = "saturation",
  16941. _s9_ = "lightness",
  16942. t1 = J.getInterceptor$asx($arguments),
  16943. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  16944. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  16945. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  16946. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  16947. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  16948. t2 = t2 === true;
  16949. } else
  16950. t2 = true;
  16951. else
  16952. t2 = true;
  16953. else
  16954. t2 = true;
  16955. if (t2)
  16956. return A._functionString0($name, $arguments);
  16957. hue = t1.$index($arguments, 0).assertNumber$1("hue");
  16958. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  16959. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  16960. A._checkAngle0(hue, "hue");
  16961. A._checkPercent0(saturation, _s10_);
  16962. A._checkPercent0(lightness, _s9_);
  16963. return A.SassColor$hslInternal0(hue._number1$_value, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()), B._ColorFormatEnum_hslFunction0);
  16964. },
  16965. _checkAngle0(angle, $name) {
  16966. var t1, t2, t3;
  16967. if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
  16968. return;
  16969. t1 = "" + ("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
  16970. t2 = "To preserve current behavior: $" + $name;
  16971. if (angle.compatibleWithUnit$1("deg")) {
  16972. t3 = type$.JSArray_String;
  16973. t2 = t1 + ("You're passing " + angle.toString$0(0) + string$.x2c_whici + A.SassNumber_SassNumber0(angle._number1$_value, "deg").toString$0(0) + ".\n") + (string$.Soon__ + angle.coerce$2(A._setArrayType(["deg"], t3), A._setArrayType([], t3)).toString$0(0) + ".\n") + "\n" + (t2 + " * 1deg/1" + B.JSArray_methods.get$first(angle.get$numeratorUnits(angle)) + "\n") + ("To migrate to new behavior: 0deg + $" + $name + "\n") + "\n";
  16974. t1 = t2;
  16975. } else
  16976. t1 = t1 + (t2 + A._removeUnits0(angle) + "\n") + "\n";
  16977. t1 += "See https://sass-lang.com/d/color-units";
  16978. A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
  16979. },
  16980. _checkPercent0(number, $name) {
  16981. var t1, t2;
  16982. if (number.hasUnit$1("%"))
  16983. return;
  16984. t1 = number.toString$0(0);
  16985. t2 = A._removeUnits0(number);
  16986. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + $name + t2 + " * 1%", true);
  16987. },
  16988. _removeUnits0(number) {
  16989. var t2,
  16990. t1 = number.get$denominatorUnits(number);
  16991. t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  16992. t2 = number.get$numeratorUnits(number);
  16993. return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  16994. },
  16995. _hwb0($arguments) {
  16996. var _s9_ = "whiteness",
  16997. _s9_0 = "blackness",
  16998. t1 = J.getInterceptor$asx($arguments),
  16999. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  17000. hue = t1.$index($arguments, 0).assertNumber$1("hue"),
  17001. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  17002. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  17003. A._checkAngle0(hue, "hue");
  17004. whiteness.assertUnit$2("%", _s9_);
  17005. blackness.assertUnit$2("%", _s9_0);
  17006. return A.SassColor_SassColor$hwb0(hue._number1$_value, whiteness.valueInRange$3(0, 100, _s9_), blackness.valueInRange$3(0, 100, _s9_0), A.NullableExtension_andThen0(alpha, new A._hwb_closure0()));
  17007. },
  17008. _parseChannels0($name, argumentNames, channels) {
  17009. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  17010. _s17_ = "$channels must be";
  17011. if (channels.get$isVar())
  17012. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17013. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  17014. list = channels.get$asList();
  17015. t1 = list.length;
  17016. if (t1 !== 2)
  17017. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  17018. channels0 = list[0];
  17019. alphaFromSlashList = list[1];
  17020. if (!alphaFromSlashList.get$isSpecialNumber())
  17021. alphaFromSlashList.assertNumber$1("alpha");
  17022. if (list[0].get$isVar())
  17023. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17024. } else {
  17025. alphaFromSlashList = _null;
  17026. channels0 = channels;
  17027. }
  17028. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  17029. isBracketed = channels0.get$hasBrackets();
  17030. if (isCommaSeparated || isBracketed) {
  17031. buffer = new A.StringBuffer(_s17_);
  17032. if (isBracketed) {
  17033. t1 = _s17_ + " an unbracketed";
  17034. buffer._contents = t1;
  17035. } else
  17036. t1 = _s17_;
  17037. if (isCommaSeparated) {
  17038. t1 += isBracketed ? "," : " a";
  17039. buffer._contents = t1;
  17040. t1 = buffer._contents = t1 + " space-separated";
  17041. }
  17042. buffer._contents = t1 + " list.";
  17043. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  17044. }
  17045. list = channels0.get$asList();
  17046. t1 = list.length;
  17047. if (t1 > 3)
  17048. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  17049. else if (t1 < 3) {
  17050. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  17051. if (list.length !== 0) {
  17052. t1 = B.JSArray_methods.get$last(list);
  17053. if (t1 instanceof A.SassString0)
  17054. if (t1._string0$_hasQuotes) {
  17055. t1 = t1._string0$_text;
  17056. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  17057. } else
  17058. t1 = false;
  17059. else
  17060. t1 = false;
  17061. } else
  17062. t1 = false;
  17063. else
  17064. t1 = true;
  17065. if (t1)
  17066. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17067. else
  17068. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  17069. }
  17070. if (alphaFromSlashList != null) {
  17071. t1 = A.List_List$of(list, true, type$.Value_2);
  17072. t1.push(alphaFromSlashList);
  17073. return t1;
  17074. }
  17075. maybeSlashSeparated = list[2];
  17076. if (maybeSlashSeparated instanceof A.SassNumber0) {
  17077. slash = maybeSlashSeparated.asSlash;
  17078. if (slash == null)
  17079. return list;
  17080. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
  17081. } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
  17082. return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  17083. else
  17084. return list;
  17085. },
  17086. _percentageOrUnitless0(number, max, $name) {
  17087. var value;
  17088. if (!number.get$hasUnits())
  17089. value = number._number1$_value;
  17090. else if (number.hasUnit$1("%"))
  17091. value = max * number._number1$_value / 100;
  17092. else
  17093. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  17094. return B.JSNumber_methods.clamp$2(value, 0, max);
  17095. },
  17096. _mixColors0(color1, color2, weight) {
  17097. var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  17098. normalizedWeight = weightScale * 2 - 1,
  17099. t1 = color1._color1$_alpha,
  17100. t2 = color2._color1$_alpha,
  17101. alphaDistance = t1 - t2,
  17102. t3 = normalizedWeight * alphaDistance,
  17103. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
  17104. weight2 = 1 - weight1;
  17105. return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound0(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound0(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  17106. },
  17107. _opacify0($arguments) {
  17108. var t1 = J.getInterceptor$asx($arguments),
  17109. color = t1.$index($arguments, 0).assertColor$1("color");
  17110. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  17111. },
  17112. _transparentize0($arguments) {
  17113. var t1 = J.getInterceptor$asx($arguments),
  17114. color = t1.$index($arguments, 0).assertColor$1("color");
  17115. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  17116. },
  17117. _function11($name, $arguments, callback) {
  17118. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  17119. },
  17120. global_closure30: function global_closure30() {
  17121. },
  17122. global_closure31: function global_closure31() {
  17123. },
  17124. global_closure32: function global_closure32() {
  17125. },
  17126. global_closure33: function global_closure33() {
  17127. },
  17128. global_closure34: function global_closure34() {
  17129. },
  17130. global_closure35: function global_closure35() {
  17131. },
  17132. global_closure36: function global_closure36() {
  17133. },
  17134. global_closure37: function global_closure37() {
  17135. },
  17136. global_closure38: function global_closure38() {
  17137. },
  17138. global_closure39: function global_closure39() {
  17139. },
  17140. global_closure40: function global_closure40() {
  17141. },
  17142. global_closure41: function global_closure41() {
  17143. },
  17144. global_closure42: function global_closure42() {
  17145. },
  17146. global_closure43: function global_closure43() {
  17147. },
  17148. global_closure44: function global_closure44() {
  17149. },
  17150. global_closure45: function global_closure45() {
  17151. },
  17152. global_closure46: function global_closure46() {
  17153. },
  17154. global_closure47: function global_closure47() {
  17155. },
  17156. global_closure48: function global_closure48() {
  17157. },
  17158. global_closure49: function global_closure49() {
  17159. },
  17160. global_closure50: function global_closure50() {
  17161. },
  17162. global_closure51: function global_closure51() {
  17163. },
  17164. global_closure52: function global_closure52() {
  17165. },
  17166. global_closure53: function global_closure53() {
  17167. },
  17168. global_closure54: function global_closure54() {
  17169. },
  17170. global_closure55: function global_closure55() {
  17171. },
  17172. global__closure0: function global__closure0() {
  17173. },
  17174. global_closure56: function global_closure56() {
  17175. },
  17176. module_closure8: function module_closure8() {
  17177. },
  17178. module_closure9: function module_closure9() {
  17179. },
  17180. module_closure10: function module_closure10() {
  17181. },
  17182. module_closure11: function module_closure11() {
  17183. },
  17184. module_closure12: function module_closure12() {
  17185. },
  17186. module_closure13: function module_closure13() {
  17187. },
  17188. module_closure14: function module_closure14() {
  17189. },
  17190. module_closure15: function module_closure15() {
  17191. },
  17192. module__closure0: function module__closure0() {
  17193. },
  17194. module_closure16: function module_closure16() {
  17195. },
  17196. _red_closure0: function _red_closure0() {
  17197. },
  17198. _green_closure0: function _green_closure0() {
  17199. },
  17200. _blue_closure0: function _blue_closure0() {
  17201. },
  17202. _mix_closure0: function _mix_closure0() {
  17203. },
  17204. _hue_closure0: function _hue_closure0() {
  17205. },
  17206. _saturation_closure0: function _saturation_closure0() {
  17207. },
  17208. _lightness_closure0: function _lightness_closure0() {
  17209. },
  17210. _complement_closure0: function _complement_closure0() {
  17211. },
  17212. _adjust_closure0: function _adjust_closure0() {
  17213. },
  17214. _scale_closure0: function _scale_closure0() {
  17215. },
  17216. _change_closure0: function _change_closure0() {
  17217. },
  17218. _ieHexStr_closure0: function _ieHexStr_closure0() {
  17219. },
  17220. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  17221. },
  17222. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  17223. this.keywords = t0;
  17224. this.scale = t1;
  17225. this.change = t2;
  17226. },
  17227. _updateComponents_closure0: function _updateComponents_closure0() {
  17228. },
  17229. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  17230. this.change = t0;
  17231. this.adjust = t1;
  17232. },
  17233. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  17234. this.updateValue = t0;
  17235. },
  17236. _functionString_closure0: function _functionString_closure0() {
  17237. },
  17238. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  17239. this.name = t0;
  17240. this.argument = t1;
  17241. this.negative = t2;
  17242. },
  17243. _rgb_closure0: function _rgb_closure0() {
  17244. },
  17245. _hsl_closure0: function _hsl_closure0() {
  17246. },
  17247. _removeUnits_closure1: function _removeUnits_closure1() {
  17248. },
  17249. _removeUnits_closure2: function _removeUnits_closure2() {
  17250. },
  17251. _hwb_closure0: function _hwb_closure0() {
  17252. },
  17253. _parseChannels_closure0: function _parseChannels_closure0() {
  17254. },
  17255. _NodeSassColor: function _NodeSassColor() {
  17256. },
  17257. legacyColorClass_closure: function legacyColorClass_closure() {
  17258. },
  17259. legacyColorClass_closure0: function legacyColorClass_closure0() {
  17260. },
  17261. legacyColorClass_closure1: function legacyColorClass_closure1() {
  17262. },
  17263. legacyColorClass_closure2: function legacyColorClass_closure2() {
  17264. },
  17265. legacyColorClass_closure3: function legacyColorClass_closure3() {
  17266. },
  17267. legacyColorClass_closure4: function legacyColorClass_closure4() {
  17268. },
  17269. legacyColorClass_closure5: function legacyColorClass_closure5() {
  17270. },
  17271. legacyColorClass_closure6: function legacyColorClass_closure6() {
  17272. },
  17273. legacyColorClass_closure7: function legacyColorClass_closure7() {
  17274. },
  17275. colorClass_closure: function colorClass_closure() {
  17276. },
  17277. colorClass__closure: function colorClass__closure() {
  17278. },
  17279. colorClass__closure0: function colorClass__closure0() {
  17280. },
  17281. colorClass__closure1: function colorClass__closure1() {
  17282. },
  17283. colorClass__closure2: function colorClass__closure2() {
  17284. },
  17285. colorClass__closure3: function colorClass__closure3() {
  17286. },
  17287. colorClass__closure4: function colorClass__closure4() {
  17288. },
  17289. colorClass__closure5: function colorClass__closure5() {
  17290. },
  17291. colorClass__closure6: function colorClass__closure6() {
  17292. },
  17293. colorClass__closure7: function colorClass__closure7() {
  17294. },
  17295. colorClass__closure8: function colorClass__closure8() {
  17296. },
  17297. colorClass__closure9: function colorClass__closure9() {
  17298. },
  17299. _Channels: function _Channels() {
  17300. },
  17301. SassColor$rgb0(red, green, blue, alpha) {
  17302. var _null = null,
  17303. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17304. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17305. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17306. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17307. return t1;
  17308. },
  17309. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  17310. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17311. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17312. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17313. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17314. return t1;
  17315. },
  17316. SassColor$hsl(hue, saturation, lightness, alpha) {
  17317. var _null = null,
  17318. t1 = B.JSNumber_methods.$mod(hue, 360),
  17319. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17320. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17321. return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17322. },
  17323. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  17324. var t1 = B.JSNumber_methods.$mod(hue, 360),
  17325. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17326. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17327. return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17328. },
  17329. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  17330. var t2, t1 = {},
  17331. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  17332. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  17333. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  17334. sum = scaledWhiteness + scaledBlackness;
  17335. if (sum > 1) {
  17336. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  17337. scaledBlackness /= sum;
  17338. } else
  17339. t2 = scaledWhiteness;
  17340. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  17341. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  17342. },
  17343. SassColor__hueToRgb0(m1, m2, hue) {
  17344. if (hue < 0)
  17345. ++hue;
  17346. if (hue > 1)
  17347. --hue;
  17348. if (hue < 0.16666666666666666)
  17349. return m1 + (m2 - m1) * hue * 6;
  17350. else if (hue < 0.5)
  17351. return m2;
  17352. else if (hue < 0.6666666666666666)
  17353. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  17354. else
  17355. return m1;
  17356. },
  17357. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  17358. var _ = this;
  17359. _._color1$_red = t0;
  17360. _._color1$_green = t1;
  17361. _._color1$_blue = t2;
  17362. _._color1$_hue = t3;
  17363. _._color1$_saturation = t4;
  17364. _._color1$_lightness = t5;
  17365. _._color1$_alpha = t6;
  17366. _.format = t7;
  17367. },
  17368. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  17369. this._box_0 = t0;
  17370. this.factor = t1;
  17371. },
  17372. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  17373. this._color1$_name = t0;
  17374. },
  17375. SpanColorFormat0: function SpanColorFormat0(t0) {
  17376. this._color1$_span = t0;
  17377. },
  17378. Combinator0: function Combinator0(t0, t1) {
  17379. this._combinator0$_text = t0;
  17380. this._name = t1;
  17381. },
  17382. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  17383. var _ = this;
  17384. _.text = t0;
  17385. _.span = t1;
  17386. _._node0$_indexInParent = _._node0$_parent = null;
  17387. _.isGroupEnd = false;
  17388. },
  17389. compile0(path, options) {
  17390. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null,
  17391. t1 = options == null,
  17392. color0 = t1 ? _null : J.get$alertColor$x(options),
  17393. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17394. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17395. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17396. try {
  17397. t2 = t1 ? _null : J.get$loadPaths$x(options);
  17398. t3 = t1 ? _null : J.get$quietDeps$x(options);
  17399. if (t3 == null)
  17400. t3 = false;
  17401. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17402. t5 = t1 ? _null : J.get$verbose$x(options);
  17403. if (t5 == null)
  17404. t5 = false;
  17405. t6 = t1 ? _null : J.get$charset$x(options);
  17406. if (t6 == null)
  17407. t6 = true;
  17408. t7 = t1 ? _null : J.get$sourceMap$x(options);
  17409. if (t7 == null)
  17410. t7 = false;
  17411. t8 = t1 ? _null : J.get$logger$x(options);
  17412. t9 = ascii;
  17413. if (t9 == null)
  17414. t9 = $._glyphs === B.C_AsciiGlyphSet;
  17415. t9 = new A.NodeToDartLogger(t8, new A.StderrLogger0(color), t9);
  17416. if (t1)
  17417. t8 = _null;
  17418. else {
  17419. t8 = J.get$importers$x(options);
  17420. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  17421. }
  17422. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17423. result = A.compile(path, t6, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t8, t2, t9, _null), _null, _null, t9, _null, t3, t7, t4, _null, true, t5);
  17424. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17425. if (t1 == null)
  17426. t1 = false;
  17427. t1 = A._convertResult(result, t1);
  17428. return t1;
  17429. } catch (exception) {
  17430. t1 = A.unwrapException(exception);
  17431. if (t1 instanceof A.SassException0) {
  17432. error = t1;
  17433. stackTrace = A.getTraceFromException(exception);
  17434. A.throwNodeException(error, ascii, color, stackTrace);
  17435. } else
  17436. throw exception;
  17437. }
  17438. },
  17439. compileString0(text, options) {
  17440. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  17441. t1 = options == null,
  17442. color0 = t1 ? _null : J.get$alertColor$x(options),
  17443. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17444. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17445. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17446. try {
  17447. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  17448. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  17449. t4 = t1 ? _null : J.get$loadPaths$x(options);
  17450. t5 = t1 ? _null : J.get$quietDeps$x(options);
  17451. if (t5 == null)
  17452. t5 = false;
  17453. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17454. t7 = t1 ? _null : J.get$verbose$x(options);
  17455. if (t7 == null)
  17456. t7 = false;
  17457. t8 = t1 ? _null : J.get$charset$x(options);
  17458. if (t8 == null)
  17459. t8 = true;
  17460. t9 = t1 ? _null : J.get$sourceMap$x(options);
  17461. if (t9 == null)
  17462. t9 = false;
  17463. t10 = t1 ? _null : J.get$logger$x(options);
  17464. t11 = ascii;
  17465. if (t11 == null)
  17466. t11 = $._glyphs === B.C_AsciiGlyphSet;
  17467. t11 = new A.NodeToDartLogger(t10, new A.StderrLogger0(color), t11);
  17468. if (t1)
  17469. t10 = _null;
  17470. else {
  17471. t10 = J.get$importers$x(options);
  17472. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  17473. }
  17474. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  17475. if (t12 == null)
  17476. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
  17477. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17478. result = A.compileString(text, t8, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t10, t4, t11, _null), t12, _null, _null, t11, _null, t5, t9, t6, t2, t3, true, t7);
  17479. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17480. if (t1 == null)
  17481. t1 = false;
  17482. t1 = A._convertResult(result, t1);
  17483. return t1;
  17484. } catch (exception) {
  17485. t1 = A.unwrapException(exception);
  17486. if (t1 instanceof A.SassException0) {
  17487. error = t1;
  17488. stackTrace = A.getTraceFromException(exception);
  17489. A.throwNodeException(error, ascii, color, stackTrace);
  17490. } else
  17491. throw exception;
  17492. }
  17493. },
  17494. compileAsync1(path, options) {
  17495. var ascii,
  17496. t1 = options == null,
  17497. color = t1 ? null : J.get$alertColor$x(options);
  17498. if (color == null)
  17499. color = J.$eq$(self.process.stdout.isTTY, true);
  17500. ascii = t1 ? null : J.get$alertAscii$x(options);
  17501. if (ascii == null)
  17502. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17503. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  17504. },
  17505. compileStringAsync1(text, options) {
  17506. var ascii,
  17507. t1 = options == null,
  17508. color = t1 ? null : J.get$alertColor$x(options);
  17509. if (color == null)
  17510. color = J.$eq$(self.process.stdout.isTTY, true);
  17511. ascii = t1 ? null : J.get$alertAscii$x(options);
  17512. if (ascii == null)
  17513. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17514. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  17515. },
  17516. _convertResult(result, includeSourceContents) {
  17517. var loadedUrls,
  17518. t1 = result._compile_result$_serialize,
  17519. t2 = t1.sourceMap,
  17520. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  17521. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  17522. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  17523. t2 = result._evaluate.loadedUrls;
  17524. loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
  17525. t1 = t1.css;
  17526. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  17527. },
  17528. _wrapAsyncSassExceptions(promise, ascii, color) {
  17529. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  17530. },
  17531. _parseOutputStyle0(style) {
  17532. if (style == null || style === "expanded")
  17533. return B.OutputStyle_00;
  17534. if (style === "compressed")
  17535. return B.OutputStyle_10;
  17536. A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  17537. },
  17538. _parseAsyncImporter(importer) {
  17539. var t1, findFileUrl, canonicalize, load;
  17540. if (importer == null)
  17541. A.jsThrow(new self.Error("Importers may not be null."));
  17542. type$.NodeImporter._as(importer);
  17543. t1 = J.getInterceptor$x(importer);
  17544. findFileUrl = t1.get$findFileUrl(importer);
  17545. canonicalize = t1.get$canonicalize(importer);
  17546. load = t1.get$load(importer);
  17547. if (findFileUrl == null) {
  17548. if (canonicalize == null || load == null)
  17549. A.jsThrow(new self.Error(string$.An_impu));
  17550. return new A.NodeToDartAsyncImporter(canonicalize, load);
  17551. } else if (canonicalize != null || load != null)
  17552. A.jsThrow(new self.Error(string$.An_impa));
  17553. else
  17554. return new A.NodeToDartAsyncFileImporter(findFileUrl);
  17555. },
  17556. _parseImporter0(importer) {
  17557. var t1, findFileUrl, canonicalize, load;
  17558. if (importer == null)
  17559. A.jsThrow(new self.Error("Importers may not be null."));
  17560. type$.NodeImporter._as(importer);
  17561. t1 = J.getInterceptor$x(importer);
  17562. findFileUrl = t1.get$findFileUrl(importer);
  17563. canonicalize = t1.get$canonicalize(importer);
  17564. load = t1.get$load(importer);
  17565. if (findFileUrl == null) {
  17566. if (canonicalize == null || load == null)
  17567. A.jsThrow(new self.Error(string$.An_impu));
  17568. return new A.NodeToDartImporter(canonicalize, load);
  17569. } else if (canonicalize != null || load != null)
  17570. A.jsThrow(new self.Error(string$.An_impa));
  17571. else
  17572. return new A.NodeToDartFileImporter(findFileUrl);
  17573. },
  17574. _parseFunctions0(functions, asynch) {
  17575. var result;
  17576. if (functions == null)
  17577. return B.List_empty24;
  17578. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  17579. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  17580. return result;
  17581. },
  17582. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  17583. var _ = this;
  17584. _.path = t0;
  17585. _.color = t1;
  17586. _.options = t2;
  17587. _.ascii = t3;
  17588. },
  17589. compileAsync__closure: function compileAsync__closure() {
  17590. },
  17591. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  17592. var _ = this;
  17593. _.text = t0;
  17594. _.options = t1;
  17595. _.color = t2;
  17596. _.ascii = t3;
  17597. },
  17598. compileStringAsync__closure: function compileStringAsync__closure() {
  17599. },
  17600. compileStringAsync__closure0: function compileStringAsync__closure0() {
  17601. },
  17602. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  17603. this.color = t0;
  17604. this.ascii = t1;
  17605. },
  17606. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  17607. this.asynch = t0;
  17608. this.result = t1;
  17609. },
  17610. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  17611. this._box_0 = t0;
  17612. this.callback = t1;
  17613. },
  17614. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  17615. this._box_0 = t0;
  17616. this.callback = t1;
  17617. },
  17618. compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  17619. var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
  17620. if (!verbose) {
  17621. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  17622. logger = terseLogger;
  17623. } else
  17624. terseLogger = _null;
  17625. t1 = nodeImporter == null;
  17626. if (t1)
  17627. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  17628. else
  17629. t2 = false;
  17630. if (t2) {
  17631. if (importCache == null)
  17632. importCache = A.ImportCache$none(logger);
  17633. t2 = $.$get$context();
  17634. t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
  17635. t3 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), _null, _null, _null, _null, _null, _null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path));
  17636. t3.toString;
  17637. stylesheet = t3;
  17638. } else {
  17639. t2 = A.readFile0(path);
  17640. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  17641. t4 = $.$get$context();
  17642. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
  17643. t2 = t4;
  17644. }
  17645. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  17646. if (terseLogger != null)
  17647. terseLogger.summarize$1$node(!t1);
  17648. return result;
  17649. },
  17650. compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  17651. var terseLogger, stylesheet, result, _null = null;
  17652. if (!verbose) {
  17653. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  17654. logger = terseLogger;
  17655. } else
  17656. terseLogger = _null;
  17657. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  17658. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", _null, _null, _null, _null, _null, _null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  17659. if (terseLogger != null)
  17660. terseLogger.summarize$1$node(nodeImporter != null);
  17661. return result;
  17662. },
  17663. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  17664. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  17665. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  17666. resultSourceMap = serializeResult.sourceMap;
  17667. if (resultSourceMap != null && importCache != null)
  17668. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  17669. return new A.CompileResult0(evaluateResult, serializeResult);
  17670. },
  17671. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  17672. this.stylesheet = t0;
  17673. this.importCache = t1;
  17674. },
  17675. CompileOptions: function CompileOptions() {
  17676. },
  17677. CompileStringOptions: function CompileStringOptions() {
  17678. },
  17679. NodeCompileResult: function NodeCompileResult() {
  17680. },
  17681. CompileResult0: function CompileResult0(t0, t1) {
  17682. this._evaluate = t0;
  17683. this._compile_result$_serialize = t1;
  17684. },
  17685. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  17686. var _ = this;
  17687. _._complex0$_numeratorUnits = t0;
  17688. _._complex0$_denominatorUnits = t1;
  17689. _._number1$_value = t2;
  17690. _.hashCache = null;
  17691. _.asSlash = t3;
  17692. },
  17693. ComplexSelector$0(leadingCombinators, components, lineBreak) {
  17694. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.Combinator_2),
  17695. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  17696. if (t1.length === 0 && t2.length === 0)
  17697. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  17698. return new A.ComplexSelector0(t1, t2, lineBreak);
  17699. },
  17700. ComplexSelector0: function ComplexSelector0(t0, t1, t2) {
  17701. var _ = this;
  17702. _.leadingCombinators = t0;
  17703. _.components = t1;
  17704. _.lineBreak = t2;
  17705. _._complex$__ComplexSelector_specificity_FI = $;
  17706. },
  17707. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  17708. },
  17709. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1) {
  17710. this.selector = t0;
  17711. this.combinators = t1;
  17712. },
  17713. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  17714. },
  17715. CompoundSelector$0(components) {
  17716. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  17717. if (t1.length === 0)
  17718. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  17719. return new A.CompoundSelector0(t1);
  17720. },
  17721. CompoundSelector0: function CompoundSelector0(t0) {
  17722. this.components = t0;
  17723. this._compound$__CompoundSelector_specificity_FI = $;
  17724. },
  17725. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  17726. },
  17727. Configuration0: function Configuration0(t0, t1) {
  17728. this._configuration$_values = t0;
  17729. this._configuration$__originalConfiguration = t1;
  17730. },
  17731. Configuration_toString_closure0: function Configuration_toString_closure0() {
  17732. },
  17733. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  17734. this.nodeWithSpan = t0;
  17735. this._configuration$_values = t1;
  17736. this._configuration$__originalConfiguration = t2;
  17737. },
  17738. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  17739. this.value = t0;
  17740. this.configurationSpan = t1;
  17741. this.assignmentNode = t2;
  17742. },
  17743. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  17744. var _ = this;
  17745. _.name = t0;
  17746. _.expression = t1;
  17747. _.isGuarded = t2;
  17748. _.span = t3;
  17749. },
  17750. ContentBlock$0($arguments, children, span) {
  17751. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  17752. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17753. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  17754. },
  17755. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  17756. var _ = this;
  17757. _.name = t0;
  17758. _.$arguments = t1;
  17759. _.span = t2;
  17760. _.children = t3;
  17761. _.hasDeclarations = t4;
  17762. },
  17763. ContentRule0: function ContentRule0(t0, t1) {
  17764. this.$arguments = t0;
  17765. this.span = t1;
  17766. },
  17767. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  17768. },
  17769. CssParser0: function CssParser0(t0, t1, t2) {
  17770. var _ = this;
  17771. _._stylesheet0$_isUseAllowed = true;
  17772. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  17773. _._stylesheet0$_globalVariables = t0;
  17774. _.lastSilentComment = null;
  17775. _.scanner = t1;
  17776. _.logger = t2;
  17777. },
  17778. DebugRule0: function DebugRule0(t0, t1) {
  17779. this.expression = t0;
  17780. this.span = t1;
  17781. },
  17782. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  17783. var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
  17784. if (parsedAsCustomProperty)
  17785. if (!J.startsWith$1$s($name.get$value($name), "--"))
  17786. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  17787. else if (!(value.get$value(value) instanceof A.SassString0))
  17788. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
  17789. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  17790. },
  17791. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  17792. var _ = this;
  17793. _.name = t0;
  17794. _.value = t1;
  17795. _.parsedAsCustomProperty = t2;
  17796. _.valueSpanForMap = t3;
  17797. _.span = t4;
  17798. _._node0$_indexInParent = _._node0$_parent = null;
  17799. _.isGroupEnd = false;
  17800. },
  17801. Declaration$0($name, value, span) {
  17802. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
  17803. A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
  17804. return new A.Declaration0($name, value, span, null, false);
  17805. },
  17806. Declaration$nested0($name, children, span, value) {
  17807. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  17808. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17809. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
  17810. A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
  17811. return new A.Declaration0($name, value, span, t1, t2);
  17812. },
  17813. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  17814. var _ = this;
  17815. _.name = t0;
  17816. _.value = t1;
  17817. _.span = t2;
  17818. _.children = t3;
  17819. _.hasDeclarations = t4;
  17820. },
  17821. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  17822. this.name = t0;
  17823. this.value = t1;
  17824. this.span = t2;
  17825. },
  17826. DynamicImport0: function DynamicImport0(t0, t1) {
  17827. this.urlString = t0;
  17828. this.span = t1;
  17829. },
  17830. EachRule$0(variables, list, children, span) {
  17831. var t1 = A.List_List$unmodifiable(variables, type$.String),
  17832. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  17833. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  17834. return new A.EachRule0(t1, list, span, t2, t3);
  17835. },
  17836. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  17837. var _ = this;
  17838. _.variables = t0;
  17839. _.list = t1;
  17840. _.span = t2;
  17841. _.children = t3;
  17842. _.hasDeclarations = t4;
  17843. },
  17844. EachRule_toString_closure0: function EachRule_toString_closure0() {
  17845. },
  17846. EmptyExtensionStore0: function EmptyExtensionStore0() {
  17847. },
  17848. Environment$0() {
  17849. var t1 = type$.String,
  17850. t2 = type$.Module_Callable_2,
  17851. t3 = type$.AstNode_2,
  17852. t4 = type$.int,
  17853. t5 = type$.Callable_2,
  17854. t6 = type$.JSArray_Map_String_Callable_2;
  17855. return new A.Environment0(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), null, null, A._setArrayType([], type$.JSArray_Module_Callable_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2)], type$.JSArray_Map_String_Value_2), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)], type$.JSArray_Map_String_AstNode_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(t1, t5)], t6), A.LinkedHashMap_LinkedHashMap$_empty(t1, t4), null);
  17856. },
  17857. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  17858. var t1 = type$.String,
  17859. t2 = type$.int;
  17860. return new A.Environment0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _functions, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _mixins, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _content);
  17861. },
  17862. _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
  17863. var t1, t2, t3, t4, t5, t6;
  17864. if (forwarded == null)
  17865. forwarded = B.Set_empty3;
  17866. t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  17867. t2 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure11(), type$.Map_String_Value_2), type$.Value_2);
  17868. t3 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure12(), type$.Map_String_AstNode_2), type$.AstNode_2);
  17869. t4 = type$.Map_String_Callable_2;
  17870. t5 = type$.Callable_2;
  17871. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
  17872. t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
  17873. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  17874. return A._EnvironmentModule$_1(environment, css, extensionStore, t1, t2, t3, t6, t5, t4, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
  17875. },
  17876. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  17877. var modulesByVariable, t1, t2, t3, t4, t5;
  17878. if (forwarded.get$isEmpty(forwarded))
  17879. return B.Map_empty6;
  17880. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  17881. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  17882. t2 = t1.get$current(t1);
  17883. if (t2 instanceof A._EnvironmentModule1) {
  17884. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  17885. t4 = t3.get$current(t3);
  17886. t5 = t4.get$variables();
  17887. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  17888. }
  17889. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  17890. } else {
  17891. t3 = t2.get$variables();
  17892. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  17893. }
  17894. }
  17895. return modulesByVariable;
  17896. },
  17897. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  17898. var t1, t2, t3;
  17899. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  17900. if (otherMaps.get$isEmpty(otherMaps))
  17901. return localMap;
  17902. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  17903. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  17904. t3 = t2.get$current(t2);
  17905. if (t3.get$isNotEmpty(t3))
  17906. t1.push(t3);
  17907. }
  17908. t1.push(localMap);
  17909. if (t1.length === 1)
  17910. return localMap;
  17911. return A.MergedMapView$0(t1, type$.String, $V);
  17912. },
  17913. _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  17914. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  17915. },
  17916. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  17917. var _ = this;
  17918. _._environment0$_modules = t0;
  17919. _._environment0$_namespaceNodes = t1;
  17920. _._environment0$_globalModules = t2;
  17921. _._environment0$_importedModules = t3;
  17922. _._environment0$_forwardedModules = t4;
  17923. _._environment0$_nestedForwardedModules = t5;
  17924. _._environment0$_allModules = t6;
  17925. _._environment0$_variables = t7;
  17926. _._environment0$_variableNodes = t8;
  17927. _._environment0$_variableIndices = t9;
  17928. _._environment0$_functions = t10;
  17929. _._environment0$_functionIndices = t11;
  17930. _._environment0$_mixins = t12;
  17931. _._environment0$_mixinIndices = t13;
  17932. _._environment0$_content = t14;
  17933. _._environment0$_inMixin = false;
  17934. _._environment0$_inSemiGlobalScope = true;
  17935. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  17936. },
  17937. Environment_importForwards_closure2: function Environment_importForwards_closure2() {
  17938. },
  17939. Environment_importForwards_closure3: function Environment_importForwards_closure3() {
  17940. },
  17941. Environment_importForwards_closure4: function Environment_importForwards_closure4() {
  17942. },
  17943. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  17944. this.name = t0;
  17945. },
  17946. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  17947. this.$this = t0;
  17948. this.name = t1;
  17949. },
  17950. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  17951. this.name = t0;
  17952. },
  17953. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  17954. this.$this = t0;
  17955. this.name = t1;
  17956. },
  17957. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  17958. this.name = t0;
  17959. },
  17960. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  17961. this.name = t0;
  17962. },
  17963. Environment_toModule_closure0: function Environment_toModule_closure0() {
  17964. },
  17965. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  17966. },
  17967. Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
  17968. this.callback = t0;
  17969. this.T = t1;
  17970. },
  17971. Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
  17972. this.entry = t0;
  17973. this.T = t1;
  17974. },
  17975. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  17976. var _ = this;
  17977. _.upstream = t0;
  17978. _.variables = t1;
  17979. _.variableNodes = t2;
  17980. _.functions = t3;
  17981. _.mixins = t4;
  17982. _.extensionStore = t5;
  17983. _.css = t6;
  17984. _.transitivelyContainsCss = t7;
  17985. _.transitivelyContainsExtensions = t8;
  17986. _._environment0$_environment = t9;
  17987. _._environment0$_modulesByVariable = t10;
  17988. },
  17989. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  17990. },
  17991. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  17992. },
  17993. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  17994. },
  17995. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  17996. },
  17997. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  17998. },
  17999. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  18000. },
  18001. ErrorRule0: function ErrorRule0(t0, t1) {
  18002. this.expression = t0;
  18003. this.span = t1;
  18004. },
  18005. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18006. var t4,
  18007. t1 = type$.Uri,
  18008. t2 = type$.Module_Callable_2,
  18009. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  18010. if (nodeImporter == null)
  18011. t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
  18012. else
  18013. t4 = null;
  18014. t1 = new A._EvaluateVisitor1(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Tuple2_String_SourceSpan), quietDeps, sourceMap, A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  18015. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18016. return t1;
  18017. },
  18018. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18019. var _ = this;
  18020. _._evaluate0$_importCache = t0;
  18021. _._evaluate0$_nodeImporter = t1;
  18022. _._evaluate0$_builtInFunctions = t2;
  18023. _._evaluate0$_builtInModules = t3;
  18024. _._evaluate0$_modules = t4;
  18025. _._evaluate0$_moduleConfigurations = t5;
  18026. _._evaluate0$_moduleNodes = t6;
  18027. _._evaluate0$_logger = t7;
  18028. _._evaluate0$_warningsEmitted = t8;
  18029. _._evaluate0$_quietDeps = t9;
  18030. _._evaluate0$_sourceMap = t10;
  18031. _._evaluate0$_environment = t11;
  18032. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  18033. _._evaluate0$_member = "root stylesheet";
  18034. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  18035. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  18036. _._evaluate0$_loadedUrls = t12;
  18037. _._evaluate0$_activeModules = t13;
  18038. _._evaluate0$_stack = t14;
  18039. _._evaluate0$_importer = null;
  18040. _._evaluate0$_inDependency = false;
  18041. _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  18042. _._evaluate0$_configuration = t15;
  18043. },
  18044. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18045. this.$this = t0;
  18046. },
  18047. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18048. this.$this = t0;
  18049. },
  18050. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18051. this.$this = t0;
  18052. },
  18053. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18054. this.$this = t0;
  18055. },
  18056. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18057. this.$this = t0;
  18058. },
  18059. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18060. this.$this = t0;
  18061. },
  18062. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  18063. this.$this = t0;
  18064. },
  18065. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  18066. this.$this = t0;
  18067. },
  18068. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  18069. this.$this = t0;
  18070. this.name = t1;
  18071. this.module = t2;
  18072. },
  18073. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  18074. this.$this = t0;
  18075. },
  18076. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  18077. this.$this = t0;
  18078. },
  18079. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18080. this.values = t0;
  18081. this.span = t1;
  18082. this.callableNode = t2;
  18083. },
  18084. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
  18085. this.$this = t0;
  18086. },
  18087. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  18088. this.$this = t0;
  18089. this.node = t1;
  18090. this.importer = t2;
  18091. },
  18092. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  18093. this.callback = t0;
  18094. this.builtInModule = t1;
  18095. },
  18096. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  18097. var _ = this;
  18098. _.$this = t0;
  18099. _.url = t1;
  18100. _.nodeWithSpan = t2;
  18101. _.baseUrl = t3;
  18102. _.namesInErrors = t4;
  18103. _.configuration = t5;
  18104. _.callback = t6;
  18105. },
  18106. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18107. this.$this = t0;
  18108. this.message = t1;
  18109. },
  18110. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
  18111. var _ = this;
  18112. _.$this = t0;
  18113. _.importer = t1;
  18114. _.stylesheet = t2;
  18115. _.extensionStore = t3;
  18116. _.configuration = t4;
  18117. _.css = t5;
  18118. },
  18119. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  18120. },
  18121. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  18122. this.selectors = t0;
  18123. },
  18124. _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
  18125. },
  18126. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  18127. this.originalSelectors = t0;
  18128. },
  18129. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  18130. },
  18131. _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
  18132. this.seen = t0;
  18133. this.sorted = t1;
  18134. },
  18135. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  18136. this.$this = t0;
  18137. this.resolved = t1;
  18138. },
  18139. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  18140. this.$this = t0;
  18141. this.node = t1;
  18142. },
  18143. _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
  18144. this.$this = t0;
  18145. this.node = t1;
  18146. },
  18147. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  18148. this.$this = t0;
  18149. this.newParent = t1;
  18150. this.node = t2;
  18151. },
  18152. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  18153. this.$this = t0;
  18154. this.innerScope = t1;
  18155. },
  18156. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  18157. this.$this = t0;
  18158. this.innerScope = t1;
  18159. },
  18160. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  18161. this.innerScope = t0;
  18162. this.callback = t1;
  18163. },
  18164. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  18165. this.$this = t0;
  18166. this.innerScope = t1;
  18167. },
  18168. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  18169. },
  18170. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  18171. this.$this = t0;
  18172. this.innerScope = t1;
  18173. },
  18174. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  18175. this.$this = t0;
  18176. this.content = t1;
  18177. },
  18178. _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
  18179. this.$this = t0;
  18180. },
  18181. _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
  18182. this.$this = t0;
  18183. this.children = t1;
  18184. },
  18185. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  18186. this.$this = t0;
  18187. this.node = t1;
  18188. this.nodeWithSpan = t2;
  18189. },
  18190. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  18191. this.$this = t0;
  18192. this.node = t1;
  18193. this.nodeWithSpan = t2;
  18194. },
  18195. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  18196. var _ = this;
  18197. _.$this = t0;
  18198. _.list = t1;
  18199. _.setVariables = t2;
  18200. _.node = t3;
  18201. },
  18202. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  18203. this.$this = t0;
  18204. this.setVariables = t1;
  18205. this.node = t2;
  18206. },
  18207. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  18208. this.$this = t0;
  18209. },
  18210. _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
  18211. this.$this = t0;
  18212. this.targetText = t1;
  18213. },
  18214. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  18215. this.$this = t0;
  18216. },
  18217. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
  18218. this.$this = t0;
  18219. this.children = t1;
  18220. },
  18221. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  18222. this.$this = t0;
  18223. this.children = t1;
  18224. },
  18225. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  18226. },
  18227. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  18228. this.$this = t0;
  18229. this.node = t1;
  18230. },
  18231. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  18232. this.$this = t0;
  18233. this.node = t1;
  18234. },
  18235. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  18236. this.fromNumber = t0;
  18237. },
  18238. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  18239. this.toNumber = t0;
  18240. this.fromNumber = t1;
  18241. },
  18242. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  18243. var _ = this;
  18244. _._box_0 = t0;
  18245. _.$this = t1;
  18246. _.node = t2;
  18247. _.from = t3;
  18248. _.direction = t4;
  18249. _.fromNumber = t5;
  18250. },
  18251. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  18252. this.$this = t0;
  18253. },
  18254. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  18255. this.$this = t0;
  18256. this.node = t1;
  18257. },
  18258. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  18259. this.$this = t0;
  18260. this.node = t1;
  18261. },
  18262. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
  18263. this._box_0 = t0;
  18264. this.$this = t1;
  18265. },
  18266. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
  18267. this.$this = t0;
  18268. },
  18269. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  18270. this.$this = t0;
  18271. this.$import = t1;
  18272. },
  18273. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  18274. this.$this = t0;
  18275. },
  18276. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  18277. },
  18278. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  18279. },
  18280. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
  18281. var _ = this;
  18282. _.$this = t0;
  18283. _.result = t1;
  18284. _.stylesheet = t2;
  18285. _.loadsUserDefinedModules = t3;
  18286. _.environment = t4;
  18287. _.children = t5;
  18288. },
  18289. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
  18290. this.$this = t0;
  18291. this.node = t1;
  18292. },
  18293. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
  18294. this.node = t0;
  18295. },
  18296. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  18297. this.$this = t0;
  18298. },
  18299. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
  18300. var _ = this;
  18301. _.$this = t0;
  18302. _.contentCallable = t1;
  18303. _.mixin = t2;
  18304. _.nodeWithSpan = t3;
  18305. },
  18306. _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
  18307. this.$this = t0;
  18308. this.mixin = t1;
  18309. this.nodeWithSpan = t2;
  18310. },
  18311. _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
  18312. this.$this = t0;
  18313. this.mixin = t1;
  18314. this.nodeWithSpan = t2;
  18315. },
  18316. _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
  18317. this.$this = t0;
  18318. this.statement = t1;
  18319. },
  18320. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  18321. this.$this = t0;
  18322. this.queries = t1;
  18323. },
  18324. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  18325. var _ = this;
  18326. _.$this = t0;
  18327. _.mergedQueries = t1;
  18328. _.queries = t2;
  18329. _.mergedSources = t3;
  18330. _.node = t4;
  18331. },
  18332. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  18333. this.$this = t0;
  18334. this.node = t1;
  18335. },
  18336. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  18337. this.$this = t0;
  18338. this.node = t1;
  18339. },
  18340. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  18341. this.mergedSources = t0;
  18342. },
  18343. _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
  18344. this.$this = t0;
  18345. this.resolved = t1;
  18346. },
  18347. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15(t0, t1) {
  18348. this.$this = t0;
  18349. this.selectorText = t1;
  18350. },
  18351. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
  18352. this.$this = t0;
  18353. this.node = t1;
  18354. },
  18355. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  18356. },
  18357. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1) {
  18358. this.$this = t0;
  18359. this.selectorText = t1;
  18360. },
  18361. _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19(t0, t1) {
  18362. this._box_0 = t0;
  18363. this.$this = t1;
  18364. },
  18365. _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1, t2) {
  18366. this.$this = t0;
  18367. this.rule = t1;
  18368. this.node = t2;
  18369. },
  18370. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  18371. this.$this = t0;
  18372. this.node = t1;
  18373. },
  18374. _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21() {
  18375. },
  18376. _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
  18377. },
  18378. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  18379. this.$this = t0;
  18380. this.node = t1;
  18381. },
  18382. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  18383. this.$this = t0;
  18384. this.node = t1;
  18385. },
  18386. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  18387. },
  18388. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  18389. this.$this = t0;
  18390. this.node = t1;
  18391. this.override = t2;
  18392. },
  18393. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  18394. this.$this = t0;
  18395. this.node = t1;
  18396. },
  18397. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  18398. this.$this = t0;
  18399. this.node = t1;
  18400. this.value = t2;
  18401. },
  18402. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  18403. this.$this = t0;
  18404. this.node = t1;
  18405. },
  18406. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  18407. this.$this = t0;
  18408. this.node = t1;
  18409. },
  18410. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  18411. this.$this = t0;
  18412. this.node = t1;
  18413. },
  18414. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  18415. this.$this = t0;
  18416. },
  18417. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  18418. this.$this = t0;
  18419. this.node = t1;
  18420. },
  18421. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
  18422. },
  18423. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  18424. this.$this = t0;
  18425. this.node = t1;
  18426. },
  18427. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  18428. this.node = t0;
  18429. this.operand = t1;
  18430. },
  18431. _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
  18432. this.$this = t0;
  18433. this.node = t1;
  18434. this.inMinMax = t2;
  18435. },
  18436. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  18437. this.$this = t0;
  18438. },
  18439. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
  18440. this.$this = t0;
  18441. this.node = t1;
  18442. },
  18443. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18444. this._box_0 = t0;
  18445. this.$this = t1;
  18446. this.node = t2;
  18447. },
  18448. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  18449. this.$this = t0;
  18450. this.node = t1;
  18451. this.$function = t2;
  18452. },
  18453. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  18454. var _ = this;
  18455. _.$this = t0;
  18456. _.callable = t1;
  18457. _.evaluated = t2;
  18458. _.nodeWithSpan = t3;
  18459. _.run = t4;
  18460. _.V = t5;
  18461. },
  18462. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  18463. var _ = this;
  18464. _.$this = t0;
  18465. _.evaluated = t1;
  18466. _.callable = t2;
  18467. _.nodeWithSpan = t3;
  18468. _.run = t4;
  18469. _.V = t5;
  18470. },
  18471. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  18472. var _ = this;
  18473. _.$this = t0;
  18474. _.evaluated = t1;
  18475. _.callable = t2;
  18476. _.nodeWithSpan = t3;
  18477. _.run = t4;
  18478. _.V = t5;
  18479. },
  18480. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  18481. },
  18482. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  18483. this.$this = t0;
  18484. this.callable = t1;
  18485. },
  18486. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
  18487. this.overload = t0;
  18488. this.evaluated = t1;
  18489. this.namedSet = t2;
  18490. },
  18491. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18492. },
  18493. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  18494. },
  18495. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  18496. this.$this = t0;
  18497. this.restNodeForSpan = t1;
  18498. },
  18499. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  18500. var _ = this;
  18501. _.$this = t0;
  18502. _.named = t1;
  18503. _.restNodeForSpan = t2;
  18504. _.namedNodes = t3;
  18505. },
  18506. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  18507. },
  18508. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  18509. this.restArgs = t0;
  18510. },
  18511. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  18512. this.$this = t0;
  18513. this.restNodeForSpan = t1;
  18514. this.restArgs = t2;
  18515. },
  18516. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  18517. var _ = this;
  18518. _.$this = t0;
  18519. _.named = t1;
  18520. _.restNodeForSpan = t2;
  18521. _.restArgs = t3;
  18522. },
  18523. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  18524. this.$this = t0;
  18525. this.keywordRestNodeForSpan = t1;
  18526. this.keywordRestArgs = t2;
  18527. },
  18528. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  18529. var _ = this;
  18530. _.$this = t0;
  18531. _.values = t1;
  18532. _.convert = t2;
  18533. _.expressionNode = t3;
  18534. _.map = t4;
  18535. _.nodeWithSpan = t5;
  18536. },
  18537. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  18538. this.$arguments = t0;
  18539. this.positional = t1;
  18540. this.named = t2;
  18541. },
  18542. _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
  18543. this.$this = t0;
  18544. },
  18545. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  18546. this.$this = t0;
  18547. this.node = t1;
  18548. },
  18549. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  18550. },
  18551. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  18552. this.$this = t0;
  18553. this.node = t1;
  18554. },
  18555. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  18556. },
  18557. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  18558. this.$this = t0;
  18559. this.node = t1;
  18560. },
  18561. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  18562. var _ = this;
  18563. _.$this = t0;
  18564. _.mergedQueries = t1;
  18565. _.node = t2;
  18566. _.mergedSources = t3;
  18567. },
  18568. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  18569. this.$this = t0;
  18570. this.node = t1;
  18571. },
  18572. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  18573. this.$this = t0;
  18574. this.node = t1;
  18575. },
  18576. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  18577. this.mergedSources = t0;
  18578. },
  18579. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
  18580. this.$this = t0;
  18581. this.rule = t1;
  18582. this.node = t2;
  18583. },
  18584. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  18585. this.$this = t0;
  18586. this.node = t1;
  18587. },
  18588. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
  18589. },
  18590. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  18591. this.$this = t0;
  18592. this.node = t1;
  18593. },
  18594. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  18595. this.$this = t0;
  18596. this.node = t1;
  18597. },
  18598. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  18599. },
  18600. _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
  18601. this.$this = t0;
  18602. this.warnForColor = t1;
  18603. this.interpolation = t2;
  18604. },
  18605. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  18606. this.value = t0;
  18607. this.quote = t1;
  18608. },
  18609. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  18610. this.$this = t0;
  18611. this.expression = t1;
  18612. },
  18613. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  18614. },
  18615. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  18616. this.$this = t0;
  18617. },
  18618. _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
  18619. this.$this = t0;
  18620. },
  18621. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  18622. this._evaluate0$_visitor = t0;
  18623. },
  18624. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  18625. },
  18626. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  18627. this.hasBeenMerged = t0;
  18628. },
  18629. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  18630. },
  18631. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  18632. },
  18633. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  18634. this._evaluate0$_visitor = t0;
  18635. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  18636. },
  18637. _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
  18638. var _ = this;
  18639. _.positional = t0;
  18640. _.positionalNodes = t1;
  18641. _.named = t2;
  18642. _.namedNodes = t3;
  18643. _.separator = t4;
  18644. },
  18645. _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
  18646. this.stylesheet = t0;
  18647. this.importer = t1;
  18648. this.isDependency = t2;
  18649. },
  18650. EveryCssVisitor0: function EveryCssVisitor0() {
  18651. },
  18652. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  18653. this.$this = t0;
  18654. },
  18655. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  18656. this.$this = t0;
  18657. },
  18658. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  18659. this.$this = t0;
  18660. },
  18661. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  18662. this.$this = t0;
  18663. },
  18664. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  18665. this.$this = t0;
  18666. },
  18667. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  18668. this.$this = t0;
  18669. },
  18670. throwNodeException(exception, ascii, color, trace) {
  18671. var wasAscii, jsException, t1, trace0;
  18672. trace = trace;
  18673. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  18674. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  18675. try {
  18676. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  18677. jsException = type$._NodeException._as(t1);
  18678. trace0 = A.getTrace0(exception);
  18679. trace = trace0 == null ? trace : trace0;
  18680. if (trace != null)
  18681. A.attachJsStack(jsException, trace);
  18682. A.jsThrow(jsException);
  18683. } finally {
  18684. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  18685. }
  18686. },
  18687. _NodeException: function _NodeException() {
  18688. },
  18689. exceptionClass_closure: function exceptionClass_closure() {
  18690. },
  18691. exceptionClass__closure: function exceptionClass__closure() {
  18692. },
  18693. exceptionClass__closure0: function exceptionClass__closure0() {
  18694. },
  18695. exceptionClass__closure1: function exceptionClass__closure1() {
  18696. },
  18697. SassException$0(message, span) {
  18698. return new A.SassException0(message, span);
  18699. },
  18700. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
  18701. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  18702. },
  18703. SassFormatException$0(message, span) {
  18704. return new A.SassFormatException0(message, span);
  18705. },
  18706. SassScriptException$0(message, argumentName) {
  18707. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  18708. },
  18709. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  18710. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  18711. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  18712. },
  18713. SassException0: function SassException0(t0, t1) {
  18714. this._span_exception$_message = t0;
  18715. this._span = t1;
  18716. },
  18717. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
  18718. var _ = this;
  18719. _.primaryLabel = t0;
  18720. _.secondarySpans = t1;
  18721. _._span_exception$_message = t2;
  18722. _._span = t3;
  18723. },
  18724. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
  18725. this.trace = t0;
  18726. this._span_exception$_message = t1;
  18727. this._span = t2;
  18728. },
  18729. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
  18730. var _ = this;
  18731. _.trace = t0;
  18732. _.primaryLabel = t1;
  18733. _.secondarySpans = t2;
  18734. _._span_exception$_message = t3;
  18735. _._span = t4;
  18736. },
  18737. SassFormatException0: function SassFormatException0(t0, t1) {
  18738. this._span_exception$_message = t0;
  18739. this._span = t1;
  18740. },
  18741. SassScriptException0: function SassScriptException0(t0) {
  18742. this.message = t0;
  18743. },
  18744. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  18745. this.primaryLabel = t0;
  18746. this.secondarySpans = t1;
  18747. this.message = t2;
  18748. },
  18749. Exports: function Exports() {
  18750. },
  18751. LoggerNamespace: function LoggerNamespace() {
  18752. },
  18753. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  18754. this.selector = t0;
  18755. this.isOptional = t1;
  18756. this.span = t2;
  18757. },
  18758. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  18759. var _ = this;
  18760. _.extender = t0;
  18761. _.target = t1;
  18762. _.mediaContext = t2;
  18763. _.isOptional = t3;
  18764. _.span = t4;
  18765. },
  18766. Extender0: function Extender0(t0, t1, t2) {
  18767. var _ = this;
  18768. _.selector = t0;
  18769. _.isOriginal = t1;
  18770. _._extension$_extension = null;
  18771. _.span = t2;
  18772. },
  18773. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  18774. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  18775. extender = A.ExtensionStore$_mode0(mode);
  18776. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  18777. extender._extension_store$_originals.addAll$1(0, selector.components);
  18778. for (t1 = targets.components, t2 = t1.length, t3 = source.components, t4 = t3.length, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = type$.SimpleSelector_2, t8 = type$.Map_ComplexSelector_Extension_2, _i = 0; _i < t2; ++_i) {
  18779. complex = t1[_i];
  18780. if (complex.leadingCombinators.length === 0) {
  18781. t9 = complex.components;
  18782. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  18783. } else
  18784. t9 = false;
  18785. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  18786. if (compound == null)
  18787. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  18788. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  18789. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  18790. simple = t10[_i0];
  18791. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  18792. for (_i1 = 0; _i1 < t4; ++_i1) {
  18793. complex = t3[_i1];
  18794. complex.get$specificity();
  18795. t13 = new A.Extender0(complex, false, span);
  18796. t14 = new A.Extension0(t13, simple, null, true, span);
  18797. t13._extension$_extension = t14;
  18798. t12.$indexSet(0, complex, t14);
  18799. }
  18800. t9.$indexSet(0, simple, t12);
  18801. }
  18802. selector = extender._extension_store$_extendList$3(selector, span, t9);
  18803. }
  18804. return selector;
  18805. },
  18806. ExtensionStore$0() {
  18807. var t1 = type$.SimpleSelector_2;
  18808. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal_normal0);
  18809. },
  18810. ExtensionStore$_mode0(_mode) {
  18811. var t1 = type$.SimpleSelector_2;
  18812. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  18813. },
  18814. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  18815. var _ = this;
  18816. _._extension_store$_selectors = t0;
  18817. _._extension_store$_extensions = t1;
  18818. _._extension_store$_extensionsByExtender = t2;
  18819. _._extension_store$_mediaContexts = t3;
  18820. _._extension_store$_sourceSpecificity = t4;
  18821. _._extension_store$_originals = t5;
  18822. _._extension_store$_mode = t6;
  18823. },
  18824. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  18825. },
  18826. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  18827. },
  18828. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  18829. },
  18830. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  18831. },
  18832. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  18833. this.complex = t0;
  18834. },
  18835. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  18836. },
  18837. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  18838. },
  18839. ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
  18840. this._box_0 = t0;
  18841. this.$this = t1;
  18842. },
  18843. ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
  18844. var _ = this;
  18845. _._box_0 = t0;
  18846. _.existingSources = t1;
  18847. _.extensionsForTarget = t2;
  18848. _.selectorsForTarget = t3;
  18849. _.target = t4;
  18850. },
  18851. ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
  18852. },
  18853. ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
  18854. this._box_0 = t0;
  18855. this.$this = t1;
  18856. },
  18857. ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
  18858. this.$this = t0;
  18859. this.newExtensions = t1;
  18860. },
  18861. ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
  18862. this.$this = t0;
  18863. this.newExtensions = t1;
  18864. },
  18865. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  18866. this._box_0 = t0;
  18867. this.$this = t1;
  18868. this.complex = t2;
  18869. },
  18870. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  18871. this._box_0 = t0;
  18872. this.$this = t1;
  18873. this.complex = t2;
  18874. },
  18875. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  18876. },
  18877. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  18878. },
  18879. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  18880. this.original = t0;
  18881. },
  18882. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
  18883. var _ = this;
  18884. _.$this = t0;
  18885. _.extensions = t1;
  18886. _.targetsUsed = t2;
  18887. _.simpleSpan = t3;
  18888. },
  18889. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
  18890. this.$this = t0;
  18891. this.withoutPseudo = t1;
  18892. this.simpleSpan = t2;
  18893. },
  18894. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  18895. },
  18896. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  18897. },
  18898. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  18899. },
  18900. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  18901. },
  18902. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  18903. this.pseudo = t0;
  18904. },
  18905. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
  18906. this.pseudo = t0;
  18907. },
  18908. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  18909. this._box_0 = t0;
  18910. this.complex1 = t1;
  18911. },
  18912. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  18913. this._box_0 = t0;
  18914. this.complex1 = t1;
  18915. },
  18916. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  18917. var _ = this;
  18918. _.$this = t0;
  18919. _.newSelectors = t1;
  18920. _.oldToNewSelectors = t2;
  18921. _.newMediaContexts = t3;
  18922. },
  18923. FiberClass: function FiberClass() {
  18924. },
  18925. Fiber: function Fiber() {
  18926. },
  18927. NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
  18928. this._file0$_findFileUrl = t0;
  18929. },
  18930. FilesystemImporter$(loadPath) {
  18931. var _null = null;
  18932. return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
  18933. },
  18934. FilesystemImporter0: function FilesystemImporter0(t0) {
  18935. this._filesystem$_loadPath = t0;
  18936. },
  18937. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  18938. },
  18939. ForRule$0(variable, from, to, children, span, exclusive) {
  18940. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18941. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18942. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  18943. },
  18944. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  18945. var _ = this;
  18946. _.variable = t0;
  18947. _.from = t1;
  18948. _.to = t2;
  18949. _.isExclusive = t3;
  18950. _.span = t4;
  18951. _.children = t5;
  18952. _.hasDeclarations = t6;
  18953. },
  18954. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  18955. var _ = this;
  18956. _.url = t0;
  18957. _.shownMixinsAndFunctions = t1;
  18958. _.shownVariables = t2;
  18959. _.hiddenMixinsAndFunctions = t3;
  18960. _.hiddenVariables = t4;
  18961. _.prefix = t5;
  18962. _.configuration = t6;
  18963. _.span = t7;
  18964. },
  18965. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  18966. var t1;
  18967. if (rule.prefix == null)
  18968. if (rule.shownMixinsAndFunctions == null)
  18969. if (rule.shownVariables == null) {
  18970. t1 = rule.hiddenMixinsAndFunctions;
  18971. if (t1 == null)
  18972. t1 = null;
  18973. else {
  18974. t1 = t1._base;
  18975. t1 = t1.get$isEmpty(t1);
  18976. }
  18977. if (t1 === true) {
  18978. t1 = rule.hiddenVariables;
  18979. if (t1 == null)
  18980. t1 = null;
  18981. else {
  18982. t1 = t1._base;
  18983. t1 = t1.get$isEmpty(t1);
  18984. }
  18985. t1 = t1 === true;
  18986. } else
  18987. t1 = false;
  18988. } else
  18989. t1 = false;
  18990. else
  18991. t1 = false;
  18992. else
  18993. t1 = false;
  18994. if (t1)
  18995. return inner;
  18996. else
  18997. return A.ForwardedModuleView$0(inner, rule, $T);
  18998. },
  18999. ForwardedModuleView$0(_inner, _rule, $T) {
  19000. var t1 = _rule.prefix,
  19001. t2 = _rule.shownVariables,
  19002. t3 = _rule.hiddenVariables,
  19003. t4 = _rule.shownMixinsAndFunctions,
  19004. t5 = _rule.hiddenMixinsAndFunctions;
  19005. return new A.ForwardedModuleView0(_inner, _rule, A.ForwardedModuleView__forwardedMap0(_inner.get$variables(), t1, t2, t3, type$.Value_2), A.ForwardedModuleView__forwardedMap0(_inner.get$variableNodes(), t1, t2, t3, type$.AstNode_2), A.ForwardedModuleView__forwardedMap0(_inner.get$functions(_inner), t1, t4, t5, $T), A.ForwardedModuleView__forwardedMap0(_inner.get$mixins(), t1, t4, t5, $T), $T._eval$1("ForwardedModuleView0<0>"));
  19006. },
  19007. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  19008. var t2,
  19009. t1 = prefix == null;
  19010. if (t1)
  19011. if (safelist == null)
  19012. if (blocklist != null) {
  19013. t2 = blocklist._base;
  19014. t2 = t2.get$isEmpty(t2);
  19015. } else
  19016. t2 = true;
  19017. else
  19018. t2 = false;
  19019. else
  19020. t2 = false;
  19021. if (t2)
  19022. return map;
  19023. if (!t1)
  19024. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  19025. if (safelist != null)
  19026. map = new A.LimitedMapView0(map, safelist._base.intersection$1(new A.MapKeySet(map, type$.MapKeySet_nullable_Object)), type$.$env_1_1_String._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  19027. else {
  19028. if (blocklist != null) {
  19029. t1 = blocklist._base;
  19030. t1 = t1.get$isNotEmpty(t1);
  19031. } else
  19032. t1 = false;
  19033. if (t1)
  19034. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  19035. }
  19036. return map;
  19037. },
  19038. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  19039. var _ = this;
  19040. _._forwarded_view0$_inner = t0;
  19041. _._forwarded_view0$_rule = t1;
  19042. _.variables = t2;
  19043. _.variableNodes = t3;
  19044. _.functions = t4;
  19045. _.mixins = t5;
  19046. _.$ti = t6;
  19047. },
  19048. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  19049. var _ = this;
  19050. _.namespace = t0;
  19051. _.originalName = t1;
  19052. _.$arguments = t2;
  19053. _.span = t3;
  19054. },
  19055. JSFunction0: function JSFunction0() {
  19056. },
  19057. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  19058. this.name = t0;
  19059. this.$arguments = t1;
  19060. this.span = t2;
  19061. },
  19062. functionClass_closure: function functionClass_closure() {
  19063. },
  19064. functionClass__closure: function functionClass__closure() {
  19065. },
  19066. functionClass__closure0: function functionClass__closure0() {
  19067. },
  19068. SassFunction0: function SassFunction0(t0) {
  19069. this.callable = t0;
  19070. },
  19071. FunctionRule$0($name, $arguments, children, span, comment) {
  19072. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19073. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19074. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  19075. },
  19076. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  19077. var _ = this;
  19078. _.name = t0;
  19079. _.$arguments = t1;
  19080. _.span = t2;
  19081. _.children = t3;
  19082. _.hasDeclarations = t4;
  19083. },
  19084. unifyComplex0(complexes) {
  19085. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, t9, t10, result, _null = null,
  19086. t1 = J.getInterceptor$asx(complexes);
  19087. if (t1.get$length(complexes) === 1)
  19088. return complexes;
  19089. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  19090. t3 = t2.get$current(t2);
  19091. if (t3.accept$1(B.C__IsUselessVisitor0))
  19092. return _null;
  19093. t4 = t3.components;
  19094. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  19095. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  19096. if (leadingCombinator != null && leadingCombinator !== newLeadingCombinator)
  19097. return _null;
  19098. leadingCombinator = newLeadingCombinator;
  19099. }
  19100. base = B.JSArray_methods.get$last(t4);
  19101. t3 = base.combinators;
  19102. if (t3.length !== 0) {
  19103. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  19104. if (trailingCombinator != null && trailingCombinator !== newTrailingCombinator)
  19105. return _null;
  19106. trailingCombinator = newTrailingCombinator;
  19107. }
  19108. if (unifiedBase == null)
  19109. unifiedBase = base.selector.components;
  19110. else
  19111. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  19112. unifiedBase = t3[_i].unify$1(unifiedBase);
  19113. if (unifiedBase == null)
  19114. return _null;
  19115. }
  19116. }
  19117. t2 = type$.JSArray_ComplexSelector_2;
  19118. t3 = A._setArrayType([], t2);
  19119. for (t4 = t1.get$iterator(complexes), t5 = type$.Combinator_2, t6 = type$.ComplexSelectorComponent_2; t4.moveNext$0();) {
  19120. t7 = t4.get$current(t4);
  19121. t8 = t7.components;
  19122. t9 = t8.length;
  19123. if (t9 > 1) {
  19124. t10 = t7.leadingCombinators;
  19125. t8 = B.JSArray_methods.take$1(t8, t9 - 1);
  19126. t7 = t7.lineBreak;
  19127. result = A.List_List$from(t10, false, t5);
  19128. result.fixed$length = Array;
  19129. result.immutable$list = Array;
  19130. t10 = result;
  19131. result = A.List_List$from(t8, false, t6);
  19132. result.fixed$length = Array;
  19133. result.immutable$list = Array;
  19134. t8 = result;
  19135. if (t10.length === 0 && t8.length === 0)
  19136. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  19137. t3.push(new A.ComplexSelector0(t10, t8, t7));
  19138. }
  19139. }
  19140. t4 = leadingCombinator == null ? B.List_empty13 : A._setArrayType([leadingCombinator], type$.JSArray_Combinator_2);
  19141. unifiedBase.toString;
  19142. t6 = A.CompoundSelector$0(unifiedBase);
  19143. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(t6, A.List_List$unmodifiable(trailingCombinator == null ? B.List_empty13 : A._setArrayType([trailingCombinator], type$.JSArray_Combinator_2), t5))], type$.JSArray_ComplexSelectorComponent_2), t1.any$1(complexes, new A.unifyComplex_closure0()));
  19144. if (t3.length === 0)
  19145. t1 = A._setArrayType([base], t2);
  19146. else {
  19147. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  19148. t1.push(B.JSArray_methods.get$last(t3).concatenate$1(base));
  19149. }
  19150. return A.weave0(t1, false);
  19151. },
  19152. unifyCompound0(compound1, compound2) {
  19153. var t1, result, _i, unified;
  19154. for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
  19155. unified = compound1[_i].unify$1(result);
  19156. if (unified == null)
  19157. return null;
  19158. }
  19159. return A.CompoundSelector$0(result);
  19160. },
  19161. unifyUniversalAndElement0(selector1, selector2) {
  19162. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  19163. _s45_ = string$.must_b;
  19164. if (selector1 instanceof A.UniversalSelector0) {
  19165. namespace1 = selector1.namespace;
  19166. name1 = _null;
  19167. } else if (selector1 instanceof A.TypeSelector0) {
  19168. t1 = selector1.name;
  19169. namespace1 = t1.namespace;
  19170. name1 = t1.name;
  19171. } else
  19172. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  19173. if (selector2 instanceof A.UniversalSelector0) {
  19174. namespace2 = selector2.namespace;
  19175. name2 = _null;
  19176. } else if (selector2 instanceof A.TypeSelector0) {
  19177. t1 = selector2.name;
  19178. namespace2 = t1.namespace;
  19179. name2 = t1.name;
  19180. } else
  19181. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  19182. if (namespace1 == namespace2 || namespace2 === "*")
  19183. namespace = namespace1;
  19184. else {
  19185. if (namespace1 !== "*")
  19186. return _null;
  19187. namespace = namespace2;
  19188. }
  19189. if (name1 == name2 || name2 == null)
  19190. $name = name1;
  19191. else {
  19192. if (!(name1 == null || name1 === "*"))
  19193. return _null;
  19194. $name = name2;
  19195. }
  19196. return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
  19197. },
  19198. weave0(complexes, forceLineBreak) {
  19199. var complex, t2, prefixes, t3, t4, t5, t6, target, i, t7, _i, t8, t9, _i0, parentPrefix, t10, t11, result, t12,
  19200. t1 = J.getInterceptor$asx(complexes);
  19201. if (t1.get$length(complexes) === 1) {
  19202. complex = t1.get$first(complexes);
  19203. if (!forceLineBreak || complex.lineBreak)
  19204. return complexes;
  19205. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, true)], type$.JSArray_ComplexSelector_2);
  19206. }
  19207. t2 = type$.JSArray_ComplexSelector_2;
  19208. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  19209. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.Combinator_2, t4 = type$.ComplexSelectorComponent_2; t1.moveNext$0();) {
  19210. t5 = t1.get$current(t1);
  19211. t6 = t5.components;
  19212. target = B.JSArray_methods.get$last(t6);
  19213. if (t6.length === 1) {
  19214. for (i = 0; i < prefixes.length; ++i)
  19215. prefixes[i] = prefixes[i].concatenate$2$forceLineBreak(t5, forceLineBreak);
  19216. continue;
  19217. }
  19218. t6 = A._setArrayType([], t2);
  19219. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  19220. t8 = A._weaveParents0(prefixes[_i], t5);
  19221. if (t8 == null)
  19222. t8 = B.List_empty14;
  19223. t9 = t8.length;
  19224. _i0 = 0;
  19225. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  19226. parentPrefix = t8[_i0];
  19227. t10 = A.List_List$of(parentPrefix.components, true, t4);
  19228. t10.push(target);
  19229. t11 = parentPrefix.lineBreak || forceLineBreak;
  19230. result = A.List_List$from(parentPrefix.leadingCombinators, false, t3);
  19231. result.fixed$length = Array;
  19232. result.immutable$list = Array;
  19233. t12 = result;
  19234. result = A.List_List$from(t10, false, t4);
  19235. result.fixed$length = Array;
  19236. result.immutable$list = Array;
  19237. t10 = result;
  19238. if (t12.length === 0 && t10.length === 0)
  19239. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  19240. t6.push(new A.ComplexSelector0(t12, t10, t11));
  19241. }
  19242. }
  19243. prefixes = t6;
  19244. }
  19245. return prefixes;
  19246. },
  19247. _weaveParents0(prefix, base) {
  19248. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, t2, rootish, groups1, groups2, lcs, choices, t3, t4, t5, _i, group, t6, t7, t8, _i0, chunk, t9, t10, result, _null = null,
  19249. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  19250. if (leadingCombinators == null)
  19251. return _null;
  19252. t1 = type$.ComplexSelectorComponent_2;
  19253. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  19254. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast0(base.components), t1);
  19255. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, _null);
  19256. if (trailingCombinators == null)
  19257. return _null;
  19258. rootish1 = A._firstIfRootish0(queue1);
  19259. rootish2 = A._firstIfRootish0(queue2);
  19260. t2 = rootish1 == null;
  19261. if (!t2 && rootish2 != null) {
  19262. rootish = A.unifyCompound0(rootish1.selector.components, rootish2.selector.components);
  19263. if (rootish == null)
  19264. return _null;
  19265. t2 = type$.Combinator_2;
  19266. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish1.combinators, t2)));
  19267. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t2)));
  19268. } else if (!t2 || rootish2 != null) {
  19269. t2 = t2 ? rootish2 : rootish1;
  19270. t2.toString;
  19271. queue1.addFirst$1(t2);
  19272. queue2.addFirst$1(t2);
  19273. }
  19274. groups1 = A._groupSelectors0(queue1);
  19275. groups2 = A._groupSelectors0(queue2);
  19276. t2 = type$.List_ComplexSelectorComponent_2;
  19277. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(), t2);
  19278. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  19279. for (t3 = lcs.length, t4 = type$.JSArray_Iterable_ComplexSelectorComponent_2, t5 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  19280. group = lcs[_i];
  19281. t6 = A._setArrayType([], t4);
  19282. for (t7 = A._chunks0(groups1, groups2, new A._weaveParents_closure4(group), t2), t8 = t7.length, _i0 = 0; _i0 < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i0) {
  19283. chunk = t7[_i0];
  19284. t9 = A._setArrayType([], t5);
  19285. for (t10 = B.JSArray_methods.get$iterator(chunk); t10.moveNext$0();)
  19286. B.JSArray_methods.addAll$1(t9, t10.get$current(t10));
  19287. t6.push(t9);
  19288. }
  19289. choices.push(t6);
  19290. choices.push(A._setArrayType([group], t4));
  19291. groups1.removeFirst$0();
  19292. groups2.removeFirst$0();
  19293. }
  19294. t3 = A._setArrayType([], t4);
  19295. for (t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure5(), t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  19296. chunk = t2[_i];
  19297. t6 = A._setArrayType([], t5);
  19298. for (t7 = B.JSArray_methods.get$iterator(chunk); t7.moveNext$0();)
  19299. B.JSArray_methods.addAll$1(t6, t7.get$current(t7));
  19300. t3.push(t6);
  19301. }
  19302. choices.push(t3);
  19303. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  19304. t2 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  19305. for (t3 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure6(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t4 = type$.Combinator_2, t6 = !prefix.lineBreak, t7 = base.lineBreak; t3.moveNext$0();) {
  19306. t8 = t3.get$current(t3);
  19307. t9 = A._setArrayType([], t5);
  19308. for (t8 = J.get$iterator$ax(t8); t8.moveNext$0();)
  19309. B.JSArray_methods.addAll$1(t9, t8.get$current(t8));
  19310. t8 = !t6 || t7;
  19311. result = A.List_List$from(leadingCombinators, false, t4);
  19312. result.fixed$length = Array;
  19313. result.immutable$list = Array;
  19314. t10 = result;
  19315. result = A.List_List$from(t9, false, t1);
  19316. result.fixed$length = Array;
  19317. result.immutable$list = Array;
  19318. t9 = result;
  19319. if (t10.length === 0 && t9.length === 0)
  19320. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  19321. t2.push(new A.ComplexSelector0(t10, t9, t8));
  19322. }
  19323. return t2;
  19324. },
  19325. _firstIfRootish0(queue) {
  19326. var first, t1, t2, _i, simple;
  19327. if (queue._collection$_head === queue._collection$_tail)
  19328. return null;
  19329. first = queue.get$first(queue);
  19330. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  19331. simple = t1[_i];
  19332. if (simple instanceof A.PseudoSelector0 && simple.isClass && $._rootishPseudoClasses0.contains$1(0, simple.normalizedName)) {
  19333. queue.removeFirst$0();
  19334. return first;
  19335. }
  19336. }
  19337. return null;
  19338. },
  19339. _mergeLeadingCombinators0(combinators1, combinators2) {
  19340. var t2, _null = null,
  19341. t1 = combinators1.length;
  19342. if (t1 > 1)
  19343. return _null;
  19344. t2 = combinators2.length;
  19345. if (t2 > 1)
  19346. return _null;
  19347. if (t1 === 0)
  19348. return combinators2;
  19349. if (t2 === 0)
  19350. return combinators1;
  19351. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  19352. },
  19353. _mergeTrailingCombinators0(components1, components2, result) {
  19354. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  19355. if (result == null)
  19356. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  19357. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty13 : components1.get$last(components1).combinators;
  19358. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty13 : components2.get$last(components2).combinators;
  19359. t1 = combinators1.length;
  19360. t2 = t1 === 0;
  19361. if (t2 && combinators2.length === 0)
  19362. return result;
  19363. if (t1 > 1 || combinators2.length > 1)
  19364. return _null;
  19365. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  19366. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  19367. t1 = combinator1 != null;
  19368. if (t1 && combinator2 != null) {
  19369. component1 = components1.removeLast$0(0);
  19370. component2 = components2.removeLast$0(0);
  19371. t1 = combinator1 === B.Combinator_Htt0;
  19372. if (t1 && combinator2 === B.Combinator_Htt0) {
  19373. t1 = component1.selector;
  19374. t2 = component2.selector;
  19375. if (A.compoundIsSuperselector0(t1, t2, _null))
  19376. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19377. else {
  19378. t3 = type$.JSArray_ComplexSelectorComponent_2;
  19379. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  19380. if (A.compoundIsSuperselector0(t2, t1, _null))
  19381. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  19382. else {
  19383. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  19384. unified = A.unifyCompound0(t1.components, t2.components);
  19385. if (unified != null)
  19386. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(B.List_Kw10, type$.Combinator_2))], t3));
  19387. result.addFirst$1(choices);
  19388. }
  19389. }
  19390. } else {
  19391. if (!(t1 && combinator2 === B.Combinator_4QF0))
  19392. t2 = combinator1 === B.Combinator_4QF0 && combinator2 === B.Combinator_Htt0;
  19393. else
  19394. t2 = true;
  19395. if (t2) {
  19396. followingSiblingComponent = t1 ? component1 : component2;
  19397. nextSiblingComponent = t1 ? component2 : component1;
  19398. t1 = type$.JSArray_ComplexSelectorComponent_2;
  19399. t2 = type$.JSArray_List_ComplexSelectorComponent_2;
  19400. if (A.compoundIsSuperselector0(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  19401. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  19402. else {
  19403. unified = A.unifyCompound0(component1.selector.components, component2.selector.components);
  19404. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  19405. if (unified != null)
  19406. t2.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(B.List_IoD0, type$.Combinator_2))], t1));
  19407. result.addFirst$1(t2);
  19408. }
  19409. } else {
  19410. if (combinator1 === B.Combinator_Cht0)
  19411. t2 = combinator2 === B.Combinator_4QF0 || combinator2 === B.Combinator_Htt0;
  19412. else
  19413. t2 = false;
  19414. if (t2) {
  19415. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19416. components1._add$1(component1);
  19417. } else {
  19418. if (combinator2 === B.Combinator_Cht0)
  19419. t1 = combinator1 === B.Combinator_4QF0 || t1;
  19420. else
  19421. t1 = false;
  19422. if (t1) {
  19423. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19424. components2._add$1(component2);
  19425. } else if (combinator1 === combinator2) {
  19426. unified = A.unifyCompound0(component1.selector.components, component2.selector.components);
  19427. if (unified == null)
  19428. return _null;
  19429. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_Combinator_2), type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19430. } else
  19431. return _null;
  19432. }
  19433. }
  19434. }
  19435. return A._mergeTrailingCombinators0(components1, components2, result);
  19436. } else if (t1) {
  19437. if (combinator1 === B.Combinator_Cht0 && !components2.get$isEmpty(components2) && A.compoundIsSuperselector0(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  19438. components2.removeLast$0(0);
  19439. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19440. return A._mergeTrailingCombinators0(components1, components2, result);
  19441. } else {
  19442. if (combinator2 === B.Combinator_Cht0 && !components1.get$isEmpty(components1) && A.compoundIsSuperselector0(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  19443. components1.removeLast$0(0);
  19444. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19445. return A._mergeTrailingCombinators0(components1, components2, result);
  19446. }
  19447. },
  19448. _mustUnify0(complex1, complex2) {
  19449. var t2, t3, t4,
  19450. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  19451. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  19452. for (t3 = B.JSArray_methods.get$iterator(t2.get$current(t2).selector.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
  19453. t1.add$1(0, t3.get$current(t3));
  19454. if (t1._collection$_length === 0)
  19455. return false;
  19456. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  19457. },
  19458. _isUnique0(simple) {
  19459. var t1;
  19460. if (!(simple instanceof A.IDSelector0))
  19461. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  19462. else
  19463. t1 = true;
  19464. return t1;
  19465. },
  19466. _chunks0(queue1, queue2, done, $T) {
  19467. var chunk2, t2,
  19468. t1 = $T._eval$1("JSArray<0>"),
  19469. chunk1 = A._setArrayType([], t1);
  19470. for (; !done.call$1(queue1);)
  19471. chunk1.push(queue1.removeFirst$0());
  19472. chunk2 = A._setArrayType([], t1);
  19473. for (; !done.call$1(queue2);)
  19474. chunk2.push(queue2.removeFirst$0());
  19475. t1 = chunk1.length === 0;
  19476. if (t1 && chunk2.length === 0)
  19477. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  19478. if (t1)
  19479. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  19480. if (chunk2.length === 0)
  19481. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  19482. t1 = A.List_List$of(chunk1, true, $T);
  19483. B.JSArray_methods.addAll$1(t1, chunk2);
  19484. t2 = A.List_List$of(chunk2, true, $T);
  19485. B.JSArray_methods.addAll$1(t2, chunk1);
  19486. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  19487. },
  19488. paths0(choices, $T) {
  19489. return J.fold$2$ax(choices, A._setArrayType([A._setArrayType([], $T._eval$1("JSArray<0>"))], $T._eval$1("JSArray<List<0>>")), new A.paths_closure0($T));
  19490. },
  19491. _groupSelectors0(complex) {
  19492. var t2, t3, t4,
  19493. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  19494. t1 = type$.JSArray_ComplexSelectorComponent_2,
  19495. group = A._setArrayType([], t1);
  19496. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  19497. t4 = t2._collection$_current;
  19498. if (t4 == null)
  19499. t4 = t3._as(t4);
  19500. group.push(t4);
  19501. if (t4.combinators.length === 0) {
  19502. groups._queue_list$_add$1(group);
  19503. group = A._setArrayType([], t1);
  19504. }
  19505. }
  19506. if (group.length !== 0)
  19507. groups._queue_list$_add$1(group);
  19508. return groups;
  19509. },
  19510. listIsSuperselector0(list1, list2) {
  19511. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  19512. },
  19513. _complexIsParentSuperselector0(complex1, complex2) {
  19514. var base, t1, t2;
  19515. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  19516. return false;
  19517. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2)), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2));
  19518. t1 = type$.ComplexSelectorComponent_2;
  19519. t2 = A.List_List$of(complex1, true, t1);
  19520. t2.push(base);
  19521. t1 = A.List_List$of(complex2, true, t1);
  19522. t1.push(base);
  19523. return A.complexIsSuperselector0(t2, t1);
  19524. },
  19525. complexIsSuperselector0(complex1, complex2) {
  19526. var t1, t2, t3, i1, i2, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1, combinator2;
  19527. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  19528. return false;
  19529. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  19530. return false;
  19531. for (t1 = type$.JSArray_ComplexSelectorComponent_2, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0; true;) {
  19532. remaining1 = complex1.length - i1;
  19533. t4 = complex2.length;
  19534. remaining2 = t4 - i2;
  19535. if (remaining1 === 0 || remaining2 === 0)
  19536. return false;
  19537. if (remaining1 > remaining2)
  19538. return false;
  19539. component1 = complex1[i1];
  19540. t5 = component1.combinators;
  19541. if (t5.length > 1)
  19542. return false;
  19543. if (remaining1 === 1) {
  19544. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  19545. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  19546. return false;
  19547. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  19548. }
  19549. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  19550. component2 = complex2[endOfSubselector];
  19551. if (component2.combinators.length > 1)
  19552. return false;
  19553. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  19554. break;
  19555. ++endOfSubselector;
  19556. if (endOfSubselector === complex2.length - 1)
  19557. return false;
  19558. if (parents == null)
  19559. parents = A._setArrayType([], t1);
  19560. parents.push(component2);
  19561. }
  19562. component2 = complex2[endOfSubselector];
  19563. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  19564. combinator2 = A.IterableExtension_get_firstOrNull(component2.combinators);
  19565. if (combinator1 != combinator2)
  19566. if (!(combinator1 == null && combinator2 === B.Combinator_Cht0))
  19567. t4 = combinator1 === B.Combinator_Htt0 && combinator2 === B.Combinator_4QF0;
  19568. else
  19569. t4 = true;
  19570. else
  19571. t4 = true;
  19572. if (!t4)
  19573. return false;
  19574. ++i1;
  19575. i2 = endOfSubselector + 1;
  19576. if (complex1.length - i1 === 1)
  19577. if (combinator1 === B.Combinator_Htt0) {
  19578. t4 = complex2.length - 1;
  19579. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  19580. t5.SubListIterable$3(complex2, 0, t4, t3);
  19581. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  19582. return false;
  19583. } else if (combinator1 != null)
  19584. if (complex2.length - i2 > 1)
  19585. return false;
  19586. }
  19587. },
  19588. _isSupercombinator0(combinator1, combinator2) {
  19589. var t1;
  19590. if (combinator1 != combinator2)
  19591. if (!(combinator1 == null && combinator2 === B.Combinator_Cht0))
  19592. t1 = combinator1 === B.Combinator_Htt0 && combinator2 === B.Combinator_4QF0;
  19593. else
  19594. t1 = true;
  19595. else
  19596. t1 = true;
  19597. return t1;
  19598. },
  19599. compoundIsSuperselector0(compound1, compound2, parents) {
  19600. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  19601. tuple1 = A._findPseudoElementIndexed0(compound1),
  19602. tuple2 = A._findPseudoElementIndexed0(compound2),
  19603. t1 = tuple1 == null;
  19604. if (!t1 && tuple2 != null) {
  19605. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  19606. t1 = compound1.components;
  19607. t2 = tuple1.item2;
  19608. t3 = type$.int;
  19609. t4 = A._arrayInstanceType(t1)._precomputed1;
  19610. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  19611. t6 = compound2.components;
  19612. t7 = tuple2.item2;
  19613. t8 = A._arrayInstanceType(t6)._precomputed1;
  19614. t1 = A._compoundComponentsIsSuperselector0(t5, A.SubListIterable$(t6, 0, A.checkNotNullable(t7, "count", t3), t8), parents) && A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, t2 + 1, null, t4), A.SubListIterable$(t6, t7 + 1, null, t8), parents);
  19615. } else
  19616. t1 = false;
  19617. return t1;
  19618. } else if (!t1 || tuple2 != null)
  19619. return false;
  19620. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  19621. simple1 = t1[_i];
  19622. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
  19623. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  19624. return false;
  19625. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  19626. return false;
  19627. }
  19628. return true;
  19629. },
  19630. _findPseudoElementIndexed0(compound) {
  19631. var t1, t2, i, simple;
  19632. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  19633. simple = t1[i];
  19634. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  19635. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int_2);
  19636. }
  19637. return null;
  19638. },
  19639. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  19640. if (compound1.get$length(compound1) === 0)
  19641. return true;
  19642. if (compound2.get$length(compound2) === 0)
  19643. compound2 = A._setArrayType([new A.UniversalSelector0("*")], type$.JSArray_SimpleSelector_2);
  19644. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1), A.CompoundSelector$0(compound2), parents);
  19645. },
  19646. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  19647. var selector1_ = pseudo1.selector;
  19648. if (selector1_ == null)
  19649. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  19650. switch (pseudo1.normalizedName) {
  19651. case "is":
  19652. case "matches":
  19653. case "any":
  19654. case "where":
  19655. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure6(selector1_)) || B.JSArray_methods.any$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure7(parents, compound2));
  19656. case "has":
  19657. case "host":
  19658. case "host-context":
  19659. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
  19660. case "slotted":
  19661. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
  19662. case "not":
  19663. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  19664. case "current":
  19665. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
  19666. case "nth-child":
  19667. case "nth-last-child":
  19668. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
  19669. default:
  19670. throw A.wrapException("unreachable");
  19671. }
  19672. },
  19673. _selectorPseudoArgs0(compound, $name, isClass) {
  19674. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  19675. return A.IterableNullableExtension_whereNotNull(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure1(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure2(), t1._eval$1("MappedIterable<Iterable.E,SelectorList0?>")), type$.SelectorList_2);
  19676. },
  19677. unifyComplex_closure0: function unifyComplex_closure0() {
  19678. },
  19679. _weaveParents_closure3: function _weaveParents_closure3() {
  19680. },
  19681. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  19682. this.group = t0;
  19683. },
  19684. _weaveParents_closure5: function _weaveParents_closure5() {
  19685. },
  19686. _weaveParents_closure6: function _weaveParents_closure6() {
  19687. },
  19688. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  19689. this.uniqueSelectors = t0;
  19690. },
  19691. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  19692. this.uniqueSelectors = t0;
  19693. },
  19694. paths_closure0: function paths_closure0(t0) {
  19695. this.T = t0;
  19696. },
  19697. paths__closure0: function paths__closure0(t0, t1) {
  19698. this.paths = t0;
  19699. this.T = t1;
  19700. },
  19701. paths___closure0: function paths___closure0(t0, t1) {
  19702. this.option = t0;
  19703. this.T = t1;
  19704. },
  19705. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  19706. this.list1 = t0;
  19707. },
  19708. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  19709. this.complex1 = t0;
  19710. },
  19711. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  19712. },
  19713. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  19714. this.combinator1 = t0;
  19715. },
  19716. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  19717. this.selector1 = t0;
  19718. },
  19719. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  19720. this.parents = t0;
  19721. this.compound2 = t1;
  19722. },
  19723. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  19724. this.selector1 = t0;
  19725. },
  19726. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  19727. this.selector1 = t0;
  19728. },
  19729. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  19730. this.compound2 = t0;
  19731. this.pseudo1 = t1;
  19732. },
  19733. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  19734. this.complex = t0;
  19735. this.pseudo1 = t1;
  19736. },
  19737. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  19738. this.simple2 = t0;
  19739. },
  19740. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  19741. this.simple2 = t0;
  19742. },
  19743. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  19744. this.selector1 = t0;
  19745. },
  19746. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  19747. this.pseudo1 = t0;
  19748. this.selector1 = t1;
  19749. },
  19750. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  19751. this.isClass = t0;
  19752. this.name = t1;
  19753. },
  19754. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  19755. },
  19756. globalFunctions_closure0: function globalFunctions_closure0() {
  19757. },
  19758. IDSelector0: function IDSelector0(t0) {
  19759. this.name = t0;
  19760. },
  19761. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  19762. this.$this = t0;
  19763. },
  19764. IfExpression0: function IfExpression0(t0, t1) {
  19765. this.$arguments = t0;
  19766. this.span = t1;
  19767. },
  19768. IfClause$0(expression, children) {
  19769. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  19770. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  19771. },
  19772. ElseClause$0(children) {
  19773. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  19774. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  19775. },
  19776. IfRule0: function IfRule0(t0, t1, t2) {
  19777. this.clauses = t0;
  19778. this.lastClause = t1;
  19779. this.span = t2;
  19780. },
  19781. IfRule_toString_closure0: function IfRule_toString_closure0() {
  19782. },
  19783. IfRuleClause0: function IfRuleClause0() {
  19784. },
  19785. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  19786. },
  19787. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  19788. },
  19789. IfClause0: function IfClause0(t0, t1, t2) {
  19790. this.expression = t0;
  19791. this.children = t1;
  19792. this.hasDeclarations = t2;
  19793. },
  19794. ElseClause0: function ElseClause0(t0, t1) {
  19795. this.children = t0;
  19796. this.hasDeclarations = t1;
  19797. },
  19798. jsToDartList(list) {
  19799. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  19800. },
  19801. dartMapToImmutableMap(dartMap) {
  19802. var t1, t2,
  19803. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  19804. for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  19805. t2 = t1.get$current(t1);
  19806. immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
  19807. }
  19808. return J.asImmutable$0$x(immutableMap);
  19809. },
  19810. immutableMapToDartMap(immutableMap) {
  19811. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  19812. J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  19813. return dartMap;
  19814. },
  19815. ImmutableList: function ImmutableList() {
  19816. },
  19817. ImmutableMap: function ImmutableMap() {
  19818. },
  19819. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  19820. this.dartMap = t0;
  19821. },
  19822. NodeImporter__addSassPath($async$includePaths) {
  19823. return A._makeSyncStarIterable(function() {
  19824. var includePaths = $async$includePaths;
  19825. var $async$goto = 0, $async$handler = 2, $async$currentError, t1, sassPath;
  19826. return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
  19827. if ($async$errorCode === 1) {
  19828. $async$currentError = $async$result;
  19829. $async$goto = $async$handler;
  19830. }
  19831. while (true)
  19832. switch ($async$goto) {
  19833. case 0:
  19834. // Function start
  19835. $async$goto = 3;
  19836. return A._IterationMarker_yieldStar(includePaths);
  19837. case 3:
  19838. // after yield
  19839. t1 = J.get$env$x(self.process);
  19840. if (t1 == null)
  19841. t1 = type$.Object._as(t1);
  19842. sassPath = A._asStringQ(t1.SASS_PATH);
  19843. if (sassPath == null) {
  19844. // goto return
  19845. $async$goto = 1;
  19846. break;
  19847. }
  19848. $async$goto = 4;
  19849. return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
  19850. case 4:
  19851. // after yield
  19852. case 1:
  19853. // return
  19854. return A._IterationMarker_endOfIteration();
  19855. case 2:
  19856. // rethrow
  19857. return A._IterationMarker_uncaughtError($async$currentError);
  19858. }
  19859. };
  19860. }, type$.String);
  19861. },
  19862. NodeImporter: function NodeImporter(t0, t1, t2) {
  19863. this._implementation$_options = t0;
  19864. this._includePaths = t1;
  19865. this._implementation$_importers = t2;
  19866. },
  19867. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  19868. this.path = t0;
  19869. },
  19870. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  19871. },
  19872. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  19873. var _ = this;
  19874. _.url = t0;
  19875. _.modifiers = t1;
  19876. _.span = t2;
  19877. _._node0$_indexInParent = _._node0$_parent = null;
  19878. _.isGroupEnd = false;
  19879. },
  19880. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  19881. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  19882. t2 = type$.Uri,
  19883. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  19884. return new A.ImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  19885. },
  19886. ImportCache$none(logger) {
  19887. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  19888. t2 = type$.Uri;
  19889. return new A.ImportCache0(B.List_empty23, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple2_Uri_bool, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  19890. },
  19891. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  19892. var sassPath, t2, t3, _i, path, _null = null,
  19893. t1 = J.get$env$x(self.process);
  19894. if (t1 == null)
  19895. t1 = type$.Object._as(t1);
  19896. sassPath = A._asStringQ(t1.SASS_PATH);
  19897. t1 = A._setArrayType([], type$.JSArray_Importer);
  19898. if (importers != null)
  19899. B.JSArray_methods.addAll$1(t1, importers);
  19900. if (loadPaths != null)
  19901. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  19902. t3 = t2.get$current(t2);
  19903. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  19904. }
  19905. if (sassPath != null) {
  19906. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  19907. t3 = t2.length;
  19908. _i = 0;
  19909. for (; _i < t3; ++_i) {
  19910. path = t2[_i];
  19911. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  19912. }
  19913. }
  19914. return t1;
  19915. },
  19916. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  19917. var _ = this;
  19918. _._import_cache$_importers = t0;
  19919. _._import_cache$_logger = t1;
  19920. _._import_cache$_canonicalizeCache = t2;
  19921. _._import_cache$_relativeCanonicalizeCache = t3;
  19922. _._import_cache$_importCache = t4;
  19923. _._import_cache$_resultsCache = t5;
  19924. },
  19925. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  19926. var _ = this;
  19927. _.$this = t0;
  19928. _.baseUrl = t1;
  19929. _.url = t2;
  19930. _.baseImporter = t3;
  19931. _.forImport = t4;
  19932. },
  19933. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
  19934. this.$this = t0;
  19935. this.url = t1;
  19936. this.forImport = t2;
  19937. },
  19938. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  19939. this.importer = t0;
  19940. this.url = t1;
  19941. },
  19942. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  19943. var _ = this;
  19944. _.$this = t0;
  19945. _.importer = t1;
  19946. _.canonicalUrl = t2;
  19947. _.originalUrl = t3;
  19948. _.quiet = t4;
  19949. },
  19950. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  19951. this.canonicalUrl = t0;
  19952. },
  19953. ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
  19954. },
  19955. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  19956. },
  19957. ImportRule0: function ImportRule0(t0, t1) {
  19958. this.imports = t0;
  19959. this.span = t1;
  19960. },
  19961. NodeImporter0: function NodeImporter0() {
  19962. },
  19963. CanonicalizeOptions: function CanonicalizeOptions() {
  19964. },
  19965. NodeImporterResult0: function NodeImporterResult0() {
  19966. },
  19967. Importer0: function Importer0() {
  19968. },
  19969. NodeImporterResult1: function NodeImporterResult1() {
  19970. },
  19971. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  19972. var _ = this;
  19973. _.namespace = t0;
  19974. _.name = t1;
  19975. _.$arguments = t2;
  19976. _.content = t3;
  19977. _.span = t4;
  19978. },
  19979. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  19980. this.name = t0;
  19981. this.$arguments = t1;
  19982. this.span = t2;
  19983. },
  19984. Interpolation$0(contents, span) {
  19985. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  19986. t1.Interpolation$20(contents, span);
  19987. return t1;
  19988. },
  19989. Interpolation0: function Interpolation0(t0, t1) {
  19990. this.contents = t0;
  19991. this.span = t1;
  19992. },
  19993. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  19994. },
  19995. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  19996. this.expression = t0;
  19997. this.span = t1;
  19998. },
  19999. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  20000. this._interpolation_buffer0$_text = t0;
  20001. this._interpolation_buffer0$_contents = t1;
  20002. },
  20003. _realCasePath0(path) {
  20004. var prefix, t1;
  20005. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  20006. return path;
  20007. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  20008. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  20009. t1 = prefix.length;
  20010. if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  20011. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  20012. }
  20013. return new A._realCasePath_helper0().call$1(path);
  20014. },
  20015. _realCasePath_helper0: function _realCasePath_helper0() {
  20016. },
  20017. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  20018. this.helper = t0;
  20019. this.dirname = t1;
  20020. this.path = t2;
  20021. },
  20022. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  20023. this.basename = t0;
  20024. },
  20025. ModifiableCssKeyframeBlock$0(selector, span) {
  20026. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20027. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20028. },
  20029. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  20030. var _ = this;
  20031. _.selector = t0;
  20032. _.span = t1;
  20033. _.children = t2;
  20034. _._node0$_children = t3;
  20035. _._node0$_indexInParent = _._node0$_parent = null;
  20036. _.isGroupEnd = false;
  20037. },
  20038. KeyframeSelectorParser$0(contents, logger) {
  20039. var t1 = A.SpanScanner$(contents, null);
  20040. return new A.KeyframeSelectorParser0(t1, logger);
  20041. },
  20042. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  20043. this.scanner = t0;
  20044. this.logger = t1;
  20045. },
  20046. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  20047. this.$this = t0;
  20048. },
  20049. render(options, callback) {
  20050. var fiber = J.get$fiber$x(options);
  20051. if (fiber != null)
  20052. J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
  20053. else
  20054. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  20055. },
  20056. _renderAsync(options) {
  20057. var $async$goto = 0,
  20058. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  20059. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
  20060. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20061. if ($async$errorCode === 1)
  20062. return A._asyncRethrow($async$result, $async$completer);
  20063. while (true)
  20064. switch ($async$goto) {
  20065. case 0:
  20066. // Function start
  20067. start = new A.DateTime(Date.now(), false);
  20068. t1 = J.getInterceptor$x(options);
  20069. data = t1.get$data(options);
  20070. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20071. $async$goto = data != null ? 3 : 5;
  20072. break;
  20073. case 3:
  20074. // then
  20075. t2 = A._parseImporter(options, start);
  20076. t3 = A._parseFunctions(options, start, true);
  20077. t4 = t1.get$indentedSyntax(options);
  20078. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20079. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20080. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20081. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20082. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20083. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20084. t10 = t1.get$quietDeps(options);
  20085. if (t10 == null)
  20086. t10 = false;
  20087. t11 = t1.get$verbose(options);
  20088. if (t11 == null)
  20089. t11 = false;
  20090. t12 = t1.get$charset(options);
  20091. if (t12 == null)
  20092. t12 = true;
  20093. t13 = A._enableSourceMaps(options);
  20094. t1 = t1.get$logger(options);
  20095. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20096. t15 = $._glyphs;
  20097. $async$goto = 6;
  20098. return A._asyncAwait(A.compileStringAsync0(data, t12, t3, null, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11), $async$_renderAsync);
  20099. case 6:
  20100. // returning from await.
  20101. result = $async$result;
  20102. // goto join
  20103. $async$goto = 4;
  20104. break;
  20105. case 5:
  20106. // else
  20107. $async$goto = file != null ? 7 : 9;
  20108. break;
  20109. case 7:
  20110. // then
  20111. t2 = A._parseImporter(options, start);
  20112. t3 = A._parseFunctions(options, start, true);
  20113. t4 = t1.get$indentedSyntax(options);
  20114. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20115. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20116. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20117. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20118. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20119. t9 = t1.get$quietDeps(options);
  20120. if (t9 == null)
  20121. t9 = false;
  20122. t10 = t1.get$verbose(options);
  20123. if (t10 == null)
  20124. t10 = false;
  20125. t11 = t1.get$charset(options);
  20126. if (t11 == null)
  20127. t11 = true;
  20128. t12 = A._enableSourceMaps(options);
  20129. t1 = t1.get$logger(options);
  20130. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20131. t14 = $._glyphs;
  20132. $async$goto = 10;
  20133. return A._asyncAwait(A.compileAsync0(file, t11, t3, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
  20134. case 10:
  20135. // returning from await.
  20136. result = $async$result;
  20137. // goto join
  20138. $async$goto = 8;
  20139. break;
  20140. case 9:
  20141. // else
  20142. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  20143. case 8:
  20144. // join
  20145. case 4:
  20146. // join
  20147. $async$returnValue = A._newRenderResult(options, result, start);
  20148. // goto return
  20149. $async$goto = 1;
  20150. break;
  20151. case 1:
  20152. // return
  20153. return A._asyncReturn($async$returnValue, $async$completer);
  20154. }
  20155. });
  20156. return A._asyncStartSync($async$_renderAsync, $async$completer);
  20157. },
  20158. renderSync(options) {
  20159. var start, result, data, file, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null;
  20160. try {
  20161. start = new A.DateTime(Date.now(), false);
  20162. result = null;
  20163. t1 = J.getInterceptor$x(options);
  20164. data = t1.get$data(options);
  20165. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20166. if (data != null) {
  20167. t2 = A._parseImporter(options, start);
  20168. t3 = A._parseFunctions(options, start, false);
  20169. t4 = t1.get$indentedSyntax(options);
  20170. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20171. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20172. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20173. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20174. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20175. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20176. t10 = t1.get$quietDeps(options);
  20177. if (t10 == null)
  20178. t10 = false;
  20179. t11 = t1.get$verbose(options);
  20180. if (t11 == null)
  20181. t11 = false;
  20182. t12 = t1.get$charset(options);
  20183. if (t12 == null)
  20184. t12 = true;
  20185. t13 = A._enableSourceMaps(options);
  20186. t1 = t1.get$logger(options);
  20187. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20188. t15 = $._glyphs;
  20189. result = A.compileString(data, t12, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11);
  20190. } else if (file != null) {
  20191. t2 = A._parseImporter(options, start);
  20192. t3 = A._parseFunctions(options, start, false);
  20193. t4 = t1.get$indentedSyntax(options);
  20194. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20195. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20196. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20197. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20198. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20199. t9 = t1.get$quietDeps(options);
  20200. if (t9 == null)
  20201. t9 = false;
  20202. t10 = t1.get$verbose(options);
  20203. if (t10 == null)
  20204. t10 = false;
  20205. t11 = t1.get$charset(options);
  20206. if (t11 == null)
  20207. t11 = true;
  20208. t12 = A._enableSourceMaps(options);
  20209. t1 = t1.get$logger(options);
  20210. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20211. t14 = $._glyphs;
  20212. result = A.compile(file, t11, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
  20213. } else {
  20214. t1 = A.ArgumentError$(string$.Either, _null);
  20215. throw A.wrapException(t1);
  20216. }
  20217. t1 = A._newRenderResult(options, result, start);
  20218. return t1;
  20219. } catch (exception) {
  20220. t1 = A.unwrapException(exception);
  20221. if (t1 instanceof A.SassException0) {
  20222. error = t1;
  20223. stackTrace = A.getTraceFromException(exception);
  20224. A.jsThrow(A._wrapException(error, stackTrace));
  20225. } else {
  20226. error0 = t1;
  20227. stackTrace0 = A.getTraceFromException(exception);
  20228. t1 = J.toString$0$(error0);
  20229. t2 = A.getTrace0(error0);
  20230. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  20231. }
  20232. }
  20233. },
  20234. _wrapException(exception, stackTrace) {
  20235. var file, t2, t3, t4,
  20236. t1 = A.SourceSpanException.prototype.get$span.call(exception, exception),
  20237. url = t1.get$sourceUrl(t1);
  20238. if (url == null)
  20239. file = "stdin";
  20240. else
  20241. file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
  20242. t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  20243. t2 = A.getTrace0(exception);
  20244. if (t2 == null)
  20245. t2 = stackTrace;
  20246. t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20247. t3 = t3.get$start(t3);
  20248. t3 = t3.file.getLine$1(t3.offset);
  20249. t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20250. t4 = t4.get$start(t4);
  20251. return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
  20252. },
  20253. _parseFunctions(options, start, asynch) {
  20254. var result,
  20255. functions = J.get$functions$x(options);
  20256. if (functions == null)
  20257. return B.List_empty24;
  20258. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  20259. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  20260. return result;
  20261. },
  20262. _parseImporter(options, start) {
  20263. var importers, t2, t3, contextOptions, fiber,
  20264. t1 = J.getInterceptor$x(options);
  20265. if (t1.get$importer(options) == null)
  20266. importers = A._setArrayType([], type$.JSArray_JSFunction);
  20267. else {
  20268. t2 = type$.List_nullable_Object;
  20269. t3 = type$.JSFunction;
  20270. importers = t2._is(t1.get$importer(options)) ? J.cast$1$0$ax(t2._as(t1.get$importer(options)), t3) : A._setArrayType([t3._as(t1.get$importer(options))], type$.JSArray_JSFunction);
  20271. }
  20272. t2 = J.getInterceptor$asx(importers);
  20273. contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
  20274. fiber = t1.get$fiber(options);
  20275. if (fiber != null) {
  20276. t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
  20277. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  20278. }
  20279. t1 = t1.get$includePaths(options);
  20280. if (t1 == null)
  20281. t1 = [];
  20282. t2 = type$.String;
  20283. return new A.NodeImporter(contextOptions, A.List_List$unmodifiable(A.NodeImporter__addSassPath(A.List_List$from(t1, true, t2)), t2), A.List_List$unmodifiable(J.cast$1$0$ax(importers, type$.dynamic), type$.JSFunction));
  20284. },
  20285. _contextOptions(options, start) {
  20286. var includePaths, t3, t4, t5, t6, t7,
  20287. t1 = J.getInterceptor$x(options),
  20288. t2 = t1.get$includePaths(options);
  20289. if (t2 == null)
  20290. t2 = [];
  20291. includePaths = A.List_List$from(t2, true, type$.String);
  20292. t2 = t1.get$file(options);
  20293. t3 = t1.get$data(options);
  20294. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  20295. B.JSArray_methods.addAll$1(t4, includePaths);
  20296. t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  20297. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  20298. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  20299. if (t6 == null)
  20300. t6 = 2;
  20301. t7 = A._parseLineFeed(t1.get$linefeed(options));
  20302. t1 = t1.get$file(options);
  20303. if (t1 == null)
  20304. t1 = "data";
  20305. return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._core$_value, entry: t1}}};
  20306. },
  20307. _parseOutputStyle(style) {
  20308. if (style == null || style === "expanded")
  20309. return B.OutputStyle_00;
  20310. if (style === "compressed")
  20311. return B.OutputStyle_10;
  20312. throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
  20313. },
  20314. _parseIndentWidth(width) {
  20315. if (width == null)
  20316. return null;
  20317. return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
  20318. },
  20319. _parseLineFeed(str) {
  20320. switch (str) {
  20321. case "cr":
  20322. return B.LineFeed_oyU;
  20323. case "crlf":
  20324. return B.LineFeed_gg4;
  20325. case "lfcr":
  20326. return B.LineFeed_t2a;
  20327. default:
  20328. return B.LineFeed_SsD;
  20329. }
  20330. },
  20331. _newRenderResult(options, result, start) {
  20332. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
  20333. t1 = Date.now(),
  20334. t2 = result._compile_result$_serialize,
  20335. css = t2.css,
  20336. sourceMapBytes = type$.Null._as(self.undefined);
  20337. if (A._enableSourceMaps(options)) {
  20338. t3 = J.getInterceptor$x(options);
  20339. sourceMapOption = t3.get$sourceMap(options);
  20340. if (typeof sourceMapOption == "string")
  20341. sourceMapPath = sourceMapOption;
  20342. else {
  20343. t4 = t3.get$outFile(options);
  20344. t4.toString;
  20345. sourceMapPath = J.$add$ansx(t4, ".map");
  20346. }
  20347. t4 = $.$get$context();
  20348. sourceMapDir = t4.dirname$1(sourceMapPath);
  20349. t2 = t2.sourceMap;
  20350. t2.toString;
  20351. t2.sourceRoot = t3.get$sourceMapRoot(options);
  20352. outFile = t3.get$outFile(options);
  20353. t5 = outFile == null;
  20354. if (t5) {
  20355. file = t3.get$file(options);
  20356. if (file == null)
  20357. t2.targetUrl = "stdin.css";
  20358. else
  20359. t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
  20360. } else
  20361. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  20362. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  20363. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  20364. source = t4[i];
  20365. if (source === "stdin")
  20366. continue;
  20367. t6 = $.$get$url();
  20368. t7 = t6.style;
  20369. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  20370. continue;
  20371. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  20372. }
  20373. t4 = t3.get$sourceMapContents(options);
  20374. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  20375. t2 = t3.get$omitSourceMapUrl(options);
  20376. if (!(!J.$eq$(t2, false) && t2 != null)) {
  20377. t2 = t3.get$sourceMapEmbed(options);
  20378. if (!J.$eq$(t2, false) && t2 != null) {
  20379. buffer = new A.StringBuffer("");
  20380. indices = A._setArrayType([-1], type$.JSArray_int);
  20381. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  20382. indices.push(buffer._contents.length);
  20383. t2 = buffer._contents += ";base64,";
  20384. indices.push(t2.length - 1);
  20385. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  20386. t3 = sourceMapBytes.length;
  20387. A.RangeError_checkValidRange(0, t3, t3);
  20388. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  20389. t2 = buffer._contents;
  20390. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  20391. } else {
  20392. if (t5)
  20393. t2 = sourceMapPath;
  20394. else {
  20395. t2 = $.$get$context();
  20396. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  20397. }
  20398. url = $.$get$context().toUri$1(t2);
  20399. }
  20400. t2 = url.toString$0(0);
  20401. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  20402. }
  20403. }
  20404. t2 = self.Buffer.from(css, "utf8");
  20405. t3 = J.get$file$x(options);
  20406. if (t3 == null)
  20407. t3 = "data";
  20408. t4 = start._core$_value;
  20409. t1 = new A.DateTime(t1, false)._core$_value;
  20410. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  20411. t6 = A._setArrayType([], type$.JSArray_String);
  20412. for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
  20413. t9 = t7._collection$_current;
  20414. if (t9 == null)
  20415. t9 = t8._as(t9);
  20416. if (t9.get$scheme() === "file")
  20417. t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
  20418. else
  20419. t6.push(t9.toString$0(0));
  20420. }
  20421. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  20422. },
  20423. _enableSourceMaps(options) {
  20424. var t2,
  20425. t1 = J.getInterceptor$x(options);
  20426. if (typeof t1.get$sourceMap(options) != "string") {
  20427. t2 = t1.get$sourceMap(options);
  20428. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  20429. } else
  20430. t1 = true;
  20431. return t1;
  20432. },
  20433. _newRenderError(message, stackTrace, column, file, line, $status) {
  20434. var error = new self.Error(message);
  20435. error.formatted = "Error: " + message;
  20436. if (line != null)
  20437. error.line = line;
  20438. if (column != null)
  20439. error.column = column;
  20440. if (file != null)
  20441. error.file = file;
  20442. error.status = $status;
  20443. A.attachJsStack(error, stackTrace);
  20444. return error;
  20445. },
  20446. render_closure: function render_closure(t0, t1) {
  20447. this.callback = t0;
  20448. this.options = t1;
  20449. },
  20450. render_closure0: function render_closure0(t0) {
  20451. this.callback = t0;
  20452. },
  20453. render_closure1: function render_closure1(t0) {
  20454. this.callback = t0;
  20455. },
  20456. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  20457. var _ = this;
  20458. _.options = t0;
  20459. _.start = t1;
  20460. _.result = t2;
  20461. _.asynch = t3;
  20462. },
  20463. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  20464. this.fiber = t0;
  20465. this.callback = t1;
  20466. this.context = t2;
  20467. },
  20468. _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
  20469. this.currentFiber = t0;
  20470. },
  20471. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  20472. this.currentFiber = t0;
  20473. this.result = t1;
  20474. },
  20475. _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
  20476. this.fiber = t0;
  20477. },
  20478. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  20479. this.callback = t0;
  20480. this.context = t1;
  20481. },
  20482. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  20483. this.callback = t0;
  20484. this.context = t1;
  20485. },
  20486. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  20487. this.completer = t0;
  20488. },
  20489. _parseImporter_closure: function _parseImporter_closure(t0) {
  20490. this.fiber = t0;
  20491. },
  20492. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  20493. this.fiber = t0;
  20494. this.importer = t1;
  20495. },
  20496. _parseImporter___closure: function _parseImporter___closure(t0) {
  20497. this.currentFiber = t0;
  20498. },
  20499. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  20500. this.currentFiber = t0;
  20501. this.result = t1;
  20502. },
  20503. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  20504. this.fiber = t0;
  20505. },
  20506. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  20507. var t2, key,
  20508. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  20509. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  20510. key = t2.get$current(t2);
  20511. if (!blocklist.contains$1(0, key))
  20512. t1.add$1(0, key);
  20513. }
  20514. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  20515. },
  20516. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  20517. this._limited_map_view0$_map = t0;
  20518. this._limited_map_view0$_keys = t1;
  20519. this.$ti = t2;
  20520. },
  20521. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  20522. var _ = this;
  20523. _.contents = t0;
  20524. _.separator = t1;
  20525. _.hasBrackets = t2;
  20526. _.span = t3;
  20527. },
  20528. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  20529. this.$this = t0;
  20530. },
  20531. _function10($name, $arguments, callback) {
  20532. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  20533. },
  20534. _length_closure2: function _length_closure2() {
  20535. },
  20536. _nth_closure0: function _nth_closure0() {
  20537. },
  20538. _setNth_closure0: function _setNth_closure0() {
  20539. },
  20540. _join_closure0: function _join_closure0() {
  20541. },
  20542. _append_closure2: function _append_closure2() {
  20543. },
  20544. _zip_closure0: function _zip_closure0() {
  20545. },
  20546. _zip__closure2: function _zip__closure2() {
  20547. },
  20548. _zip__closure3: function _zip__closure3(t0) {
  20549. this._box_0 = t0;
  20550. },
  20551. _zip__closure4: function _zip__closure4(t0) {
  20552. this._box_0 = t0;
  20553. },
  20554. _index_closure2: function _index_closure2() {
  20555. },
  20556. _separator_closure0: function _separator_closure0() {
  20557. },
  20558. _isBracketed_closure0: function _isBracketed_closure0() {
  20559. },
  20560. _slash_closure0: function _slash_closure0() {
  20561. },
  20562. SelectorList$0(components) {
  20563. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  20564. if (t1.length === 0)
  20565. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  20566. return new A.SelectorList0(t1);
  20567. },
  20568. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
  20569. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
  20570. },
  20571. SelectorList0: function SelectorList0(t0) {
  20572. this.components = t0;
  20573. },
  20574. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  20575. },
  20576. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  20577. this.$this = t0;
  20578. this.implicitParent = t1;
  20579. this.parent = t2;
  20580. },
  20581. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  20582. this.complex = t0;
  20583. },
  20584. SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
  20585. },
  20586. SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
  20587. },
  20588. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  20589. },
  20590. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  20591. this.parent = t0;
  20592. },
  20593. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  20594. this.parentSelector = t0;
  20595. this.resolvedSimples = t1;
  20596. this.component = t2;
  20597. },
  20598. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  20599. this.combinators = t0;
  20600. },
  20601. _NodeSassList: function _NodeSassList() {
  20602. },
  20603. legacyListClass_closure: function legacyListClass_closure() {
  20604. },
  20605. legacyListClass__closure: function legacyListClass__closure() {
  20606. },
  20607. legacyListClass_closure0: function legacyListClass_closure0() {
  20608. },
  20609. legacyListClass_closure1: function legacyListClass_closure1() {
  20610. },
  20611. legacyListClass_closure2: function legacyListClass_closure2() {
  20612. },
  20613. legacyListClass_closure3: function legacyListClass_closure3() {
  20614. },
  20615. legacyListClass_closure4: function legacyListClass_closure4() {
  20616. },
  20617. listClass_closure: function listClass_closure() {
  20618. },
  20619. listClass__closure: function listClass__closure() {
  20620. },
  20621. listClass__closure0: function listClass__closure0() {
  20622. },
  20623. _ConstructorOptions: function _ConstructorOptions() {
  20624. },
  20625. SassList$0(contents, _separator, brackets) {
  20626. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  20627. t1.SassList$3$brackets0(contents, _separator, brackets);
  20628. return t1;
  20629. },
  20630. SassList0: function SassList0(t0, t1, t2) {
  20631. this._list1$_contents = t0;
  20632. this._list1$_separator = t1;
  20633. this._list1$_hasBrackets = t2;
  20634. },
  20635. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  20636. },
  20637. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  20638. this._list1$_name = t0;
  20639. this.separator = t1;
  20640. this._name = t2;
  20641. },
  20642. NodeLogger: function NodeLogger() {
  20643. },
  20644. WarnOptions: function WarnOptions() {
  20645. },
  20646. DebugOptions: function DebugOptions() {
  20647. },
  20648. _QuietLogger0: function _QuietLogger0() {
  20649. },
  20650. LoudComment0: function LoudComment0(t0) {
  20651. this.text = t0;
  20652. },
  20653. MapExpression0: function MapExpression0(t0, t1) {
  20654. this.pairs = t0;
  20655. this.span = t1;
  20656. },
  20657. MapExpression_toString_closure0: function MapExpression_toString_closure0() {
  20658. },
  20659. _modify0(map, keys, modify, addNesting) {
  20660. var keyIterator = J.get$iterator$ax(keys);
  20661. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  20662. },
  20663. _deepMergeImpl0(map1, map2) {
  20664. var t2, t3, result,
  20665. t1 = map1._map0$_contents;
  20666. if (t1.get$isEmpty(t1))
  20667. return map2;
  20668. t2 = map2._map0$_contents;
  20669. if (t2.get$isEmpty(t2))
  20670. return map1;
  20671. t3 = type$.Value_2;
  20672. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  20673. t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
  20674. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  20675. },
  20676. _function9($name, $arguments, callback) {
  20677. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  20678. },
  20679. _get_closure0: function _get_closure0() {
  20680. },
  20681. _set_closure1: function _set_closure1() {
  20682. },
  20683. _set__closure2: function _set__closure2(t0) {
  20684. this.$arguments = t0;
  20685. },
  20686. _set_closure2: function _set_closure2() {
  20687. },
  20688. _set__closure1: function _set__closure1(t0) {
  20689. this.args = t0;
  20690. },
  20691. _merge_closure1: function _merge_closure1() {
  20692. },
  20693. _merge_closure2: function _merge_closure2() {
  20694. },
  20695. _merge__closure0: function _merge__closure0(t0) {
  20696. this.map2 = t0;
  20697. },
  20698. _deepMerge_closure0: function _deepMerge_closure0() {
  20699. },
  20700. _deepRemove_closure0: function _deepRemove_closure0() {
  20701. },
  20702. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  20703. this.keys = t0;
  20704. },
  20705. _remove_closure1: function _remove_closure1() {
  20706. },
  20707. _remove_closure2: function _remove_closure2() {
  20708. },
  20709. _keys_closure0: function _keys_closure0() {
  20710. },
  20711. _values_closure0: function _values_closure0() {
  20712. },
  20713. _hasKey_closure0: function _hasKey_closure0() {
  20714. },
  20715. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  20716. this.keyIterator = t0;
  20717. this.modify = t1;
  20718. this.addNesting = t2;
  20719. },
  20720. _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
  20721. this.result = t0;
  20722. },
  20723. _NodeSassMap: function _NodeSassMap() {
  20724. },
  20725. legacyMapClass_closure: function legacyMapClass_closure() {
  20726. },
  20727. legacyMapClass__closure: function legacyMapClass__closure() {
  20728. },
  20729. legacyMapClass__closure0: function legacyMapClass__closure0() {
  20730. },
  20731. legacyMapClass_closure0: function legacyMapClass_closure0() {
  20732. },
  20733. legacyMapClass_closure1: function legacyMapClass_closure1() {
  20734. },
  20735. legacyMapClass_closure2: function legacyMapClass_closure2() {
  20736. },
  20737. legacyMapClass_closure3: function legacyMapClass_closure3() {
  20738. },
  20739. legacyMapClass_closure4: function legacyMapClass_closure4() {
  20740. },
  20741. mapClass_closure: function mapClass_closure() {
  20742. },
  20743. mapClass__closure: function mapClass__closure() {
  20744. },
  20745. mapClass__closure0: function mapClass__closure0() {
  20746. },
  20747. mapClass__closure1: function mapClass__closure1() {
  20748. },
  20749. SassMap0: function SassMap0(t0) {
  20750. this._map0$_contents = t0;
  20751. },
  20752. SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
  20753. this.result = t0;
  20754. },
  20755. _numberFunction0($name, transform) {
  20756. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  20757. },
  20758. _function8($name, $arguments, callback) {
  20759. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  20760. },
  20761. _ceil_closure0: function _ceil_closure0() {
  20762. },
  20763. _clamp_closure0: function _clamp_closure0() {
  20764. },
  20765. _floor_closure0: function _floor_closure0() {
  20766. },
  20767. _max_closure0: function _max_closure0() {
  20768. },
  20769. _min_closure0: function _min_closure0() {
  20770. },
  20771. _round_closure0: function _round_closure0() {
  20772. },
  20773. _abs_closure0: function _abs_closure0() {
  20774. },
  20775. _hypot_closure0: function _hypot_closure0() {
  20776. },
  20777. _hypot__closure0: function _hypot__closure0() {
  20778. },
  20779. _log_closure0: function _log_closure0() {
  20780. },
  20781. _pow_closure0: function _pow_closure0() {
  20782. },
  20783. _sqrt_closure0: function _sqrt_closure0() {
  20784. },
  20785. _acos_closure0: function _acos_closure0() {
  20786. },
  20787. _asin_closure0: function _asin_closure0() {
  20788. },
  20789. _atan_closure0: function _atan_closure0() {
  20790. },
  20791. _atan2_closure0: function _atan2_closure0() {
  20792. },
  20793. _cos_closure0: function _cos_closure0() {
  20794. },
  20795. _sin_closure0: function _sin_closure0() {
  20796. },
  20797. _tan_closure0: function _tan_closure0() {
  20798. },
  20799. _compatible_closure0: function _compatible_closure0() {
  20800. },
  20801. _isUnitless_closure0: function _isUnitless_closure0() {
  20802. },
  20803. _unit_closure0: function _unit_closure0() {
  20804. },
  20805. _percentage_closure0: function _percentage_closure0() {
  20806. },
  20807. _randomFunction_closure0: function _randomFunction_closure0() {
  20808. },
  20809. _div_closure0: function _div_closure0() {
  20810. },
  20811. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  20812. this.transform = t0;
  20813. },
  20814. CssMediaQuery$type0(type, conditions, modifier) {
  20815. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  20816. },
  20817. CssMediaQuery$condition0(conditions, conjunction) {
  20818. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  20819. if (t1.length > 1 && conjunction == null)
  20820. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  20821. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  20822. },
  20823. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  20824. var _ = this;
  20825. _.modifier = t0;
  20826. _.type = t1;
  20827. _.conjunction = t2;
  20828. _.conditions = t3;
  20829. },
  20830. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  20831. this._media_query0$_name = t0;
  20832. },
  20833. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  20834. this.query = t0;
  20835. },
  20836. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  20837. this.scanner = t0;
  20838. this.logger = t1;
  20839. },
  20840. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  20841. this.$this = t0;
  20842. },
  20843. ModifiableCssMediaRule$0(queries, span) {
  20844. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  20845. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20846. if (J.get$isEmpty$asx(queries))
  20847. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  20848. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  20849. },
  20850. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  20851. var _ = this;
  20852. _.queries = t0;
  20853. _.span = t1;
  20854. _.children = t2;
  20855. _._node0$_children = t3;
  20856. _._node0$_indexInParent = _._node0$_parent = null;
  20857. _.isGroupEnd = false;
  20858. },
  20859. MediaRule$0(query, children, span) {
  20860. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20861. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20862. return new A.MediaRule0(query, span, t1, t2);
  20863. },
  20864. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  20865. var _ = this;
  20866. _.query = t0;
  20867. _.span = t1;
  20868. _.children = t2;
  20869. _.hasDeclarations = t3;
  20870. },
  20871. MergedExtension_merge0(left, right) {
  20872. var t3, t4, t5, t6,
  20873. t1 = left.extender,
  20874. t2 = t1.selector;
  20875. if (!t2.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  20876. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  20877. t3 = left.mediaContext;
  20878. t4 = t3 == null;
  20879. if (!t4) {
  20880. t5 = right.mediaContext;
  20881. t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
  20882. } else
  20883. t5 = false;
  20884. if (t5)
  20885. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  20886. if (right.isOptional && right.mediaContext == null)
  20887. return left;
  20888. if (left.isOptional && t4)
  20889. return right;
  20890. t5 = left.target;
  20891. t6 = left.span;
  20892. if (t4)
  20893. t3 = right.mediaContext;
  20894. t2.get$specificity();
  20895. t1 = new A.Extender0(t2, false, t1.span);
  20896. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
  20897. },
  20898. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  20899. var _ = this;
  20900. _.left = t0;
  20901. _.right = t1;
  20902. _.extender = t2;
  20903. _.target = t3;
  20904. _.mediaContext = t4;
  20905. _.isOptional = t5;
  20906. _.span = t6;
  20907. },
  20908. MergedMapView$0(maps, $K, $V) {
  20909. var t1 = $K._eval$1("@<0>")._bind$1($V);
  20910. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  20911. t1.MergedMapView$10(maps, $K, $V);
  20912. return t1;
  20913. },
  20914. MergedMapView0: function MergedMapView0(t0, t1) {
  20915. this._merged_map_view$_mapsByKey = t0;
  20916. this.$ti = t1;
  20917. },
  20918. _function12($name, $arguments, callback) {
  20919. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  20920. },
  20921. global_closure57: function global_closure57() {
  20922. },
  20923. global_closure58: function global_closure58() {
  20924. },
  20925. global_closure59: function global_closure59() {
  20926. },
  20927. global_closure60: function global_closure60() {
  20928. },
  20929. local_closure1: function local_closure1() {
  20930. },
  20931. local_closure2: function local_closure2() {
  20932. },
  20933. local__closure0: function local__closure0() {
  20934. },
  20935. MixinRule$0($name, $arguments, children, span, comment) {
  20936. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20937. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20938. return new A.MixinRule0($name, $arguments, span, t1, t2);
  20939. },
  20940. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  20941. var _ = this;
  20942. _._mixin_rule$__MixinRule_hasContent_FI = $;
  20943. _.name = t0;
  20944. _.$arguments = t1;
  20945. _.span = t2;
  20946. _.children = t3;
  20947. _.hasDeclarations = t4;
  20948. },
  20949. _HasContentVisitor0: function _HasContentVisitor0() {
  20950. },
  20951. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  20952. },
  20953. ExtendMode0: function ExtendMode0(t0, t1) {
  20954. this.name = t0;
  20955. this._name = t1;
  20956. },
  20957. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  20958. this._multi_span0$_primary = t0;
  20959. this.primaryLabel = t1;
  20960. this.secondarySpans = t2;
  20961. },
  20962. SupportsNegation0: function SupportsNegation0(t0, t1) {
  20963. this.condition = t0;
  20964. this.span = t1;
  20965. },
  20966. NoOpImporter: function NoOpImporter() {
  20967. },
  20968. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  20969. this._no_source_map_buffer0$_buffer = t0;
  20970. },
  20971. AstNode0: function AstNode0() {
  20972. },
  20973. _FakeAstNode0: function _FakeAstNode0(t0) {
  20974. this._node1$_callback = t0;
  20975. },
  20976. CssNode0: function CssNode0() {
  20977. },
  20978. CssParentNode0: function CssParentNode0() {
  20979. },
  20980. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  20981. this.includeBogus = t0;
  20982. this.includeComments = t1;
  20983. },
  20984. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  20985. },
  20986. readFile0(path) {
  20987. var sourceFile, t1, i,
  20988. contents = A._asString(A._readFile0(path, "utf8"));
  20989. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  20990. return contents;
  20991. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  20992. for (t1 = contents.length, i = 0; i < t1; ++i) {
  20993. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  20994. continue;
  20995. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  20996. }
  20997. return contents;
  20998. },
  20999. _readFile0(path, encoding) {
  21000. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  21001. },
  21002. fileExists0(path) {
  21003. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  21004. },
  21005. dirExists0(path) {
  21006. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  21007. },
  21008. listDir0(path) {
  21009. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  21010. },
  21011. _systemErrorToFileSystemException0(callback) {
  21012. var error, t1, exception, t2;
  21013. try {
  21014. t1 = callback.call$0();
  21015. return t1;
  21016. } catch (exception) {
  21017. error = A.unwrapException(exception);
  21018. if (!type$.JsSystemError._is(error))
  21019. throw exception;
  21020. t1 = error;
  21021. t2 = J.getInterceptor$x(t1);
  21022. throw A.wrapException(new A.FileSystemException0(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
  21023. }
  21024. },
  21025. FileSystemException0: function FileSystemException0(t0, t1) {
  21026. this.message = t0;
  21027. this.path = t1;
  21028. },
  21029. Stderr0: function Stderr0(t0) {
  21030. this._node$_stderr = t0;
  21031. },
  21032. _readFile_closure0: function _readFile_closure0(t0, t1) {
  21033. this.path = t0;
  21034. this.encoding = t1;
  21035. },
  21036. fileExists_closure0: function fileExists_closure0(t0) {
  21037. this.path = t0;
  21038. },
  21039. dirExists_closure0: function dirExists_closure0(t0) {
  21040. this.path = t0;
  21041. },
  21042. listDir_closure0: function listDir_closure0(t0, t1) {
  21043. this.recursive = t0;
  21044. this.path = t1;
  21045. },
  21046. listDir__closure1: function listDir__closure1(t0) {
  21047. this.path = t0;
  21048. },
  21049. listDir__closure2: function listDir__closure2() {
  21050. },
  21051. listDir_closure_list0: function listDir_closure_list0() {
  21052. },
  21053. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  21054. this.parent = t0;
  21055. this.list = t1;
  21056. },
  21057. ModifiableCssNode0: function ModifiableCssNode0() {
  21058. },
  21059. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  21060. },
  21061. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  21062. },
  21063. main() {
  21064. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  21065. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  21066. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  21067. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  21068. J.set$Value$x(self.exports, $.$get$valueClass());
  21069. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  21070. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  21071. J.set$SassColor$x(self.exports, $.$get$colorClass());
  21072. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  21073. J.set$SassList$x(self.exports, $.$get$listClass());
  21074. J.set$SassMap$x(self.exports, $.$get$mapClass());
  21075. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  21076. J.set$SassString$x(self.exports, $.$get$stringClass());
  21077. J.set$sassNull$x(self.exports, B.C__SassNull0);
  21078. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  21079. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  21080. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  21081. J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
  21082. J.set$info$x(self.exports, "dart-sass\t1.55.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.18.1\t(Dart Compiler)\t[Dart]");
  21083. A.updateSourceSpanPrototype();
  21084. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  21085. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  21086. J.set$types$x(self.exports, {Boolean: $.$get$legacyBooleanClass(), Color: $.$get$legacyColorClass(), List: $.$get$legacyListClass(), Map: $.$get$legacyMapClass(), Null: $.$get$legacyNullClass(), Number: $.$get$legacyNumberClass(), String: $.$get$legacyStringClass(), Error: self.Error});
  21087. J.set$NULL$x(self.exports, B.C__SassNull0);
  21088. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  21089. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  21090. },
  21091. main_closure0: function main_closure0() {
  21092. },
  21093. main_closure1: function main_closure1() {
  21094. },
  21095. NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
  21096. this._node = t0;
  21097. this._fallback = t1;
  21098. this._ascii = t2;
  21099. },
  21100. NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  21101. var _ = this;
  21102. _.$this = t0;
  21103. _.message = t1;
  21104. _.span = t2;
  21105. _.trace = t3;
  21106. _.deprecation = t4;
  21107. },
  21108. NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
  21109. this.$this = t0;
  21110. this.message = t1;
  21111. this.span = t2;
  21112. },
  21113. NullExpression0: function NullExpression0(t0) {
  21114. this.span = t0;
  21115. },
  21116. legacyNullClass_closure: function legacyNullClass_closure() {
  21117. },
  21118. legacyNullClass__closure: function legacyNullClass__closure() {
  21119. },
  21120. _SassNull0: function _SassNull0() {
  21121. },
  21122. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  21123. this.value = t0;
  21124. this.unit = t1;
  21125. this.span = t2;
  21126. },
  21127. _parseNumber(value, unit) {
  21128. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  21129. if (unit == null || unit.length === 0)
  21130. return A.SassNumber_SassNumber0(value, null);
  21131. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  21132. return A.SassNumber_SassNumber0(value, unit);
  21133. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  21134. operands = unit.split("/");
  21135. t1 = operands.length;
  21136. if (t1 > 2)
  21137. throw A.wrapException(invalidUnit);
  21138. numerator = operands[0];
  21139. denominator = t1 === 1 ? null : operands[1];
  21140. t1 = type$.JSArray_String;
  21141. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  21142. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  21143. throw A.wrapException(invalidUnit);
  21144. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  21145. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  21146. throw A.wrapException(invalidUnit);
  21147. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  21148. },
  21149. _NodeSassNumber: function _NodeSassNumber() {
  21150. },
  21151. legacyNumberClass_closure: function legacyNumberClass_closure() {
  21152. },
  21153. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  21154. },
  21155. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  21156. },
  21157. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  21158. },
  21159. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  21160. },
  21161. _parseNumber_closure: function _parseNumber_closure() {
  21162. },
  21163. _parseNumber_closure0: function _parseNumber_closure0() {
  21164. },
  21165. numberClass_closure: function numberClass_closure() {
  21166. },
  21167. numberClass__closure: function numberClass__closure() {
  21168. },
  21169. numberClass__closure0: function numberClass__closure0() {
  21170. },
  21171. numberClass__closure1: function numberClass__closure1() {
  21172. },
  21173. numberClass__closure2: function numberClass__closure2() {
  21174. },
  21175. numberClass__closure3: function numberClass__closure3() {
  21176. },
  21177. numberClass__closure4: function numberClass__closure4() {
  21178. },
  21179. numberClass__closure5: function numberClass__closure5() {
  21180. },
  21181. numberClass__closure6: function numberClass__closure6() {
  21182. },
  21183. numberClass__closure7: function numberClass__closure7() {
  21184. },
  21185. numberClass__closure8: function numberClass__closure8() {
  21186. },
  21187. numberClass__closure9: function numberClass__closure9() {
  21188. },
  21189. numberClass__closure10: function numberClass__closure10() {
  21190. },
  21191. numberClass__closure11: function numberClass__closure11() {
  21192. },
  21193. numberClass__closure12: function numberClass__closure12() {
  21194. },
  21195. numberClass__closure13: function numberClass__closure13() {
  21196. },
  21197. numberClass__closure14: function numberClass__closure14() {
  21198. },
  21199. numberClass__closure15: function numberClass__closure15() {
  21200. },
  21201. numberClass__closure16: function numberClass__closure16() {
  21202. },
  21203. numberClass__closure17: function numberClass__closure17() {
  21204. },
  21205. numberClass__closure18: function numberClass__closure18() {
  21206. },
  21207. numberClass__closure19: function numberClass__closure19() {
  21208. },
  21209. _ConstructorOptions0: function _ConstructorOptions0() {
  21210. },
  21211. conversionFactor0(unit1, unit2) {
  21212. var innerMap;
  21213. if (unit1 === unit2)
  21214. return 1;
  21215. innerMap = B.Map_K2BWj.$index(0, unit1);
  21216. if (innerMap == null)
  21217. return null;
  21218. return innerMap.$index(0, unit2);
  21219. },
  21220. SassNumber_SassNumber0(value, unit) {
  21221. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  21222. },
  21223. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  21224. var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  21225. if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
  21226. if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21227. return new A.UnitlessSassNumber0(value, _null);
  21228. else {
  21229. t1 = J.getInterceptor$asx(numeratorUnits);
  21230. if (t1.get$length(numeratorUnits) === 1)
  21231. return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
  21232. else
  21233. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  21234. }
  21235. else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21236. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  21237. else {
  21238. t1 = J.getInterceptor$ax(numeratorUnits);
  21239. numerators = t1.toList$0(numeratorUnits);
  21240. t2 = J.getInterceptor$ax(denominatorUnits);
  21241. unsimplifiedDenominators = t2.toList$0(denominatorUnits);
  21242. denominators = A._setArrayType([], type$.JSArray_String);
  21243. for (t3 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  21244. denominator = unsimplifiedDenominators[_i];
  21245. i = 0;
  21246. while (true) {
  21247. if (!(i < numerators.length)) {
  21248. simplifiedAway = false;
  21249. break;
  21250. }
  21251. c$0: {
  21252. factor = A.conversionFactor0(denominator, numerators[i]);
  21253. if (factor == null)
  21254. break c$0;
  21255. valueDouble *= factor;
  21256. B.JSArray_methods.removeAt$1(numerators, i);
  21257. simplifiedAway = true;
  21258. break;
  21259. }
  21260. ++i;
  21261. }
  21262. if (!simplifiedAway)
  21263. denominators.push(denominator);
  21264. }
  21265. if (t2.get$isEmpty(denominatorUnits))
  21266. if (t1.get$isEmpty(numeratorUnits))
  21267. return new A.UnitlessSassNumber0(valueDouble, _null);
  21268. else if (t1.get$length(numeratorUnits) === 1)
  21269. return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), valueDouble, _null);
  21270. t1 = type$.String;
  21271. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  21272. }
  21273. },
  21274. SassNumber0: function SassNumber0() {
  21275. },
  21276. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  21277. var _ = this;
  21278. _.$this = t0;
  21279. _.other = t1;
  21280. _.otherName = t2;
  21281. _.otherHasUnits = t3;
  21282. _.name = t4;
  21283. _.newNumerators = t5;
  21284. _.newDenominators = t6;
  21285. },
  21286. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  21287. this._box_0 = t0;
  21288. this.newNumerator = t1;
  21289. },
  21290. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  21291. this.compatibilityException = t0;
  21292. },
  21293. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  21294. this._box_0 = t0;
  21295. this.newDenominator = t1;
  21296. },
  21297. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  21298. this.compatibilityException = t0;
  21299. },
  21300. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  21301. },
  21302. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  21303. },
  21304. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  21305. this._box_0 = t0;
  21306. this.numerator = t1;
  21307. },
  21308. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  21309. this.newNumerators = t0;
  21310. this.numerator = t1;
  21311. },
  21312. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  21313. this._box_0 = t0;
  21314. this.numerator = t1;
  21315. },
  21316. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  21317. this.newNumerators = t0;
  21318. this.numerator = t1;
  21319. },
  21320. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  21321. this.units2 = t0;
  21322. },
  21323. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  21324. },
  21325. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  21326. this.$this = t0;
  21327. },
  21328. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  21329. var _ = this;
  21330. _.left = t0;
  21331. _.right = t1;
  21332. _.operator = t2;
  21333. _.span = t3;
  21334. },
  21335. ParentSelector0: function ParentSelector0(t0) {
  21336. this.suffix = t0;
  21337. },
  21338. ParentStatement0: function ParentStatement0() {
  21339. },
  21340. ParentStatement_closure0: function ParentStatement_closure0() {
  21341. },
  21342. ParentStatement__closure0: function ParentStatement__closure0() {
  21343. },
  21344. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  21345. this.expression = t0;
  21346. this.span = t1;
  21347. },
  21348. Parser_isIdentifier0(text) {
  21349. var t1, t2, exception, logger = null;
  21350. try {
  21351. t1 = logger;
  21352. t2 = A.SpanScanner$(text, null);
  21353. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
  21354. return true;
  21355. } catch (exception) {
  21356. if (A.unwrapException(exception) instanceof A.SassFormatException0)
  21357. return false;
  21358. else
  21359. throw exception;
  21360. }
  21361. },
  21362. Parser1: function Parser1(t0, t1) {
  21363. this.scanner = t0;
  21364. this.logger = t1;
  21365. },
  21366. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  21367. this.$this = t0;
  21368. },
  21369. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  21370. this.caseSensitive = t0;
  21371. this.char = t1;
  21372. },
  21373. PlaceholderSelector0: function PlaceholderSelector0(t0) {
  21374. this.name = t0;
  21375. },
  21376. PlainCssCallable0: function PlainCssCallable0(t0) {
  21377. this.name = t0;
  21378. },
  21379. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  21380. this._prefixed_map_view0$_map = t0;
  21381. this._prefixed_map_view0$_prefix = t1;
  21382. this.$ti = t2;
  21383. },
  21384. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  21385. this._prefixed_map_view0$_view = t0;
  21386. },
  21387. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  21388. this.$this = t0;
  21389. },
  21390. PseudoSelector$0($name, argument, element, selector) {
  21391. var t1 = !element,
  21392. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  21393. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
  21394. },
  21395. PseudoSelector__isFakePseudoElement0($name) {
  21396. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  21397. case 97:
  21398. case 65:
  21399. return A.equalsIgnoreCase0($name, "after");
  21400. case 98:
  21401. case 66:
  21402. return A.equalsIgnoreCase0($name, "before");
  21403. case 102:
  21404. case 70:
  21405. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  21406. default:
  21407. return false;
  21408. }
  21409. },
  21410. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
  21411. var _ = this;
  21412. _.name = t0;
  21413. _.normalizedName = t1;
  21414. _.isClass = t2;
  21415. _.isSyntacticClass = t3;
  21416. _.argument = t4;
  21417. _.selector = t5;
  21418. _._pseudo$__PseudoSelector_specificity_FI = $;
  21419. },
  21420. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  21421. this.$this = t0;
  21422. },
  21423. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  21424. },
  21425. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  21426. },
  21427. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  21428. },
  21429. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  21430. this._public_member_map_view0$_inner = t0;
  21431. this.$ti = t1;
  21432. },
  21433. QualifiedName0: function QualifiedName0(t0, t1) {
  21434. this.name = t0;
  21435. this.namespace = t1;
  21436. },
  21437. createJSClass($name, $constructor) {
  21438. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  21439. },
  21440. JSClassExtension_injectSuperclass(_this, superclass) {
  21441. var t1 = J.getInterceptor$x(superclass),
  21442. t2 = J.getInterceptor$x(_this);
  21443. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  21444. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  21445. },
  21446. JSClassExtension_setCustomInspect(_this, inspect) {
  21447. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  21448. },
  21449. JSClassExtension_get_defineMethod(_this) {
  21450. return new A.JSClassExtension_get_defineMethod_closure(_this);
  21451. },
  21452. JSClassExtension_defineMethods(_this, methods) {
  21453. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  21454. },
  21455. JSClassExtension_get_defineGetter(_this) {
  21456. return new A.JSClassExtension_get_defineGetter_closure(_this);
  21457. },
  21458. JSClass0: function JSClass0() {
  21459. },
  21460. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  21461. this.inspect = t0;
  21462. },
  21463. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  21464. this._this = t0;
  21465. },
  21466. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  21467. this._this = t0;
  21468. },
  21469. RenderContext0: function RenderContext0() {
  21470. },
  21471. RenderContextOptions0: function RenderContextOptions0() {
  21472. },
  21473. RenderContextResult0: function RenderContextResult0() {
  21474. },
  21475. RenderContextResultStats0: function RenderContextResultStats0() {
  21476. },
  21477. RenderOptions: function RenderOptions() {
  21478. },
  21479. RenderResult: function RenderResult() {
  21480. },
  21481. RenderResultStats: function RenderResultStats() {
  21482. },
  21483. ImporterResult$(contents, sourceMapUrl, syntax) {
  21484. var t2,
  21485. t1 = syntax == null;
  21486. if (t1)
  21487. t2 = B.Syntax_SCSS_scss0;
  21488. else
  21489. t2 = syntax;
  21490. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  21491. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  21492. else if (t1 && true)
  21493. A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
  21494. return new A.ImporterResult0(contents, sourceMapUrl, t2);
  21495. },
  21496. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  21497. this.contents = t0;
  21498. this._result$_sourceMapUrl = t1;
  21499. this.syntax = t2;
  21500. },
  21501. ReturnRule0: function ReturnRule0(t0, t1) {
  21502. this.expression = t0;
  21503. this.span = t1;
  21504. },
  21505. main0(args) {
  21506. return A.main$body(args);
  21507. },
  21508. main$body(args) {
  21509. var $async$goto = 0,
  21510. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  21511. $async$returnValue, $async$handler = 2, $async$currentError, printError, graph, source, destination, error, stackTrace, error0, stackTrace0, path, error1, error2, stackTrace1, buffer, options, t1, t2, t3, exception, t4, t5, _box_0, $async$exception, $async$exception1, $async$temp1;
  21512. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  21513. if ($async$errorCode === 1) {
  21514. $async$currentError = $async$result;
  21515. $async$goto = $async$handler;
  21516. }
  21517. while (true)
  21518. switch ($async$goto) {
  21519. case 0:
  21520. // Function start
  21521. _box_0 = {};
  21522. _box_0.printedError = false;
  21523. printError = new A.main_printError(_box_0);
  21524. _box_0.options = null;
  21525. $async$handler = 4;
  21526. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  21527. _box_0.options = options;
  21528. t1 = options._options;
  21529. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  21530. $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
  21531. break;
  21532. case 7:
  21533. // then
  21534. $async$temp1 = A;
  21535. $async$goto = 9;
  21536. return A._asyncAwait(A._loadVersion(), $async$main0);
  21537. case 9:
  21538. // returning from await.
  21539. $async$temp1.print($async$result);
  21540. J.set$exitCode$x(self.process, 0);
  21541. // goto return
  21542. $async$goto = 1;
  21543. break;
  21544. case 8:
  21545. // join
  21546. $async$goto = _box_0.options.get$interactive() ? 10 : 11;
  21547. break;
  21548. case 10:
  21549. // then
  21550. $async$goto = 12;
  21551. return A._asyncAwait(A.repl(_box_0.options), $async$main0);
  21552. case 12:
  21553. // returning from await.
  21554. // goto return
  21555. $async$goto = 1;
  21556. break;
  21557. case 11:
  21558. // join
  21559. t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
  21560. t2 = _box_0.options;
  21561. t3 = type$.Uri;
  21562. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color())), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21563. $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
  21564. break;
  21565. case 13:
  21566. // then
  21567. $async$goto = 15;
  21568. return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
  21569. case 15:
  21570. // returning from await.
  21571. // goto return
  21572. $async$goto = 1;
  21573. break;
  21574. case 14:
  21575. // join
  21576. t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
  21577. case 16:
  21578. // for condition
  21579. if (!t1.moveNext$0()) {
  21580. // goto after for
  21581. $async$goto = 17;
  21582. break;
  21583. }
  21584. source = t1.get$current(t1);
  21585. t2 = _box_0.options;
  21586. t2._ensureSources$0();
  21587. destination = t2._sourcesToDestinations.$index(0, source);
  21588. $async$handler = 19;
  21589. t2 = _box_0.options;
  21590. $async$goto = 22;
  21591. return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
  21592. case 22:
  21593. // returning from await.
  21594. $async$handler = 4;
  21595. // goto after finally
  21596. $async$goto = 21;
  21597. break;
  21598. case 19:
  21599. // catch
  21600. $async$handler = 18;
  21601. $async$exception = $async$currentError;
  21602. t2 = A.unwrapException($async$exception);
  21603. if (t2 instanceof A.SassException) {
  21604. error = t2;
  21605. stackTrace = A.getTraceFromException($async$exception);
  21606. new A.main_closure(_box_0, destination).call$0();
  21607. t2 = _box_0.options._options;
  21608. if (!t2._parser.options._map.containsKey$1("color"))
  21609. A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
  21610. t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  21611. t2 = J.toString$1$color$(error, t2);
  21612. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  21613. t3 = error;
  21614. t4 = typeof t3 == "string";
  21615. if (t4 || typeof t3 == "number" || A._isBool(t3))
  21616. t3 = null;
  21617. else {
  21618. t5 = $.$get$_traces();
  21619. if (A._isBool(t3) || typeof t3 == "number" || t4)
  21620. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  21621. t3 = t5._jsWeakMap.get(t3);
  21622. }
  21623. if (t3 == null)
  21624. t3 = stackTrace;
  21625. } else
  21626. t3 = null;
  21627. printError.call$2(t2, t3);
  21628. if (J.get$exitCode$x(self.process) !== 66)
  21629. J.set$exitCode$x(self.process, 65);
  21630. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  21631. // goto return
  21632. $async$goto = 1;
  21633. break;
  21634. }
  21635. } else if (t2 instanceof A.FileSystemException) {
  21636. error0 = t2;
  21637. stackTrace0 = A.getTraceFromException($async$exception);
  21638. path = error0.path;
  21639. t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  21640. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  21641. t3 = error0;
  21642. t4 = typeof t3 == "string";
  21643. if (t4 || typeof t3 == "number" || A._isBool(t3))
  21644. t3 = null;
  21645. else {
  21646. t5 = $.$get$_traces();
  21647. if (A._isBool(t3) || typeof t3 == "number" || t4)
  21648. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  21649. t3 = t5._jsWeakMap.get(t3);
  21650. }
  21651. if (t3 == null)
  21652. t3 = stackTrace0;
  21653. } else
  21654. t3 = null;
  21655. printError.call$2(t2, t3);
  21656. J.set$exitCode$x(self.process, 66);
  21657. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  21658. // goto return
  21659. $async$goto = 1;
  21660. break;
  21661. }
  21662. } else
  21663. throw $async$exception;
  21664. // goto after finally
  21665. $async$goto = 21;
  21666. break;
  21667. case 18:
  21668. // uncaught
  21669. // goto catch
  21670. $async$goto = 4;
  21671. break;
  21672. case 21:
  21673. // after finally
  21674. // goto for condition
  21675. $async$goto = 16;
  21676. break;
  21677. case 17:
  21678. // after for
  21679. $async$handler = 2;
  21680. // goto after finally
  21681. $async$goto = 6;
  21682. break;
  21683. case 4:
  21684. // catch
  21685. $async$handler = 3;
  21686. $async$exception1 = $async$currentError;
  21687. t1 = A.unwrapException($async$exception1);
  21688. if (t1 instanceof A.UsageException) {
  21689. error1 = t1;
  21690. A.print(error1.message + "\n");
  21691. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  21692. t1 = $.$get$ExecutableOptions__parser();
  21693. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  21694. J.set$exitCode$x(self.process, 64);
  21695. } else {
  21696. error2 = t1;
  21697. stackTrace1 = A.getTraceFromException($async$exception1);
  21698. buffer = new A.StringBuffer("");
  21699. t1 = _box_0.options;
  21700. if (t1 != null && t1.get$color())
  21701. buffer._contents += "\x1b[31m\x1b[1m";
  21702. buffer._contents += "Unexpected exception:";
  21703. t1 = _box_0.options;
  21704. if (t1 != null && t1.get$color())
  21705. buffer._contents += "\x1b[0m";
  21706. buffer._contents += "\n";
  21707. buffer._contents += A.S(error2) + "\n";
  21708. t1 = buffer._contents;
  21709. t2 = A.getTrace(error2);
  21710. if (t2 == null)
  21711. t2 = stackTrace1;
  21712. printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
  21713. J.set$exitCode$x(self.process, 255);
  21714. }
  21715. // goto after finally
  21716. $async$goto = 6;
  21717. break;
  21718. case 3:
  21719. // uncaught
  21720. // goto rethrow
  21721. $async$goto = 2;
  21722. break;
  21723. case 6:
  21724. // after finally
  21725. case 1:
  21726. // return
  21727. return A._asyncReturn($async$returnValue, $async$completer);
  21728. case 2:
  21729. // rethrow
  21730. return A._asyncRethrow($async$currentError, $async$completer);
  21731. }
  21732. });
  21733. return A._asyncStartSync($async$main0, $async$completer);
  21734. },
  21735. _loadVersion() {
  21736. var $async$goto = 0,
  21737. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  21738. $async$returnValue;
  21739. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  21740. if ($async$errorCode === 1)
  21741. return A._asyncRethrow($async$result, $async$completer);
  21742. while (true)
  21743. switch ($async$goto) {
  21744. case 0:
  21745. // Function start
  21746. $async$returnValue = "1.55.0 compiled with dart2js 2.18.1";
  21747. // goto return
  21748. $async$goto = 1;
  21749. break;
  21750. case 1:
  21751. // return
  21752. return A._asyncReturn($async$returnValue, $async$completer);
  21753. }
  21754. });
  21755. return A._asyncStartSync($async$_loadVersion, $async$completer);
  21756. },
  21757. main_printError: function main_printError(t0) {
  21758. this._box_0 = t0;
  21759. },
  21760. main_closure: function main_closure(t0, t1) {
  21761. this._box_0 = t0;
  21762. this.destination = t1;
  21763. },
  21764. SassParser0: function SassParser0(t0, t1, t2) {
  21765. var _ = this;
  21766. _._sass0$_currentIndentation = 0;
  21767. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  21768. _._stylesheet0$_isUseAllowed = true;
  21769. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  21770. _._stylesheet0$_globalVariables = t0;
  21771. _.lastSilentComment = null;
  21772. _.scanner = t1;
  21773. _.logger = t2;
  21774. },
  21775. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  21776. this.$this = t0;
  21777. this.child = t1;
  21778. this.children = t2;
  21779. },
  21780. _translateReturnValue(val) {
  21781. if (type$.Future_dynamic._is(val))
  21782. return A.futureToPromise(val, type$.dynamic);
  21783. else
  21784. return val;
  21785. },
  21786. main1() {
  21787. new Uint8Array(0);
  21788. A.main();
  21789. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  21790. },
  21791. _wrapMain(main) {
  21792. if (type$.dynamic_Function._is(main))
  21793. return A.allowInterop(new A._wrapMain_closure(main));
  21794. else
  21795. return A.allowInterop(new A._wrapMain_closure0(main));
  21796. },
  21797. _Exports: function _Exports() {
  21798. },
  21799. _wrapMain_closure: function _wrapMain_closure(t0) {
  21800. this.main = t0;
  21801. },
  21802. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  21803. this.main = t0;
  21804. },
  21805. ScssParser$0(contents, logger, url) {
  21806. var t1 = A.SpanScanner$(contents, url),
  21807. t2 = logger == null ? B.StderrLogger_false0 : logger;
  21808. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
  21809. },
  21810. ScssParser0: function ScssParser0(t0, t1, t2) {
  21811. var _ = this;
  21812. _._stylesheet0$_isUseAllowed = true;
  21813. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  21814. _._stylesheet0$_globalVariables = t0;
  21815. _.lastSilentComment = null;
  21816. _.scanner = t1;
  21817. _.logger = t2;
  21818. },
  21819. Selector0: function Selector0() {
  21820. },
  21821. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  21822. this.includeBogus = t0;
  21823. },
  21824. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  21825. this.includeLeadingCombinator = t0;
  21826. },
  21827. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  21828. this.$this = t0;
  21829. },
  21830. _IsUselessVisitor0: function _IsUselessVisitor0() {
  21831. },
  21832. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  21833. this.$this = t0;
  21834. },
  21835. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  21836. },
  21837. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  21838. },
  21839. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  21840. },
  21841. SelectorExpression0: function SelectorExpression0(t0) {
  21842. this.span = t0;
  21843. },
  21844. _prependParent0(compound) {
  21845. var t2, _null = null,
  21846. t1 = compound.components,
  21847. first = B.JSArray_methods.get$first(t1);
  21848. if (first instanceof A.UniversalSelector0)
  21849. return _null;
  21850. if (first instanceof A.TypeSelector0) {
  21851. t2 = first.name;
  21852. if (t2.namespace != null)
  21853. return _null;
  21854. t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
  21855. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  21856. return A.CompoundSelector$0(t2);
  21857. } else {
  21858. t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
  21859. B.JSArray_methods.addAll$1(t2, t1);
  21860. return A.CompoundSelector$0(t2);
  21861. }
  21862. },
  21863. _function7($name, $arguments, callback) {
  21864. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  21865. },
  21866. _nest_closure0: function _nest_closure0() {
  21867. },
  21868. _nest__closure1: function _nest__closure1(t0) {
  21869. this._box_0 = t0;
  21870. },
  21871. _nest__closure2: function _nest__closure2() {
  21872. },
  21873. _append_closure1: function _append_closure1() {
  21874. },
  21875. _append__closure1: function _append__closure1() {
  21876. },
  21877. _append__closure2: function _append__closure2() {
  21878. },
  21879. _append___closure0: function _append___closure0(t0) {
  21880. this.parent = t0;
  21881. },
  21882. _extend_closure0: function _extend_closure0() {
  21883. },
  21884. _replace_closure0: function _replace_closure0() {
  21885. },
  21886. _unify_closure0: function _unify_closure0() {
  21887. },
  21888. _isSuperselector_closure0: function _isSuperselector_closure0() {
  21889. },
  21890. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  21891. },
  21892. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  21893. },
  21894. _parse_closure0: function _parse_closure0() {
  21895. },
  21896. SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
  21897. var t1 = A.SpanScanner$(contents, url);
  21898. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
  21899. },
  21900. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  21901. var _ = this;
  21902. _._selector$_allowParent = t0;
  21903. _._selector$_allowPlaceholder = t1;
  21904. _.scanner = t2;
  21905. _.logger = t3;
  21906. },
  21907. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  21908. this.$this = t0;
  21909. },
  21910. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  21911. this.$this = t0;
  21912. },
  21913. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  21914. var t1, css, t2, prefix,
  21915. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  21916. node.accept$1(visitor);
  21917. t1 = visitor._serialize0$_buffer;
  21918. css = t1.toString$0(0);
  21919. if (charset) {
  21920. t2 = new A.CodeUnits(css);
  21921. t2 = t2.any$1(t2, new A.serialize_closure0());
  21922. } else
  21923. t2 = false;
  21924. if (t2)
  21925. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  21926. else
  21927. prefix = "";
  21928. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  21929. return new A.SerializeResult0(prefix + css, t1);
  21930. },
  21931. serializeValue0(value, inspect, quote) {
  21932. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  21933. value.accept$1(visitor);
  21934. return visitor._serialize0$_buffer.toString$0(0);
  21935. },
  21936. serializeSelector0(selector, inspect) {
  21937. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  21938. selector.accept$1(visitor);
  21939. return visitor._serialize0$_buffer.toString$0(0);
  21940. },
  21941. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  21942. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  21943. t2 = style == null ? B.OutputStyle_00 : style,
  21944. t3 = useSpaces ? 32 : 9,
  21945. t4 = indentWidth == null ? 2 : indentWidth,
  21946. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  21947. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  21948. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  21949. },
  21950. serialize_closure0: function serialize_closure0() {
  21951. },
  21952. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  21953. var _ = this;
  21954. _._serialize0$_buffer = t0;
  21955. _._serialize0$_indentation = 0;
  21956. _._serialize0$_style = t1;
  21957. _._serialize0$_inspect = t2;
  21958. _._serialize0$_quote = t3;
  21959. _._serialize0$_indentCharacter = t4;
  21960. _._serialize0$_indentWidth = t5;
  21961. _._lineFeed = t6;
  21962. },
  21963. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  21964. this.$this = t0;
  21965. this.node = t1;
  21966. },
  21967. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  21968. this.$this = t0;
  21969. this.node = t1;
  21970. },
  21971. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  21972. this.$this = t0;
  21973. this.node = t1;
  21974. },
  21975. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  21976. this.$this = t0;
  21977. this.node = t1;
  21978. },
  21979. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  21980. this.$this = t0;
  21981. this.node = t1;
  21982. },
  21983. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  21984. this.$this = t0;
  21985. this.node = t1;
  21986. },
  21987. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  21988. this.$this = t0;
  21989. this.node = t1;
  21990. },
  21991. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  21992. this.$this = t0;
  21993. this.node = t1;
  21994. },
  21995. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  21996. this.$this = t0;
  21997. this.node = t1;
  21998. },
  21999. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  22000. this.$this = t0;
  22001. this.node = t1;
  22002. },
  22003. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  22004. },
  22005. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  22006. this.$this = t0;
  22007. this.value = t1;
  22008. },
  22009. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  22010. this.$this = t0;
  22011. },
  22012. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  22013. this.$this = t0;
  22014. },
  22015. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  22016. },
  22017. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  22018. this.$this = t0;
  22019. this.value = t1;
  22020. },
  22021. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  22022. this.$this = t0;
  22023. this.child = t1;
  22024. },
  22025. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  22026. this.$this = t0;
  22027. this.child = t1;
  22028. },
  22029. OutputStyle0: function OutputStyle0(t0) {
  22030. this._name = t0;
  22031. },
  22032. LineFeed0: function LineFeed0(t0, t1, t2) {
  22033. this.name = t0;
  22034. this.text = t1;
  22035. this._name = t2;
  22036. },
  22037. SerializeResult0: function SerializeResult0(t0, t1) {
  22038. this.css = t0;
  22039. this.sourceMap = t1;
  22040. },
  22041. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  22042. return A.ShadowedModuleView__needsBlocklist0(inner.get$variables(), variables) || A.ShadowedModuleView__needsBlocklist0(inner.get$functions(inner), functions) || A.ShadowedModuleView__needsBlocklist0(inner.get$mixins(), mixins) ? new A.ShadowedModuleView0(inner, A.ShadowedModuleView__shadowedMap0(inner.get$variables(), variables, type$.Value_2), A.ShadowedModuleView__shadowedMap0(inner.get$variableNodes(), variables, type$.AstNode_2), A.ShadowedModuleView__shadowedMap0(inner.get$functions(inner), functions, $T), A.ShadowedModuleView__shadowedMap0(inner.get$mixins(), mixins, $T), $T._eval$1("ShadowedModuleView0<0>")) : null;
  22043. },
  22044. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  22045. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  22046. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  22047. },
  22048. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  22049. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  22050. },
  22051. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  22052. var _ = this;
  22053. _._shadowed_view0$_inner = t0;
  22054. _.variables = t1;
  22055. _.variableNodes = t2;
  22056. _.functions = t3;
  22057. _.mixins = t4;
  22058. _.$ti = t5;
  22059. },
  22060. SilentComment0: function SilentComment0(t0, t1) {
  22061. this.text = t0;
  22062. this.span = t1;
  22063. },
  22064. SimpleSelector0: function SimpleSelector0() {
  22065. },
  22066. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  22067. this.$this = t0;
  22068. },
  22069. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  22070. this.$this = t0;
  22071. },
  22072. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  22073. var _ = this;
  22074. _._single_unit$_unit = t0;
  22075. _._number1$_value = t1;
  22076. _.hashCache = null;
  22077. _.asSlash = t2;
  22078. },
  22079. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  22080. this.$this = t0;
  22081. this.unit = t1;
  22082. },
  22083. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  22084. this.$this = t0;
  22085. },
  22086. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  22087. this._box_0 = t0;
  22088. this.$this = t1;
  22089. },
  22090. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  22091. this._box_0 = t0;
  22092. this.$this = t1;
  22093. },
  22094. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  22095. var _ = this;
  22096. _._source_map_buffer0$_buffer = t0;
  22097. _._source_map_buffer0$_entries = t1;
  22098. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  22099. _._source_map_buffer0$_inSpan = false;
  22100. },
  22101. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  22102. this._box_0 = t0;
  22103. this.prefixLength = t1;
  22104. },
  22105. updateSourceSpanPrototype() {
  22106. var t3, t4, _i, t5,
  22107. span = A.SourceFile$fromString("", null).span$1(0, 0),
  22108. t1 = type$.SourceSpan,
  22109. t2 = type$.String;
  22110. for (t1 = [span, new A.MultiSpan0(span, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t1, t2))], t3 = type$.JSClass, t4 = type$.Function, _i = 0; _i < 2; ++_i) {
  22111. t5 = t3._as(t1[_i].constructor);
  22112. A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure(), "end", new A.updateSourceSpanPrototype_closure0(), "url", new A.updateSourceSpanPrototype_closure1(), "text", new A.updateSourceSpanPrototype_closure2(), "context", new A.updateSourceSpanPrototype_closure3()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t5));
  22113. }
  22114. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  22115. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  22116. },
  22117. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
  22118. },
  22119. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  22120. },
  22121. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  22122. },
  22123. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  22124. },
  22125. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  22126. },
  22127. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  22128. },
  22129. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  22130. },
  22131. _IterableExtension__search0(_this, callback) {
  22132. var t1, value;
  22133. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  22134. value = callback.call$1(t1.get$current(t1));
  22135. if (value != null)
  22136. return value;
  22137. }
  22138. return null;
  22139. },
  22140. StatementSearchVisitor0: function StatementSearchVisitor0() {
  22141. },
  22142. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  22143. this.$this = t0;
  22144. },
  22145. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  22146. this.$this = t0;
  22147. },
  22148. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  22149. this.$this = t0;
  22150. },
  22151. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  22152. this.$this = t0;
  22153. },
  22154. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  22155. this.$this = t0;
  22156. },
  22157. StaticImport0: function StaticImport0(t0, t1, t2) {
  22158. this.url = t0;
  22159. this.modifiers = t1;
  22160. this.span = t2;
  22161. },
  22162. StderrLogger0: function StderrLogger0(t0) {
  22163. this.color = t0;
  22164. },
  22165. StringExpression_quoteText0(text) {
  22166. var t1,
  22167. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  22168. buffer = new A.StringBuffer("");
  22169. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  22170. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  22171. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  22172. return t1.charCodeAt(0) == 0 ? t1 : t1;
  22173. },
  22174. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  22175. var t1, t2, i, codeUnit, next, t3;
  22176. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  22177. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  22178. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  22179. buffer.writeCharCode$1(92);
  22180. buffer.writeCharCode$1(97);
  22181. if (i !== t2) {
  22182. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  22183. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
  22184. buffer.writeCharCode$1(32);
  22185. }
  22186. } else {
  22187. if (codeUnit !== quote)
  22188. if (codeUnit !== 92)
  22189. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  22190. else
  22191. t3 = true;
  22192. else
  22193. t3 = true;
  22194. if (t3)
  22195. buffer.writeCharCode$1(92);
  22196. buffer.writeCharCode$1(codeUnit);
  22197. }
  22198. }
  22199. },
  22200. StringExpression__bestQuote0(strings) {
  22201. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  22202. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  22203. t2 = t1.get$current(t1);
  22204. for (t3 = t2.length, i = 0; i < t3; ++i) {
  22205. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  22206. if (codeUnit === 39)
  22207. return 34;
  22208. if (codeUnit === 34)
  22209. containsDoubleQuote = true;
  22210. }
  22211. }
  22212. return containsDoubleQuote ? 39 : 34;
  22213. },
  22214. StringExpression0: function StringExpression0(t0, t1) {
  22215. this.text = t0;
  22216. this.hasQuotes = t1;
  22217. },
  22218. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  22219. var result;
  22220. if (index === 0)
  22221. return 0;
  22222. if (index > 0)
  22223. return Math.min(index - 1, lengthInCodepoints);
  22224. result = lengthInCodepoints + index;
  22225. if (result < 0 && !allowNegative)
  22226. return 0;
  22227. return result;
  22228. },
  22229. _function6($name, $arguments, callback) {
  22230. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  22231. },
  22232. _unquote_closure0: function _unquote_closure0() {
  22233. },
  22234. _quote_closure0: function _quote_closure0() {
  22235. },
  22236. _length_closure1: function _length_closure1() {
  22237. },
  22238. _insert_closure0: function _insert_closure0() {
  22239. },
  22240. _index_closure1: function _index_closure1() {
  22241. },
  22242. _slice_closure0: function _slice_closure0() {
  22243. },
  22244. _toUpperCase_closure0: function _toUpperCase_closure0() {
  22245. },
  22246. _toLowerCase_closure0: function _toLowerCase_closure0() {
  22247. },
  22248. _uniqueId_closure0: function _uniqueId_closure0() {
  22249. },
  22250. _NodeSassString: function _NodeSassString() {
  22251. },
  22252. legacyStringClass_closure: function legacyStringClass_closure() {
  22253. },
  22254. legacyStringClass_closure0: function legacyStringClass_closure0() {
  22255. },
  22256. legacyStringClass_closure1: function legacyStringClass_closure1() {
  22257. },
  22258. stringClass_closure: function stringClass_closure() {
  22259. },
  22260. stringClass__closure: function stringClass__closure() {
  22261. },
  22262. stringClass__closure0: function stringClass__closure0() {
  22263. },
  22264. stringClass__closure1: function stringClass__closure1() {
  22265. },
  22266. stringClass__closure2: function stringClass__closure2() {
  22267. },
  22268. stringClass__closure3: function stringClass__closure3() {
  22269. },
  22270. _ConstructorOptions1: function _ConstructorOptions1() {
  22271. },
  22272. SassString$0(_text, quotes) {
  22273. return new A.SassString0(_text, quotes);
  22274. },
  22275. SassString0: function SassString0(t0, t1) {
  22276. var _ = this;
  22277. _._string0$_text = t0;
  22278. _._string0$_hasQuotes = t1;
  22279. _._string0$__SassString__sassLength_FI = $;
  22280. _._string0$_hashCache = null;
  22281. },
  22282. ModifiableCssStyleRule$0(selector, span, originalSelector) {
  22283. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22284. return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22285. },
  22286. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  22287. var _ = this;
  22288. _.selector = t0;
  22289. _.originalSelector = t1;
  22290. _.span = t2;
  22291. _.children = t3;
  22292. _._node0$_children = t4;
  22293. _._node0$_indexInParent = _._node0$_parent = null;
  22294. _.isGroupEnd = false;
  22295. },
  22296. StyleRule$0(selector, children, span) {
  22297. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22298. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22299. return new A.StyleRule0(selector, span, t1, t2);
  22300. },
  22301. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  22302. var _ = this;
  22303. _.selector = t0;
  22304. _.span = t1;
  22305. _.children = t2;
  22306. _.hasDeclarations = t3;
  22307. },
  22308. CssStylesheet0: function CssStylesheet0(t0, t1) {
  22309. this.children = t0;
  22310. this.span = t1;
  22311. },
  22312. ModifiableCssStylesheet$0(span) {
  22313. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22314. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22315. },
  22316. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  22317. var _ = this;
  22318. _.span = t0;
  22319. _.children = t1;
  22320. _._node0$_children = t2;
  22321. _._node0$_indexInParent = _._node0$_parent = null;
  22322. _.isGroupEnd = false;
  22323. },
  22324. StylesheetParser0: function StylesheetParser0() {
  22325. },
  22326. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  22327. this.$this = t0;
  22328. },
  22329. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  22330. this.$this = t0;
  22331. },
  22332. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  22333. },
  22334. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  22335. this.$this = t0;
  22336. },
  22337. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  22338. this.$this = t0;
  22339. this.production = t1;
  22340. this.T = t2;
  22341. },
  22342. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  22343. this.$this = t0;
  22344. this.requireParens = t1;
  22345. },
  22346. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  22347. this.$this = t0;
  22348. },
  22349. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  22350. this.$this = t0;
  22351. this.start = t1;
  22352. },
  22353. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  22354. this.declaration = t0;
  22355. },
  22356. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  22357. this.name = t0;
  22358. },
  22359. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  22360. this._box_0 = t0;
  22361. this.name = t1;
  22362. },
  22363. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  22364. var _ = this;
  22365. _._box_0 = t0;
  22366. _.$this = t1;
  22367. _.wasInStyleRule = t2;
  22368. _.start = t3;
  22369. },
  22370. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  22371. this._box_0 = t0;
  22372. },
  22373. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  22374. this._box_0 = t0;
  22375. this.value = t1;
  22376. },
  22377. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  22378. this.query = t0;
  22379. },
  22380. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  22381. },
  22382. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  22383. var _ = this;
  22384. _.$this = t0;
  22385. _.wasInControlDirective = t1;
  22386. _.variables = t2;
  22387. _.list = t3;
  22388. },
  22389. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  22390. this.name = t0;
  22391. this.$arguments = t1;
  22392. this.precedingComment = t2;
  22393. },
  22394. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  22395. this._box_0 = t0;
  22396. this.$this = t1;
  22397. },
  22398. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  22399. var _ = this;
  22400. _._box_0 = t0;
  22401. _.$this = t1;
  22402. _.wasInControlDirective = t2;
  22403. _.variable = t3;
  22404. _.from = t4;
  22405. _.to = t5;
  22406. },
  22407. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  22408. this.$this = t0;
  22409. this.variables = t1;
  22410. this.identifiers = t2;
  22411. },
  22412. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  22413. this.contentArguments_ = t0;
  22414. },
  22415. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  22416. this.query = t0;
  22417. },
  22418. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  22419. var _ = this;
  22420. _.$this = t0;
  22421. _.name = t1;
  22422. _.$arguments = t2;
  22423. _.precedingComment = t3;
  22424. },
  22425. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  22426. var _ = this;
  22427. _._box_0 = t0;
  22428. _.$this = t1;
  22429. _.name = t2;
  22430. _.value = t3;
  22431. },
  22432. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  22433. this.condition = t0;
  22434. },
  22435. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  22436. this.$this = t0;
  22437. this.wasInControlDirective = t1;
  22438. this.condition = t2;
  22439. },
  22440. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  22441. this._box_0 = t0;
  22442. this.name = t1;
  22443. },
  22444. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  22445. this._box_0 = t0;
  22446. this.$this = t1;
  22447. this.start = t2;
  22448. },
  22449. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  22450. this._box_0 = t0;
  22451. this.$this = t1;
  22452. },
  22453. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  22454. this._box_0 = t0;
  22455. this.resolveOneOperation = t1;
  22456. },
  22457. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  22458. var _ = this;
  22459. _._box_0 = t0;
  22460. _.$this = t1;
  22461. _.resetState = t2;
  22462. _.resolveOperations = t3;
  22463. },
  22464. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  22465. this._box_0 = t0;
  22466. this.$this = t1;
  22467. this.resolveOneOperation = t2;
  22468. },
  22469. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  22470. this._box_0 = t0;
  22471. this.$this = t1;
  22472. this.resolveOperations = t2;
  22473. },
  22474. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  22475. this.$this = t0;
  22476. },
  22477. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  22478. },
  22479. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  22480. },
  22481. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  22482. this.$this = t0;
  22483. this.start = t1;
  22484. },
  22485. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  22486. },
  22487. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  22488. this.$this = t0;
  22489. },
  22490. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  22491. this.$this = t0;
  22492. this.start = t1;
  22493. },
  22494. Stylesheet$internal0(children, span, plainCss) {
  22495. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  22496. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  22497. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  22498. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  22499. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  22500. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  22501. return t1;
  22502. },
  22503. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  22504. var t1, t2;
  22505. switch (syntax) {
  22506. case B.Syntax_Sass_sass0:
  22507. t1 = A.SpanScanner$(contents, url);
  22508. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22509. return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
  22510. case B.Syntax_SCSS_scss0:
  22511. return A.ScssParser$0(contents, logger, url).parse$0();
  22512. case B.Syntax_CSS_css0:
  22513. t1 = A.SpanScanner$(contents, url);
  22514. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22515. return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
  22516. default:
  22517. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  22518. }
  22519. },
  22520. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  22521. var _ = this;
  22522. _.span = t0;
  22523. _.plainCss = t1;
  22524. _._stylesheet1$_uses = t2;
  22525. _._stylesheet1$_forwards = t3;
  22526. _.children = t4;
  22527. _.hasDeclarations = t5;
  22528. },
  22529. SupportsExpression0: function SupportsExpression0(t0) {
  22530. this.condition = t0;
  22531. },
  22532. ModifiableCssSupportsRule$0(condition, span) {
  22533. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22534. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22535. },
  22536. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  22537. var _ = this;
  22538. _.condition = t0;
  22539. _.span = t1;
  22540. _.children = t2;
  22541. _._node0$_children = t3;
  22542. _._node0$_indexInParent = _._node0$_parent = null;
  22543. _.isGroupEnd = false;
  22544. },
  22545. SupportsRule$0(condition, children, span) {
  22546. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22547. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22548. return new A.SupportsRule0(condition, span, t1, t2);
  22549. },
  22550. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  22551. var _ = this;
  22552. _.condition = t0;
  22553. _.span = t1;
  22554. _.children = t2;
  22555. _.hasDeclarations = t3;
  22556. },
  22557. NodeToDartImporter: function NodeToDartImporter(t0, t1) {
  22558. this._sync$_canonicalize = t0;
  22559. this._sync$_load = t1;
  22560. },
  22561. Syntax_forPath0(path) {
  22562. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  22563. case ".sass":
  22564. return B.Syntax_Sass_sass0;
  22565. case ".css":
  22566. return B.Syntax_CSS_css0;
  22567. default:
  22568. return B.Syntax_SCSS_scss0;
  22569. }
  22570. },
  22571. Syntax0: function Syntax0(t0, t1) {
  22572. this._syntax0$_name = t0;
  22573. this._name = t1;
  22574. },
  22575. TerseLogger0: function TerseLogger0(t0, t1) {
  22576. this._terse$_warningCounts = t0;
  22577. this._terse$_inner = t1;
  22578. },
  22579. TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
  22580. },
  22581. TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
  22582. },
  22583. TypeSelector0: function TypeSelector0(t0) {
  22584. this.name = t0;
  22585. },
  22586. Types: function Types() {
  22587. },
  22588. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  22589. this.operator = t0;
  22590. this.operand = t1;
  22591. this.span = t2;
  22592. },
  22593. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  22594. this.name = t0;
  22595. this.operator = t1;
  22596. this._name = t2;
  22597. },
  22598. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  22599. this._number1$_value = t0;
  22600. this.hashCache = null;
  22601. this.asSlash = t1;
  22602. },
  22603. UniversalSelector0: function UniversalSelector0(t0) {
  22604. this.namespace = t0;
  22605. },
  22606. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  22607. this._unprefixed_map_view0$_map = t0;
  22608. this._unprefixed_map_view0$_prefix = t1;
  22609. this.$ti = t2;
  22610. },
  22611. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  22612. this._unprefixed_map_view0$_view = t0;
  22613. },
  22614. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  22615. this.$this = t0;
  22616. },
  22617. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  22618. this.$this = t0;
  22619. },
  22620. JSUrl0: function JSUrl0() {
  22621. },
  22622. UseRule0: function UseRule0(t0, t1, t2, t3) {
  22623. var _ = this;
  22624. _.url = t0;
  22625. _.namespace = t1;
  22626. _.configuration = t2;
  22627. _.span = t3;
  22628. },
  22629. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  22630. var _ = this;
  22631. _.declaration = t0;
  22632. _.environment = t1;
  22633. _.inDependency = t2;
  22634. _.$ti = t3;
  22635. },
  22636. fromImport0() {
  22637. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  22638. return t1 === true;
  22639. },
  22640. resolveImportPath0(path) {
  22641. var t1,
  22642. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  22643. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  22644. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  22645. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  22646. }
  22647. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  22648. if (t1 == null)
  22649. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  22650. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  22651. },
  22652. _tryPathWithExtensions0(path) {
  22653. var result = A._tryPath0(path + ".sass");
  22654. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  22655. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  22656. },
  22657. _tryPath0(path) {
  22658. var t1 = $.$get$context(),
  22659. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  22660. t1 = A._setArrayType([], type$.JSArray_String);
  22661. if (A.fileExists0(partial))
  22662. t1.push(partial);
  22663. if (A.fileExists0(path))
  22664. t1.push(path);
  22665. return t1;
  22666. },
  22667. _tryPathAsDirectory0(path) {
  22668. var t1;
  22669. if (!A.dirExists0(path))
  22670. return null;
  22671. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  22672. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  22673. },
  22674. _exactlyOne0(paths) {
  22675. var t1 = paths.length;
  22676. if (t1 === 0)
  22677. return null;
  22678. if (t1 === 1)
  22679. return B.JSArray_methods.get$first(paths);
  22680. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  22681. },
  22682. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  22683. this.path = t0;
  22684. this.extension = t1;
  22685. },
  22686. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  22687. this.path = t0;
  22688. },
  22689. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  22690. this.path = t0;
  22691. },
  22692. _exactlyOne_closure0: function _exactlyOne_closure0() {
  22693. },
  22694. jsThrow(error) {
  22695. return type$.Never._as($.$get$_jsThrow().call$1(error));
  22696. },
  22697. attachJsStack(error, trace) {
  22698. var traceString = trace.toString$0(0),
  22699. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  22700. if (firstRealLine !== -1)
  22701. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  22702. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  22703. },
  22704. jsForEach(object, callback) {
  22705. var t1, t2;
  22706. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  22707. t2 = t1.get$current(t1);
  22708. callback.call$2(t2, object[t2]);
  22709. }
  22710. },
  22711. defineGetter(object, $name, get, value) {
  22712. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  22713. },
  22714. allowInteropNamed($name, $function) {
  22715. $function = A.allowInterop($function);
  22716. A.defineGetter($function, "name", null, $name);
  22717. A._hideDartProperties($function);
  22718. return $function;
  22719. },
  22720. allowInteropCaptureThisNamed($name, $function) {
  22721. $function = A.allowInteropCaptureThis($function);
  22722. A.defineGetter($function, "name", null, $name);
  22723. A._hideDartProperties($function);
  22724. return $function;
  22725. },
  22726. _hideDartProperties(object) {
  22727. var t1, t2, t3, t4;
  22728. for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  22729. t3 = t1.__internal$_current;
  22730. if (t3 == null)
  22731. t3 = t2._as(t3);
  22732. if (B.JSString_methods.startsWith$1(t3, "_")) {
  22733. t4 = {value: object[t3], enumerable: false};
  22734. self.Object.defineProperty(object, t3, t4);
  22735. }
  22736. }
  22737. },
  22738. futureToPromise0(future) {
  22739. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  22740. },
  22741. jsToDartUrl(url) {
  22742. return A.Uri_parse(J.toString$0$(url));
  22743. },
  22744. dartToJSUrl(url) {
  22745. return new self.URL(url.toString$0(0));
  22746. },
  22747. toJSArray(iterable) {
  22748. var t1, t2,
  22749. array = new self.Array();
  22750. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  22751. t2.push$1(array, t1.get$current(t1));
  22752. return array;
  22753. },
  22754. objectToMap(object) {
  22755. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  22756. A.jsForEach(object, new A.objectToMap_closure(map));
  22757. return map;
  22758. },
  22759. jsToDartSeparator(separator) {
  22760. switch (separator) {
  22761. case " ":
  22762. return B.ListSeparator_EVt0;
  22763. case ",":
  22764. return B.ListSeparator_rXA0;
  22765. case "/":
  22766. return B.ListSeparator_zg90;
  22767. case null:
  22768. return B.ListSeparator_undecided_null_undecided0;
  22769. default:
  22770. A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
  22771. }
  22772. },
  22773. parseSyntax(syntax) {
  22774. if (syntax == null || syntax === "scss")
  22775. return B.Syntax_SCSS_scss0;
  22776. if (syntax === "indented")
  22777. return B.Syntax_Sass_sass0;
  22778. if (syntax === "css")
  22779. return B.Syntax_CSS_css0;
  22780. A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  22781. },
  22782. _PropertyDescriptor0: function _PropertyDescriptor0() {
  22783. },
  22784. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  22785. this.future = t0;
  22786. },
  22787. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  22788. this.resolve = t0;
  22789. },
  22790. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  22791. this.reject = t0;
  22792. },
  22793. objectToMap_closure: function objectToMap_closure(t0) {
  22794. this.map = t0;
  22795. },
  22796. toSentence0(iter, conjunction) {
  22797. var t1 = iter.__internal$_iterable,
  22798. t2 = J.getInterceptor$asx(t1);
  22799. if (t2.get$length(t1) === 1)
  22800. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  22801. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  22802. },
  22803. indent0(string, indentation) {
  22804. return new A.MappedListIterable(A._setArrayType(string.split("\n"), type$.JSArray_String), new A.indent_closure0(indentation), type$.MappedListIterable_String_String).join$1(0, "\n");
  22805. },
  22806. pluralize0($name, number, plural) {
  22807. if (number === 1)
  22808. return $name;
  22809. if (plural != null)
  22810. return plural;
  22811. return $name + "s";
  22812. },
  22813. trimAscii0(string, excludeEscape) {
  22814. var t1,
  22815. start = A._firstNonWhitespace0(string);
  22816. if (start == null)
  22817. t1 = "";
  22818. else {
  22819. t1 = A._lastNonWhitespace0(string, true);
  22820. t1.toString;
  22821. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  22822. }
  22823. return t1;
  22824. },
  22825. trimAsciiRight0(string, excludeEscape) {
  22826. var end = A._lastNonWhitespace0(string, excludeEscape);
  22827. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  22828. },
  22829. _firstNonWhitespace0(string) {
  22830. var t1, i, t2;
  22831. for (t1 = string.length, i = 0; i < t1; ++i) {
  22832. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  22833. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  22834. return i;
  22835. }
  22836. return null;
  22837. },
  22838. _lastNonWhitespace0(string, excludeEscape) {
  22839. var t1, i, codeUnit;
  22840. for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
  22841. codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
  22842. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  22843. if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
  22844. return i + 1;
  22845. else
  22846. return i;
  22847. }
  22848. return null;
  22849. },
  22850. isPublic0(member) {
  22851. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  22852. return start !== 45 && start !== 95;
  22853. },
  22854. flattenVertically0(iterable, $T) {
  22855. var result,
  22856. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  22857. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  22858. if (queues.length === 1)
  22859. return B.JSArray_methods.get$first(queues);
  22860. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  22861. for (; queues.length !== 0;) {
  22862. if (!!queues.fixed$length)
  22863. A.throwExpression(A.UnsupportedError$("removeWhere"));
  22864. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  22865. }
  22866. return result;
  22867. },
  22868. firstOrNull0(iterable) {
  22869. var iterator = J.get$iterator$ax(iterable);
  22870. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  22871. },
  22872. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  22873. var codeUnitIndex, i, codeUnitIndex0;
  22874. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  22875. codeUnitIndex0 = codeUnitIndex + 1;
  22876. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  22877. }
  22878. return codeUnitIndex;
  22879. },
  22880. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  22881. var codepointIndex, i;
  22882. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  22883. ++codepointIndex;
  22884. return codepointIndex;
  22885. },
  22886. frameForSpan0(span, member, url) {
  22887. var t2, t3,
  22888. t1 = url == null ? span.get$sourceUrl(span) : url;
  22889. if (t1 == null)
  22890. t1 = $.$get$_noSourceUrl0();
  22891. t2 = span.get$start(span);
  22892. t2 = t2.file.getLine$1(t2.offset);
  22893. t3 = span.get$start(span);
  22894. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  22895. },
  22896. declarationName0(span) {
  22897. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  22898. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  22899. },
  22900. unvendor0($name) {
  22901. var i,
  22902. t1 = $name.length;
  22903. if (t1 < 2)
  22904. return $name;
  22905. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  22906. return $name;
  22907. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  22908. return $name;
  22909. for (i = 2; i < t1; ++i)
  22910. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  22911. return B.JSString_methods.substring$1($name, i + 1);
  22912. return $name;
  22913. },
  22914. equalsIgnoreCase0(string1, string2) {
  22915. var t1, i;
  22916. if (string1 === string2)
  22917. return true;
  22918. if (string1 == null || false)
  22919. return false;
  22920. t1 = string1.length;
  22921. if (t1 !== string2.length)
  22922. return false;
  22923. for (i = 0; i < t1; ++i)
  22924. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  22925. return false;
  22926. return true;
  22927. },
  22928. startsWithIgnoreCase0(string, prefix) {
  22929. var i,
  22930. t1 = prefix.length;
  22931. if (string.length < t1)
  22932. return false;
  22933. for (i = 0; i < t1; ++i)
  22934. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  22935. return false;
  22936. return true;
  22937. },
  22938. mapInPlace0(list, $function) {
  22939. var i;
  22940. for (i = 0; i < list.length; ++i)
  22941. list[i] = $function.call$1(list[i]);
  22942. },
  22943. longestCommonSubsequence0(list1, list2, select, $T) {
  22944. var t1, _i, selections, i, i0, j, selection, j0,
  22945. _length = list1.get$length(list1) + 1,
  22946. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  22947. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  22948. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  22949. _length = list1.get$length(list1);
  22950. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  22951. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  22952. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  22953. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  22954. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  22955. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  22956. selections[i][j] = selection;
  22957. t1 = lengths[i0];
  22958. j0 = j + 1;
  22959. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  22960. }
  22961. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  22962. },
  22963. removeFirstWhere0(list, test, orElse) {
  22964. var i;
  22965. for (i = 0; i < list.length; ++i) {
  22966. if (!test.call$1(list[i]))
  22967. continue;
  22968. B.JSArray_methods.removeAt$1(list, i);
  22969. return;
  22970. }
  22971. orElse.call$0();
  22972. },
  22973. mapAddAll20(destination, source, K1, K2, $V) {
  22974. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  22975. },
  22976. setAll0(map, keys, value) {
  22977. var t1;
  22978. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  22979. map.$indexSet(0, t1.get$current(t1), value);
  22980. },
  22981. rotateSlice0(list, start, end) {
  22982. var i, next,
  22983. element = list.$index(0, end - 1);
  22984. for (i = start; i < end; ++i, element = next) {
  22985. next = list.$index(0, i);
  22986. list.$indexSet(0, i, element);
  22987. }
  22988. },
  22989. mapAsync0(iterable, callback, $E, $F) {
  22990. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  22991. },
  22992. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  22993. var $async$goto = 0,
  22994. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  22995. $async$returnValue, t2, _i, t1, $async$temp1;
  22996. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  22997. if ($async$errorCode === 1)
  22998. return A._asyncRethrow($async$result, $async$completer);
  22999. while (true)
  23000. switch ($async$goto) {
  23001. case 0:
  23002. // Function start
  23003. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  23004. t2 = iterable.length, _i = 0;
  23005. case 3:
  23006. // for condition
  23007. if (!(_i < t2)) {
  23008. // goto after for
  23009. $async$goto = 5;
  23010. break;
  23011. }
  23012. $async$temp1 = t1;
  23013. $async$goto = 6;
  23014. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  23015. case 6:
  23016. // returning from await.
  23017. $async$temp1.push($async$result);
  23018. case 4:
  23019. // for update
  23020. ++_i;
  23021. // goto for condition
  23022. $async$goto = 3;
  23023. break;
  23024. case 5:
  23025. // after for
  23026. $async$returnValue = t1;
  23027. // goto return
  23028. $async$goto = 1;
  23029. break;
  23030. case 1:
  23031. // return
  23032. return A._asyncReturn($async$returnValue, $async$completer);
  23033. }
  23034. });
  23035. return A._asyncStartSync($async$mapAsync0, $async$completer);
  23036. },
  23037. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  23038. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  23039. },
  23040. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  23041. var $async$goto = 0,
  23042. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23043. $async$returnValue, t1, value;
  23044. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23045. if ($async$errorCode === 1)
  23046. return A._asyncRethrow($async$result, $async$completer);
  23047. while (true)
  23048. switch ($async$goto) {
  23049. case 0:
  23050. // Function start
  23051. if (map.containsKey$1(key)) {
  23052. t1 = map.$index(0, key);
  23053. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  23054. // goto return
  23055. $async$goto = 1;
  23056. break;
  23057. }
  23058. $async$goto = 3;
  23059. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  23060. case 3:
  23061. // returning from await.
  23062. value = $async$result;
  23063. map.$indexSet(0, key, value);
  23064. $async$returnValue = value;
  23065. // goto return
  23066. $async$goto = 1;
  23067. break;
  23068. case 1:
  23069. // return
  23070. return A._asyncReturn($async$returnValue, $async$completer);
  23071. }
  23072. });
  23073. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  23074. },
  23075. copyMapOfMap0(map, K1, K2, $V) {
  23076. var t2, t3, t4, t5,
  23077. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  23078. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23079. t3 = t2.get$current(t2);
  23080. t4 = t3.key;
  23081. t3 = t3.value;
  23082. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  23083. t5.addAll$1(0, t3);
  23084. t1.$indexSet(0, t4, t5);
  23085. }
  23086. return t1;
  23087. },
  23088. copyMapOfList0(map, $K, $E) {
  23089. var t2, t3,
  23090. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  23091. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23092. t3 = t2.get$current(t2);
  23093. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  23094. }
  23095. return t1;
  23096. },
  23097. consumeEscapedCharacter0(scanner) {
  23098. var first, value, i, next, t1;
  23099. scanner.expectChar$1(92);
  23100. first = scanner.peekChar$0();
  23101. if (first == null)
  23102. return 65533;
  23103. else if (first === 10 || first === 13 || first === 12)
  23104. scanner.error$1(0, "Expected escape sequence.");
  23105. else if (A.isHex0(first)) {
  23106. for (value = 0, i = 0; i < 6; ++i) {
  23107. next = scanner.peekChar$0();
  23108. if (next == null || !A.isHex0(next))
  23109. break;
  23110. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  23111. }
  23112. t1 = scanner.peekChar$0();
  23113. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  23114. scanner.readChar$0();
  23115. if (value !== 0)
  23116. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  23117. else
  23118. t1 = true;
  23119. if (t1)
  23120. return 65533;
  23121. else
  23122. return value;
  23123. } else
  23124. return scanner.readChar$0();
  23125. },
  23126. throwWithTrace0(error, trace) {
  23127. A.attachTrace0(error, trace);
  23128. throw A.wrapException(error);
  23129. },
  23130. attachTrace0(error, trace) {
  23131. var t1;
  23132. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23133. return;
  23134. if (trace.toString$0(0).length === 0)
  23135. return;
  23136. t1 = $.$get$_traces0();
  23137. A.Expando__checkType(error);
  23138. t1 = t1._jsWeakMap;
  23139. if (t1.get(error) == null)
  23140. t1.set(error, trace);
  23141. },
  23142. getTrace0(error) {
  23143. var t1;
  23144. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23145. t1 = null;
  23146. else {
  23147. t1 = $.$get$_traces0();
  23148. A.Expando__checkType(error);
  23149. t1 = t1._jsWeakMap.get(error);
  23150. }
  23151. return t1;
  23152. },
  23153. IterableExtension_get_exceptLast0(_this) {
  23154. var t1 = J.getInterceptor$asx(_this),
  23155. size = t1.get$length(_this) - 1;
  23156. if (size < 0)
  23157. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  23158. return t1.take$1(_this, size);
  23159. },
  23160. indent_closure0: function indent_closure0(t0) {
  23161. this.indentation = t0;
  23162. },
  23163. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  23164. this.T = t0;
  23165. },
  23166. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  23167. this.result = t0;
  23168. this.T = t1;
  23169. },
  23170. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  23171. this.selections = t0;
  23172. this.lengths = t1;
  23173. this.T = t2;
  23174. },
  23175. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  23176. var _ = this;
  23177. _.destination = t0;
  23178. _.K1 = t1;
  23179. _.K2 = t2;
  23180. _.V = t3;
  23181. },
  23182. CssValue0: function CssValue0(t0, t1, t2) {
  23183. this.value = t0;
  23184. this.span = t1;
  23185. this.$ti = t2;
  23186. },
  23187. ValueExpression0: function ValueExpression0(t0, t1) {
  23188. this.value = t0;
  23189. this.span = t1;
  23190. },
  23191. ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
  23192. this.value = t0;
  23193. this.span = t1;
  23194. this.$ti = t2;
  23195. },
  23196. valueClass_closure: function valueClass_closure() {
  23197. },
  23198. valueClass__closure: function valueClass__closure() {
  23199. },
  23200. valueClass__closure0: function valueClass__closure0() {
  23201. },
  23202. valueClass__closure1: function valueClass__closure1() {
  23203. },
  23204. valueClass__closure2: function valueClass__closure2() {
  23205. },
  23206. valueClass__closure3: function valueClass__closure3() {
  23207. },
  23208. valueClass__closure4: function valueClass__closure4() {
  23209. },
  23210. valueClass__closure5: function valueClass__closure5() {
  23211. },
  23212. valueClass__closure6: function valueClass__closure6() {
  23213. },
  23214. valueClass__closure7: function valueClass__closure7() {
  23215. },
  23216. valueClass__closure8: function valueClass__closure8() {
  23217. },
  23218. valueClass__closure9: function valueClass__closure9() {
  23219. },
  23220. valueClass__closure10: function valueClass__closure10() {
  23221. },
  23222. valueClass__closure11: function valueClass__closure11() {
  23223. },
  23224. valueClass__closure12: function valueClass__closure12() {
  23225. },
  23226. valueClass__closure13: function valueClass__closure13() {
  23227. },
  23228. valueClass__closure14: function valueClass__closure14() {
  23229. },
  23230. valueClass__closure15: function valueClass__closure15() {
  23231. },
  23232. valueClass__closure16: function valueClass__closure16() {
  23233. },
  23234. SassApiValue_assertSelector0(_this, allowParent, $name) {
  23235. var error, stackTrace, t1, exception,
  23236. string = _this._value$_selectorString$1($name);
  23237. try {
  23238. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
  23239. return t1;
  23240. } catch (exception) {
  23241. t1 = A.unwrapException(exception);
  23242. if (t1 instanceof A.SassFormatException0) {
  23243. error = t1;
  23244. stackTrace = A.getTraceFromException(exception);
  23245. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23246. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  23247. } else
  23248. throw exception;
  23249. }
  23250. },
  23251. SassApiValue_assertCompoundSelector0(_this, $name) {
  23252. var error, stackTrace, t1, exception,
  23253. allowParent = false,
  23254. string = _this._value$_selectorString$1($name);
  23255. try {
  23256. t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
  23257. return t1;
  23258. } catch (exception) {
  23259. t1 = A.unwrapException(exception);
  23260. if (t1 instanceof A.SassFormatException0) {
  23261. error = t1;
  23262. stackTrace = A.getTraceFromException(exception);
  23263. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23264. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
  23265. } else
  23266. throw exception;
  23267. }
  23268. },
  23269. Value0: function Value0() {
  23270. },
  23271. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  23272. this.namespace = t0;
  23273. this.name = t1;
  23274. this.span = t2;
  23275. },
  23276. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  23277. if (namespace != null && global)
  23278. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  23279. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  23280. },
  23281. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  23282. var _ = this;
  23283. _.namespace = t0;
  23284. _.name = t1;
  23285. _.expression = t2;
  23286. _.isGuarded = t3;
  23287. _.isGlobal = t4;
  23288. _.span = t5;
  23289. },
  23290. WarnRule0: function WarnRule0(t0, t1) {
  23291. this.expression = t0;
  23292. this.span = t1;
  23293. },
  23294. WhileRule$0(condition, children, span) {
  23295. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23296. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23297. return new A.WhileRule0(condition, span, t1, t2);
  23298. },
  23299. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  23300. var _ = this;
  23301. _.condition = t0;
  23302. _.span = t1;
  23303. _.children = t2;
  23304. _.hasDeclarations = t3;
  23305. },
  23306. printString(string) {
  23307. if (typeof dartPrint == "function") {
  23308. dartPrint(string);
  23309. return;
  23310. }
  23311. if (typeof console == "object" && typeof console.log != "undefined") {
  23312. console.log(string);
  23313. return;
  23314. }
  23315. if (typeof window == "object")
  23316. return;
  23317. if (typeof print == "function") {
  23318. print(string);
  23319. return;
  23320. }
  23321. throw "Unable to print message: " + String(string);
  23322. },
  23323. _convertDartFunctionFast(f) {
  23324. var ret,
  23325. existing = f.$dart_jsFunction;
  23326. if (existing != null)
  23327. return existing;
  23328. ret = function(_call, f) {
  23329. return function() {
  23330. return _call(f, Array.prototype.slice.apply(arguments));
  23331. };
  23332. }(A._callDartFunctionFast, f);
  23333. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23334. f.$dart_jsFunction = ret;
  23335. return ret;
  23336. },
  23337. _convertDartFunctionFastCaptureThis(f) {
  23338. var ret,
  23339. existing = f._$dart_jsFunctionCaptureThis;
  23340. if (existing != null)
  23341. return existing;
  23342. ret = function(_call, f) {
  23343. return function() {
  23344. return _call(f, this, Array.prototype.slice.apply(arguments));
  23345. };
  23346. }(A._callDartFunctionFastCaptureThis, f);
  23347. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23348. f._$dart_jsFunctionCaptureThis = ret;
  23349. return ret;
  23350. },
  23351. _callDartFunctionFast(callback, $arguments) {
  23352. return A.Function_apply(callback, $arguments);
  23353. },
  23354. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  23355. var t1 = [$self];
  23356. B.JSArray_methods.addAll$1(t1, $arguments);
  23357. return A.Function_apply(callback, t1);
  23358. },
  23359. allowInterop(f) {
  23360. if (typeof f == "function")
  23361. return f;
  23362. else
  23363. return A._convertDartFunctionFast(f);
  23364. },
  23365. allowInteropCaptureThis(f) {
  23366. if (typeof f == "function")
  23367. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  23368. else
  23369. return A._convertDartFunctionFastCaptureThis(f);
  23370. },
  23371. mergeMaps(map1, map2, $K, $V) {
  23372. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  23373. result.addAll$1(0, map2);
  23374. return result;
  23375. },
  23376. groupBy(values, key, $S, $T) {
  23377. var t1, t2, _i, element, t3, t4,
  23378. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  23379. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  23380. element = values[_i];
  23381. t3 = key.call$1(element);
  23382. t4 = map.$index(0, t3);
  23383. if (t4 == null) {
  23384. t4 = A._setArrayType([], t2);
  23385. map.$indexSet(0, t3, t4);
  23386. t3 = t4;
  23387. } else
  23388. t3 = t4;
  23389. J.add$1$ax(t3, element);
  23390. }
  23391. return map;
  23392. },
  23393. minBy(values, orderBy) {
  23394. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  23395. for (t1 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f), t2 = A._instanceType(t1)._rest[1], minValue = null, minOrderBy = null; t1.moveNext$0();) {
  23396. element = t1.__internal$_current;
  23397. if (element == null)
  23398. element = t2._as(element);
  23399. elementOrderBy = orderBy.call$1(element);
  23400. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  23401. minOrderBy = elementOrderBy;
  23402. minValue = element;
  23403. }
  23404. }
  23405. return minValue;
  23406. },
  23407. IterableExtension_get_firstOrNull(_this) {
  23408. var t1,
  23409. iterator = new J.ArrayIterator(_this, _this.length);
  23410. if (iterator.moveNext$0()) {
  23411. t1 = iterator._current;
  23412. return t1 == null ? A._instanceType(iterator)._precomputed1._as(t1) : t1;
  23413. }
  23414. return null;
  23415. },
  23416. IterableNullableExtension_whereNotNull(_this, $T) {
  23417. return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
  23418. },
  23419. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
  23420. return A._makeSyncStarIterable(function() {
  23421. var _this = $async$_this,
  23422. $T = $async$$T;
  23423. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  23424. return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
  23425. if ($async$errorCode === 1) {
  23426. $async$currentError = $async$result;
  23427. $async$goto = $async$handler;
  23428. }
  23429. while (true)
  23430. switch ($async$goto) {
  23431. case 0:
  23432. // Function start
  23433. t1 = _this.get$iterator(_this);
  23434. case 2:
  23435. // for condition
  23436. if (!t1.moveNext$0()) {
  23437. // goto after for
  23438. $async$goto = 3;
  23439. break;
  23440. }
  23441. element = t1.get$current(t1);
  23442. $async$goto = element != null ? 4 : 5;
  23443. break;
  23444. case 4:
  23445. // then
  23446. $async$goto = 6;
  23447. return element;
  23448. case 6:
  23449. // after yield
  23450. case 5:
  23451. // join
  23452. // goto for condition
  23453. $async$goto = 2;
  23454. break;
  23455. case 3:
  23456. // after for
  23457. // implicit return
  23458. return A._IterationMarker_endOfIteration();
  23459. case 1:
  23460. // rethrow
  23461. return A._IterationMarker_uncaughtError($async$currentError);
  23462. }
  23463. };
  23464. }, $async$type);
  23465. },
  23466. IterableIntegerExtension_get_maxOrNull(_this) {
  23467. var value, t1, newValue,
  23468. iterator = new A.ListIterator(_this, _this.get$length(_this));
  23469. if (iterator.moveNext$0()) {
  23470. value = iterator.__internal$_current;
  23471. if (value == null)
  23472. value = A._instanceType(iterator)._precomputed1._as(value);
  23473. for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
  23474. newValue = iterator.__internal$_current;
  23475. if (newValue == null)
  23476. newValue = t1._as(newValue);
  23477. if (newValue > value)
  23478. value = newValue;
  23479. }
  23480. return value;
  23481. }
  23482. return null;
  23483. },
  23484. IterableIntegerExtension_get_max(_this) {
  23485. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  23486. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  23487. },
  23488. IterableIntegerExtension_get_sum(_this) {
  23489. var t1, t2, result, t3;
  23490. for (t1 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f), t2 = A._instanceType(t1)._rest[1], result = 0; t1.moveNext$0();) {
  23491. t3 = t1.__internal$_current;
  23492. result += t3 == null ? t2._as(t3) : t3;
  23493. }
  23494. return result;
  23495. },
  23496. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  23497. return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
  23498. },
  23499. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
  23500. return A._makeSyncStarIterable(function() {
  23501. var _this = $async$_this,
  23502. convert = $async$convert,
  23503. $E = $async$$E,
  23504. $R = $async$$R;
  23505. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  23506. return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
  23507. if ($async$errorCode === 1) {
  23508. $async$currentError = $async$result;
  23509. $async$goto = $async$handler;
  23510. }
  23511. while (true)
  23512. switch ($async$goto) {
  23513. case 0:
  23514. // Function start
  23515. t1 = _this.length, index = 0;
  23516. case 2:
  23517. // for condition
  23518. if (!(index < t1)) {
  23519. // goto after for
  23520. $async$goto = 4;
  23521. break;
  23522. }
  23523. $async$goto = 5;
  23524. return convert.call$2(index, _this[index]);
  23525. case 5:
  23526. // after yield
  23527. case 3:
  23528. // for update
  23529. ++index;
  23530. // goto for condition
  23531. $async$goto = 2;
  23532. break;
  23533. case 4:
  23534. // after for
  23535. // implicit return
  23536. return A._IterationMarker_endOfIteration();
  23537. case 1:
  23538. // rethrow
  23539. return A._IterationMarker_uncaughtError($async$currentError);
  23540. }
  23541. };
  23542. }, $async$type);
  23543. },
  23544. defaultCompare(value1, value2) {
  23545. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  23546. },
  23547. current() {
  23548. var exception, t1, path, lastIndex, uri = null;
  23549. try {
  23550. uri = A.Uri_base();
  23551. } catch (exception) {
  23552. if (type$.Exception._is(A.unwrapException(exception))) {
  23553. t1 = $._current;
  23554. if (t1 != null)
  23555. return t1;
  23556. throw exception;
  23557. } else
  23558. throw exception;
  23559. }
  23560. if (J.$eq$(uri, $._currentUriBase)) {
  23561. t1 = $._current;
  23562. t1.toString;
  23563. return t1;
  23564. }
  23565. $._currentUriBase = uri;
  23566. if ($.$get$Style_platform() == $.$get$Style_url())
  23567. t1 = $._current = uri.resolve$1(".").toString$0(0);
  23568. else {
  23569. path = uri.toFilePath$0();
  23570. lastIndex = path.length - 1;
  23571. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  23572. }
  23573. return t1;
  23574. },
  23575. absolute(part1, part2, part3, part4, part5, part6, part7) {
  23576. return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
  23577. },
  23578. join(part1, part2, part3) {
  23579. var _null = null;
  23580. return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
  23581. },
  23582. prettyUri(uri) {
  23583. return $.$get$context().prettyUri$1(uri);
  23584. },
  23585. isAlphabetic(char) {
  23586. var t1;
  23587. if (!(char >= 65 && char <= 90))
  23588. t1 = char >= 97 && char <= 122;
  23589. else
  23590. t1 = true;
  23591. return t1;
  23592. },
  23593. isDriveLetter(path, index) {
  23594. var t1 = path.length,
  23595. t2 = index + 2;
  23596. if (t1 < t2)
  23597. return false;
  23598. if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
  23599. return false;
  23600. if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
  23601. return false;
  23602. if (t1 === t2)
  23603. return true;
  23604. return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
  23605. },
  23606. _combine(hash, value) {
  23607. hash = hash + value & 536870911;
  23608. hash = hash + ((hash & 524287) << 10) & 536870911;
  23609. return hash ^ hash >>> 6;
  23610. },
  23611. _finish(hash) {
  23612. hash = hash + ((hash & 67108863) << 3) & 536870911;
  23613. hash ^= hash >>> 11;
  23614. return hash + ((hash & 16383) << 15) & 536870911;
  23615. },
  23616. EvaluationContext_current() {
  23617. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  23618. if (type$.EvaluationContext._is(context))
  23619. return context;
  23620. throw A.wrapException(A.StateError$(string$.No_Sass));
  23621. },
  23622. repl(options) {
  23623. return A.repl$body(options);
  23624. },
  23625. repl$body(options) {
  23626. var $async$goto = 0,
  23627. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  23628. $async$handler = 1, $async$currentError, $async$next = [], repl, logger, evaluator, line, declaration, error, stackTrace, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
  23629. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23630. if ($async$errorCode === 1) {
  23631. $async$currentError = $async$result;
  23632. $async$goto = $async$handler;
  23633. }
  23634. while (true)
  23635. switch ($async$goto) {
  23636. case 0:
  23637. // Function start
  23638. t1 = A._setArrayType([], type$.JSArray_String);
  23639. t2 = B.JSString_methods.$mul(" ", 3);
  23640. t3 = $.$get$alwaysValid();
  23641. repl0 = new A.Repl(">> ", t2, t3, t1);
  23642. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  23643. repl = repl0;
  23644. t1 = options._options;
  23645. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  23646. t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  23647. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), new A.FilesystemImporter(t2));
  23648. t2 = repl.__Repl__adapter_A;
  23649. t2 === $ && A.throwUnnamedLateFieldNI();
  23650. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  23651. $async$handler = 2;
  23652. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  23653. case 5:
  23654. // for condition
  23655. $async$goto = 7;
  23656. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  23657. case 7:
  23658. // returning from await.
  23659. if (!$async$result) {
  23660. // goto after for
  23661. $async$goto = 6;
  23662. break;
  23663. }
  23664. line = t2.get$current(t2);
  23665. if (J.trim$0$s(line).length === 0) {
  23666. // goto for condition
  23667. $async$goto = 5;
  23668. break;
  23669. }
  23670. try {
  23671. if (J.startsWith$1$s(line, "@")) {
  23672. t5 = evaluator;
  23673. t6 = logger;
  23674. t7 = A.SpanScanner$(line, null);
  23675. if (t6 == null)
  23676. t6 = B.StderrLogger_false;
  23677. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
  23678. t5._visitor.runStatement$2(t5._importer, t6);
  23679. // goto for condition
  23680. $async$goto = 5;
  23681. break;
  23682. }
  23683. t5 = A.SpanScanner$(line, null);
  23684. if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
  23685. t5 = logger;
  23686. t6 = A.SpanScanner$(line, null);
  23687. if (t5 == null)
  23688. t5 = B.StderrLogger_false;
  23689. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
  23690. t5 = evaluator;
  23691. t5._visitor.runStatement$2(t5._importer, declaration);
  23692. t5 = evaluator;
  23693. t6 = declaration.name;
  23694. t7 = declaration.span;
  23695. t8 = declaration.namespace;
  23696. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  23697. toZone = $.printToZone;
  23698. if (toZone == null)
  23699. A.printString(line0);
  23700. else
  23701. toZone.call$1(line0);
  23702. } else {
  23703. t5 = evaluator;
  23704. t6 = logger;
  23705. t7 = A.SpanScanner$(line, null);
  23706. if (t6 == null)
  23707. t6 = B.StderrLogger_false;
  23708. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
  23709. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  23710. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  23711. toZone = $.printToZone;
  23712. if (toZone == null)
  23713. A.printString(line0);
  23714. else
  23715. toZone.call$1(line0);
  23716. }
  23717. } catch (exception) {
  23718. t5 = A.unwrapException(exception);
  23719. if (t5 instanceof A.SassException) {
  23720. error = t5;
  23721. stackTrace = A.getTraceFromException(exception);
  23722. t5 = error;
  23723. t6 = typeof t5 == "string";
  23724. if (t6 || typeof t5 == "number" || A._isBool(t5))
  23725. t5 = null;
  23726. else {
  23727. t7 = $.$get$_traces();
  23728. if (A._isBool(t5) || typeof t5 == "number" || t6)
  23729. A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
  23730. t5 = t7._jsWeakMap.get(t5);
  23731. }
  23732. if (t5 == null)
  23733. t5 = stackTrace;
  23734. A._logError(error, t5, line, repl, options, logger);
  23735. } else
  23736. throw exception;
  23737. }
  23738. // goto for condition
  23739. $async$goto = 5;
  23740. break;
  23741. case 6:
  23742. // after for
  23743. $async$next.push(4);
  23744. // goto finally
  23745. $async$goto = 3;
  23746. break;
  23747. case 2:
  23748. // uncaught
  23749. $async$next = [1];
  23750. case 3:
  23751. // finally
  23752. $async$handler = 1;
  23753. $async$goto = 8;
  23754. return A._asyncAwait(t2.cancel$0(), $async$repl);
  23755. case 8:
  23756. // returning from await.
  23757. // goto the next finally handler
  23758. $async$goto = $async$next.pop();
  23759. break;
  23760. case 4:
  23761. // after finally
  23762. // implicit return
  23763. return A._asyncReturn(null, $async$completer);
  23764. case 1:
  23765. // rethrow
  23766. return A._asyncRethrow($async$currentError, $async$completer);
  23767. }
  23768. });
  23769. return A._asyncStartSync($async$repl, $async$completer);
  23770. },
  23771. _logError(error, stackTrace, line, repl, options, logger) {
  23772. var t2, spacesBeforeError, t3,
  23773. t1 = A.SourceSpanException.prototype.get$span.call(error, error);
  23774. if (t1.get$sourceUrl(t1) == null)
  23775. if (!A._asBool(options._options.$index(0, "quiet")))
  23776. t1 = logger._emittedDebug || logger._emittedWarning;
  23777. else
  23778. t1 = false;
  23779. else
  23780. t1 = true;
  23781. if (t1) {
  23782. A.print(error.toString$1$color(0, options.get$color()));
  23783. return;
  23784. }
  23785. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  23786. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  23787. t2 = t2.get$start(t2);
  23788. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  23789. if (options.get$color()) {
  23790. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  23791. t2 = t2.get$start(t2);
  23792. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  23793. } else
  23794. t2 = false;
  23795. if (t2)
  23796. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, error).get$text() + "\n");
  23797. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  23798. t3 = A.SourceSpanException.prototype.get$span.call(error, error);
  23799. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  23800. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  23801. t1 += "Error: " + error._span_exception$_message + "\n";
  23802. if (A._asBool(options._options.$index(0, "trace")))
  23803. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  23804. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  23805. },
  23806. isWhitespace(character) {
  23807. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  23808. },
  23809. isNewline(character) {
  23810. return character === 10 || character === 13 || character === 12;
  23811. },
  23812. isAlphabetic0(character) {
  23813. var t1;
  23814. if (!(character >= 97 && character <= 122))
  23815. t1 = character >= 65 && character <= 90;
  23816. else
  23817. t1 = true;
  23818. return t1;
  23819. },
  23820. isDigit(character) {
  23821. return character != null && character >= 48 && character <= 57;
  23822. },
  23823. isHex(character) {
  23824. if (character == null)
  23825. return false;
  23826. if (A.isDigit(character))
  23827. return true;
  23828. if (character >= 97 && character <= 102)
  23829. return true;
  23830. if (character >= 65 && character <= 70)
  23831. return true;
  23832. return false;
  23833. },
  23834. asHex(character) {
  23835. if (character <= 57)
  23836. return character - 48;
  23837. if (character <= 70)
  23838. return 10 + character - 65;
  23839. return 10 + character - 97;
  23840. },
  23841. hexCharFor(number) {
  23842. return number < 10 ? 48 + number : 87 + number;
  23843. },
  23844. opposite(character) {
  23845. switch (character) {
  23846. case 40:
  23847. return 41;
  23848. case 123:
  23849. return 125;
  23850. case 91:
  23851. return 93;
  23852. default:
  23853. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  23854. }
  23855. },
  23856. characterEqualsIgnoreCase(character1, character2) {
  23857. var upperCase1;
  23858. if (character1 === character2)
  23859. return true;
  23860. if ((character1 ^ character2) >>> 0 !== 32)
  23861. return false;
  23862. upperCase1 = (character1 & 4294967263) >>> 0;
  23863. return upperCase1 >= 65 && upperCase1 <= 90;
  23864. },
  23865. NullableExtension_andThen(_this, fn) {
  23866. return _this == null ? null : fn.call$1(_this);
  23867. },
  23868. SetExtension_removeNull(_this, $T) {
  23869. _this.remove$1(0, null);
  23870. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  23871. },
  23872. fuzzyEquals(number1, number2) {
  23873. var t1;
  23874. if (number1 === number2)
  23875. return true;
  23876. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  23877. t1 = $.$get$_inverseEpsilon();
  23878. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  23879. } else
  23880. t1 = false;
  23881. return t1;
  23882. },
  23883. fuzzyHashCode(number) {
  23884. if (!isFinite(number))
  23885. return B.JSNumber_methods.get$hashCode(number);
  23886. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  23887. },
  23888. fuzzyLessThan(number1, number2) {
  23889. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  23890. },
  23891. fuzzyLessThanOrEquals(number1, number2) {
  23892. return number1 < number2 || A.fuzzyEquals(number1, number2);
  23893. },
  23894. fuzzyGreaterThan(number1, number2) {
  23895. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  23896. },
  23897. fuzzyGreaterThanOrEquals(number1, number2) {
  23898. return number1 > number2 || A.fuzzyEquals(number1, number2);
  23899. },
  23900. fuzzyAsInt(number) {
  23901. var rounded;
  23902. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  23903. return null;
  23904. rounded = B.JSNumber_methods.round$0(number);
  23905. return A.fuzzyEquals(number, rounded) ? rounded : null;
  23906. },
  23907. fuzzyRound(number) {
  23908. var t1;
  23909. if (number > 0) {
  23910. t1 = B.JSNumber_methods.$mod(number, 1);
  23911. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  23912. } else {
  23913. t1 = B.JSNumber_methods.$mod(number, 1);
  23914. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  23915. }
  23916. },
  23917. fuzzyCheckRange(number, min, max) {
  23918. if (A.fuzzyEquals(number, min))
  23919. return min;
  23920. if (A.fuzzyEquals(number, max))
  23921. return max;
  23922. if (number > min && number < max)
  23923. return number;
  23924. return null;
  23925. },
  23926. fuzzyAssertRange(number, min, max, $name) {
  23927. var result = A.fuzzyCheckRange(number, min, max);
  23928. if (result != null)
  23929. return result;
  23930. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  23931. },
  23932. moduloLikeSass(num1, num2) {
  23933. var result;
  23934. if (num2 > 0)
  23935. return B.JSNumber_methods.$mod(num1, num2);
  23936. if (num2 === 0)
  23937. return 0 / 0;
  23938. result = B.JSNumber_methods.$mod(num1, num2);
  23939. return result === 0 ? 0 : result + num2;
  23940. },
  23941. SpanExtensions_trimLeft(_this) {
  23942. var t5,
  23943. t1 = _this._file$_start,
  23944. t2 = _this._end,
  23945. t3 = _this.file._decodedChars,
  23946. t4 = t3.length,
  23947. start = 0;
  23948. while (true) {
  23949. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  23950. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  23951. break;
  23952. ++start;
  23953. }
  23954. return A.FileSpanExtension_subspan(_this, start, null);
  23955. },
  23956. SpanExtensions_trimRight(_this) {
  23957. var t5,
  23958. t1 = _this._file$_start,
  23959. t2 = _this._end,
  23960. t3 = _this.file._decodedChars,
  23961. end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
  23962. t4 = t3.length;
  23963. while (true) {
  23964. t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
  23965. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  23966. break;
  23967. --end;
  23968. }
  23969. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  23970. },
  23971. encodeVlq(value) {
  23972. var res, signBit, digit, t1;
  23973. if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
  23974. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  23975. res = A._setArrayType([], type$.JSArray_String);
  23976. if (value < 0) {
  23977. value = -value;
  23978. signBit = 1;
  23979. } else
  23980. signBit = 0;
  23981. value = value << 1 | signBit;
  23982. do {
  23983. digit = value & 31;
  23984. value = value >>> 5;
  23985. t1 = value > 0;
  23986. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  23987. } while (t1);
  23988. return res;
  23989. },
  23990. isAllTheSame(iter) {
  23991. var firstValue, t1, t2, value;
  23992. if (iter.get$length(iter) === 0)
  23993. return true;
  23994. firstValue = iter.get$first(iter);
  23995. for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  23996. value = t1.__internal$_current;
  23997. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  23998. return false;
  23999. }
  24000. return true;
  24001. },
  24002. replaceFirstNull(list, element) {
  24003. var index = B.JSArray_methods.indexOf$1(list, null);
  24004. if (index < 0)
  24005. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  24006. list[index] = element;
  24007. },
  24008. replaceWithNull(list, element) {
  24009. var index = B.JSArray_methods.indexOf$1(list, element);
  24010. if (index < 0)
  24011. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  24012. list[index] = null;
  24013. },
  24014. countCodeUnits(string, codeUnit) {
  24015. var t1, t2, count, t3;
  24016. for (t1 = new A.CodeUnits(string), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();) {
  24017. t3 = t1.__internal$_current;
  24018. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  24019. ++count;
  24020. }
  24021. return count;
  24022. },
  24023. findLineStart(context, text, column) {
  24024. var beginningOfLine, index, lineStart;
  24025. if (text.length === 0)
  24026. for (beginningOfLine = 0; true;) {
  24027. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  24028. if (index === -1)
  24029. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  24030. if (index - beginningOfLine >= column)
  24031. return beginningOfLine;
  24032. beginningOfLine = index + 1;
  24033. }
  24034. index = B.JSString_methods.indexOf$1(context, text);
  24035. for (; index !== -1;) {
  24036. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  24037. if (column === index - lineStart)
  24038. return lineStart;
  24039. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  24040. }
  24041. return null;
  24042. },
  24043. validateErrorArgs(string, match, position, $length) {
  24044. var t2,
  24045. t1 = position != null;
  24046. if (t1)
  24047. if (position < 0)
  24048. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  24049. else if (position > string.length)
  24050. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  24051. t2 = $length != null;
  24052. if (t2 && $length < 0)
  24053. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  24054. if (t1 && t2 && position + $length > string.length)
  24055. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  24056. },
  24057. isWhitespace0(character) {
  24058. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24059. },
  24060. isNewline0(character) {
  24061. return character === 10 || character === 13 || character === 12;
  24062. },
  24063. isAlphabetic1(character) {
  24064. var t1;
  24065. if (!(character >= 97 && character <= 122))
  24066. t1 = character >= 65 && character <= 90;
  24067. else
  24068. t1 = true;
  24069. return t1;
  24070. },
  24071. isDigit0(character) {
  24072. return character != null && character >= 48 && character <= 57;
  24073. },
  24074. isHex0(character) {
  24075. if (character == null)
  24076. return false;
  24077. if (A.isDigit0(character))
  24078. return true;
  24079. if (character >= 97 && character <= 102)
  24080. return true;
  24081. if (character >= 65 && character <= 70)
  24082. return true;
  24083. return false;
  24084. },
  24085. asHex0(character) {
  24086. if (character <= 57)
  24087. return character - 48;
  24088. if (character <= 70)
  24089. return 10 + character - 65;
  24090. return 10 + character - 97;
  24091. },
  24092. hexCharFor0(number) {
  24093. return number < 10 ? 48 + number : 87 + number;
  24094. },
  24095. opposite0(character) {
  24096. switch (character) {
  24097. case 40:
  24098. return 41;
  24099. case 123:
  24100. return 125;
  24101. case 91:
  24102. return 93;
  24103. default:
  24104. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24105. }
  24106. },
  24107. characterEqualsIgnoreCase0(character1, character2) {
  24108. var upperCase1;
  24109. if (character1 === character2)
  24110. return true;
  24111. if ((character1 ^ character2) >>> 0 !== 32)
  24112. return false;
  24113. upperCase1 = (character1 & 4294967263) >>> 0;
  24114. return upperCase1 >= 65 && upperCase1 <= 90;
  24115. },
  24116. EvaluationContext_current0() {
  24117. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24118. if (type$.EvaluationContext_2._is(context))
  24119. return context;
  24120. throw A.wrapException(A.StateError$(string$.No_Sass));
  24121. },
  24122. NullableExtension_andThen0(_this, fn) {
  24123. return _this == null ? null : fn.call$1(_this);
  24124. },
  24125. fuzzyEquals0(number1, number2) {
  24126. var t1;
  24127. if (number1 === number2)
  24128. return true;
  24129. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  24130. t1 = $.$get$_inverseEpsilon0();
  24131. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24132. } else
  24133. t1 = false;
  24134. return t1;
  24135. },
  24136. fuzzyHashCode0(number) {
  24137. if (!isFinite(number))
  24138. return B.JSNumber_methods.get$hashCode(number);
  24139. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  24140. },
  24141. fuzzyLessThan0(number1, number2) {
  24142. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  24143. },
  24144. fuzzyLessThanOrEquals0(number1, number2) {
  24145. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  24146. },
  24147. fuzzyGreaterThan0(number1, number2) {
  24148. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  24149. },
  24150. fuzzyGreaterThanOrEquals0(number1, number2) {
  24151. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  24152. },
  24153. fuzzyIsInt(number) {
  24154. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24155. return false;
  24156. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  24157. },
  24158. fuzzyAsInt0(number) {
  24159. var rounded;
  24160. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24161. return null;
  24162. rounded = B.JSNumber_methods.round$0(number);
  24163. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  24164. },
  24165. fuzzyRound0(number) {
  24166. var t1;
  24167. if (number > 0) {
  24168. t1 = B.JSNumber_methods.$mod(number, 1);
  24169. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24170. } else {
  24171. t1 = B.JSNumber_methods.$mod(number, 1);
  24172. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24173. }
  24174. },
  24175. fuzzyCheckRange0(number, min, max) {
  24176. if (A.fuzzyEquals0(number, min))
  24177. return min;
  24178. if (A.fuzzyEquals0(number, max))
  24179. return max;
  24180. if (number > min && number < max)
  24181. return number;
  24182. return null;
  24183. },
  24184. fuzzyAssertRange0(number, min, max, $name) {
  24185. var result = A.fuzzyCheckRange0(number, min, max);
  24186. if (result != null)
  24187. return result;
  24188. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24189. },
  24190. moduloLikeSass0(num1, num2) {
  24191. var result;
  24192. if (num2 > 0)
  24193. return B.JSNumber_methods.$mod(num1, num2);
  24194. if (num2 === 0)
  24195. return 0 / 0;
  24196. result = B.JSNumber_methods.$mod(num1, num2);
  24197. return result === 0 ? 0 : result + num2;
  24198. },
  24199. SpanExtensions_trimLeft0(_this) {
  24200. var t5,
  24201. t1 = _this._file$_start,
  24202. t2 = _this._end,
  24203. t3 = _this.file._decodedChars,
  24204. t4 = t3.length,
  24205. start = 0;
  24206. while (true) {
  24207. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24208. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24209. break;
  24210. ++start;
  24211. }
  24212. return A.FileSpanExtension_subspan(_this, start, null);
  24213. },
  24214. SpanExtensions_trimRight0(_this) {
  24215. var t5,
  24216. t1 = _this._file$_start,
  24217. t2 = _this._end,
  24218. t3 = _this.file._decodedChars,
  24219. end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
  24220. t4 = t3.length;
  24221. while (true) {
  24222. t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
  24223. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24224. break;
  24225. --end;
  24226. }
  24227. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24228. },
  24229. unwrapValue(object) {
  24230. var value;
  24231. if (object != null) {
  24232. if (object instanceof A.Value0)
  24233. return object;
  24234. value = object.dartValue;
  24235. if (value != null && value instanceof A.Value0)
  24236. return value;
  24237. if (object instanceof self.Error)
  24238. throw A.wrapException(object);
  24239. }
  24240. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  24241. },
  24242. wrapValue(value) {
  24243. var t1;
  24244. if (value instanceof A.SassColor0) {
  24245. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  24246. return t1;
  24247. }
  24248. if (value instanceof A.SassList0) {
  24249. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  24250. return t1;
  24251. }
  24252. if (value instanceof A.SassMap0) {
  24253. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  24254. return t1;
  24255. }
  24256. if (value instanceof A.SassNumber0) {
  24257. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  24258. return t1;
  24259. }
  24260. if (value instanceof A.SassString0) {
  24261. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  24262. return t1;
  24263. }
  24264. return value;
  24265. }
  24266. },
  24267. J = {
  24268. makeDispatchRecord(interceptor, proto, extension, indexability) {
  24269. return {i: interceptor, p: proto, e: extension, x: indexability};
  24270. },
  24271. getNativeInterceptor(object) {
  24272. var proto, objectProto, $constructor, interceptor, t1,
  24273. record = object[init.dispatchPropertyName];
  24274. if (record == null)
  24275. if ($.initNativeDispatchFlag == null) {
  24276. A.initNativeDispatch();
  24277. record = object[init.dispatchPropertyName];
  24278. }
  24279. if (record != null) {
  24280. proto = record.p;
  24281. if (false === proto)
  24282. return record.i;
  24283. if (true === proto)
  24284. return object;
  24285. objectProto = Object.getPrototypeOf(object);
  24286. if (proto === objectProto)
  24287. return record.i;
  24288. if (record.e === objectProto)
  24289. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  24290. }
  24291. $constructor = object.constructor;
  24292. if ($constructor == null)
  24293. interceptor = null;
  24294. else {
  24295. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24296. if (t1 == null)
  24297. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24298. interceptor = $constructor[t1];
  24299. }
  24300. if (interceptor != null)
  24301. return interceptor;
  24302. interceptor = A.lookupAndCacheInterceptor(object);
  24303. if (interceptor != null)
  24304. return interceptor;
  24305. if (typeof object == "function")
  24306. return B.JavaScriptFunction_methods;
  24307. proto = Object.getPrototypeOf(object);
  24308. if (proto == null)
  24309. return B.PlainJavaScriptObject_methods;
  24310. if (proto === Object.prototype)
  24311. return B.PlainJavaScriptObject_methods;
  24312. if (typeof $constructor == "function") {
  24313. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24314. if (t1 == null)
  24315. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24316. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  24317. return B.UnknownJavaScriptObject_methods;
  24318. }
  24319. return B.UnknownJavaScriptObject_methods;
  24320. },
  24321. JSArray_JSArray$fixed($length, $E) {
  24322. if ($length < 0 || $length > 4294967295)
  24323. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24324. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24325. },
  24326. JSArray_JSArray$allocateFixed($length, $E) {
  24327. if ($length > 4294967295)
  24328. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24329. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24330. },
  24331. JSArray_JSArray$growable($length, $E) {
  24332. if ($length < 0)
  24333. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24334. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24335. },
  24336. JSArray_JSArray$allocateGrowable($length, $E) {
  24337. if ($length < 0)
  24338. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24339. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24340. },
  24341. JSArray_JSArray$markFixed(allocation, $E) {
  24342. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  24343. },
  24344. JSArray_markFixedList(list) {
  24345. list.fixed$length = Array;
  24346. return list;
  24347. },
  24348. JSArray_markUnmodifiableList(list) {
  24349. list.fixed$length = Array;
  24350. list.immutable$list = Array;
  24351. return list;
  24352. },
  24353. JSArray__compareAny(a, b) {
  24354. return J.compareTo$1$ns(a, b);
  24355. },
  24356. JSString__isWhitespace(codeUnit) {
  24357. if (codeUnit < 256)
  24358. switch (codeUnit) {
  24359. case 9:
  24360. case 10:
  24361. case 11:
  24362. case 12:
  24363. case 13:
  24364. case 32:
  24365. case 133:
  24366. case 160:
  24367. return true;
  24368. default:
  24369. return false;
  24370. }
  24371. switch (codeUnit) {
  24372. case 5760:
  24373. case 8192:
  24374. case 8193:
  24375. case 8194:
  24376. case 8195:
  24377. case 8196:
  24378. case 8197:
  24379. case 8198:
  24380. case 8199:
  24381. case 8200:
  24382. case 8201:
  24383. case 8202:
  24384. case 8232:
  24385. case 8233:
  24386. case 8239:
  24387. case 8287:
  24388. case 12288:
  24389. case 65279:
  24390. return true;
  24391. default:
  24392. return false;
  24393. }
  24394. },
  24395. JSString__skipLeadingWhitespace(string, index) {
  24396. var t1, codeUnit;
  24397. for (t1 = string.length; index < t1;) {
  24398. codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
  24399. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24400. break;
  24401. ++index;
  24402. }
  24403. return index;
  24404. },
  24405. JSString__skipTrailingWhitespace(string, index) {
  24406. var index0, codeUnit;
  24407. for (; index > 0; index = index0) {
  24408. index0 = index - 1;
  24409. codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
  24410. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24411. break;
  24412. }
  24413. return index;
  24414. },
  24415. getInterceptor$(receiver) {
  24416. if (typeof receiver == "number") {
  24417. if (Math.floor(receiver) == receiver)
  24418. return J.JSInt.prototype;
  24419. return J.JSNumNotInt.prototype;
  24420. }
  24421. if (typeof receiver == "string")
  24422. return J.JSString.prototype;
  24423. if (receiver == null)
  24424. return J.JSNull.prototype;
  24425. if (typeof receiver == "boolean")
  24426. return J.JSBool.prototype;
  24427. if (receiver.constructor == Array)
  24428. return J.JSArray.prototype;
  24429. if (typeof receiver != "object") {
  24430. if (typeof receiver == "function")
  24431. return J.JavaScriptFunction.prototype;
  24432. return receiver;
  24433. }
  24434. if (receiver instanceof A.Object)
  24435. return receiver;
  24436. return J.getNativeInterceptor(receiver);
  24437. },
  24438. getInterceptor$ansx(receiver) {
  24439. if (typeof receiver == "number")
  24440. return J.JSNumber.prototype;
  24441. if (typeof receiver == "string")
  24442. return J.JSString.prototype;
  24443. if (receiver == null)
  24444. return receiver;
  24445. if (receiver.constructor == Array)
  24446. return J.JSArray.prototype;
  24447. if (typeof receiver != "object") {
  24448. if (typeof receiver == "function")
  24449. return J.JavaScriptFunction.prototype;
  24450. return receiver;
  24451. }
  24452. if (receiver instanceof A.Object)
  24453. return receiver;
  24454. return J.getNativeInterceptor(receiver);
  24455. },
  24456. getInterceptor$asx(receiver) {
  24457. if (typeof receiver == "string")
  24458. return J.JSString.prototype;
  24459. if (receiver == null)
  24460. return receiver;
  24461. if (receiver.constructor == Array)
  24462. return J.JSArray.prototype;
  24463. if (typeof receiver != "object") {
  24464. if (typeof receiver == "function")
  24465. return J.JavaScriptFunction.prototype;
  24466. return receiver;
  24467. }
  24468. if (receiver instanceof A.Object)
  24469. return receiver;
  24470. return J.getNativeInterceptor(receiver);
  24471. },
  24472. getInterceptor$ax(receiver) {
  24473. if (receiver == null)
  24474. return receiver;
  24475. if (receiver.constructor == Array)
  24476. return J.JSArray.prototype;
  24477. if (typeof receiver != "object") {
  24478. if (typeof receiver == "function")
  24479. return J.JavaScriptFunction.prototype;
  24480. return receiver;
  24481. }
  24482. if (receiver instanceof A.Object)
  24483. return receiver;
  24484. return J.getNativeInterceptor(receiver);
  24485. },
  24486. getInterceptor$n(receiver) {
  24487. if (typeof receiver == "number")
  24488. return J.JSNumber.prototype;
  24489. if (receiver == null)
  24490. return receiver;
  24491. if (!(receiver instanceof A.Object))
  24492. return J.UnknownJavaScriptObject.prototype;
  24493. return receiver;
  24494. },
  24495. getInterceptor$ns(receiver) {
  24496. if (typeof receiver == "number")
  24497. return J.JSNumber.prototype;
  24498. if (typeof receiver == "string")
  24499. return J.JSString.prototype;
  24500. if (receiver == null)
  24501. return receiver;
  24502. if (!(receiver instanceof A.Object))
  24503. return J.UnknownJavaScriptObject.prototype;
  24504. return receiver;
  24505. },
  24506. getInterceptor$s(receiver) {
  24507. if (typeof receiver == "string")
  24508. return J.JSString.prototype;
  24509. if (receiver == null)
  24510. return receiver;
  24511. if (!(receiver instanceof A.Object))
  24512. return J.UnknownJavaScriptObject.prototype;
  24513. return receiver;
  24514. },
  24515. getInterceptor$u(receiver) {
  24516. if (receiver == null)
  24517. return J.JSNull.prototype;
  24518. if (!(receiver instanceof A.Object))
  24519. return J.UnknownJavaScriptObject.prototype;
  24520. return receiver;
  24521. },
  24522. getInterceptor$x(receiver) {
  24523. if (receiver == null)
  24524. return receiver;
  24525. if (typeof receiver != "object") {
  24526. if (typeof receiver == "function")
  24527. return J.JavaScriptFunction.prototype;
  24528. return receiver;
  24529. }
  24530. if (receiver instanceof A.Object)
  24531. return receiver;
  24532. return J.getNativeInterceptor(receiver);
  24533. },
  24534. getInterceptor$z(receiver) {
  24535. if (receiver == null)
  24536. return receiver;
  24537. if (!(receiver instanceof A.Object))
  24538. return J.UnknownJavaScriptObject.prototype;
  24539. return receiver;
  24540. },
  24541. set$Exception$x(receiver, value) {
  24542. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  24543. },
  24544. set$FALSE$x(receiver, value) {
  24545. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  24546. },
  24547. set$Logger$x(receiver, value) {
  24548. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  24549. },
  24550. set$NULL$x(receiver, value) {
  24551. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  24552. },
  24553. set$SassArgumentList$x(receiver, value) {
  24554. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  24555. },
  24556. set$SassBoolean$x(receiver, value) {
  24557. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  24558. },
  24559. set$SassColor$x(receiver, value) {
  24560. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  24561. },
  24562. set$SassFunction$x(receiver, value) {
  24563. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  24564. },
  24565. set$SassList$x(receiver, value) {
  24566. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  24567. },
  24568. set$SassMap$x(receiver, value) {
  24569. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  24570. },
  24571. set$SassNumber$x(receiver, value) {
  24572. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  24573. },
  24574. set$SassString$x(receiver, value) {
  24575. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  24576. },
  24577. set$TRUE$x(receiver, value) {
  24578. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  24579. },
  24580. set$Value$x(receiver, value) {
  24581. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  24582. },
  24583. set$cli_pkg_main_0_$x(receiver, value) {
  24584. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  24585. },
  24586. set$compile$x(receiver, value) {
  24587. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  24588. },
  24589. set$compileAsync$x(receiver, value) {
  24590. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  24591. },
  24592. set$compileString$x(receiver, value) {
  24593. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  24594. },
  24595. set$compileStringAsync$x(receiver, value) {
  24596. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  24597. },
  24598. set$context$x(receiver, value) {
  24599. return J.getInterceptor$x(receiver).set$context(receiver, value);
  24600. },
  24601. set$dartValue$x(receiver, value) {
  24602. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  24603. },
  24604. set$exitCode$x(receiver, value) {
  24605. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  24606. },
  24607. set$info$x(receiver, value) {
  24608. return J.getInterceptor$x(receiver).set$info(receiver, value);
  24609. },
  24610. set$length$asx(receiver, value) {
  24611. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  24612. },
  24613. set$render$x(receiver, value) {
  24614. return J.getInterceptor$x(receiver).set$render(receiver, value);
  24615. },
  24616. set$renderSync$x(receiver, value) {
  24617. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  24618. },
  24619. set$sassFalse$x(receiver, value) {
  24620. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  24621. },
  24622. set$sassNull$x(receiver, value) {
  24623. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  24624. },
  24625. set$sassTrue$x(receiver, value) {
  24626. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  24627. },
  24628. set$types$x(receiver, value) {
  24629. return J.getInterceptor$x(receiver).set$types(receiver, value);
  24630. },
  24631. get$$prototype$x(receiver) {
  24632. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  24633. },
  24634. get$_dartException$x(receiver) {
  24635. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  24636. },
  24637. get$alertAscii$x(receiver) {
  24638. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  24639. },
  24640. get$alertColor$x(receiver) {
  24641. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  24642. },
  24643. get$blue$x(receiver) {
  24644. return J.getInterceptor$x(receiver).get$blue(receiver);
  24645. },
  24646. get$brackets$x(receiver) {
  24647. return J.getInterceptor$x(receiver).get$brackets(receiver);
  24648. },
  24649. get$charset$x(receiver) {
  24650. return J.getInterceptor$x(receiver).get$charset(receiver);
  24651. },
  24652. get$code$x(receiver) {
  24653. return J.getInterceptor$x(receiver).get$code(receiver);
  24654. },
  24655. get$current$x(receiver) {
  24656. return J.getInterceptor$x(receiver).get$current(receiver);
  24657. },
  24658. get$dartValue$x(receiver) {
  24659. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  24660. },
  24661. get$debug$x(receiver) {
  24662. return J.getInterceptor$x(receiver).get$debug(receiver);
  24663. },
  24664. get$denominatorUnits$x(receiver) {
  24665. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  24666. },
  24667. get$end$z(receiver) {
  24668. return J.getInterceptor$z(receiver).get$end(receiver);
  24669. },
  24670. get$env$x(receiver) {
  24671. return J.getInterceptor$x(receiver).get$env(receiver);
  24672. },
  24673. get$exitCode$x(receiver) {
  24674. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  24675. },
  24676. get$fiber$x(receiver) {
  24677. return J.getInterceptor$x(receiver).get$fiber(receiver);
  24678. },
  24679. get$file$x(receiver) {
  24680. return J.getInterceptor$x(receiver).get$file(receiver);
  24681. },
  24682. get$first$ax(receiver) {
  24683. return J.getInterceptor$ax(receiver).get$first(receiver);
  24684. },
  24685. get$functions$x(receiver) {
  24686. return J.getInterceptor$x(receiver).get$functions(receiver);
  24687. },
  24688. get$green$x(receiver) {
  24689. return J.getInterceptor$x(receiver).get$green(receiver);
  24690. },
  24691. get$hashCode$(receiver) {
  24692. return J.getInterceptor$(receiver).get$hashCode(receiver);
  24693. },
  24694. get$importer$x(receiver) {
  24695. return J.getInterceptor$x(receiver).get$importer(receiver);
  24696. },
  24697. get$importers$x(receiver) {
  24698. return J.getInterceptor$x(receiver).get$importers(receiver);
  24699. },
  24700. get$isEmpty$asx(receiver) {
  24701. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  24702. },
  24703. get$isNotEmpty$asx(receiver) {
  24704. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  24705. },
  24706. get$isTTY$x(receiver) {
  24707. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  24708. },
  24709. get$iterator$ax(receiver) {
  24710. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  24711. },
  24712. get$keys$z(receiver) {
  24713. return J.getInterceptor$z(receiver).get$keys(receiver);
  24714. },
  24715. get$last$ax(receiver) {
  24716. return J.getInterceptor$ax(receiver).get$last(receiver);
  24717. },
  24718. get$length$asx(receiver) {
  24719. return J.getInterceptor$asx(receiver).get$length(receiver);
  24720. },
  24721. get$loadPaths$x(receiver) {
  24722. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  24723. },
  24724. get$logger$x(receiver) {
  24725. return J.getInterceptor$x(receiver).get$logger(receiver);
  24726. },
  24727. get$message$x(receiver) {
  24728. return J.getInterceptor$x(receiver).get$message(receiver);
  24729. },
  24730. get$mtime$x(receiver) {
  24731. return J.getInterceptor$x(receiver).get$mtime(receiver);
  24732. },
  24733. get$name$x(receiver) {
  24734. return J.getInterceptor$x(receiver).get$name(receiver);
  24735. },
  24736. get$numeratorUnits$x(receiver) {
  24737. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  24738. },
  24739. get$options$x(receiver) {
  24740. return J.getInterceptor$x(receiver).get$options(receiver);
  24741. },
  24742. get$parent$z(receiver) {
  24743. return J.getInterceptor$z(receiver).get$parent(receiver);
  24744. },
  24745. get$path$x(receiver) {
  24746. return J.getInterceptor$x(receiver).get$path(receiver);
  24747. },
  24748. get$platform$x(receiver) {
  24749. return J.getInterceptor$x(receiver).get$platform(receiver);
  24750. },
  24751. get$quietDeps$x(receiver) {
  24752. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  24753. },
  24754. get$quotes$x(receiver) {
  24755. return J.getInterceptor$x(receiver).get$quotes(receiver);
  24756. },
  24757. get$red$x(receiver) {
  24758. return J.getInterceptor$x(receiver).get$red(receiver);
  24759. },
  24760. get$reversed$ax(receiver) {
  24761. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  24762. },
  24763. get$runtimeType$u(receiver) {
  24764. return J.getInterceptor$u(receiver).get$runtimeType(receiver);
  24765. },
  24766. get$separator$x(receiver) {
  24767. return J.getInterceptor$x(receiver).get$separator(receiver);
  24768. },
  24769. get$single$ax(receiver) {
  24770. return J.getInterceptor$ax(receiver).get$single(receiver);
  24771. },
  24772. get$sourceMap$x(receiver) {
  24773. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  24774. },
  24775. get$sourceMapIncludeSources$x(receiver) {
  24776. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  24777. },
  24778. get$span$z(receiver) {
  24779. return J.getInterceptor$z(receiver).get$span(receiver);
  24780. },
  24781. get$start$z(receiver) {
  24782. return J.getInterceptor$z(receiver).get$start(receiver);
  24783. },
  24784. get$stderr$x(receiver) {
  24785. return J.getInterceptor$x(receiver).get$stderr(receiver);
  24786. },
  24787. get$stdin$x(receiver) {
  24788. return J.getInterceptor$x(receiver).get$stdin(receiver);
  24789. },
  24790. get$style$x(receiver) {
  24791. return J.getInterceptor$x(receiver).get$style(receiver);
  24792. },
  24793. get$syntax$x(receiver) {
  24794. return J.getInterceptor$x(receiver).get$syntax(receiver);
  24795. },
  24796. get$trace$z(receiver) {
  24797. return J.getInterceptor$z(receiver).get$trace(receiver);
  24798. },
  24799. get$url$x(receiver) {
  24800. return J.getInterceptor$x(receiver).get$url(receiver);
  24801. },
  24802. get$values$z(receiver) {
  24803. return J.getInterceptor$z(receiver).get$values(receiver);
  24804. },
  24805. get$verbose$x(receiver) {
  24806. return J.getInterceptor$x(receiver).get$verbose(receiver);
  24807. },
  24808. get$warn$x(receiver) {
  24809. return J.getInterceptor$x(receiver).get$warn(receiver);
  24810. },
  24811. $add$ansx(receiver, a0) {
  24812. if (typeof receiver == "number" && typeof a0 == "number")
  24813. return receiver + a0;
  24814. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  24815. },
  24816. $eq$(receiver, a0) {
  24817. if (receiver == null)
  24818. return a0 == null;
  24819. if (typeof receiver != "object")
  24820. return a0 != null && receiver === a0;
  24821. return J.getInterceptor$(receiver).$eq(receiver, a0);
  24822. },
  24823. $index$asx(receiver, a0) {
  24824. if (typeof a0 === "number")
  24825. if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  24826. if (a0 >>> 0 === a0 && a0 < receiver.length)
  24827. return receiver[a0];
  24828. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  24829. },
  24830. $indexSet$ax(receiver, a0, a1) {
  24831. if (typeof a0 === "number")
  24832. if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  24833. return receiver[a0] = a1;
  24834. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  24835. },
  24836. $set$2$x(receiver, a0, a1) {
  24837. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  24838. },
  24839. add$1$ax(receiver, a0) {
  24840. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  24841. },
  24842. addAll$1$ax(receiver, a0) {
  24843. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  24844. },
  24845. allMatches$1$s(receiver, a0) {
  24846. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  24847. },
  24848. allMatches$2$s(receiver, a0, a1) {
  24849. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  24850. },
  24851. any$1$ax(receiver, a0) {
  24852. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  24853. },
  24854. apply$2$x(receiver, a0, a1) {
  24855. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  24856. },
  24857. asImmutable$0$x(receiver) {
  24858. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  24859. },
  24860. asMutable$0$x(receiver) {
  24861. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  24862. },
  24863. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  24864. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  24865. },
  24866. cast$1$0$ax(receiver, $T1) {
  24867. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  24868. },
  24869. close$0$x(receiver) {
  24870. return J.getInterceptor$x(receiver).close$0(receiver);
  24871. },
  24872. codeUnitAt$1$s(receiver, a0) {
  24873. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  24874. },
  24875. compareTo$1$ns(receiver, a0) {
  24876. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  24877. },
  24878. contains$1$asx(receiver, a0) {
  24879. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  24880. },
  24881. createInterface$1$x(receiver, a0) {
  24882. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  24883. },
  24884. elementAt$1$ax(receiver, a0) {
  24885. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  24886. },
  24887. endsWith$1$s(receiver, a0) {
  24888. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  24889. },
  24890. every$1$ax(receiver, a0) {
  24891. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  24892. },
  24893. existsSync$1$x(receiver, a0) {
  24894. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  24895. },
  24896. expand$1$1$ax(receiver, a0, $T1) {
  24897. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  24898. },
  24899. fillRange$3$ax(receiver, a0, a1, a2) {
  24900. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  24901. },
  24902. fold$2$ax(receiver, a0, a1) {
  24903. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  24904. },
  24905. forEach$1$x(receiver, a0) {
  24906. return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
  24907. },
  24908. getTime$0$x(receiver) {
  24909. return J.getInterceptor$x(receiver).getTime$0(receiver);
  24910. },
  24911. isDirectory$0$x(receiver) {
  24912. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  24913. },
  24914. isFile$0$x(receiver) {
  24915. return J.getInterceptor$x(receiver).isFile$0(receiver);
  24916. },
  24917. join$0$ax(receiver) {
  24918. return J.getInterceptor$ax(receiver).join$0(receiver);
  24919. },
  24920. join$1$ax(receiver, a0) {
  24921. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  24922. },
  24923. listen$1$z(receiver, a0) {
  24924. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  24925. },
  24926. map$1$1$ax(receiver, a0, $T1) {
  24927. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  24928. },
  24929. matchAsPrefix$2$s(receiver, a0, a1) {
  24930. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  24931. },
  24932. mkdirSync$1$x(receiver, a0) {
  24933. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  24934. },
  24935. noSuchMethod$1$(receiver, a0) {
  24936. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  24937. },
  24938. on$2$x(receiver, a0, a1) {
  24939. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  24940. },
  24941. readFileSync$2$x(receiver, a0, a1) {
  24942. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  24943. },
  24944. readdirSync$1$x(receiver, a0) {
  24945. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  24946. },
  24947. remove$1$z(receiver, a0) {
  24948. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  24949. },
  24950. run$0$x(receiver) {
  24951. return J.getInterceptor$x(receiver).run$0(receiver);
  24952. },
  24953. run$1$x(receiver, a0) {
  24954. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  24955. },
  24956. setRange$4$ax(receiver, a0, a1, a2, a3) {
  24957. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  24958. },
  24959. skip$1$ax(receiver, a0) {
  24960. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  24961. },
  24962. sort$1$ax(receiver, a0) {
  24963. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  24964. },
  24965. startsWith$1$s(receiver, a0) {
  24966. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  24967. },
  24968. statSync$1$x(receiver, a0) {
  24969. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  24970. },
  24971. substring$1$s(receiver, a0) {
  24972. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  24973. },
  24974. substring$2$s(receiver, a0, a1) {
  24975. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  24976. },
  24977. take$1$ax(receiver, a0) {
  24978. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  24979. },
  24980. then$1$1$x(receiver, a0, $T1) {
  24981. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  24982. },
  24983. then$1$2$onError$x(receiver, a0, a1, $T1) {
  24984. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  24985. },
  24986. then$2$x(receiver, a0, a1) {
  24987. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  24988. },
  24989. toArray$0$x(receiver) {
  24990. return J.getInterceptor$x(receiver).toArray$0(receiver);
  24991. },
  24992. toList$0$ax(receiver) {
  24993. return J.getInterceptor$ax(receiver).toList$0(receiver);
  24994. },
  24995. toList$1$growable$ax(receiver, a0) {
  24996. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  24997. },
  24998. toRadixString$1$n(receiver, a0) {
  24999. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  25000. },
  25001. toSet$0$ax(receiver) {
  25002. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  25003. },
  25004. toString$0$(receiver) {
  25005. return J.getInterceptor$(receiver).toString$0(receiver);
  25006. },
  25007. toString$1$color$(receiver, a0) {
  25008. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  25009. },
  25010. trim$0$s(receiver) {
  25011. return J.getInterceptor$s(receiver).trim$0(receiver);
  25012. },
  25013. unlinkSync$1$x(receiver, a0) {
  25014. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  25015. },
  25016. watch$2$x(receiver, a0, a1) {
  25017. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  25018. },
  25019. where$1$ax(receiver, a0) {
  25020. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  25021. },
  25022. write$1$x(receiver, a0) {
  25023. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  25024. },
  25025. writeFileSync$2$x(receiver, a0, a1) {
  25026. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  25027. },
  25028. yield$0$x(receiver) {
  25029. return J.getInterceptor$x(receiver).yield$0(receiver);
  25030. },
  25031. Interceptor: function Interceptor() {
  25032. },
  25033. JSBool: function JSBool() {
  25034. },
  25035. JSNull: function JSNull() {
  25036. },
  25037. JavaScriptObject: function JavaScriptObject() {
  25038. },
  25039. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  25040. },
  25041. PlainJavaScriptObject: function PlainJavaScriptObject() {
  25042. },
  25043. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  25044. },
  25045. JavaScriptFunction: function JavaScriptFunction() {
  25046. },
  25047. JSArray: function JSArray(t0) {
  25048. this.$ti = t0;
  25049. },
  25050. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  25051. this.$ti = t0;
  25052. },
  25053. ArrayIterator: function ArrayIterator(t0, t1) {
  25054. var _ = this;
  25055. _._iterable = t0;
  25056. _._length = t1;
  25057. _._index = 0;
  25058. _._current = null;
  25059. },
  25060. JSNumber: function JSNumber() {
  25061. },
  25062. JSInt: function JSInt() {
  25063. },
  25064. JSNumNotInt: function JSNumNotInt() {
  25065. },
  25066. JSString: function JSString() {
  25067. }
  25068. },
  25069. B = {};
  25070. var holders = [A, J, B];
  25071. var $ = {};
  25072. A.JS_CONST.prototype = {};
  25073. J.Interceptor.prototype = {
  25074. $eq(receiver, other) {
  25075. return receiver === other;
  25076. },
  25077. get$hashCode(receiver) {
  25078. return A.Primitives_objectHashCode(receiver);
  25079. },
  25080. toString$0(receiver) {
  25081. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  25082. },
  25083. noSuchMethod$1(receiver, invocation) {
  25084. throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
  25085. }
  25086. };
  25087. J.JSBool.prototype = {
  25088. toString$0(receiver) {
  25089. return String(receiver);
  25090. },
  25091. get$hashCode(receiver) {
  25092. return receiver ? 519018 : 218159;
  25093. },
  25094. $isbool: 1
  25095. };
  25096. J.JSNull.prototype = {
  25097. $eq(receiver, other) {
  25098. return null == other;
  25099. },
  25100. toString$0(receiver) {
  25101. return "null";
  25102. },
  25103. get$hashCode(receiver) {
  25104. return 0;
  25105. },
  25106. get$runtimeType(receiver) {
  25107. return B.Type_Null_Yyn;
  25108. },
  25109. $isNull: 1
  25110. };
  25111. J.JavaScriptObject.prototype = {};
  25112. J.LegacyJavaScriptObject.prototype = {
  25113. get$hashCode(receiver) {
  25114. return 0;
  25115. },
  25116. toString$0(receiver) {
  25117. return String(receiver);
  25118. },
  25119. $isPromise: 1,
  25120. $isJsSystemError: 1,
  25121. $is_NodeSassColor: 1,
  25122. $is_Channels: 1,
  25123. $isCompileOptions: 1,
  25124. $isCompileStringOptions: 1,
  25125. $isNodeCompileResult: 1,
  25126. $is_NodeException: 1,
  25127. $isFiber: 1,
  25128. $isJSFunction0: 1,
  25129. $isImmutableList: 1,
  25130. $isImmutableMap: 1,
  25131. $isNodeImporter0: 1,
  25132. $isNodeImporterResult0: 1,
  25133. $isNodeImporterResult1: 1,
  25134. $is_NodeSassList: 1,
  25135. $is_ConstructorOptions: 1,
  25136. $isWarnOptions: 1,
  25137. $isDebugOptions: 1,
  25138. $is_NodeSassMap: 1,
  25139. $is_NodeSassNumber: 1,
  25140. $is_ConstructorOptions0: 1,
  25141. $isJSClass0: 1,
  25142. $isRenderContextOptions0: 1,
  25143. $isRenderOptions: 1,
  25144. $isRenderResult: 1,
  25145. $is_NodeSassString: 1,
  25146. $is_ConstructorOptions1: 1,
  25147. $isJSUrl0: 1,
  25148. get$isTTY(obj) {
  25149. return obj.isTTY;
  25150. },
  25151. get$write(obj) {
  25152. return obj.write;
  25153. },
  25154. write$1(receiver, p0) {
  25155. return receiver.write(p0);
  25156. },
  25157. createInterface$1(receiver, p0) {
  25158. return receiver.createInterface(p0);
  25159. },
  25160. on$2(receiver, p0, p1) {
  25161. return receiver.on(p0, p1);
  25162. },
  25163. get$close(obj) {
  25164. return obj.close;
  25165. },
  25166. close$0(receiver) {
  25167. return receiver.close();
  25168. },
  25169. setPrompt$1(receiver, p0) {
  25170. return receiver.setPrompt(p0);
  25171. },
  25172. get$length(obj) {
  25173. return obj.length;
  25174. },
  25175. toString$0(receiver) {
  25176. return receiver.toString();
  25177. },
  25178. get$debug(obj) {
  25179. return obj.debug;
  25180. },
  25181. debug$2(receiver, p0, p1) {
  25182. return receiver.debug(p0, p1);
  25183. },
  25184. get$warn(obj) {
  25185. return obj.warn;
  25186. },
  25187. warn$1(receiver, p0) {
  25188. return receiver.warn(p0);
  25189. },
  25190. existsSync$1(receiver, p0) {
  25191. return receiver.existsSync(p0);
  25192. },
  25193. mkdirSync$1(receiver, p0) {
  25194. return receiver.mkdirSync(p0);
  25195. },
  25196. readdirSync$1(receiver, p0) {
  25197. return receiver.readdirSync(p0);
  25198. },
  25199. readFileSync$2(receiver, p0, p1) {
  25200. return receiver.readFileSync(p0, p1);
  25201. },
  25202. statSync$1(receiver, p0) {
  25203. return receiver.statSync(p0);
  25204. },
  25205. unlinkSync$1(receiver, p0) {
  25206. return receiver.unlinkSync(p0);
  25207. },
  25208. watch$2(receiver, p0, p1) {
  25209. return receiver.watch(p0, p1);
  25210. },
  25211. writeFileSync$2(receiver, p0, p1) {
  25212. return receiver.writeFileSync(p0, p1);
  25213. },
  25214. get$path(obj) {
  25215. return obj.path;
  25216. },
  25217. isDirectory$0(receiver) {
  25218. return receiver.isDirectory();
  25219. },
  25220. isFile$0(receiver) {
  25221. return receiver.isFile();
  25222. },
  25223. get$mtime(obj) {
  25224. return obj.mtime;
  25225. },
  25226. then$1$1(receiver, p0) {
  25227. return receiver.then(p0);
  25228. },
  25229. then$2(receiver, p0, p1) {
  25230. return receiver.then(p0, p1);
  25231. },
  25232. getTime$0(receiver) {
  25233. return receiver.getTime();
  25234. },
  25235. get$message(obj) {
  25236. return obj.message;
  25237. },
  25238. message$1(receiver, p0) {
  25239. return receiver.message(p0);
  25240. },
  25241. get$code(obj) {
  25242. return obj.code;
  25243. },
  25244. get$syscall(obj) {
  25245. return obj.syscall;
  25246. },
  25247. get$env(obj) {
  25248. return obj.env;
  25249. },
  25250. get$exitCode(obj) {
  25251. return obj.exitCode;
  25252. },
  25253. set$exitCode(obj, v) {
  25254. return obj.exitCode = v;
  25255. },
  25256. get$platform(obj) {
  25257. return obj.platform;
  25258. },
  25259. get$stderr(obj) {
  25260. return obj.stderr;
  25261. },
  25262. get$stdin(obj) {
  25263. return obj.stdin;
  25264. },
  25265. get$name(obj) {
  25266. return obj.name;
  25267. },
  25268. push$1(receiver, p0) {
  25269. return receiver.push(p0);
  25270. },
  25271. call$0(receiver) {
  25272. return receiver.call();
  25273. },
  25274. call$1(receiver, p0) {
  25275. return receiver.call(p0);
  25276. },
  25277. call$2(receiver, p0, p1) {
  25278. return receiver.call(p0, p1);
  25279. },
  25280. call$3$1(receiver, p0) {
  25281. return receiver.call(p0);
  25282. },
  25283. call$2$1(receiver, p0) {
  25284. return receiver.call(p0);
  25285. },
  25286. call$1$1(receiver, p0) {
  25287. return receiver.call(p0);
  25288. },
  25289. call$3(receiver, p0, p1, p2) {
  25290. return receiver.call(p0, p1, p2);
  25291. },
  25292. call$3$3(receiver, p0, p1, p2) {
  25293. return receiver.call(p0, p1, p2);
  25294. },
  25295. call$2$2(receiver, p0, p1) {
  25296. return receiver.call(p0, p1);
  25297. },
  25298. call$1$0(receiver) {
  25299. return receiver.call();
  25300. },
  25301. call$2$0(receiver) {
  25302. return receiver.call();
  25303. },
  25304. call$2$3(receiver, p0, p1, p2) {
  25305. return receiver.call(p0, p1, p2);
  25306. },
  25307. call$1$2(receiver, p0, p1) {
  25308. return receiver.call(p0, p1);
  25309. },
  25310. apply$2(receiver, p0, p1) {
  25311. return receiver.apply(p0, p1);
  25312. },
  25313. get$file(obj) {
  25314. return obj.file;
  25315. },
  25316. get$contents(obj) {
  25317. return obj.contents;
  25318. },
  25319. get$options(obj) {
  25320. return obj.options;
  25321. },
  25322. get$data(obj) {
  25323. return obj.data;
  25324. },
  25325. get$includePaths(obj) {
  25326. return obj.includePaths;
  25327. },
  25328. get$style(obj) {
  25329. return obj.style;
  25330. },
  25331. get$indentType(obj) {
  25332. return obj.indentType;
  25333. },
  25334. get$indentWidth(obj) {
  25335. return obj.indentWidth;
  25336. },
  25337. get$linefeed(obj) {
  25338. return obj.linefeed;
  25339. },
  25340. set$context(obj, v) {
  25341. return obj.context = v;
  25342. },
  25343. get$$prototype(obj) {
  25344. return obj.prototype;
  25345. },
  25346. get$dartValue(obj) {
  25347. return obj.dartValue;
  25348. },
  25349. set$dartValue(obj, v) {
  25350. return obj.dartValue = v;
  25351. },
  25352. get$red(obj) {
  25353. return obj.red;
  25354. },
  25355. get$green(obj) {
  25356. return obj.green;
  25357. },
  25358. get$blue(obj) {
  25359. return obj.blue;
  25360. },
  25361. get$hue(obj) {
  25362. return obj.hue;
  25363. },
  25364. get$saturation(obj) {
  25365. return obj.saturation;
  25366. },
  25367. get$lightness(obj) {
  25368. return obj.lightness;
  25369. },
  25370. get$whiteness(obj) {
  25371. return obj.whiteness;
  25372. },
  25373. get$blackness(obj) {
  25374. return obj.blackness;
  25375. },
  25376. get$alpha(obj) {
  25377. return obj.alpha;
  25378. },
  25379. get$alertAscii(obj) {
  25380. return obj.alertAscii;
  25381. },
  25382. get$alertColor(obj) {
  25383. return obj.alertColor;
  25384. },
  25385. get$loadPaths(obj) {
  25386. return obj.loadPaths;
  25387. },
  25388. get$quietDeps(obj) {
  25389. return obj.quietDeps;
  25390. },
  25391. get$verbose(obj) {
  25392. return obj.verbose;
  25393. },
  25394. get$charset(obj) {
  25395. return obj.charset;
  25396. },
  25397. get$sourceMap(obj) {
  25398. return obj.sourceMap;
  25399. },
  25400. get$sourceMapIncludeSources(obj) {
  25401. return obj.sourceMapIncludeSources;
  25402. },
  25403. get$logger(obj) {
  25404. return obj.logger;
  25405. },
  25406. get$importers(obj) {
  25407. return obj.importers;
  25408. },
  25409. get$functions(obj) {
  25410. return obj.functions;
  25411. },
  25412. get$syntax(obj) {
  25413. return obj.syntax;
  25414. },
  25415. get$url(obj) {
  25416. return obj.url;
  25417. },
  25418. get$importer(obj) {
  25419. return obj.importer;
  25420. },
  25421. get$_dartException(obj) {
  25422. return obj._dartException;
  25423. },
  25424. set$renderSync(obj, v) {
  25425. return obj.renderSync = v;
  25426. },
  25427. set$compileString(obj, v) {
  25428. return obj.compileString = v;
  25429. },
  25430. set$compileStringAsync(obj, v) {
  25431. return obj.compileStringAsync = v;
  25432. },
  25433. set$compile(obj, v) {
  25434. return obj.compile = v;
  25435. },
  25436. set$compileAsync(obj, v) {
  25437. return obj.compileAsync = v;
  25438. },
  25439. set$info(obj, v) {
  25440. return obj.info = v;
  25441. },
  25442. set$Exception(obj, v) {
  25443. return obj.Exception = v;
  25444. },
  25445. set$Logger(obj, v) {
  25446. return obj.Logger = v;
  25447. },
  25448. set$Value(obj, v) {
  25449. return obj.Value = v;
  25450. },
  25451. set$SassArgumentList(obj, v) {
  25452. return obj.SassArgumentList = v;
  25453. },
  25454. set$SassBoolean(obj, v) {
  25455. return obj.SassBoolean = v;
  25456. },
  25457. set$SassColor(obj, v) {
  25458. return obj.SassColor = v;
  25459. },
  25460. set$SassFunction(obj, v) {
  25461. return obj.SassFunction = v;
  25462. },
  25463. set$SassList(obj, v) {
  25464. return obj.SassList = v;
  25465. },
  25466. set$SassMap(obj, v) {
  25467. return obj.SassMap = v;
  25468. },
  25469. set$SassNumber(obj, v) {
  25470. return obj.SassNumber = v;
  25471. },
  25472. set$SassString(obj, v) {
  25473. return obj.SassString = v;
  25474. },
  25475. set$sassNull(obj, v) {
  25476. return obj.sassNull = v;
  25477. },
  25478. set$sassTrue(obj, v) {
  25479. return obj.sassTrue = v;
  25480. },
  25481. set$sassFalse(obj, v) {
  25482. return obj.sassFalse = v;
  25483. },
  25484. set$render(obj, v) {
  25485. return obj.render = v;
  25486. },
  25487. set$types(obj, v) {
  25488. return obj.types = v;
  25489. },
  25490. set$NULL(obj, v) {
  25491. return obj.NULL = v;
  25492. },
  25493. set$TRUE(obj, v) {
  25494. return obj.TRUE = v;
  25495. },
  25496. set$FALSE(obj, v) {
  25497. return obj.FALSE = v;
  25498. },
  25499. get$current(obj) {
  25500. return obj.current;
  25501. },
  25502. yield$0(receiver) {
  25503. return receiver.yield();
  25504. },
  25505. run$1$1(receiver, p0) {
  25506. return receiver.run(p0);
  25507. },
  25508. run$1(receiver, p0) {
  25509. return receiver.run(p0);
  25510. },
  25511. run$0(receiver) {
  25512. return receiver.run();
  25513. },
  25514. toArray$0(receiver) {
  25515. return receiver.toArray();
  25516. },
  25517. asMutable$0(receiver) {
  25518. return receiver.asMutable();
  25519. },
  25520. asImmutable$0(receiver) {
  25521. return receiver.asImmutable();
  25522. },
  25523. $set$2(receiver, p0, p1) {
  25524. return receiver.set(p0, p1);
  25525. },
  25526. forEach$1(receiver, p0) {
  25527. return receiver.forEach(p0);
  25528. },
  25529. get$canonicalize(obj) {
  25530. return obj.canonicalize;
  25531. },
  25532. canonicalize$1(receiver, p0) {
  25533. return receiver.canonicalize(p0);
  25534. },
  25535. get$load(obj) {
  25536. return obj.load;
  25537. },
  25538. load$1(receiver, p0) {
  25539. return receiver.load(p0);
  25540. },
  25541. get$findFileUrl(obj) {
  25542. return obj.findFileUrl;
  25543. },
  25544. get$sourceMapUrl(obj) {
  25545. return obj.sourceMapUrl;
  25546. },
  25547. get$separator(obj) {
  25548. return obj.separator;
  25549. },
  25550. get$brackets(obj) {
  25551. return obj.brackets;
  25552. },
  25553. get$numeratorUnits(obj) {
  25554. return obj.numeratorUnits;
  25555. },
  25556. get$denominatorUnits(obj) {
  25557. return obj.denominatorUnits;
  25558. },
  25559. get$indentedSyntax(obj) {
  25560. return obj.indentedSyntax;
  25561. },
  25562. get$omitSourceMapUrl(obj) {
  25563. return obj.omitSourceMapUrl;
  25564. },
  25565. get$outFile(obj) {
  25566. return obj.outFile;
  25567. },
  25568. get$outputStyle(obj) {
  25569. return obj.outputStyle;
  25570. },
  25571. get$fiber(obj) {
  25572. return obj.fiber;
  25573. },
  25574. get$sourceMapContents(obj) {
  25575. return obj.sourceMapContents;
  25576. },
  25577. get$sourceMapEmbed(obj) {
  25578. return obj.sourceMapEmbed;
  25579. },
  25580. get$sourceMapRoot(obj) {
  25581. return obj.sourceMapRoot;
  25582. },
  25583. set$cli_pkg_main_0_(obj, v) {
  25584. return obj.cli_pkg_main_0_ = v;
  25585. },
  25586. get$quotes(obj) {
  25587. return obj.quotes;
  25588. }
  25589. };
  25590. J.PlainJavaScriptObject.prototype = {};
  25591. J.UnknownJavaScriptObject.prototype = {};
  25592. J.JavaScriptFunction.prototype = {
  25593. toString$0(receiver) {
  25594. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  25595. if (dartClosure == null)
  25596. return this.super$LegacyJavaScriptObject$toString(receiver);
  25597. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  25598. },
  25599. $isFunction: 1
  25600. };
  25601. J.JSArray.prototype = {
  25602. cast$1$0(receiver, $R) {
  25603. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  25604. },
  25605. add$1(receiver, value) {
  25606. if (!!receiver.fixed$length)
  25607. A.throwExpression(A.UnsupportedError$("add"));
  25608. receiver.push(value);
  25609. },
  25610. removeAt$1(receiver, index) {
  25611. var t1;
  25612. if (!!receiver.fixed$length)
  25613. A.throwExpression(A.UnsupportedError$("removeAt"));
  25614. t1 = receiver.length;
  25615. if (index >= t1)
  25616. throw A.wrapException(A.RangeError$value(index, null, null));
  25617. return receiver.splice(index, 1)[0];
  25618. },
  25619. insert$2(receiver, index, value) {
  25620. var t1;
  25621. if (!!receiver.fixed$length)
  25622. A.throwExpression(A.UnsupportedError$("insert"));
  25623. t1 = receiver.length;
  25624. if (index > t1)
  25625. throw A.wrapException(A.RangeError$value(index, null, null));
  25626. receiver.splice(index, 0, value);
  25627. },
  25628. insertAll$2(receiver, index, iterable) {
  25629. var insertionLength, end;
  25630. if (!!receiver.fixed$length)
  25631. A.throwExpression(A.UnsupportedError$("insertAll"));
  25632. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  25633. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  25634. iterable = J.toList$0$ax(iterable);
  25635. insertionLength = J.get$length$asx(iterable);
  25636. receiver.length = receiver.length + insertionLength;
  25637. end = index + insertionLength;
  25638. this.setRange$4(receiver, end, receiver.length, receiver, index);
  25639. this.setRange$3(receiver, index, end, iterable);
  25640. },
  25641. removeLast$0(receiver) {
  25642. if (!!receiver.fixed$length)
  25643. A.throwExpression(A.UnsupportedError$("removeLast"));
  25644. if (receiver.length === 0)
  25645. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  25646. return receiver.pop();
  25647. },
  25648. _removeWhere$2(receiver, test, removeMatching) {
  25649. var i, element, t1, retained = [],
  25650. end = receiver.length;
  25651. for (i = 0; i < end; ++i) {
  25652. element = receiver[i];
  25653. if (!test.call$1(element))
  25654. retained.push(element);
  25655. if (receiver.length !== end)
  25656. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25657. }
  25658. t1 = retained.length;
  25659. if (t1 === end)
  25660. return;
  25661. this.set$length(receiver, t1);
  25662. for (i = 0; i < retained.length; ++i)
  25663. receiver[i] = retained[i];
  25664. },
  25665. where$1(receiver, f) {
  25666. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  25667. },
  25668. expand$1$1(receiver, f, $T) {
  25669. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  25670. },
  25671. addAll$1(receiver, collection) {
  25672. var t1;
  25673. if (!!receiver.fixed$length)
  25674. A.throwExpression(A.UnsupportedError$("addAll"));
  25675. if (Array.isArray(collection)) {
  25676. this._addAllFromArray$1(receiver, collection);
  25677. return;
  25678. }
  25679. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  25680. receiver.push(t1.get$current(t1));
  25681. },
  25682. _addAllFromArray$1(receiver, array) {
  25683. var i,
  25684. len = array.length;
  25685. if (len === 0)
  25686. return;
  25687. if (receiver === array)
  25688. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25689. for (i = 0; i < len; ++i)
  25690. receiver.push(array[i]);
  25691. },
  25692. clear$0(receiver) {
  25693. if (!!receiver.fixed$length)
  25694. A.throwExpression(A.UnsupportedError$("clear"));
  25695. receiver.length = 0;
  25696. },
  25697. map$1$1(receiver, f, $T) {
  25698. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  25699. },
  25700. join$1(receiver, separator) {
  25701. var i,
  25702. list = A.List_List$filled(receiver.length, "", false, type$.String);
  25703. for (i = 0; i < receiver.length; ++i)
  25704. list[i] = A.S(receiver[i]);
  25705. return list.join(separator);
  25706. },
  25707. join$0($receiver) {
  25708. return this.join$1($receiver, "");
  25709. },
  25710. take$1(receiver, n) {
  25711. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  25712. },
  25713. skip$1(receiver, n) {
  25714. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  25715. },
  25716. fold$1$2(receiver, initialValue, combine) {
  25717. var value, i,
  25718. $length = receiver.length;
  25719. for (value = initialValue, i = 0; i < $length; ++i) {
  25720. value = combine.call$2(value, receiver[i]);
  25721. if (receiver.length !== $length)
  25722. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25723. }
  25724. return value;
  25725. },
  25726. fold$2($receiver, initialValue, combine) {
  25727. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  25728. },
  25729. elementAt$1(receiver, index) {
  25730. return receiver[index];
  25731. },
  25732. sublist$2(receiver, start, end) {
  25733. var end0 = receiver.length;
  25734. if (start > end0)
  25735. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  25736. if (end == null)
  25737. end = end0;
  25738. else if (end < start || end > end0)
  25739. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  25740. if (start === end)
  25741. return A._setArrayType([], A._arrayInstanceType(receiver));
  25742. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  25743. },
  25744. sublist$1($receiver, start) {
  25745. return this.sublist$2($receiver, start, null);
  25746. },
  25747. getRange$2(receiver, start, end) {
  25748. A.RangeError_checkValidRange(start, end, receiver.length);
  25749. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  25750. },
  25751. get$first(receiver) {
  25752. if (receiver.length > 0)
  25753. return receiver[0];
  25754. throw A.wrapException(A.IterableElementError_noElement());
  25755. },
  25756. get$last(receiver) {
  25757. var t1 = receiver.length;
  25758. if (t1 > 0)
  25759. return receiver[t1 - 1];
  25760. throw A.wrapException(A.IterableElementError_noElement());
  25761. },
  25762. get$single(receiver) {
  25763. var t1 = receiver.length;
  25764. if (t1 === 1)
  25765. return receiver[0];
  25766. if (t1 === 0)
  25767. throw A.wrapException(A.IterableElementError_noElement());
  25768. throw A.wrapException(A.IterableElementError_tooMany());
  25769. },
  25770. removeRange$2(receiver, start, end) {
  25771. if (!!receiver.fixed$length)
  25772. A.throwExpression(A.UnsupportedError$("removeRange"));
  25773. A.RangeError_checkValidRange(start, end, receiver.length);
  25774. receiver.splice(start, end - start);
  25775. },
  25776. setRange$4(receiver, start, end, iterable, skipCount) {
  25777. var $length, otherList, otherStart, t1, i;
  25778. if (!!receiver.immutable$list)
  25779. A.throwExpression(A.UnsupportedError$("setRange"));
  25780. A.RangeError_checkValidRange(start, end, receiver.length);
  25781. $length = end - start;
  25782. if ($length === 0)
  25783. return;
  25784. A.RangeError_checkNotNegative(skipCount, "skipCount");
  25785. if (type$.List_dynamic._is(iterable)) {
  25786. otherList = iterable;
  25787. otherStart = skipCount;
  25788. } else {
  25789. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  25790. otherStart = 0;
  25791. }
  25792. t1 = J.getInterceptor$asx(otherList);
  25793. if (otherStart + $length > t1.get$length(otherList))
  25794. throw A.wrapException(A.IterableElementError_tooFew());
  25795. if (otherStart < start)
  25796. for (i = $length - 1; i >= 0; --i)
  25797. receiver[start + i] = t1.$index(otherList, otherStart + i);
  25798. else
  25799. for (i = 0; i < $length; ++i)
  25800. receiver[start + i] = t1.$index(otherList, otherStart + i);
  25801. },
  25802. setRange$3($receiver, start, end, iterable) {
  25803. return this.setRange$4($receiver, start, end, iterable, 0);
  25804. },
  25805. fillRange$3(receiver, start, end, fillValue) {
  25806. var i;
  25807. if (!!receiver.immutable$list)
  25808. A.throwExpression(A.UnsupportedError$("fill range"));
  25809. A.RangeError_checkValidRange(start, end, receiver.length);
  25810. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  25811. for (i = start; i < end; ++i)
  25812. receiver[i] = fillValue;
  25813. },
  25814. any$1(receiver, test) {
  25815. var i,
  25816. end = receiver.length;
  25817. for (i = 0; i < end; ++i) {
  25818. if (test.call$1(receiver[i]))
  25819. return true;
  25820. if (receiver.length !== end)
  25821. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25822. }
  25823. return false;
  25824. },
  25825. every$1(receiver, test) {
  25826. var i,
  25827. end = receiver.length;
  25828. for (i = 0; i < end; ++i) {
  25829. if (!test.call$1(receiver[i]))
  25830. return false;
  25831. if (receiver.length !== end)
  25832. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25833. }
  25834. return true;
  25835. },
  25836. get$reversed(receiver) {
  25837. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  25838. },
  25839. sort$1(receiver, compare) {
  25840. if (!!receiver.immutable$list)
  25841. A.throwExpression(A.UnsupportedError$("sort"));
  25842. A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
  25843. },
  25844. sort$0($receiver) {
  25845. return this.sort$1($receiver, null);
  25846. },
  25847. indexOf$1(receiver, element) {
  25848. var i,
  25849. $length = receiver.length;
  25850. if (0 >= $length)
  25851. return -1;
  25852. for (i = 0; i < $length; ++i)
  25853. if (J.$eq$(receiver[i], element))
  25854. return i;
  25855. return -1;
  25856. },
  25857. contains$1(receiver, other) {
  25858. var i;
  25859. for (i = 0; i < receiver.length; ++i)
  25860. if (J.$eq$(receiver[i], other))
  25861. return true;
  25862. return false;
  25863. },
  25864. get$isEmpty(receiver) {
  25865. return receiver.length === 0;
  25866. },
  25867. get$isNotEmpty(receiver) {
  25868. return receiver.length !== 0;
  25869. },
  25870. toString$0(receiver) {
  25871. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  25872. },
  25873. toList$1$growable(receiver, growable) {
  25874. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  25875. return t1;
  25876. },
  25877. toList$0($receiver) {
  25878. return this.toList$1$growable($receiver, true);
  25879. },
  25880. toSet$0(receiver) {
  25881. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  25882. },
  25883. get$iterator(receiver) {
  25884. return new J.ArrayIterator(receiver, receiver.length);
  25885. },
  25886. get$hashCode(receiver) {
  25887. return A.Primitives_objectHashCode(receiver);
  25888. },
  25889. get$length(receiver) {
  25890. return receiver.length;
  25891. },
  25892. set$length(receiver, newLength) {
  25893. if (!!receiver.fixed$length)
  25894. A.throwExpression(A.UnsupportedError$("set length"));
  25895. if (newLength < 0)
  25896. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  25897. if (newLength > receiver.length)
  25898. A._arrayInstanceType(receiver)._precomputed1._as(null);
  25899. receiver.length = newLength;
  25900. },
  25901. $index(receiver, index) {
  25902. if (!(index >= 0 && index < receiver.length))
  25903. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  25904. return receiver[index];
  25905. },
  25906. $indexSet(receiver, index, value) {
  25907. if (!!receiver.immutable$list)
  25908. A.throwExpression(A.UnsupportedError$("indexed set"));
  25909. if (!(index >= 0 && index < receiver.length))
  25910. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  25911. receiver[index] = value;
  25912. },
  25913. $add(receiver, other) {
  25914. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  25915. this.addAll$1(t1, other);
  25916. return t1;
  25917. },
  25918. indexWhere$1(receiver, test) {
  25919. var i;
  25920. if (0 >= receiver.length)
  25921. return -1;
  25922. for (i = 0; i < receiver.length; ++i)
  25923. if (test.call$1(receiver[i]))
  25924. return i;
  25925. return -1;
  25926. },
  25927. $isEfficientLengthIterable: 1,
  25928. $isIterable: 1,
  25929. $isList: 1
  25930. };
  25931. J.JSUnmodifiableArray.prototype = {};
  25932. J.ArrayIterator.prototype = {
  25933. get$current(_) {
  25934. var t1 = this._current;
  25935. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  25936. },
  25937. moveNext$0() {
  25938. var t2, _this = this,
  25939. t1 = _this._iterable,
  25940. $length = t1.length;
  25941. if (_this._length !== $length)
  25942. throw A.wrapException(A.throwConcurrentModificationError(t1));
  25943. t2 = _this._index;
  25944. if (t2 >= $length) {
  25945. _this._current = null;
  25946. return false;
  25947. }
  25948. _this._current = t1[t2];
  25949. _this._index = t2 + 1;
  25950. return true;
  25951. }
  25952. };
  25953. J.JSNumber.prototype = {
  25954. compareTo$1(receiver, b) {
  25955. var bIsNegative;
  25956. if (receiver < b)
  25957. return -1;
  25958. else if (receiver > b)
  25959. return 1;
  25960. else if (receiver === b) {
  25961. if (receiver === 0) {
  25962. bIsNegative = this.get$isNegative(b);
  25963. if (this.get$isNegative(receiver) === bIsNegative)
  25964. return 0;
  25965. if (this.get$isNegative(receiver))
  25966. return -1;
  25967. return 1;
  25968. }
  25969. return 0;
  25970. } else if (isNaN(receiver)) {
  25971. if (isNaN(b))
  25972. return 0;
  25973. return 1;
  25974. } else
  25975. return -1;
  25976. },
  25977. get$isNegative(receiver) {
  25978. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  25979. },
  25980. ceil$0(receiver) {
  25981. var truncated, d;
  25982. if (receiver >= 0) {
  25983. if (receiver <= 2147483647) {
  25984. truncated = receiver | 0;
  25985. return receiver === truncated ? truncated : truncated + 1;
  25986. }
  25987. } else if (receiver >= -2147483648)
  25988. return receiver | 0;
  25989. d = Math.ceil(receiver);
  25990. if (isFinite(d))
  25991. return d;
  25992. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  25993. },
  25994. floor$0(receiver) {
  25995. var truncated, d;
  25996. if (receiver >= 0) {
  25997. if (receiver <= 2147483647)
  25998. return receiver | 0;
  25999. } else if (receiver >= -2147483648) {
  26000. truncated = receiver | 0;
  26001. return receiver === truncated ? truncated : truncated - 1;
  26002. }
  26003. d = Math.floor(receiver);
  26004. if (isFinite(d))
  26005. return d;
  26006. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  26007. },
  26008. round$0(receiver) {
  26009. if (receiver > 0) {
  26010. if (receiver !== 1 / 0)
  26011. return Math.round(receiver);
  26012. } else if (receiver > -1 / 0)
  26013. return 0 - Math.round(0 - receiver);
  26014. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  26015. },
  26016. clamp$2(receiver, lowerLimit, upperLimit) {
  26017. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  26018. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  26019. if (this.compareTo$1(receiver, lowerLimit) < 0)
  26020. return lowerLimit;
  26021. if (this.compareTo$1(receiver, upperLimit) > 0)
  26022. return upperLimit;
  26023. return receiver;
  26024. },
  26025. toRadixString$1(receiver, radix) {
  26026. var result, match, exponent, t1;
  26027. if (radix < 2 || radix > 36)
  26028. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  26029. result = receiver.toString(radix);
  26030. if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
  26031. return result;
  26032. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  26033. if (match == null)
  26034. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  26035. result = match[1];
  26036. exponent = +match[3];
  26037. t1 = match[2];
  26038. if (t1 != null) {
  26039. result += t1;
  26040. exponent -= t1.length;
  26041. }
  26042. return result + B.JSString_methods.$mul("0", exponent);
  26043. },
  26044. toString$0(receiver) {
  26045. if (receiver === 0 && 1 / receiver < 0)
  26046. return "-0.0";
  26047. else
  26048. return "" + receiver;
  26049. },
  26050. get$hashCode(receiver) {
  26051. var absolute, floorLog2, factor, scaled,
  26052. intValue = receiver | 0;
  26053. if (receiver === intValue)
  26054. return intValue & 536870911;
  26055. absolute = Math.abs(receiver);
  26056. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  26057. factor = Math.pow(2, floorLog2);
  26058. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  26059. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  26060. },
  26061. $add(receiver, other) {
  26062. return receiver + other;
  26063. },
  26064. $mod(receiver, other) {
  26065. var result = receiver % other;
  26066. if (result === 0)
  26067. return 0;
  26068. if (result > 0)
  26069. return result;
  26070. if (other < 0)
  26071. return result - other;
  26072. else
  26073. return result + other;
  26074. },
  26075. $tdiv(receiver, other) {
  26076. if ((receiver | 0) === receiver)
  26077. if (other >= 1 || other < -1)
  26078. return receiver / other | 0;
  26079. return this._tdivSlow$1(receiver, other);
  26080. },
  26081. _tdivFast$1(receiver, other) {
  26082. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  26083. },
  26084. _tdivSlow$1(receiver, other) {
  26085. var quotient = receiver / other;
  26086. if (quotient >= -2147483648 && quotient <= 2147483647)
  26087. return quotient | 0;
  26088. if (quotient > 0) {
  26089. if (quotient !== 1 / 0)
  26090. return Math.floor(quotient);
  26091. } else if (quotient > -1 / 0)
  26092. return Math.ceil(quotient);
  26093. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  26094. },
  26095. _shrOtherPositive$1(receiver, other) {
  26096. var t1;
  26097. if (receiver > 0)
  26098. t1 = this._shrBothPositive$1(receiver, other);
  26099. else {
  26100. t1 = other > 31 ? 31 : other;
  26101. t1 = receiver >> t1 >>> 0;
  26102. }
  26103. return t1;
  26104. },
  26105. _shrReceiverPositive$1(receiver, other) {
  26106. if (0 > other)
  26107. throw A.wrapException(A.argumentErrorValue(other));
  26108. return this._shrBothPositive$1(receiver, other);
  26109. },
  26110. _shrBothPositive$1(receiver, other) {
  26111. return other > 31 ? 0 : receiver >>> other;
  26112. },
  26113. $isComparable: 1,
  26114. $isdouble: 1,
  26115. $isnum: 1
  26116. };
  26117. J.JSInt.prototype = {$isint: 1};
  26118. J.JSNumNotInt.prototype = {};
  26119. J.JSString.prototype = {
  26120. codeUnitAt$1(receiver, index) {
  26121. if (index < 0)
  26122. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26123. if (index >= receiver.length)
  26124. A.throwExpression(A.diagnoseIndexError(receiver, index));
  26125. return receiver.charCodeAt(index);
  26126. },
  26127. _codeUnitAt$1(receiver, index) {
  26128. if (index >= receiver.length)
  26129. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26130. return receiver.charCodeAt(index);
  26131. },
  26132. allMatches$2(receiver, string, start) {
  26133. var t1 = string.length;
  26134. if (start > t1)
  26135. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  26136. return new A._StringAllMatchesIterable(string, receiver, start);
  26137. },
  26138. allMatches$1($receiver, string) {
  26139. return this.allMatches$2($receiver, string, 0);
  26140. },
  26141. matchAsPrefix$2(receiver, string, start) {
  26142. var t1, i, _null = null;
  26143. if (start < 0 || start > string.length)
  26144. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  26145. t1 = receiver.length;
  26146. if (start + t1 > string.length)
  26147. return _null;
  26148. for (i = 0; i < t1; ++i)
  26149. if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
  26150. return _null;
  26151. return new A.StringMatch(start, receiver);
  26152. },
  26153. $add(receiver, other) {
  26154. return receiver + other;
  26155. },
  26156. endsWith$1(receiver, other) {
  26157. var otherLength = other.length,
  26158. t1 = receiver.length;
  26159. if (otherLength > t1)
  26160. return false;
  26161. return other === this.substring$1(receiver, t1 - otherLength);
  26162. },
  26163. replaceFirst$2(receiver, from, to) {
  26164. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  26165. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  26166. },
  26167. split$1(receiver, pattern) {
  26168. if (typeof pattern == "string")
  26169. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  26170. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  26171. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  26172. else
  26173. return this._defaultSplit$1(receiver, pattern);
  26174. },
  26175. replaceRange$3(receiver, start, end, replacement) {
  26176. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  26177. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  26178. },
  26179. _defaultSplit$1(receiver, pattern) {
  26180. var t1, start, $length, match, matchStart, matchEnd,
  26181. result = A._setArrayType([], type$.JSArray_String);
  26182. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  26183. match = t1.get$current(t1);
  26184. matchStart = match.get$start(match);
  26185. matchEnd = match.get$end(match);
  26186. $length = matchEnd - matchStart;
  26187. if ($length === 0 && start === matchStart)
  26188. continue;
  26189. result.push(this.substring$2(receiver, start, matchStart));
  26190. start = matchEnd;
  26191. }
  26192. if (start < receiver.length || $length > 0)
  26193. result.push(this.substring$1(receiver, start));
  26194. return result;
  26195. },
  26196. startsWith$2(receiver, pattern, index) {
  26197. var endIndex;
  26198. if (index < 0 || index > receiver.length)
  26199. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  26200. if (typeof pattern == "string") {
  26201. endIndex = index + pattern.length;
  26202. if (endIndex > receiver.length)
  26203. return false;
  26204. return pattern === receiver.substring(index, endIndex);
  26205. }
  26206. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  26207. },
  26208. startsWith$1($receiver, pattern) {
  26209. return this.startsWith$2($receiver, pattern, 0);
  26210. },
  26211. substring$2(receiver, start, end) {
  26212. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  26213. },
  26214. substring$1($receiver, start) {
  26215. return this.substring$2($receiver, start, null);
  26216. },
  26217. trim$0(receiver) {
  26218. var startIndex, t1, endIndex0,
  26219. result = receiver.trim(),
  26220. endIndex = result.length;
  26221. if (endIndex === 0)
  26222. return result;
  26223. if (this._codeUnitAt$1(result, 0) === 133) {
  26224. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  26225. if (startIndex === endIndex)
  26226. return "";
  26227. } else
  26228. startIndex = 0;
  26229. t1 = endIndex - 1;
  26230. endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  26231. if (startIndex === 0 && endIndex0 === endIndex)
  26232. return result;
  26233. return result.substring(startIndex, endIndex0);
  26234. },
  26235. trimRight$0(receiver) {
  26236. var result, endIndex, t1;
  26237. if (typeof receiver.trimRight != "undefined") {
  26238. result = receiver.trimRight();
  26239. endIndex = result.length;
  26240. if (endIndex === 0)
  26241. return result;
  26242. t1 = endIndex - 1;
  26243. if (this.codeUnitAt$1(result, t1) === 133)
  26244. endIndex = J.JSString__skipTrailingWhitespace(result, t1);
  26245. } else {
  26246. endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
  26247. result = receiver;
  26248. }
  26249. if (endIndex === result.length)
  26250. return result;
  26251. if (endIndex === 0)
  26252. return "";
  26253. return result.substring(0, endIndex);
  26254. },
  26255. $mul(receiver, times) {
  26256. var s, result;
  26257. if (0 >= times)
  26258. return "";
  26259. if (times === 1 || receiver.length === 0)
  26260. return receiver;
  26261. if (times !== times >>> 0)
  26262. throw A.wrapException(B.C_OutOfMemoryError);
  26263. for (s = receiver, result = ""; true;) {
  26264. if ((times & 1) === 1)
  26265. result = s + result;
  26266. times = times >>> 1;
  26267. if (times === 0)
  26268. break;
  26269. s += s;
  26270. }
  26271. return result;
  26272. },
  26273. padLeft$2(receiver, width, padding) {
  26274. var delta = width - receiver.length;
  26275. if (delta <= 0)
  26276. return receiver;
  26277. return this.$mul(padding, delta) + receiver;
  26278. },
  26279. padRight$1(receiver, width) {
  26280. var delta = width - receiver.length;
  26281. if (delta <= 0)
  26282. return receiver;
  26283. return receiver + this.$mul(" ", delta);
  26284. },
  26285. indexOf$2(receiver, pattern, start) {
  26286. var t1;
  26287. if (start < 0 || start > receiver.length)
  26288. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26289. t1 = receiver.indexOf(pattern, start);
  26290. return t1;
  26291. },
  26292. indexOf$1($receiver, pattern) {
  26293. return this.indexOf$2($receiver, pattern, 0);
  26294. },
  26295. lastIndexOf$2(receiver, pattern, start) {
  26296. var t1, t2, i;
  26297. if (start == null)
  26298. start = receiver.length;
  26299. else if (start < 0 || start > receiver.length)
  26300. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26301. if (typeof pattern == "string") {
  26302. t1 = pattern.length;
  26303. t2 = receiver.length;
  26304. if (start + t1 > t2)
  26305. start = t2 - t1;
  26306. return receiver.lastIndexOf(pattern, start);
  26307. }
  26308. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  26309. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  26310. return i;
  26311. return -1;
  26312. },
  26313. lastIndexOf$1($receiver, pattern) {
  26314. return this.lastIndexOf$2($receiver, pattern, null);
  26315. },
  26316. contains$2(receiver, other, startIndex) {
  26317. var t1 = receiver.length;
  26318. if (startIndex > t1)
  26319. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  26320. return A.stringContainsUnchecked(receiver, other, startIndex);
  26321. },
  26322. contains$1($receiver, other) {
  26323. return this.contains$2($receiver, other, 0);
  26324. },
  26325. get$isNotEmpty(receiver) {
  26326. return receiver.length !== 0;
  26327. },
  26328. compareTo$1(receiver, other) {
  26329. var t1;
  26330. if (receiver === other)
  26331. t1 = 0;
  26332. else
  26333. t1 = receiver < other ? -1 : 1;
  26334. return t1;
  26335. },
  26336. toString$0(receiver) {
  26337. return receiver;
  26338. },
  26339. get$hashCode(receiver) {
  26340. var t1, hash, i;
  26341. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  26342. hash = hash + receiver.charCodeAt(i) & 536870911;
  26343. hash = hash + ((hash & 524287) << 10) & 536870911;
  26344. hash ^= hash >> 6;
  26345. }
  26346. hash = hash + ((hash & 67108863) << 3) & 536870911;
  26347. hash ^= hash >> 11;
  26348. return hash + ((hash & 16383) << 15) & 536870911;
  26349. },
  26350. get$length(receiver) {
  26351. return receiver.length;
  26352. },
  26353. $isComparable: 1,
  26354. $isString: 1
  26355. };
  26356. A._CastIterableBase.prototype = {
  26357. get$iterator(_) {
  26358. var t1 = A._instanceType(this);
  26359. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>"));
  26360. },
  26361. get$length(_) {
  26362. return J.get$length$asx(this.get$_source());
  26363. },
  26364. get$isEmpty(_) {
  26365. return J.get$isEmpty$asx(this.get$_source());
  26366. },
  26367. get$isNotEmpty(_) {
  26368. return J.get$isNotEmpty$asx(this.get$_source());
  26369. },
  26370. skip$1(_, count) {
  26371. var t1 = A._instanceType(this);
  26372. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26373. },
  26374. take$1(_, count) {
  26375. var t1 = A._instanceType(this);
  26376. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26377. },
  26378. elementAt$1(_, index) {
  26379. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  26380. },
  26381. get$first(_) {
  26382. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  26383. },
  26384. get$last(_) {
  26385. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  26386. },
  26387. get$single(_) {
  26388. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  26389. },
  26390. contains$1(_, other) {
  26391. return J.contains$1$asx(this.get$_source(), other);
  26392. },
  26393. toString$0(_) {
  26394. return J.toString$0$(this.get$_source());
  26395. }
  26396. };
  26397. A.CastIterator.prototype = {
  26398. moveNext$0() {
  26399. return this._source.moveNext$0();
  26400. },
  26401. get$current(_) {
  26402. var t1 = this._source;
  26403. return this.$ti._rest[1]._as(t1.get$current(t1));
  26404. }
  26405. };
  26406. A.CastIterable.prototype = {
  26407. get$_source() {
  26408. return this._source;
  26409. }
  26410. };
  26411. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  26412. A._CastListBase.prototype = {
  26413. $index(_, index) {
  26414. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  26415. },
  26416. $indexSet(_, index, value) {
  26417. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  26418. },
  26419. set$length(_, $length) {
  26420. J.set$length$asx(this._source, $length);
  26421. },
  26422. add$1(_, value) {
  26423. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  26424. },
  26425. sort$1(_, compare) {
  26426. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  26427. J.sort$1$ax(this._source, t1);
  26428. },
  26429. setRange$4(_, start, end, iterable, skipCount) {
  26430. var t1 = this.$ti;
  26431. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  26432. },
  26433. fillRange$3(_, start, end, fillValue) {
  26434. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  26435. },
  26436. $isEfficientLengthIterable: 1,
  26437. $isList: 1
  26438. };
  26439. A._CastListBase_sort_closure.prototype = {
  26440. call$2(v1, v2) {
  26441. var t1 = this.$this.$ti._rest[1];
  26442. return this.compare.call$2(t1._as(v1), t1._as(v2));
  26443. },
  26444. $signature() {
  26445. return this.$this.$ti._eval$1("int(1,1)");
  26446. }
  26447. };
  26448. A.CastList.prototype = {
  26449. cast$1$0(_, $R) {
  26450. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  26451. },
  26452. get$_source() {
  26453. return this._source;
  26454. }
  26455. };
  26456. A.CastSet.prototype = {
  26457. add$1(_, value) {
  26458. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  26459. },
  26460. addAll$1(_, elements) {
  26461. var t1 = this.$ti;
  26462. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  26463. },
  26464. difference$1(other) {
  26465. var t1, _this = this;
  26466. if (_this._emptySet != null)
  26467. return _this._conditionalAdd$2(other, false);
  26468. t1 = _this.$ti;
  26469. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  26470. },
  26471. _conditionalAdd$2(other, otherContains) {
  26472. var t3, castElement,
  26473. emptySet = this._emptySet,
  26474. t1 = this.$ti,
  26475. t2 = t1._rest[1],
  26476. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  26477. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  26478. castElement = t1._as(t2.get$current(t2));
  26479. if (otherContains === t3.contains$1(0, castElement))
  26480. result.add$1(0, castElement);
  26481. }
  26482. return result;
  26483. },
  26484. toSet$0(_) {
  26485. var emptySet = this._emptySet,
  26486. t1 = this.$ti._rest[1],
  26487. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  26488. result.addAll$1(0, this);
  26489. return result;
  26490. },
  26491. $isEfficientLengthIterable: 1,
  26492. $isSet: 1,
  26493. get$_source() {
  26494. return this._source;
  26495. }
  26496. };
  26497. A.CastMap.prototype = {
  26498. cast$2$0(_, RK, RV) {
  26499. var t1 = this.$ti;
  26500. return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
  26501. },
  26502. containsKey$1(key) {
  26503. return this._source.containsKey$1(key);
  26504. },
  26505. $index(_, key) {
  26506. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  26507. },
  26508. $indexSet(_, key, value) {
  26509. var t1 = this.$ti;
  26510. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  26511. },
  26512. addAll$1(_, other) {
  26513. var t1 = this.$ti;
  26514. this._source.addAll$1(0, new A.CastMap(other, t1._eval$1("@<3>")._bind$1(t1._rest[3])._bind$1(t1._precomputed1)._bind$1(t1._rest[1])._eval$1("CastMap<1,2,3,4>")));
  26515. },
  26516. remove$1(_, key) {
  26517. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  26518. },
  26519. forEach$1(_, f) {
  26520. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  26521. },
  26522. get$keys(_) {
  26523. var t1 = this._source,
  26524. t2 = this.$ti;
  26525. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  26526. },
  26527. get$values(_) {
  26528. var t1 = this._source,
  26529. t2 = this.$ti;
  26530. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  26531. },
  26532. get$length(_) {
  26533. var t1 = this._source;
  26534. return t1.get$length(t1);
  26535. },
  26536. get$isEmpty(_) {
  26537. var t1 = this._source;
  26538. return t1.get$isEmpty(t1);
  26539. },
  26540. get$isNotEmpty(_) {
  26541. var t1 = this._source;
  26542. return t1.get$isNotEmpty(t1);
  26543. },
  26544. get$entries(_) {
  26545. var t1 = this._source;
  26546. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  26547. }
  26548. };
  26549. A.CastMap_forEach_closure.prototype = {
  26550. call$2(key, value) {
  26551. var t1 = this.$this.$ti;
  26552. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  26553. },
  26554. $signature() {
  26555. return this.$this.$ti._eval$1("~(1,2)");
  26556. }
  26557. };
  26558. A.CastMap_entries_closure.prototype = {
  26559. call$1(e) {
  26560. var t1 = this.$this.$ti,
  26561. t2 = t1._rest[3];
  26562. return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>"));
  26563. },
  26564. $signature() {
  26565. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  26566. }
  26567. };
  26568. A.LateError.prototype = {
  26569. toString$0(_) {
  26570. return "LateInitializationError: " + this._message;
  26571. }
  26572. };
  26573. A.CodeUnits.prototype = {
  26574. get$length(_) {
  26575. return this.__internal$_string.length;
  26576. },
  26577. $index(_, i) {
  26578. return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
  26579. }
  26580. };
  26581. A.nullFuture_closure.prototype = {
  26582. call$0() {
  26583. return A.Future_Future$value(null, type$.Null);
  26584. },
  26585. $signature: 2
  26586. };
  26587. A.SentinelValue.prototype = {};
  26588. A.EfficientLengthIterable.prototype = {};
  26589. A.ListIterable.prototype = {
  26590. get$iterator(_) {
  26591. return new A.ListIterator(this, this.get$length(this));
  26592. },
  26593. get$isEmpty(_) {
  26594. return this.get$length(this) === 0;
  26595. },
  26596. get$first(_) {
  26597. if (this.get$length(this) === 0)
  26598. throw A.wrapException(A.IterableElementError_noElement());
  26599. return this.elementAt$1(0, 0);
  26600. },
  26601. get$last(_) {
  26602. var _this = this;
  26603. if (_this.get$length(_this) === 0)
  26604. throw A.wrapException(A.IterableElementError_noElement());
  26605. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  26606. },
  26607. get$single(_) {
  26608. var _this = this;
  26609. if (_this.get$length(_this) === 0)
  26610. throw A.wrapException(A.IterableElementError_noElement());
  26611. if (_this.get$length(_this) > 1)
  26612. throw A.wrapException(A.IterableElementError_tooMany());
  26613. return _this.elementAt$1(0, 0);
  26614. },
  26615. contains$1(_, element) {
  26616. var i, _this = this,
  26617. $length = _this.get$length(_this);
  26618. for (i = 0; i < $length; ++i) {
  26619. if (J.$eq$(_this.elementAt$1(0, i), element))
  26620. return true;
  26621. if ($length !== _this.get$length(_this))
  26622. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26623. }
  26624. return false;
  26625. },
  26626. every$1(_, test) {
  26627. var i, _this = this,
  26628. $length = _this.get$length(_this);
  26629. for (i = 0; i < $length; ++i) {
  26630. if (!test.call$1(_this.elementAt$1(0, i)))
  26631. return false;
  26632. if ($length !== _this.get$length(_this))
  26633. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26634. }
  26635. return true;
  26636. },
  26637. any$1(_, test) {
  26638. var i, _this = this,
  26639. $length = _this.get$length(_this);
  26640. for (i = 0; i < $length; ++i) {
  26641. if (test.call$1(_this.elementAt$1(0, i)))
  26642. return true;
  26643. if ($length !== _this.get$length(_this))
  26644. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26645. }
  26646. return false;
  26647. },
  26648. join$1(_, separator) {
  26649. var first, t1, i, _this = this,
  26650. $length = _this.get$length(_this);
  26651. if (separator.length !== 0) {
  26652. if ($length === 0)
  26653. return "";
  26654. first = A.S(_this.elementAt$1(0, 0));
  26655. if ($length !== _this.get$length(_this))
  26656. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26657. for (t1 = first, i = 1; i < $length; ++i) {
  26658. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  26659. if ($length !== _this.get$length(_this))
  26660. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26661. }
  26662. return t1.charCodeAt(0) == 0 ? t1 : t1;
  26663. } else {
  26664. for (i = 0, t1 = ""; i < $length; ++i) {
  26665. t1 += A.S(_this.elementAt$1(0, i));
  26666. if ($length !== _this.get$length(_this))
  26667. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26668. }
  26669. return t1.charCodeAt(0) == 0 ? t1 : t1;
  26670. }
  26671. },
  26672. join$0($receiver) {
  26673. return this.join$1($receiver, "");
  26674. },
  26675. where$1(_, test) {
  26676. return this.super$Iterable$where(0, test);
  26677. },
  26678. map$1$1(_, toElement, $T) {
  26679. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  26680. },
  26681. reduce$1(_, combine) {
  26682. var value, i, _this = this,
  26683. $length = _this.get$length(_this);
  26684. if ($length === 0)
  26685. throw A.wrapException(A.IterableElementError_noElement());
  26686. value = _this.elementAt$1(0, 0);
  26687. for (i = 1; i < $length; ++i) {
  26688. value = combine.call$2(value, _this.elementAt$1(0, i));
  26689. if ($length !== _this.get$length(_this))
  26690. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26691. }
  26692. return value;
  26693. },
  26694. fold$1$2(_, initialValue, combine) {
  26695. var value, i, _this = this,
  26696. $length = _this.get$length(_this);
  26697. for (value = initialValue, i = 0; i < $length; ++i) {
  26698. value = combine.call$2(value, _this.elementAt$1(0, i));
  26699. if ($length !== _this.get$length(_this))
  26700. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26701. }
  26702. return value;
  26703. },
  26704. fold$2($receiver, initialValue, combine) {
  26705. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  26706. },
  26707. skip$1(_, count) {
  26708. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  26709. },
  26710. take$1(_, count) {
  26711. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  26712. },
  26713. toList$1$growable(_, growable) {
  26714. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  26715. },
  26716. toList$0($receiver) {
  26717. return this.toList$1$growable($receiver, true);
  26718. },
  26719. toSet$0(_) {
  26720. var i, _this = this,
  26721. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  26722. for (i = 0; i < _this.get$length(_this); ++i)
  26723. result.add$1(0, _this.elementAt$1(0, i));
  26724. return result;
  26725. }
  26726. };
  26727. A.SubListIterable.prototype = {
  26728. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  26729. var endOrLength,
  26730. t1 = this.__internal$_start;
  26731. A.RangeError_checkNotNegative(t1, "start");
  26732. endOrLength = this._endOrLength;
  26733. if (endOrLength != null) {
  26734. A.RangeError_checkNotNegative(endOrLength, "end");
  26735. if (t1 > endOrLength)
  26736. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  26737. }
  26738. },
  26739. get$_endIndex() {
  26740. var $length = J.get$length$asx(this.__internal$_iterable),
  26741. endOrLength = this._endOrLength;
  26742. if (endOrLength == null || endOrLength > $length)
  26743. return $length;
  26744. return endOrLength;
  26745. },
  26746. get$_startIndex() {
  26747. var $length = J.get$length$asx(this.__internal$_iterable),
  26748. t1 = this.__internal$_start;
  26749. if (t1 > $length)
  26750. return $length;
  26751. return t1;
  26752. },
  26753. get$length(_) {
  26754. var endOrLength,
  26755. $length = J.get$length$asx(this.__internal$_iterable),
  26756. t1 = this.__internal$_start;
  26757. if (t1 >= $length)
  26758. return 0;
  26759. endOrLength = this._endOrLength;
  26760. if (endOrLength == null || endOrLength >= $length)
  26761. return $length - t1;
  26762. return endOrLength - t1;
  26763. },
  26764. elementAt$1(_, index) {
  26765. var _this = this,
  26766. realIndex = _this.get$_startIndex() + index;
  26767. if (index < 0 || realIndex >= _this.get$_endIndex())
  26768. throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
  26769. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  26770. },
  26771. skip$1(_, count) {
  26772. var newStart, endOrLength, _this = this;
  26773. A.RangeError_checkNotNegative(count, "count");
  26774. newStart = _this.__internal$_start + count;
  26775. endOrLength = _this._endOrLength;
  26776. if (endOrLength != null && newStart >= endOrLength)
  26777. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  26778. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  26779. },
  26780. take$1(_, count) {
  26781. var endOrLength, t1, newEnd, _this = this;
  26782. A.RangeError_checkNotNegative(count, "count");
  26783. endOrLength = _this._endOrLength;
  26784. t1 = _this.__internal$_start;
  26785. newEnd = t1 + count;
  26786. if (endOrLength == null)
  26787. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  26788. else {
  26789. if (endOrLength < newEnd)
  26790. return _this;
  26791. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  26792. }
  26793. },
  26794. toList$1$growable(_, growable) {
  26795. var $length, result, i, _this = this,
  26796. start = _this.__internal$_start,
  26797. t1 = _this.__internal$_iterable,
  26798. t2 = J.getInterceptor$asx(t1),
  26799. end = t2.get$length(t1),
  26800. endOrLength = _this._endOrLength;
  26801. if (endOrLength != null && endOrLength < end)
  26802. end = endOrLength;
  26803. $length = end - start;
  26804. if ($length <= 0) {
  26805. t1 = _this.$ti._precomputed1;
  26806. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  26807. }
  26808. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  26809. for (i = 1; i < $length; ++i) {
  26810. result[i] = t2.elementAt$1(t1, start + i);
  26811. if (t2.get$length(t1) < end)
  26812. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26813. }
  26814. return result;
  26815. },
  26816. toList$0($receiver) {
  26817. return this.toList$1$growable($receiver, true);
  26818. }
  26819. };
  26820. A.ListIterator.prototype = {
  26821. get$current(_) {
  26822. var t1 = this.__internal$_current;
  26823. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  26824. },
  26825. moveNext$0() {
  26826. var t3, _this = this,
  26827. t1 = _this.__internal$_iterable,
  26828. t2 = J.getInterceptor$asx(t1),
  26829. $length = t2.get$length(t1);
  26830. if (_this.__internal$_length !== $length)
  26831. throw A.wrapException(A.ConcurrentModificationError$(t1));
  26832. t3 = _this.__internal$_index;
  26833. if (t3 >= $length) {
  26834. _this.__internal$_current = null;
  26835. return false;
  26836. }
  26837. _this.__internal$_current = t2.elementAt$1(t1, t3);
  26838. ++_this.__internal$_index;
  26839. return true;
  26840. }
  26841. };
  26842. A.MappedIterable.prototype = {
  26843. get$iterator(_) {
  26844. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  26845. },
  26846. get$length(_) {
  26847. return J.get$length$asx(this.__internal$_iterable);
  26848. },
  26849. get$isEmpty(_) {
  26850. return J.get$isEmpty$asx(this.__internal$_iterable);
  26851. },
  26852. get$first(_) {
  26853. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  26854. },
  26855. get$last(_) {
  26856. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  26857. },
  26858. get$single(_) {
  26859. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  26860. },
  26861. elementAt$1(_, index) {
  26862. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  26863. }
  26864. };
  26865. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  26866. A.MappedIterator.prototype = {
  26867. moveNext$0() {
  26868. var _this = this,
  26869. t1 = _this._iterator;
  26870. if (t1.moveNext$0()) {
  26871. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  26872. return true;
  26873. }
  26874. _this.__internal$_current = null;
  26875. return false;
  26876. },
  26877. get$current(_) {
  26878. var t1 = this.__internal$_current;
  26879. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  26880. }
  26881. };
  26882. A.MappedListIterable.prototype = {
  26883. get$length(_) {
  26884. return J.get$length$asx(this._source);
  26885. },
  26886. elementAt$1(_, index) {
  26887. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  26888. }
  26889. };
  26890. A.WhereIterable.prototype = {
  26891. get$iterator(_) {
  26892. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  26893. },
  26894. map$1$1(_, toElement, $T) {
  26895. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  26896. }
  26897. };
  26898. A.WhereIterator.prototype = {
  26899. moveNext$0() {
  26900. var t1, t2;
  26901. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  26902. if (t2.call$1(t1.get$current(t1)))
  26903. return true;
  26904. return false;
  26905. },
  26906. get$current(_) {
  26907. var t1 = this._iterator;
  26908. return t1.get$current(t1);
  26909. }
  26910. };
  26911. A.ExpandIterable.prototype = {
  26912. get$iterator(_) {
  26913. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
  26914. }
  26915. };
  26916. A.ExpandIterator.prototype = {
  26917. get$current(_) {
  26918. var t1 = this.__internal$_current;
  26919. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  26920. },
  26921. moveNext$0() {
  26922. var t2, t3, _this = this,
  26923. t1 = _this._currentExpansion;
  26924. if (t1 == null)
  26925. return false;
  26926. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  26927. _this.__internal$_current = null;
  26928. if (t2.moveNext$0()) {
  26929. _this._currentExpansion = null;
  26930. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  26931. _this._currentExpansion = t1;
  26932. } else
  26933. return false;
  26934. }
  26935. t1 = _this._currentExpansion;
  26936. _this.__internal$_current = t1.get$current(t1);
  26937. return true;
  26938. }
  26939. };
  26940. A.TakeIterable.prototype = {
  26941. get$iterator(_) {
  26942. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
  26943. }
  26944. };
  26945. A.EfficientLengthTakeIterable.prototype = {
  26946. get$length(_) {
  26947. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  26948. t1 = this._takeCount;
  26949. if (iterableLength > t1)
  26950. return t1;
  26951. return iterableLength;
  26952. },
  26953. $isEfficientLengthIterable: 1
  26954. };
  26955. A.TakeIterator.prototype = {
  26956. moveNext$0() {
  26957. if (--this._remaining >= 0)
  26958. return this._iterator.moveNext$0();
  26959. this._remaining = -1;
  26960. return false;
  26961. },
  26962. get$current(_) {
  26963. var t1;
  26964. if (this._remaining < 0) {
  26965. A._instanceType(this)._precomputed1._as(null);
  26966. return null;
  26967. }
  26968. t1 = this._iterator;
  26969. return t1.get$current(t1);
  26970. }
  26971. };
  26972. A.SkipIterable.prototype = {
  26973. skip$1(_, count) {
  26974. A.ArgumentError_checkNotNull(count, "count");
  26975. A.RangeError_checkNotNegative(count, "count");
  26976. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  26977. },
  26978. get$iterator(_) {
  26979. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  26980. }
  26981. };
  26982. A.EfficientLengthSkipIterable.prototype = {
  26983. get$length(_) {
  26984. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  26985. if ($length >= 0)
  26986. return $length;
  26987. return 0;
  26988. },
  26989. skip$1(_, count) {
  26990. A.ArgumentError_checkNotNull(count, "count");
  26991. A.RangeError_checkNotNegative(count, "count");
  26992. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  26993. },
  26994. $isEfficientLengthIterable: 1
  26995. };
  26996. A.SkipIterator.prototype = {
  26997. moveNext$0() {
  26998. var t1, i;
  26999. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  27000. t1.moveNext$0();
  27001. this._skipCount = 0;
  27002. return t1.moveNext$0();
  27003. },
  27004. get$current(_) {
  27005. var t1 = this._iterator;
  27006. return t1.get$current(t1);
  27007. }
  27008. };
  27009. A.SkipWhileIterable.prototype = {
  27010. get$iterator(_) {
  27011. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27012. }
  27013. };
  27014. A.SkipWhileIterator.prototype = {
  27015. moveNext$0() {
  27016. var t1, t2, _this = this;
  27017. if (!_this._hasSkipped) {
  27018. _this._hasSkipped = true;
  27019. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  27020. if (!t2.call$1(t1.get$current(t1)))
  27021. return true;
  27022. }
  27023. return _this._iterator.moveNext$0();
  27024. },
  27025. get$current(_) {
  27026. var t1 = this._iterator;
  27027. return t1.get$current(t1);
  27028. }
  27029. };
  27030. A.EmptyIterable.prototype = {
  27031. get$iterator(_) {
  27032. return B.C_EmptyIterator;
  27033. },
  27034. get$isEmpty(_) {
  27035. return true;
  27036. },
  27037. get$length(_) {
  27038. return 0;
  27039. },
  27040. get$first(_) {
  27041. throw A.wrapException(A.IterableElementError_noElement());
  27042. },
  27043. get$last(_) {
  27044. throw A.wrapException(A.IterableElementError_noElement());
  27045. },
  27046. get$single(_) {
  27047. throw A.wrapException(A.IterableElementError_noElement());
  27048. },
  27049. elementAt$1(_, index) {
  27050. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  27051. },
  27052. contains$1(_, element) {
  27053. return false;
  27054. },
  27055. every$1(_, test) {
  27056. return true;
  27057. },
  27058. join$1(_, separator) {
  27059. return "";
  27060. },
  27061. join$0($receiver) {
  27062. return this.join$1($receiver, "");
  27063. },
  27064. where$1(_, test) {
  27065. return this;
  27066. },
  27067. map$1$1(_, toElement, $T) {
  27068. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  27069. },
  27070. skip$1(_, count) {
  27071. A.RangeError_checkNotNegative(count, "count");
  27072. return this;
  27073. },
  27074. take$1(_, count) {
  27075. A.RangeError_checkNotNegative(count, "count");
  27076. return this;
  27077. },
  27078. toList$1$growable(_, growable) {
  27079. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  27080. return t1;
  27081. },
  27082. toList$0($receiver) {
  27083. return this.toList$1$growable($receiver, true);
  27084. },
  27085. toSet$0(_) {
  27086. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  27087. }
  27088. };
  27089. A.EmptyIterator.prototype = {
  27090. moveNext$0() {
  27091. return false;
  27092. },
  27093. get$current(_) {
  27094. throw A.wrapException(A.IterableElementError_noElement());
  27095. }
  27096. };
  27097. A.FollowedByIterable.prototype = {
  27098. get$iterator(_) {
  27099. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  27100. },
  27101. get$length(_) {
  27102. var t1 = this._second;
  27103. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  27104. },
  27105. get$isEmpty(_) {
  27106. var t1;
  27107. if (J.get$isEmpty$asx(this.__internal$_first)) {
  27108. t1 = this._second;
  27109. t1 = t1.get$isEmpty(t1);
  27110. } else
  27111. t1 = false;
  27112. return t1;
  27113. },
  27114. get$isNotEmpty(_) {
  27115. var t1;
  27116. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  27117. t1 = this._second;
  27118. t1 = t1.get$isNotEmpty(t1);
  27119. } else
  27120. t1 = true;
  27121. return t1;
  27122. },
  27123. contains$1(_, value) {
  27124. return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
  27125. },
  27126. get$first(_) {
  27127. var t1,
  27128. iterator = J.get$iterator$ax(this.__internal$_first);
  27129. if (iterator.moveNext$0())
  27130. return iterator.get$current(iterator);
  27131. t1 = this._second;
  27132. return t1.get$first(t1);
  27133. },
  27134. get$last(_) {
  27135. var last,
  27136. t1 = this._second,
  27137. iterator = t1.get$iterator(t1);
  27138. if (iterator.moveNext$0()) {
  27139. last = iterator.get$current(iterator);
  27140. for (; iterator.moveNext$0();)
  27141. last = iterator.get$current(iterator);
  27142. return last;
  27143. }
  27144. return J.get$last$ax(this.__internal$_first);
  27145. }
  27146. };
  27147. A.EfficientLengthFollowedByIterable.prototype = {
  27148. elementAt$1(_, index) {
  27149. var t1 = this.__internal$_first,
  27150. t2 = J.getInterceptor$asx(t1),
  27151. firstLength = t2.get$length(t1);
  27152. if (index < firstLength)
  27153. return t2.elementAt$1(t1, index);
  27154. return this._second.elementAt$1(0, index - firstLength);
  27155. },
  27156. get$first(_) {
  27157. var t1 = this.__internal$_first,
  27158. t2 = J.getInterceptor$asx(t1);
  27159. if (t2.get$isNotEmpty(t1))
  27160. return t2.get$first(t1);
  27161. t1 = this._second;
  27162. return t1.get$first(t1);
  27163. },
  27164. get$last(_) {
  27165. var t1 = this._second;
  27166. if (t1.get$isNotEmpty(t1))
  27167. return t1.get$last(t1);
  27168. return J.get$last$ax(this.__internal$_first);
  27169. },
  27170. $isEfficientLengthIterable: 1
  27171. };
  27172. A.FollowedByIterator.prototype = {
  27173. moveNext$0() {
  27174. var t1, _this = this;
  27175. if (_this._currentIterator.moveNext$0())
  27176. return true;
  27177. t1 = _this._nextIterable;
  27178. if (t1 != null) {
  27179. t1 = t1.get$iterator(t1);
  27180. _this._currentIterator = t1;
  27181. _this._nextIterable = null;
  27182. return t1.moveNext$0();
  27183. }
  27184. return false;
  27185. },
  27186. get$current(_) {
  27187. var t1 = this._currentIterator;
  27188. return t1.get$current(t1);
  27189. }
  27190. };
  27191. A.WhereTypeIterable.prototype = {
  27192. get$iterator(_) {
  27193. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  27194. }
  27195. };
  27196. A.WhereTypeIterator.prototype = {
  27197. moveNext$0() {
  27198. var t1, t2;
  27199. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  27200. if (t2._is(t1.get$current(t1)))
  27201. return true;
  27202. return false;
  27203. },
  27204. get$current(_) {
  27205. var t1 = this._source;
  27206. return this.$ti._precomputed1._as(t1.get$current(t1));
  27207. }
  27208. };
  27209. A.FixedLengthListMixin.prototype = {
  27210. set$length(receiver, newLength) {
  27211. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  27212. },
  27213. add$1(receiver, value) {
  27214. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  27215. }
  27216. };
  27217. A.UnmodifiableListMixin.prototype = {
  27218. $indexSet(_, index, value) {
  27219. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27220. },
  27221. set$length(_, newLength) {
  27222. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  27223. },
  27224. add$1(_, value) {
  27225. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  27226. },
  27227. sort$1(_, compare) {
  27228. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27229. },
  27230. setRange$4(_, start, end, iterable, skipCount) {
  27231. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27232. },
  27233. fillRange$3(_, start, end, fillValue) {
  27234. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27235. }
  27236. };
  27237. A.UnmodifiableListBase.prototype = {};
  27238. A.ReversedListIterable.prototype = {
  27239. get$length(_) {
  27240. return J.get$length$asx(this._source);
  27241. },
  27242. elementAt$1(_, index) {
  27243. var t1 = this._source,
  27244. t2 = J.getInterceptor$asx(t1);
  27245. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  27246. }
  27247. };
  27248. A.Symbol.prototype = {
  27249. get$hashCode(_) {
  27250. var hash = this._hashCode;
  27251. if (hash != null)
  27252. return hash;
  27253. hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
  27254. this._hashCode = hash;
  27255. return hash;
  27256. },
  27257. toString$0(_) {
  27258. return 'Symbol("' + A.S(this.__internal$_name) + '")';
  27259. },
  27260. $eq(_, other) {
  27261. if (other == null)
  27262. return false;
  27263. return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
  27264. },
  27265. $isSymbol0: 1
  27266. };
  27267. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  27268. A.ConstantMapView.prototype = {};
  27269. A.ConstantMap.prototype = {
  27270. cast$2$0(_, RK, RV) {
  27271. var t1 = A._instanceType(this);
  27272. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  27273. },
  27274. get$isEmpty(_) {
  27275. return this.get$length(this) === 0;
  27276. },
  27277. get$isNotEmpty(_) {
  27278. return this.get$length(this) !== 0;
  27279. },
  27280. toString$0(_) {
  27281. return A.MapBase_mapToString(this);
  27282. },
  27283. $indexSet(_, key, val) {
  27284. A.ConstantMap__throwUnmodifiable();
  27285. },
  27286. remove$1(_, key) {
  27287. A.ConstantMap__throwUnmodifiable();
  27288. },
  27289. addAll$1(_, other) {
  27290. A.ConstantMap__throwUnmodifiable();
  27291. },
  27292. get$entries(_) {
  27293. return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
  27294. },
  27295. entries$body$ConstantMap($async$_, $async$type) {
  27296. var $async$self = this;
  27297. return A._makeSyncStarIterable(function() {
  27298. var _ = $async$_;
  27299. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  27300. return function $async$get$entries($async$errorCode, $async$result) {
  27301. if ($async$errorCode === 1) {
  27302. $async$currentError = $async$result;
  27303. $async$goto = $async$handler;
  27304. }
  27305. while (true)
  27306. switch ($async$goto) {
  27307. case 0:
  27308. // Function start
  27309. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>");
  27310. case 2:
  27311. // for condition
  27312. if (!t1.moveNext$0()) {
  27313. // goto after for
  27314. $async$goto = 3;
  27315. break;
  27316. }
  27317. key = t1.get$current(t1);
  27318. $async$goto = 4;
  27319. return new A.MapEntry(key, $async$self.$index(0, key), t2);
  27320. case 4:
  27321. // after yield
  27322. // goto for condition
  27323. $async$goto = 2;
  27324. break;
  27325. case 3:
  27326. // after for
  27327. // implicit return
  27328. return A._IterationMarker_endOfIteration();
  27329. case 1:
  27330. // rethrow
  27331. return A._IterationMarker_uncaughtError($async$currentError);
  27332. }
  27333. };
  27334. }, $async$type);
  27335. },
  27336. $isMap: 1
  27337. };
  27338. A.ConstantStringMap.prototype = {
  27339. get$length(_) {
  27340. return this.__js_helper$_length;
  27341. },
  27342. containsKey$1(key) {
  27343. if (typeof key != "string")
  27344. return false;
  27345. if ("__proto__" === key)
  27346. return false;
  27347. return this._jsObject.hasOwnProperty(key);
  27348. },
  27349. $index(_, key) {
  27350. if (!this.containsKey$1(key))
  27351. return null;
  27352. return this._jsObject[key];
  27353. },
  27354. forEach$1(_, f) {
  27355. var t1, t2, i, key,
  27356. keys = this.__js_helper$_keys;
  27357. for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
  27358. key = keys[i];
  27359. f.call$2(key, t2[key]);
  27360. }
  27361. },
  27362. get$keys(_) {
  27363. return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
  27364. },
  27365. get$values(_) {
  27366. var t1 = this.$ti;
  27367. return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  27368. }
  27369. };
  27370. A.ConstantStringMap_values_closure.prototype = {
  27371. call$1(key) {
  27372. return this.$this._jsObject[key];
  27373. },
  27374. $signature() {
  27375. return this.$this.$ti._eval$1("2(1)");
  27376. }
  27377. };
  27378. A._ConstantMapKeyIterable.prototype = {
  27379. get$iterator(_) {
  27380. var t1 = this.__js_helper$_map.__js_helper$_keys;
  27381. return new J.ArrayIterator(t1, t1.length);
  27382. },
  27383. get$length(_) {
  27384. return this.__js_helper$_map.__js_helper$_keys.length;
  27385. }
  27386. };
  27387. A.GeneralConstantMap.prototype = {
  27388. _getMap$0() {
  27389. var t1, t2, t3, _this = this,
  27390. backingMap = _this.$map;
  27391. if (backingMap == null) {
  27392. t1 = _this.$ti;
  27393. t2 = t1._precomputed1;
  27394. t3 = A.GeneralConstantMap__typeTest(t2);
  27395. backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]);
  27396. A.fillLiteralMap(_this._jsData, backingMap);
  27397. _this.$map = backingMap;
  27398. }
  27399. return backingMap;
  27400. },
  27401. containsKey$1(key) {
  27402. return this._getMap$0().containsKey$1(key);
  27403. },
  27404. $index(_, key) {
  27405. return this._getMap$0().$index(0, key);
  27406. },
  27407. forEach$1(_, f) {
  27408. this._getMap$0().forEach$1(0, f);
  27409. },
  27410. get$keys(_) {
  27411. var t1 = this._getMap$0();
  27412. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  27413. },
  27414. get$values(_) {
  27415. var t1 = this._getMap$0();
  27416. return t1.get$values(t1);
  27417. },
  27418. get$length(_) {
  27419. return this._getMap$0().__js_helper$_length;
  27420. }
  27421. };
  27422. A.GeneralConstantMap__typeTest_closure.prototype = {
  27423. call$1(o) {
  27424. return this.T._is(o);
  27425. },
  27426. $signature: 9
  27427. };
  27428. A.Instantiation.prototype = {
  27429. Instantiation$1(_genericClosure) {
  27430. if (false)
  27431. A.instantiatedGenericFunctionType(0, 0);
  27432. },
  27433. $eq(_, other) {
  27434. if (other == null)
  27435. return false;
  27436. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
  27437. },
  27438. get$hashCode(_) {
  27439. return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
  27440. },
  27441. toString$0(_) {
  27442. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  27443. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  27444. }
  27445. };
  27446. A.Instantiation1.prototype = {
  27447. get$_types() {
  27448. return [A.createRuntimeType(this.$ti._precomputed1)];
  27449. },
  27450. call$0() {
  27451. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  27452. },
  27453. call$2(a0, a1) {
  27454. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  27455. },
  27456. call$3(a0, a1, a2) {
  27457. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  27458. },
  27459. call$4(a0, a1, a2, a3) {
  27460. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  27461. },
  27462. $signature() {
  27463. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  27464. }
  27465. };
  27466. A.JSInvocationMirror.prototype = {
  27467. get$memberName() {
  27468. var t1 = this.__js_helper$_memberName;
  27469. return t1;
  27470. },
  27471. get$positionalArguments() {
  27472. var t1, argumentCount, list, index, _this = this;
  27473. if (_this.__js_helper$_kind === 1)
  27474. return B.List_empty11;
  27475. t1 = _this._arguments;
  27476. argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
  27477. if (argumentCount === 0)
  27478. return B.List_empty11;
  27479. list = [];
  27480. for (index = 0; index < argumentCount; ++index)
  27481. list.push(t1[index]);
  27482. return J.JSArray_markUnmodifiableList(list);
  27483. },
  27484. get$namedArguments() {
  27485. var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
  27486. if (_this.__js_helper$_kind !== 0)
  27487. return B.Map_empty4;
  27488. t1 = _this._namedArgumentNames;
  27489. namedArgumentCount = t1.length;
  27490. t2 = _this._arguments;
  27491. namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
  27492. if (namedArgumentCount === 0)
  27493. return B.Map_empty4;
  27494. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  27495. for (i = 0; i < namedArgumentCount; ++i)
  27496. map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
  27497. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  27498. }
  27499. };
  27500. A.Primitives_functionNoSuchMethod_closure.prototype = {
  27501. call$2($name, argument) {
  27502. var t1 = this._box_0;
  27503. t1.names = t1.names + "$" + $name;
  27504. this.namedArgumentList.push($name);
  27505. this.$arguments.push(argument);
  27506. ++t1.argumentCount;
  27507. },
  27508. $signature: 225
  27509. };
  27510. A.TypeErrorDecoder.prototype = {
  27511. matchTypeError$1(message) {
  27512. var result, t1, _this = this,
  27513. match = new RegExp(_this._pattern).exec(message);
  27514. if (match == null)
  27515. return null;
  27516. result = Object.create(null);
  27517. t1 = _this._arguments;
  27518. if (t1 !== -1)
  27519. result.arguments = match[t1 + 1];
  27520. t1 = _this._argumentsExpr;
  27521. if (t1 !== -1)
  27522. result.argumentsExpr = match[t1 + 1];
  27523. t1 = _this._expr;
  27524. if (t1 !== -1)
  27525. result.expr = match[t1 + 1];
  27526. t1 = _this._method;
  27527. if (t1 !== -1)
  27528. result.method = match[t1 + 1];
  27529. t1 = _this._receiver;
  27530. if (t1 !== -1)
  27531. result.receiver = match[t1 + 1];
  27532. return result;
  27533. }
  27534. };
  27535. A.NullError.prototype = {
  27536. toString$0(_) {
  27537. var t1 = this._method;
  27538. if (t1 == null)
  27539. return "NoSuchMethodError: " + this.__js_helper$_message;
  27540. return "NoSuchMethodError: method not found: '" + t1 + "' on null";
  27541. }
  27542. };
  27543. A.JsNoSuchMethodError.prototype = {
  27544. toString$0(_) {
  27545. var t2, _this = this,
  27546. _s38_ = "NoSuchMethodError: method not found: '",
  27547. t1 = _this._method;
  27548. if (t1 == null)
  27549. return "NoSuchMethodError: " + _this.__js_helper$_message;
  27550. t2 = _this._receiver;
  27551. if (t2 == null)
  27552. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  27553. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  27554. }
  27555. };
  27556. A.UnknownJsTypeError.prototype = {
  27557. toString$0(_) {
  27558. var t1 = this.__js_helper$_message;
  27559. return t1.length === 0 ? "Error" : "Error: " + t1;
  27560. }
  27561. };
  27562. A.NullThrownFromJavaScriptException.prototype = {
  27563. toString$0(_) {
  27564. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  27565. },
  27566. $isException: 1
  27567. };
  27568. A.ExceptionAndStackTrace.prototype = {};
  27569. A._StackTrace.prototype = {
  27570. toString$0(_) {
  27571. var trace,
  27572. t1 = this._trace;
  27573. if (t1 != null)
  27574. return t1;
  27575. t1 = this._exception;
  27576. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  27577. return this._trace = trace == null ? "" : trace;
  27578. },
  27579. $isStackTrace: 1
  27580. };
  27581. A.Closure.prototype = {
  27582. toString$0(_) {
  27583. var $constructor = this.constructor,
  27584. $name = $constructor == null ? null : $constructor.name;
  27585. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  27586. },
  27587. $isFunction: 1,
  27588. get$$call() {
  27589. return this;
  27590. },
  27591. "call*": "call$1",
  27592. $requiredArgCount: 1,
  27593. $defaultValues: null
  27594. };
  27595. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  27596. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  27597. A.TearOffClosure.prototype = {};
  27598. A.StaticClosure.prototype = {
  27599. toString$0(_) {
  27600. var $name = this.$static_name;
  27601. if ($name == null)
  27602. return "Closure of unknown static method";
  27603. return "Closure '" + A.unminifyOrTag($name) + "'";
  27604. }
  27605. };
  27606. A.BoundClosure.prototype = {
  27607. $eq(_, other) {
  27608. if (other == null)
  27609. return false;
  27610. if (this === other)
  27611. return true;
  27612. if (!(other instanceof A.BoundClosure))
  27613. return false;
  27614. return this.$_target === other.$_target && this._receiver === other._receiver;
  27615. },
  27616. get$hashCode(_) {
  27617. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  27618. },
  27619. toString$0(_) {
  27620. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  27621. }
  27622. };
  27623. A.RuntimeError.prototype = {
  27624. toString$0(_) {
  27625. return "RuntimeError: " + this.message;
  27626. },
  27627. get$message(receiver) {
  27628. return this.message;
  27629. }
  27630. };
  27631. A._Required.prototype = {};
  27632. A.JsLinkedHashMap.prototype = {
  27633. get$length(_) {
  27634. return this.__js_helper$_length;
  27635. },
  27636. get$isEmpty(_) {
  27637. return this.__js_helper$_length === 0;
  27638. },
  27639. get$isNotEmpty(_) {
  27640. return this.__js_helper$_length !== 0;
  27641. },
  27642. get$keys(_) {
  27643. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  27644. },
  27645. get$values(_) {
  27646. var t1 = A._instanceType(this);
  27647. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  27648. },
  27649. containsKey$1(key) {
  27650. var strings, nums;
  27651. if (typeof key == "string") {
  27652. strings = this._strings;
  27653. if (strings == null)
  27654. return false;
  27655. return strings[key] != null;
  27656. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27657. nums = this._nums;
  27658. if (nums == null)
  27659. return false;
  27660. return nums[key] != null;
  27661. } else
  27662. return this.internalContainsKey$1(key);
  27663. },
  27664. internalContainsKey$1(key) {
  27665. var rest = this.__js_helper$_rest;
  27666. if (rest == null)
  27667. return false;
  27668. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  27669. },
  27670. addAll$1(_, other) {
  27671. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  27672. },
  27673. $index(_, key) {
  27674. var strings, cell, t1, nums, _null = null;
  27675. if (typeof key == "string") {
  27676. strings = this._strings;
  27677. if (strings == null)
  27678. return _null;
  27679. cell = strings[key];
  27680. t1 = cell == null ? _null : cell.hashMapCellValue;
  27681. return t1;
  27682. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27683. nums = this._nums;
  27684. if (nums == null)
  27685. return _null;
  27686. cell = nums[key];
  27687. t1 = cell == null ? _null : cell.hashMapCellValue;
  27688. return t1;
  27689. } else
  27690. return this.internalGet$1(key);
  27691. },
  27692. internalGet$1(key) {
  27693. var bucket, index,
  27694. rest = this.__js_helper$_rest;
  27695. if (rest == null)
  27696. return null;
  27697. bucket = rest[this.internalComputeHashCode$1(key)];
  27698. index = this.internalFindBucketIndex$2(bucket, key);
  27699. if (index < 0)
  27700. return null;
  27701. return bucket[index].hashMapCellValue;
  27702. },
  27703. $indexSet(_, key, value) {
  27704. var strings, nums, _this = this;
  27705. if (typeof key == "string") {
  27706. strings = _this._strings;
  27707. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  27708. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27709. nums = _this._nums;
  27710. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  27711. } else
  27712. _this.internalSet$2(key, value);
  27713. },
  27714. internalSet$2(key, value) {
  27715. var hash, bucket, index, _this = this,
  27716. rest = _this.__js_helper$_rest;
  27717. if (rest == null)
  27718. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  27719. hash = _this.internalComputeHashCode$1(key);
  27720. bucket = rest[hash];
  27721. if (bucket == null)
  27722. rest[hash] = [_this._newLinkedCell$2(key, value)];
  27723. else {
  27724. index = _this.internalFindBucketIndex$2(bucket, key);
  27725. if (index >= 0)
  27726. bucket[index].hashMapCellValue = value;
  27727. else
  27728. bucket.push(_this._newLinkedCell$2(key, value));
  27729. }
  27730. },
  27731. putIfAbsent$2(key, ifAbsent) {
  27732. var t1, value, _this = this;
  27733. if (_this.containsKey$1(key)) {
  27734. t1 = _this.$index(0, key);
  27735. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  27736. }
  27737. value = ifAbsent.call$0();
  27738. _this.$indexSet(0, key, value);
  27739. return value;
  27740. },
  27741. remove$1(_, key) {
  27742. var _this = this;
  27743. if (typeof key == "string")
  27744. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  27745. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  27746. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  27747. else
  27748. return _this.internalRemove$1(key);
  27749. },
  27750. internalRemove$1(key) {
  27751. var hash, bucket, index, cell, _this = this,
  27752. rest = _this.__js_helper$_rest;
  27753. if (rest == null)
  27754. return null;
  27755. hash = _this.internalComputeHashCode$1(key);
  27756. bucket = rest[hash];
  27757. index = _this.internalFindBucketIndex$2(bucket, key);
  27758. if (index < 0)
  27759. return null;
  27760. cell = bucket.splice(index, 1)[0];
  27761. _this.__js_helper$_unlinkCell$1(cell);
  27762. if (bucket.length === 0)
  27763. delete rest[hash];
  27764. return cell.hashMapCellValue;
  27765. },
  27766. clear$0(_) {
  27767. var _this = this;
  27768. if (_this.__js_helper$_length > 0) {
  27769. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  27770. _this.__js_helper$_length = 0;
  27771. _this._modified$0();
  27772. }
  27773. },
  27774. forEach$1(_, action) {
  27775. var _this = this,
  27776. cell = _this._first,
  27777. modifications = _this._modifications;
  27778. for (; cell != null;) {
  27779. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  27780. if (modifications !== _this._modifications)
  27781. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27782. cell = cell._next;
  27783. }
  27784. },
  27785. _addHashTableEntry$3(table, key, value) {
  27786. var cell = table[key];
  27787. if (cell == null)
  27788. table[key] = this._newLinkedCell$2(key, value);
  27789. else
  27790. cell.hashMapCellValue = value;
  27791. },
  27792. __js_helper$_removeHashTableEntry$2(table, key) {
  27793. var cell;
  27794. if (table == null)
  27795. return null;
  27796. cell = table[key];
  27797. if (cell == null)
  27798. return null;
  27799. this.__js_helper$_unlinkCell$1(cell);
  27800. delete table[key];
  27801. return cell.hashMapCellValue;
  27802. },
  27803. _modified$0() {
  27804. this._modifications = this._modifications + 1 & 1073741823;
  27805. },
  27806. _newLinkedCell$2(key, value) {
  27807. var t1, _this = this,
  27808. cell = new A.LinkedHashMapCell(key, value);
  27809. if (_this._first == null)
  27810. _this._first = _this._last = cell;
  27811. else {
  27812. t1 = _this._last;
  27813. t1.toString;
  27814. cell._previous = t1;
  27815. _this._last = t1._next = cell;
  27816. }
  27817. ++_this.__js_helper$_length;
  27818. _this._modified$0();
  27819. return cell;
  27820. },
  27821. __js_helper$_unlinkCell$1(cell) {
  27822. var _this = this,
  27823. previous = cell._previous,
  27824. next = cell._next;
  27825. if (previous == null)
  27826. _this._first = next;
  27827. else
  27828. previous._next = next;
  27829. if (next == null)
  27830. _this._last = previous;
  27831. else
  27832. next._previous = previous;
  27833. --_this.__js_helper$_length;
  27834. _this._modified$0();
  27835. },
  27836. internalComputeHashCode$1(key) {
  27837. return J.get$hashCode$(key) & 0x3fffffff;
  27838. },
  27839. internalFindBucketIndex$2(bucket, key) {
  27840. var $length, i;
  27841. if (bucket == null)
  27842. return -1;
  27843. $length = bucket.length;
  27844. for (i = 0; i < $length; ++i)
  27845. if (J.$eq$(bucket[i].hashMapCellKey, key))
  27846. return i;
  27847. return -1;
  27848. },
  27849. toString$0(_) {
  27850. return A.MapBase_mapToString(this);
  27851. },
  27852. _newHashTable$0() {
  27853. var table = Object.create(null);
  27854. table["<non-identifier-key>"] = table;
  27855. delete table["<non-identifier-key>"];
  27856. return table;
  27857. }
  27858. };
  27859. A.JsLinkedHashMap_values_closure.prototype = {
  27860. call$1(each) {
  27861. var t1 = this.$this,
  27862. t2 = t1.$index(0, each);
  27863. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  27864. },
  27865. $signature() {
  27866. return A._instanceType(this.$this)._eval$1("2(1)");
  27867. }
  27868. };
  27869. A.JsLinkedHashMap_addAll_closure.prototype = {
  27870. call$2(key, value) {
  27871. this.$this.$indexSet(0, key, value);
  27872. },
  27873. $signature() {
  27874. return A._instanceType(this.$this)._eval$1("~(1,2)");
  27875. }
  27876. };
  27877. A.LinkedHashMapCell.prototype = {};
  27878. A.LinkedHashMapKeyIterable.prototype = {
  27879. get$length(_) {
  27880. return this.__js_helper$_map.__js_helper$_length;
  27881. },
  27882. get$isEmpty(_) {
  27883. return this.__js_helper$_map.__js_helper$_length === 0;
  27884. },
  27885. get$iterator(_) {
  27886. var t1 = this.__js_helper$_map,
  27887. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  27888. t2._cell = t1._first;
  27889. return t2;
  27890. },
  27891. contains$1(_, element) {
  27892. return this.__js_helper$_map.containsKey$1(element);
  27893. }
  27894. };
  27895. A.LinkedHashMapKeyIterator.prototype = {
  27896. get$current(_) {
  27897. return this.__js_helper$_current;
  27898. },
  27899. moveNext$0() {
  27900. var cell, _this = this,
  27901. t1 = _this.__js_helper$_map;
  27902. if (_this._modifications !== t1._modifications)
  27903. throw A.wrapException(A.ConcurrentModificationError$(t1));
  27904. cell = _this._cell;
  27905. if (cell == null) {
  27906. _this.__js_helper$_current = null;
  27907. return false;
  27908. } else {
  27909. _this.__js_helper$_current = cell.hashMapCellKey;
  27910. _this._cell = cell._next;
  27911. return true;
  27912. }
  27913. }
  27914. };
  27915. A.initHooks_closure.prototype = {
  27916. call$1(o) {
  27917. return this.getTag(o);
  27918. },
  27919. $signature: 94
  27920. };
  27921. A.initHooks_closure0.prototype = {
  27922. call$2(o, tag) {
  27923. return this.getUnknownTag(o, tag);
  27924. },
  27925. $signature: 519
  27926. };
  27927. A.initHooks_closure1.prototype = {
  27928. call$1(tag) {
  27929. return this.prototypeForTag(tag);
  27930. },
  27931. $signature: 354
  27932. };
  27933. A.JSSyntaxRegExp.prototype = {
  27934. toString$0(_) {
  27935. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  27936. },
  27937. get$_nativeGlobalVersion() {
  27938. var _this = this,
  27939. t1 = _this._nativeGlobalRegExp;
  27940. if (t1 != null)
  27941. return t1;
  27942. t1 = _this._nativeRegExp;
  27943. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  27944. },
  27945. get$_nativeAnchoredVersion() {
  27946. var _this = this,
  27947. t1 = _this._nativeAnchoredRegExp;
  27948. if (t1 != null)
  27949. return t1;
  27950. t1 = _this._nativeRegExp;
  27951. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  27952. },
  27953. firstMatch$1(string) {
  27954. var m = this._nativeRegExp.exec(string);
  27955. if (m == null)
  27956. return null;
  27957. return new A._MatchImplementation(m);
  27958. },
  27959. allMatches$2(_, string, start) {
  27960. var t1 = string.length;
  27961. if (start > t1)
  27962. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  27963. return new A._AllMatchesIterable(this, string, start);
  27964. },
  27965. allMatches$1($receiver, string) {
  27966. return this.allMatches$2($receiver, string, 0);
  27967. },
  27968. _execGlobal$2(string, start) {
  27969. var match,
  27970. regexp = this.get$_nativeGlobalVersion();
  27971. regexp.lastIndex = start;
  27972. match = regexp.exec(string);
  27973. if (match == null)
  27974. return null;
  27975. return new A._MatchImplementation(match);
  27976. },
  27977. _execAnchored$2(string, start) {
  27978. var match,
  27979. regexp = this.get$_nativeAnchoredVersion();
  27980. regexp.lastIndex = start;
  27981. match = regexp.exec(string);
  27982. if (match == null)
  27983. return null;
  27984. if (match.pop() != null)
  27985. return null;
  27986. return new A._MatchImplementation(match);
  27987. },
  27988. matchAsPrefix$2(_, string, start) {
  27989. if (start < 0 || start > string.length)
  27990. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  27991. return this._execAnchored$2(string, start);
  27992. }
  27993. };
  27994. A._MatchImplementation.prototype = {
  27995. get$start(_) {
  27996. return this._match.index;
  27997. },
  27998. get$end(_) {
  27999. var t1 = this._match;
  28000. return t1.index + t1[0].length;
  28001. },
  28002. $isMatch: 1,
  28003. $isRegExpMatch: 1
  28004. };
  28005. A._AllMatchesIterable.prototype = {
  28006. get$iterator(_) {
  28007. return new A._AllMatchesIterator(this._re, this._string, this._start);
  28008. }
  28009. };
  28010. A._AllMatchesIterator.prototype = {
  28011. get$current(_) {
  28012. var t1 = this.__js_helper$_current;
  28013. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  28014. },
  28015. moveNext$0() {
  28016. var t1, t2, t3, match, nextIndex, _this = this,
  28017. string = _this._string;
  28018. if (string == null)
  28019. return false;
  28020. t1 = _this._nextIndex;
  28021. t2 = string.length;
  28022. if (t1 <= t2) {
  28023. t3 = _this._regExp;
  28024. match = t3._execGlobal$2(string, t1);
  28025. if (match != null) {
  28026. _this.__js_helper$_current = match;
  28027. nextIndex = match.get$end(match);
  28028. if (match._match.index === nextIndex) {
  28029. if (t3._nativeRegExp.unicode) {
  28030. t1 = _this._nextIndex;
  28031. t3 = t1 + 1;
  28032. if (t3 < t2) {
  28033. t1 = B.JSString_methods.codeUnitAt$1(string, t1);
  28034. if (t1 >= 55296 && t1 <= 56319) {
  28035. t1 = B.JSString_methods.codeUnitAt$1(string, t3);
  28036. t1 = t1 >= 56320 && t1 <= 57343;
  28037. } else
  28038. t1 = false;
  28039. } else
  28040. t1 = false;
  28041. } else
  28042. t1 = false;
  28043. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  28044. }
  28045. _this._nextIndex = nextIndex;
  28046. return true;
  28047. }
  28048. }
  28049. _this._string = _this.__js_helper$_current = null;
  28050. return false;
  28051. }
  28052. };
  28053. A.StringMatch.prototype = {
  28054. get$end(_) {
  28055. return this.start + this.pattern.length;
  28056. },
  28057. $isMatch: 1,
  28058. get$start(receiver) {
  28059. return this.start;
  28060. }
  28061. };
  28062. A._StringAllMatchesIterable.prototype = {
  28063. get$iterator(_) {
  28064. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  28065. },
  28066. get$first(_) {
  28067. var t1 = this._pattern,
  28068. index = this._input.indexOf(t1, this.__js_helper$_index);
  28069. if (index >= 0)
  28070. return new A.StringMatch(index, t1);
  28071. throw A.wrapException(A.IterableElementError_noElement());
  28072. }
  28073. };
  28074. A._StringAllMatchesIterator.prototype = {
  28075. moveNext$0() {
  28076. var index, end, _this = this,
  28077. t1 = _this.__js_helper$_index,
  28078. t2 = _this._pattern,
  28079. t3 = t2.length,
  28080. t4 = _this._input,
  28081. t5 = t4.length;
  28082. if (t1 + t3 > t5) {
  28083. _this.__js_helper$_current = null;
  28084. return false;
  28085. }
  28086. index = t4.indexOf(t2, t1);
  28087. if (index < 0) {
  28088. _this.__js_helper$_index = t5 + 1;
  28089. _this.__js_helper$_current = null;
  28090. return false;
  28091. }
  28092. end = index + t3;
  28093. _this.__js_helper$_current = new A.StringMatch(index, t2);
  28094. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  28095. return true;
  28096. },
  28097. get$current(_) {
  28098. var t1 = this.__js_helper$_current;
  28099. t1.toString;
  28100. return t1;
  28101. }
  28102. };
  28103. A._Cell.prototype = {
  28104. _readLocal$0() {
  28105. var t1 = this._value;
  28106. if (t1 === this)
  28107. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28108. return t1;
  28109. }
  28110. };
  28111. A.NativeTypedData.prototype = {
  28112. _invalidPosition$3(receiver, position, $length, $name) {
  28113. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  28114. throw A.wrapException(t1);
  28115. },
  28116. _checkPosition$3(receiver, position, $length, $name) {
  28117. if (position >>> 0 !== position || position > $length)
  28118. this._invalidPosition$3(receiver, position, $length, $name);
  28119. }
  28120. };
  28121. A.NativeTypedArray.prototype = {
  28122. get$length(receiver) {
  28123. return receiver.length;
  28124. },
  28125. _setRangeFast$4(receiver, start, end, source, skipCount) {
  28126. var count, sourceLength,
  28127. targetLength = receiver.length;
  28128. this._checkPosition$3(receiver, start, targetLength, "start");
  28129. this._checkPosition$3(receiver, end, targetLength, "end");
  28130. if (start > end)
  28131. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  28132. count = end - start;
  28133. if (skipCount < 0)
  28134. throw A.wrapException(A.ArgumentError$(skipCount, null));
  28135. sourceLength = source.length;
  28136. if (sourceLength - skipCount < count)
  28137. throw A.wrapException(A.StateError$("Not enough elements"));
  28138. if (skipCount !== 0 || sourceLength !== count)
  28139. source = source.subarray(skipCount, skipCount + count);
  28140. receiver.set(source, start);
  28141. },
  28142. $isJavaScriptIndexingBehavior: 1
  28143. };
  28144. A.NativeTypedArrayOfDouble.prototype = {
  28145. $index(receiver, index) {
  28146. A._checkValidIndex(index, receiver, receiver.length);
  28147. return receiver[index];
  28148. },
  28149. $indexSet(receiver, index, value) {
  28150. A._checkValidIndex(index, receiver, receiver.length);
  28151. receiver[index] = value;
  28152. },
  28153. setRange$4(receiver, start, end, iterable, skipCount) {
  28154. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  28155. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28156. return;
  28157. }
  28158. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28159. },
  28160. $isEfficientLengthIterable: 1,
  28161. $isIterable: 1,
  28162. $isList: 1
  28163. };
  28164. A.NativeTypedArrayOfInt.prototype = {
  28165. $indexSet(receiver, index, value) {
  28166. A._checkValidIndex(index, receiver, receiver.length);
  28167. receiver[index] = value;
  28168. },
  28169. setRange$4(receiver, start, end, iterable, skipCount) {
  28170. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  28171. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28172. return;
  28173. }
  28174. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28175. },
  28176. $isEfficientLengthIterable: 1,
  28177. $isIterable: 1,
  28178. $isList: 1
  28179. };
  28180. A.NativeInt16List.prototype = {
  28181. $index(receiver, index) {
  28182. A._checkValidIndex(index, receiver, receiver.length);
  28183. return receiver[index];
  28184. }
  28185. };
  28186. A.NativeInt32List.prototype = {
  28187. $index(receiver, index) {
  28188. A._checkValidIndex(index, receiver, receiver.length);
  28189. return receiver[index];
  28190. }
  28191. };
  28192. A.NativeInt8List.prototype = {
  28193. $index(receiver, index) {
  28194. A._checkValidIndex(index, receiver, receiver.length);
  28195. return receiver[index];
  28196. }
  28197. };
  28198. A.NativeUint16List.prototype = {
  28199. $index(receiver, index) {
  28200. A._checkValidIndex(index, receiver, receiver.length);
  28201. return receiver[index];
  28202. }
  28203. };
  28204. A.NativeUint32List.prototype = {
  28205. $index(receiver, index) {
  28206. A._checkValidIndex(index, receiver, receiver.length);
  28207. return receiver[index];
  28208. },
  28209. sublist$2(receiver, start, end) {
  28210. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  28211. }
  28212. };
  28213. A.NativeUint8ClampedList.prototype = {
  28214. get$length(receiver) {
  28215. return receiver.length;
  28216. },
  28217. $index(receiver, index) {
  28218. A._checkValidIndex(index, receiver, receiver.length);
  28219. return receiver[index];
  28220. }
  28221. };
  28222. A.NativeUint8List.prototype = {
  28223. get$length(receiver) {
  28224. return receiver.length;
  28225. },
  28226. $index(receiver, index) {
  28227. A._checkValidIndex(index, receiver, receiver.length);
  28228. return receiver[index];
  28229. },
  28230. $isNativeUint8List: 1,
  28231. $isUint8List: 1
  28232. };
  28233. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  28234. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28235. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  28236. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28237. A.Rti.prototype = {
  28238. _eval$1(recipe) {
  28239. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  28240. },
  28241. _bind$1(typeOrTuple) {
  28242. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  28243. }
  28244. };
  28245. A._FunctionParameters.prototype = {};
  28246. A._Type.prototype = {
  28247. toString$0(_) {
  28248. return A._rtiToString(this._rti, null);
  28249. },
  28250. $isType: 1
  28251. };
  28252. A._Error.prototype = {
  28253. toString$0(_) {
  28254. return this.__rti$_message;
  28255. }
  28256. };
  28257. A._TypeError.prototype = {
  28258. get$message(_) {
  28259. return this.__rti$_message;
  28260. },
  28261. $isTypeError: 1
  28262. };
  28263. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  28264. call$1(_) {
  28265. var t1 = this._box_0,
  28266. f = t1.storedCallback;
  28267. t1.storedCallback = null;
  28268. f.call$0();
  28269. },
  28270. $signature: 76
  28271. };
  28272. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  28273. call$1(callback) {
  28274. var t1, t2;
  28275. this._box_0.storedCallback = callback;
  28276. t1 = this.div;
  28277. t2 = this.span;
  28278. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  28279. },
  28280. $signature: 27
  28281. };
  28282. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  28283. call$0() {
  28284. this.callback.call$0();
  28285. },
  28286. $signature: 1
  28287. };
  28288. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  28289. call$0() {
  28290. this.callback.call$0();
  28291. },
  28292. $signature: 1
  28293. };
  28294. A._TimerImpl.prototype = {
  28295. _TimerImpl$2(milliseconds, callback) {
  28296. if (self.setTimeout != null)
  28297. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  28298. else
  28299. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  28300. },
  28301. _TimerImpl$periodic$2(milliseconds, callback) {
  28302. if (self.setTimeout != null)
  28303. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  28304. else
  28305. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  28306. },
  28307. cancel$0() {
  28308. if (self.setTimeout != null) {
  28309. var t1 = this._handle;
  28310. if (t1 == null)
  28311. return;
  28312. if (this._once)
  28313. self.clearTimeout(t1);
  28314. else
  28315. self.clearInterval(t1);
  28316. this._handle = null;
  28317. } else
  28318. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  28319. }
  28320. };
  28321. A._TimerImpl_internalCallback.prototype = {
  28322. call$0() {
  28323. var t1 = this.$this;
  28324. t1._handle = null;
  28325. t1._tick = 1;
  28326. this.callback.call$0();
  28327. },
  28328. $signature: 0
  28329. };
  28330. A._TimerImpl$periodic_closure.prototype = {
  28331. call$0() {
  28332. var duration, _this = this,
  28333. t1 = _this.$this,
  28334. tick = t1._tick + 1,
  28335. t2 = _this.milliseconds;
  28336. if (t2 > 0) {
  28337. duration = Date.now() - _this.start;
  28338. if (duration > (tick + 1) * t2)
  28339. tick = B.JSInt_methods.$tdiv(duration, t2);
  28340. }
  28341. t1._tick = tick;
  28342. _this.callback.call$1(t1);
  28343. },
  28344. $signature: 1
  28345. };
  28346. A._AsyncAwaitCompleter.prototype = {
  28347. complete$1(value) {
  28348. var t1, _this = this;
  28349. if (value == null)
  28350. _this.$ti._precomputed1._as(value);
  28351. if (!_this.isSync)
  28352. _this._future._asyncComplete$1(value);
  28353. else {
  28354. t1 = _this._future;
  28355. if (_this.$ti._eval$1("Future<1>")._is(value))
  28356. t1._chainFuture$1(value);
  28357. else
  28358. t1._completeWithValue$1(value);
  28359. }
  28360. },
  28361. completeError$2(e, st) {
  28362. var t1 = this._future;
  28363. if (this.isSync)
  28364. t1._completeError$2(e, st);
  28365. else
  28366. t1._asyncCompleteError$2(e, st);
  28367. }
  28368. };
  28369. A._awaitOnObject_closure.prototype = {
  28370. call$1(result) {
  28371. return this.bodyFunction.call$2(0, result);
  28372. },
  28373. $signature: 139
  28374. };
  28375. A._awaitOnObject_closure0.prototype = {
  28376. call$2(error, stackTrace) {
  28377. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  28378. },
  28379. $signature: 260
  28380. };
  28381. A._wrapJsFunctionForAsync_closure.prototype = {
  28382. call$2(errorCode, result) {
  28383. this.$protected(errorCode, result);
  28384. },
  28385. $signature: 308
  28386. };
  28387. A._IterationMarker.prototype = {
  28388. toString$0(_) {
  28389. return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
  28390. }
  28391. };
  28392. A._SyncStarIterator.prototype = {
  28393. get$current(_) {
  28394. var nested = this._nestedIterator;
  28395. if (nested == null)
  28396. return this._async$_current;
  28397. return nested.get$current(nested);
  28398. },
  28399. moveNext$0() {
  28400. var t1, value, state, suspendedBodies, inner, _this = this;
  28401. for (; true;) {
  28402. t1 = _this._nestedIterator;
  28403. if (t1 != null)
  28404. if (t1.moveNext$0())
  28405. return true;
  28406. else
  28407. _this._nestedIterator = null;
  28408. value = function(body, SUCCESS, ERROR) {
  28409. var errorValue,
  28410. errorCode = SUCCESS;
  28411. while (true)
  28412. try {
  28413. return body(errorCode, errorValue);
  28414. } catch (error) {
  28415. errorValue = error;
  28416. errorCode = ERROR;
  28417. }
  28418. }(_this._body, 0, 1);
  28419. if (value instanceof A._IterationMarker) {
  28420. state = value.state;
  28421. if (state === 2) {
  28422. suspendedBodies = _this._suspendedBodies;
  28423. if (suspendedBodies == null || suspendedBodies.length === 0) {
  28424. _this._async$_current = null;
  28425. return false;
  28426. }
  28427. _this._body = suspendedBodies.pop();
  28428. continue;
  28429. } else {
  28430. t1 = value.value;
  28431. if (state === 3)
  28432. throw t1;
  28433. else {
  28434. inner = J.get$iterator$ax(t1);
  28435. if (inner instanceof A._SyncStarIterator) {
  28436. t1 = _this._suspendedBodies;
  28437. if (t1 == null)
  28438. t1 = _this._suspendedBodies = [];
  28439. t1.push(_this._body);
  28440. _this._body = inner._body;
  28441. continue;
  28442. } else {
  28443. _this._nestedIterator = inner;
  28444. continue;
  28445. }
  28446. }
  28447. }
  28448. } else {
  28449. _this._async$_current = value;
  28450. return true;
  28451. }
  28452. }
  28453. return false;
  28454. }
  28455. };
  28456. A._SyncStarIterable.prototype = {
  28457. get$iterator(_) {
  28458. return new A._SyncStarIterator(this._outerHelper());
  28459. }
  28460. };
  28461. A.AsyncError.prototype = {
  28462. toString$0(_) {
  28463. return A.S(this.error);
  28464. },
  28465. $isError: 1,
  28466. get$stackTrace() {
  28467. return this.stackTrace;
  28468. }
  28469. };
  28470. A.Future_wait_handleError.prototype = {
  28471. call$2(theError, theStackTrace) {
  28472. var _this = this,
  28473. t1 = _this._box_0,
  28474. t2 = --t1.remaining;
  28475. if (t1.values != null) {
  28476. t1.values = null;
  28477. if (t1.remaining === 0 || _this.eagerError)
  28478. _this._future._completeError$2(theError, theStackTrace);
  28479. else {
  28480. _this.error._value = theError;
  28481. _this.stackTrace._value = theStackTrace;
  28482. }
  28483. } else if (t2 === 0 && !_this.eagerError)
  28484. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28485. },
  28486. $signature: 64
  28487. };
  28488. A.Future_wait_closure.prototype = {
  28489. call$1(value) {
  28490. var valueList, _this = this,
  28491. t1 = _this._box_0;
  28492. --t1.remaining;
  28493. valueList = t1.values;
  28494. if (valueList != null) {
  28495. J.$indexSet$ax(valueList, _this.pos, value);
  28496. if (t1.remaining === 0)
  28497. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  28498. } else if (t1.remaining === 0 && !_this.eagerError)
  28499. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28500. },
  28501. $signature() {
  28502. return this.T._eval$1("Null(0)");
  28503. }
  28504. };
  28505. A._Completer.prototype = {
  28506. completeError$2(error, stackTrace) {
  28507. var replacement;
  28508. A.checkNotNullable(error, "error", type$.Object);
  28509. if ((this.future._state & 30) !== 0)
  28510. throw A.wrapException(A.StateError$("Future already completed"));
  28511. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  28512. if (replacement != null) {
  28513. error = replacement.error;
  28514. stackTrace = replacement.stackTrace;
  28515. } else if (stackTrace == null)
  28516. stackTrace = A.AsyncError_defaultStackTrace(error);
  28517. this._completeError$2(error, stackTrace);
  28518. },
  28519. completeError$1(error) {
  28520. return this.completeError$2(error, null);
  28521. }
  28522. };
  28523. A._AsyncCompleter.prototype = {
  28524. complete$1(value) {
  28525. var t1 = this.future;
  28526. if ((t1._state & 30) !== 0)
  28527. throw A.wrapException(A.StateError$("Future already completed"));
  28528. t1._asyncComplete$1(value);
  28529. },
  28530. complete$0() {
  28531. return this.complete$1(null);
  28532. },
  28533. _completeError$2(error, stackTrace) {
  28534. this.future._asyncCompleteError$2(error, stackTrace);
  28535. }
  28536. };
  28537. A._SyncCompleter.prototype = {
  28538. complete$1(value) {
  28539. var t1 = this.future;
  28540. if ((t1._state & 30) !== 0)
  28541. throw A.wrapException(A.StateError$("Future already completed"));
  28542. t1._complete$1(value);
  28543. },
  28544. _completeError$2(error, stackTrace) {
  28545. this.future._completeError$2(error, stackTrace);
  28546. }
  28547. };
  28548. A._FutureListener.prototype = {
  28549. matchesErrorTest$1(asyncError) {
  28550. if ((this.state & 15) !== 6)
  28551. return true;
  28552. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  28553. },
  28554. handleError$1(asyncError) {
  28555. var exception,
  28556. errorCallback = this.errorCallback,
  28557. result = null,
  28558. t1 = type$.dynamic,
  28559. t2 = type$.Object,
  28560. t3 = asyncError.error,
  28561. t4 = this.result._zone;
  28562. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  28563. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  28564. else
  28565. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  28566. try {
  28567. t1 = result;
  28568. return t1;
  28569. } catch (exception) {
  28570. if (type$.TypeError._is(A.unwrapException(exception))) {
  28571. if ((this.state & 1) !== 0)
  28572. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  28573. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  28574. } else
  28575. throw exception;
  28576. }
  28577. }
  28578. };
  28579. A._Future.prototype = {
  28580. then$1$2$onError(_, f, onError, $R) {
  28581. var result, t1,
  28582. currentZone = $.Zone__current;
  28583. if (currentZone === B.C__RootZone) {
  28584. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  28585. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  28586. } else {
  28587. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  28588. if (onError != null)
  28589. onError = A._registerErrorHandler(onError, currentZone);
  28590. }
  28591. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  28592. t1 = onError == null ? 1 : 3;
  28593. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  28594. return result;
  28595. },
  28596. then$1$1($receiver, f, $R) {
  28597. return this.then$1$2$onError($receiver, f, null, $R);
  28598. },
  28599. _thenAwait$1$2(f, onError, $E) {
  28600. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  28601. this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  28602. return result;
  28603. },
  28604. whenComplete$1(action) {
  28605. var t1 = this.$ti,
  28606. t2 = $.Zone__current,
  28607. result = new A._Future(t2, t1);
  28608. if (t2 !== B.C__RootZone)
  28609. action = t2.registerCallback$1$1(action, type$.dynamic);
  28610. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  28611. return result;
  28612. },
  28613. _setErrorObject$1(error) {
  28614. this._state = this._state & 1 | 16;
  28615. this._resultOrListeners = error;
  28616. },
  28617. _cloneResult$1(source) {
  28618. this._state = source._state & 30 | this._state & 1;
  28619. this._resultOrListeners = source._resultOrListeners;
  28620. },
  28621. _addListener$1(listener) {
  28622. var _this = this,
  28623. t1 = _this._state;
  28624. if (t1 <= 3) {
  28625. listener._nextListener = _this._resultOrListeners;
  28626. _this._resultOrListeners = listener;
  28627. } else {
  28628. if ((t1 & 4) !== 0) {
  28629. t1 = _this._resultOrListeners;
  28630. if ((t1._state & 24) === 0) {
  28631. t1._addListener$1(listener);
  28632. return;
  28633. }
  28634. _this._cloneResult$1(t1);
  28635. }
  28636. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  28637. }
  28638. },
  28639. _prependListeners$1(listeners) {
  28640. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  28641. _box_0.listeners = listeners;
  28642. if (listeners == null)
  28643. return;
  28644. t1 = _this._state;
  28645. if (t1 <= 3) {
  28646. existingListeners = _this._resultOrListeners;
  28647. _this._resultOrListeners = listeners;
  28648. if (existingListeners != null) {
  28649. next = listeners._nextListener;
  28650. for (cursor = listeners; next != null; cursor = next, next = next0)
  28651. next0 = next._nextListener;
  28652. cursor._nextListener = existingListeners;
  28653. }
  28654. } else {
  28655. if ((t1 & 4) !== 0) {
  28656. t1 = _this._resultOrListeners;
  28657. if ((t1._state & 24) === 0) {
  28658. t1._prependListeners$1(listeners);
  28659. return;
  28660. }
  28661. _this._cloneResult$1(t1);
  28662. }
  28663. _box_0.listeners = _this._reverseListeners$1(listeners);
  28664. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  28665. }
  28666. },
  28667. _removeListeners$0() {
  28668. var current = this._resultOrListeners;
  28669. this._resultOrListeners = null;
  28670. return this._reverseListeners$1(current);
  28671. },
  28672. _reverseListeners$1(listeners) {
  28673. var current, prev, next;
  28674. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  28675. next = current._nextListener;
  28676. current._nextListener = prev;
  28677. }
  28678. return prev;
  28679. },
  28680. _chainForeignFuture$1(source) {
  28681. var e, s, exception, _this = this;
  28682. _this._state ^= 2;
  28683. try {
  28684. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  28685. } catch (exception) {
  28686. e = A.unwrapException(exception);
  28687. s = A.getTraceFromException(exception);
  28688. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  28689. }
  28690. },
  28691. _complete$1(value) {
  28692. var listeners, _this = this,
  28693. t1 = _this.$ti;
  28694. if (t1._eval$1("Future<1>")._is(value))
  28695. if (t1._is(value))
  28696. A._Future__chainCoreFuture(value, _this);
  28697. else
  28698. _this._chainForeignFuture$1(value);
  28699. else {
  28700. listeners = _this._removeListeners$0();
  28701. _this._state = 8;
  28702. _this._resultOrListeners = value;
  28703. A._Future__propagateToListeners(_this, listeners);
  28704. }
  28705. },
  28706. _completeWithValue$1(value) {
  28707. var _this = this,
  28708. listeners = _this._removeListeners$0();
  28709. _this._state = 8;
  28710. _this._resultOrListeners = value;
  28711. A._Future__propagateToListeners(_this, listeners);
  28712. },
  28713. _completeError$2(error, stackTrace) {
  28714. var listeners = this._removeListeners$0();
  28715. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  28716. A._Future__propagateToListeners(this, listeners);
  28717. },
  28718. _asyncComplete$1(value) {
  28719. if (this.$ti._eval$1("Future<1>")._is(value)) {
  28720. this._chainFuture$1(value);
  28721. return;
  28722. }
  28723. this._asyncCompleteWithValue$1(value);
  28724. },
  28725. _asyncCompleteWithValue$1(value) {
  28726. this._state ^= 2;
  28727. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  28728. },
  28729. _chainFuture$1(value) {
  28730. var _this = this;
  28731. if (_this.$ti._is(value)) {
  28732. if ((value._state & 16) !== 0) {
  28733. _this._state ^= 2;
  28734. _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
  28735. } else
  28736. A._Future__chainCoreFuture(value, _this);
  28737. return;
  28738. }
  28739. _this._chainForeignFuture$1(value);
  28740. },
  28741. _asyncCompleteError$2(error, stackTrace) {
  28742. this._state ^= 2;
  28743. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  28744. },
  28745. $isFuture: 1
  28746. };
  28747. A._Future__addListener_closure.prototype = {
  28748. call$0() {
  28749. A._Future__propagateToListeners(this.$this, this.listener);
  28750. },
  28751. $signature: 0
  28752. };
  28753. A._Future__prependListeners_closure.prototype = {
  28754. call$0() {
  28755. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  28756. },
  28757. $signature: 0
  28758. };
  28759. A._Future__chainForeignFuture_closure.prototype = {
  28760. call$1(value) {
  28761. var error, stackTrace, exception,
  28762. t1 = this.$this;
  28763. t1._state ^= 2;
  28764. try {
  28765. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  28766. } catch (exception) {
  28767. error = A.unwrapException(exception);
  28768. stackTrace = A.getTraceFromException(exception);
  28769. t1._completeError$2(error, stackTrace);
  28770. }
  28771. },
  28772. $signature: 76
  28773. };
  28774. A._Future__chainForeignFuture_closure0.prototype = {
  28775. call$2(error, stackTrace) {
  28776. this.$this._completeError$2(error, stackTrace);
  28777. },
  28778. $signature: 73
  28779. };
  28780. A._Future__chainForeignFuture_closure1.prototype = {
  28781. call$0() {
  28782. this.$this._completeError$2(this.e, this.s);
  28783. },
  28784. $signature: 0
  28785. };
  28786. A._Future__asyncCompleteWithValue_closure.prototype = {
  28787. call$0() {
  28788. this.$this._completeWithValue$1(this.value);
  28789. },
  28790. $signature: 0
  28791. };
  28792. A._Future__chainFuture_closure.prototype = {
  28793. call$0() {
  28794. A._Future__chainCoreFuture(this.value, this.$this);
  28795. },
  28796. $signature: 0
  28797. };
  28798. A._Future__asyncCompleteError_closure.prototype = {
  28799. call$0() {
  28800. this.$this._completeError$2(this.error, this.stackTrace);
  28801. },
  28802. $signature: 0
  28803. };
  28804. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  28805. call$0() {
  28806. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  28807. try {
  28808. t1 = _this._box_0.listener;
  28809. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  28810. } catch (exception) {
  28811. e = A.unwrapException(exception);
  28812. s = A.getTraceFromException(exception);
  28813. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  28814. t2 = _this._box_0;
  28815. if (t1)
  28816. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  28817. else
  28818. t2.listenerValueOrError = A.AsyncError$(e, s);
  28819. t2.listenerHasError = true;
  28820. return;
  28821. }
  28822. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  28823. if ((completeResult._state & 16) !== 0) {
  28824. t1 = _this._box_0;
  28825. t1.listenerValueOrError = completeResult._resultOrListeners;
  28826. t1.listenerHasError = true;
  28827. }
  28828. return;
  28829. }
  28830. if (type$.Future_dynamic._is(completeResult)) {
  28831. originalSource = _this._box_1.source;
  28832. t1 = _this._box_0;
  28833. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  28834. t1.listenerHasError = false;
  28835. }
  28836. },
  28837. $signature: 0
  28838. };
  28839. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  28840. call$1(_) {
  28841. return this.originalSource;
  28842. },
  28843. $signature: 279
  28844. };
  28845. A._Future__propagateToListeners_handleValueCallback.prototype = {
  28846. call$0() {
  28847. var e, s, t1, t2, t3, exception;
  28848. try {
  28849. t1 = this._box_0;
  28850. t2 = t1.listener;
  28851. t3 = t2.$ti;
  28852. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  28853. } catch (exception) {
  28854. e = A.unwrapException(exception);
  28855. s = A.getTraceFromException(exception);
  28856. t1 = this._box_0;
  28857. t1.listenerValueOrError = A.AsyncError$(e, s);
  28858. t1.listenerHasError = true;
  28859. }
  28860. },
  28861. $signature: 0
  28862. };
  28863. A._Future__propagateToListeners_handleError.prototype = {
  28864. call$0() {
  28865. var asyncError, e, s, t1, exception, t2, _this = this;
  28866. try {
  28867. asyncError = _this._box_1.source._resultOrListeners;
  28868. t1 = _this._box_0;
  28869. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  28870. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  28871. t1.listenerHasError = false;
  28872. }
  28873. } catch (exception) {
  28874. e = A.unwrapException(exception);
  28875. s = A.getTraceFromException(exception);
  28876. t1 = _this._box_1.source._resultOrListeners;
  28877. t2 = _this._box_0;
  28878. if (t1.error === e)
  28879. t2.listenerValueOrError = t1;
  28880. else
  28881. t2.listenerValueOrError = A.AsyncError$(e, s);
  28882. t2.listenerHasError = true;
  28883. }
  28884. },
  28885. $signature: 0
  28886. };
  28887. A._AsyncCallbackEntry.prototype = {};
  28888. A.Stream.prototype = {
  28889. get$isBroadcast() {
  28890. return false;
  28891. },
  28892. get$length(_) {
  28893. var t1 = {},
  28894. future = new A._Future($.Zone__current, type$._Future_int);
  28895. t1.count = 0;
  28896. this.listen$4$cancelOnError$onDone$onError(0, new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError());
  28897. return future;
  28898. }
  28899. };
  28900. A.Stream_Stream$fromFuture_closure.prototype = {
  28901. call$1(value) {
  28902. var t1 = this.controller;
  28903. t1._async$_add$1(value);
  28904. t1._closeUnchecked$0();
  28905. },
  28906. $signature() {
  28907. return this.T._eval$1("Null(0)");
  28908. }
  28909. };
  28910. A.Stream_Stream$fromFuture_closure0.prototype = {
  28911. call$2(error, stackTrace) {
  28912. var t1 = this.controller;
  28913. t1._addError$2(error, stackTrace);
  28914. t1._closeUnchecked$0();
  28915. },
  28916. $signature: 292
  28917. };
  28918. A.Stream_length_closure.prototype = {
  28919. call$1(_) {
  28920. ++this._box_0.count;
  28921. },
  28922. $signature() {
  28923. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  28924. }
  28925. };
  28926. A.Stream_length_closure0.prototype = {
  28927. call$0() {
  28928. this.future._complete$1(this._box_0.count);
  28929. },
  28930. $signature: 0
  28931. };
  28932. A.StreamTransformerBase.prototype = {};
  28933. A._StreamController.prototype = {
  28934. get$stream() {
  28935. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  28936. },
  28937. get$_pendingEvents() {
  28938. if ((this._state & 8) === 0)
  28939. return this._varData;
  28940. return this._varData.varData;
  28941. },
  28942. _ensurePendingEvents$0() {
  28943. var events, state, _this = this;
  28944. if ((_this._state & 8) === 0) {
  28945. events = _this._varData;
  28946. return events == null ? _this._varData = new A._PendingEvents() : events;
  28947. }
  28948. state = _this._varData;
  28949. events = state.varData;
  28950. return events == null ? state.varData = new A._PendingEvents() : events;
  28951. },
  28952. get$_subscription() {
  28953. var varData = this._varData;
  28954. return (this._state & 8) !== 0 ? varData.varData : varData;
  28955. },
  28956. _badEventState$0() {
  28957. if ((this._state & 4) !== 0)
  28958. return new A.StateError("Cannot add event after closing");
  28959. return new A.StateError("Cannot add event while adding a stream");
  28960. },
  28961. addStream$2$cancelOnError(source, cancelOnError) {
  28962. var t2, t3, t4, _this = this,
  28963. t1 = _this._state;
  28964. if (t1 >= 4)
  28965. throw A.wrapException(_this._badEventState$0());
  28966. if ((t1 & 2) !== 0) {
  28967. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  28968. t1._asyncComplete$1(null);
  28969. return t1;
  28970. }
  28971. t1 = _this._varData;
  28972. t2 = new A._Future($.Zone__current, type$._Future_dynamic);
  28973. t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
  28974. t4 = _this._state;
  28975. if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
  28976. t3.pause$0(0);
  28977. _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
  28978. _this._state |= 8;
  28979. return t2;
  28980. },
  28981. _ensureDoneFuture$0() {
  28982. var t1 = this._doneFuture;
  28983. if (t1 == null)
  28984. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  28985. return t1;
  28986. },
  28987. add$1(_, value) {
  28988. if (this._state >= 4)
  28989. throw A.wrapException(this._badEventState$0());
  28990. this._async$_add$1(value);
  28991. },
  28992. addError$2(error, stackTrace) {
  28993. var replacement;
  28994. A.checkNotNullable(error, "error", type$.Object);
  28995. if (this._state >= 4)
  28996. throw A.wrapException(this._badEventState$0());
  28997. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  28998. if (replacement != null) {
  28999. error = replacement.error;
  29000. stackTrace = replacement.stackTrace;
  29001. } else if (stackTrace == null)
  29002. stackTrace = A.AsyncError_defaultStackTrace(error);
  29003. this._addError$2(error, stackTrace);
  29004. },
  29005. addError$1(error) {
  29006. return this.addError$2(error, null);
  29007. },
  29008. close$0(_) {
  29009. var _this = this,
  29010. t1 = _this._state;
  29011. if ((t1 & 4) !== 0)
  29012. return _this._ensureDoneFuture$0();
  29013. if (t1 >= 4)
  29014. throw A.wrapException(_this._badEventState$0());
  29015. _this._closeUnchecked$0();
  29016. return _this._ensureDoneFuture$0();
  29017. },
  29018. _closeUnchecked$0() {
  29019. var t1 = this._state |= 4;
  29020. if ((t1 & 1) !== 0)
  29021. this._sendDone$0();
  29022. else if ((t1 & 3) === 0)
  29023. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  29024. },
  29025. _async$_add$1(value) {
  29026. var t1 = this._state;
  29027. if ((t1 & 1) !== 0)
  29028. this._sendData$1(value);
  29029. else if ((t1 & 3) === 0)
  29030. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  29031. },
  29032. _addError$2(error, stackTrace) {
  29033. var t1 = this._state;
  29034. if ((t1 & 1) !== 0)
  29035. this._sendError$2(error, stackTrace);
  29036. else if ((t1 & 3) === 0)
  29037. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  29038. },
  29039. _close$0() {
  29040. var addState = this._varData;
  29041. this._varData = addState.varData;
  29042. this._state &= 4294967287;
  29043. addState.addStreamFuture._asyncComplete$1(null);
  29044. },
  29045. _subscribe$4(onData, onError, onDone, cancelOnError) {
  29046. var subscription, pendingEvents, t1, addState, _this = this;
  29047. if ((_this._state & 3) !== 0)
  29048. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  29049. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  29050. pendingEvents = _this.get$_pendingEvents();
  29051. t1 = _this._state |= 1;
  29052. if ((t1 & 8) !== 0) {
  29053. addState = _this._varData;
  29054. addState.varData = subscription;
  29055. addState.addSubscription.resume$0(0);
  29056. } else
  29057. _this._varData = subscription;
  29058. subscription._setPendingEvents$1(pendingEvents);
  29059. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  29060. return subscription;
  29061. },
  29062. _recordCancel$1(subscription) {
  29063. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  29064. if ((_this._state & 8) !== 0)
  29065. result = _this._varData.cancel$0();
  29066. _this._varData = null;
  29067. _this._state = _this._state & 4294967286 | 2;
  29068. onCancel = _this.onCancel;
  29069. if (onCancel != null)
  29070. if (result == null)
  29071. try {
  29072. cancelResult = onCancel.call$0();
  29073. if (type$.Future_void._is(cancelResult))
  29074. result = cancelResult;
  29075. } catch (exception) {
  29076. e = A.unwrapException(exception);
  29077. s = A.getTraceFromException(exception);
  29078. result0 = new A._Future($.Zone__current, type$._Future_void);
  29079. result0._asyncCompleteError$2(e, s);
  29080. result = result0;
  29081. }
  29082. else
  29083. result = result.whenComplete$1(onCancel);
  29084. t1 = new A._StreamController__recordCancel_complete(_this);
  29085. if (result != null)
  29086. result = result.whenComplete$1(t1);
  29087. else
  29088. t1.call$0();
  29089. return result;
  29090. },
  29091. _recordPause$1(subscription) {
  29092. if ((this._state & 8) !== 0)
  29093. this._varData.addSubscription.pause$0(0);
  29094. A._runGuarded(this.onPause);
  29095. },
  29096. _recordResume$1(subscription) {
  29097. if ((this._state & 8) !== 0)
  29098. this._varData.addSubscription.resume$0(0);
  29099. A._runGuarded(this.onResume);
  29100. },
  29101. $isEventSink: 1,
  29102. set$onPause(val) {
  29103. return this.onPause = val;
  29104. },
  29105. set$onResume(val) {
  29106. return this.onResume = val;
  29107. },
  29108. set$onCancel(val) {
  29109. return this.onCancel = val;
  29110. }
  29111. };
  29112. A._StreamController__subscribe_closure.prototype = {
  29113. call$0() {
  29114. A._runGuarded(this.$this.onListen);
  29115. },
  29116. $signature: 0
  29117. };
  29118. A._StreamController__recordCancel_complete.prototype = {
  29119. call$0() {
  29120. var doneFuture = this.$this._doneFuture;
  29121. if (doneFuture != null && (doneFuture._state & 30) === 0)
  29122. doneFuture._asyncComplete$1(null);
  29123. },
  29124. $signature: 0
  29125. };
  29126. A._SyncStreamControllerDispatch.prototype = {
  29127. _sendData$1(data) {
  29128. this.get$_subscription()._async$_add$1(data);
  29129. },
  29130. _sendError$2(error, stackTrace) {
  29131. this.get$_subscription()._addError$2(error, stackTrace);
  29132. },
  29133. _sendDone$0() {
  29134. this.get$_subscription()._close$0();
  29135. }
  29136. };
  29137. A._AsyncStreamControllerDispatch.prototype = {
  29138. _sendData$1(data) {
  29139. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  29140. },
  29141. _sendError$2(error, stackTrace) {
  29142. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  29143. },
  29144. _sendDone$0() {
  29145. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  29146. }
  29147. };
  29148. A._AsyncStreamController.prototype = {};
  29149. A._SyncStreamController.prototype = {};
  29150. A._ControllerStream.prototype = {
  29151. get$hashCode(_) {
  29152. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  29153. },
  29154. $eq(_, other) {
  29155. if (other == null)
  29156. return false;
  29157. if (this === other)
  29158. return true;
  29159. return other instanceof A._ControllerStream && other._controller === this._controller;
  29160. }
  29161. };
  29162. A._ControllerSubscription.prototype = {
  29163. _async$_onCancel$0() {
  29164. return this._controller._recordCancel$1(this);
  29165. },
  29166. _async$_onPause$0() {
  29167. this._controller._recordPause$1(this);
  29168. },
  29169. _async$_onResume$0() {
  29170. this._controller._recordResume$1(this);
  29171. }
  29172. };
  29173. A._AddStreamState.prototype = {
  29174. cancel$0() {
  29175. var cancel = this.addSubscription.cancel$0();
  29176. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  29177. }
  29178. };
  29179. A._AddStreamState_cancel_closure.prototype = {
  29180. call$0() {
  29181. this.$this.addStreamFuture._asyncComplete$1(null);
  29182. },
  29183. $signature: 1
  29184. };
  29185. A._StreamControllerAddStreamState.prototype = {};
  29186. A._BufferingStreamSubscription.prototype = {
  29187. _setPendingEvents$1(pendingEvents) {
  29188. var _this = this;
  29189. if (pendingEvents == null)
  29190. return;
  29191. _this._pending = pendingEvents;
  29192. if (pendingEvents.lastPendingEvent != null) {
  29193. _this._state = (_this._state | 64) >>> 0;
  29194. pendingEvents.schedule$1(_this);
  29195. }
  29196. },
  29197. pause$1(_, resumeSignal) {
  29198. var t2, t3, _this = this,
  29199. t1 = _this._state;
  29200. if ((t1 & 8) !== 0)
  29201. return;
  29202. t2 = (t1 + 128 | 4) >>> 0;
  29203. _this._state = t2;
  29204. if (t1 < 128) {
  29205. t3 = _this._pending;
  29206. if (t3 != null)
  29207. if (t3._state === 1)
  29208. t3._state = 3;
  29209. }
  29210. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  29211. _this._guardCallback$1(_this.get$_async$_onPause());
  29212. },
  29213. pause$0($receiver) {
  29214. return this.pause$1($receiver, null);
  29215. },
  29216. resume$0(_) {
  29217. var _this = this,
  29218. t1 = _this._state;
  29219. if ((t1 & 8) !== 0)
  29220. return;
  29221. if (t1 >= 128) {
  29222. t1 = _this._state = t1 - 128;
  29223. if (t1 < 128)
  29224. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  29225. _this._pending.schedule$1(_this);
  29226. else {
  29227. t1 = (t1 & 4294967291) >>> 0;
  29228. _this._state = t1;
  29229. if ((t1 & 32) === 0)
  29230. _this._guardCallback$1(_this.get$_async$_onResume());
  29231. }
  29232. }
  29233. },
  29234. cancel$0() {
  29235. var _this = this,
  29236. t1 = (_this._state & 4294967279) >>> 0;
  29237. _this._state = t1;
  29238. if ((t1 & 8) === 0)
  29239. _this._cancel$0();
  29240. t1 = _this._cancelFuture;
  29241. return t1 == null ? $.$get$Future__nullFuture() : t1;
  29242. },
  29243. _cancel$0() {
  29244. var t2, _this = this,
  29245. t1 = _this._state = (_this._state | 8) >>> 0;
  29246. if ((t1 & 64) !== 0) {
  29247. t2 = _this._pending;
  29248. if (t2._state === 1)
  29249. t2._state = 3;
  29250. }
  29251. if ((t1 & 32) === 0)
  29252. _this._pending = null;
  29253. _this._cancelFuture = _this._async$_onCancel$0();
  29254. },
  29255. _async$_add$1(data) {
  29256. var t1 = this._state;
  29257. if ((t1 & 8) !== 0)
  29258. return;
  29259. if (t1 < 32)
  29260. this._sendData$1(data);
  29261. else
  29262. this._addPending$1(new A._DelayedData(data));
  29263. },
  29264. _addError$2(error, stackTrace) {
  29265. var t1 = this._state;
  29266. if ((t1 & 8) !== 0)
  29267. return;
  29268. if (t1 < 32)
  29269. this._sendError$2(error, stackTrace);
  29270. else
  29271. this._addPending$1(new A._DelayedError(error, stackTrace));
  29272. },
  29273. _close$0() {
  29274. var _this = this,
  29275. t1 = _this._state;
  29276. if ((t1 & 8) !== 0)
  29277. return;
  29278. t1 = (t1 | 2) >>> 0;
  29279. _this._state = t1;
  29280. if (t1 < 32)
  29281. _this._sendDone$0();
  29282. else
  29283. _this._addPending$1(B.C__DelayedDone);
  29284. },
  29285. _async$_onPause$0() {
  29286. },
  29287. _async$_onResume$0() {
  29288. },
  29289. _async$_onCancel$0() {
  29290. return null;
  29291. },
  29292. _addPending$1($event) {
  29293. var t1, _this = this,
  29294. pending = _this._pending;
  29295. if (pending == null)
  29296. pending = _this._pending = new A._PendingEvents();
  29297. pending.add$1(0, $event);
  29298. t1 = _this._state;
  29299. if ((t1 & 64) === 0) {
  29300. t1 = (t1 | 64) >>> 0;
  29301. _this._state = t1;
  29302. if (t1 < 128)
  29303. pending.schedule$1(_this);
  29304. }
  29305. },
  29306. _sendData$1(data) {
  29307. var _this = this,
  29308. t1 = _this._state;
  29309. _this._state = (t1 | 32) >>> 0;
  29310. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  29311. _this._state = (_this._state & 4294967263) >>> 0;
  29312. _this._checkState$1((t1 & 4) !== 0);
  29313. },
  29314. _sendError$2(error, stackTrace) {
  29315. var cancelFuture, _this = this,
  29316. t1 = _this._state,
  29317. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  29318. if ((t1 & 1) !== 0) {
  29319. _this._state = (t1 | 16) >>> 0;
  29320. _this._cancel$0();
  29321. cancelFuture = _this._cancelFuture;
  29322. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29323. cancelFuture.whenComplete$1(t2);
  29324. else
  29325. t2.call$0();
  29326. } else {
  29327. t2.call$0();
  29328. _this._checkState$1((t1 & 4) !== 0);
  29329. }
  29330. },
  29331. _sendDone$0() {
  29332. var cancelFuture, _this = this,
  29333. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  29334. _this._cancel$0();
  29335. _this._state = (_this._state | 16) >>> 0;
  29336. cancelFuture = _this._cancelFuture;
  29337. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29338. cancelFuture.whenComplete$1(t1);
  29339. else
  29340. t1.call$0();
  29341. },
  29342. _guardCallback$1(callback) {
  29343. var _this = this,
  29344. t1 = _this._state;
  29345. _this._state = (t1 | 32) >>> 0;
  29346. callback.call$0();
  29347. _this._state = (_this._state & 4294967263) >>> 0;
  29348. _this._checkState$1((t1 & 4) !== 0);
  29349. },
  29350. _checkState$1(wasInputPaused) {
  29351. var t2, isInputPaused, _this = this,
  29352. t1 = _this._state;
  29353. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  29354. t1 = _this._state = (t1 & 4294967231) >>> 0;
  29355. if ((t1 & 4) !== 0)
  29356. if (t1 < 128) {
  29357. t2 = _this._pending;
  29358. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  29359. t2 = t2 !== false;
  29360. } else
  29361. t2 = false;
  29362. else
  29363. t2 = false;
  29364. if (t2) {
  29365. t1 = (t1 & 4294967291) >>> 0;
  29366. _this._state = t1;
  29367. }
  29368. }
  29369. for (; true; wasInputPaused = isInputPaused) {
  29370. if ((t1 & 8) !== 0) {
  29371. _this._pending = null;
  29372. return;
  29373. }
  29374. isInputPaused = (t1 & 4) !== 0;
  29375. if (wasInputPaused === isInputPaused)
  29376. break;
  29377. _this._state = (t1 ^ 32) >>> 0;
  29378. if (isInputPaused)
  29379. _this._async$_onPause$0();
  29380. else
  29381. _this._async$_onResume$0();
  29382. t1 = (_this._state & 4294967263) >>> 0;
  29383. _this._state = t1;
  29384. }
  29385. if ((t1 & 64) !== 0 && t1 < 128)
  29386. _this._pending.schedule$1(_this);
  29387. },
  29388. $isStreamSubscription: 1
  29389. };
  29390. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  29391. call$0() {
  29392. var onError, t3, t4,
  29393. t1 = this.$this,
  29394. t2 = t1._state;
  29395. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  29396. return;
  29397. t1._state = (t2 | 32) >>> 0;
  29398. onError = t1._onError;
  29399. t2 = this.error;
  29400. t3 = type$.Object;
  29401. t4 = t1._zone;
  29402. if (type$.void_Function_Object_StackTrace._is(onError))
  29403. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  29404. else
  29405. t4.runUnaryGuarded$1$2(onError, t2, t3);
  29406. t1._state = (t1._state & 4294967263) >>> 0;
  29407. },
  29408. $signature: 0
  29409. };
  29410. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  29411. call$0() {
  29412. var t1 = this.$this,
  29413. t2 = t1._state;
  29414. if ((t2 & 16) === 0)
  29415. return;
  29416. t1._state = (t2 | 42) >>> 0;
  29417. t1._zone.runGuarded$1(t1._onDone);
  29418. t1._state = (t1._state & 4294967263) >>> 0;
  29419. },
  29420. $signature: 0
  29421. };
  29422. A._StreamImpl.prototype = {
  29423. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  29424. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  29425. },
  29426. listen$1($receiver, onData) {
  29427. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  29428. },
  29429. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  29430. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  29431. }
  29432. };
  29433. A._DelayedEvent.prototype = {
  29434. get$next() {
  29435. return this.next;
  29436. },
  29437. set$next(val) {
  29438. return this.next = val;
  29439. }
  29440. };
  29441. A._DelayedData.prototype = {
  29442. perform$1(dispatch) {
  29443. dispatch._sendData$1(this.value);
  29444. }
  29445. };
  29446. A._DelayedError.prototype = {
  29447. perform$1(dispatch) {
  29448. dispatch._sendError$2(this.error, this.stackTrace);
  29449. }
  29450. };
  29451. A._DelayedDone.prototype = {
  29452. perform$1(dispatch) {
  29453. dispatch._sendDone$0();
  29454. },
  29455. get$next() {
  29456. return null;
  29457. },
  29458. set$next(_) {
  29459. throw A.wrapException(A.StateError$("No events after a done."));
  29460. }
  29461. };
  29462. A._PendingEvents.prototype = {
  29463. schedule$1(dispatch) {
  29464. var _this = this,
  29465. t1 = _this._state;
  29466. if (t1 === 1)
  29467. return;
  29468. if (t1 >= 1) {
  29469. _this._state = 1;
  29470. return;
  29471. }
  29472. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  29473. _this._state = 1;
  29474. },
  29475. add$1(_, $event) {
  29476. var _this = this,
  29477. lastEvent = _this.lastPendingEvent;
  29478. if (lastEvent == null)
  29479. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  29480. else {
  29481. lastEvent.set$next($event);
  29482. _this.lastPendingEvent = $event;
  29483. }
  29484. }
  29485. };
  29486. A._PendingEvents_schedule_closure.prototype = {
  29487. call$0() {
  29488. var $event, nextEvent,
  29489. t1 = this.$this,
  29490. oldState = t1._state;
  29491. t1._state = 0;
  29492. if (oldState === 3)
  29493. return;
  29494. $event = t1.firstPendingEvent;
  29495. nextEvent = $event.get$next();
  29496. t1.firstPendingEvent = nextEvent;
  29497. if (nextEvent == null)
  29498. t1.lastPendingEvent = null;
  29499. $event.perform$1(this.dispatch);
  29500. },
  29501. $signature: 0
  29502. };
  29503. A._StreamIterator.prototype = {
  29504. get$current(_) {
  29505. if (this._async$_hasValue)
  29506. return this._stateData;
  29507. return null;
  29508. },
  29509. moveNext$0() {
  29510. var future, _this = this,
  29511. subscription = _this._subscription;
  29512. if (subscription != null) {
  29513. if (_this._async$_hasValue) {
  29514. future = new A._Future($.Zone__current, type$._Future_bool);
  29515. _this._stateData = future;
  29516. _this._async$_hasValue = false;
  29517. subscription.resume$0(0);
  29518. return future;
  29519. }
  29520. throw A.wrapException(A.StateError$("Already waiting for next."));
  29521. }
  29522. return _this._initializeOrDone$0();
  29523. },
  29524. _initializeOrDone$0() {
  29525. var future, subscription, _this = this,
  29526. stateData = _this._stateData;
  29527. if (stateData != null) {
  29528. future = new A._Future($.Zone__current, type$._Future_bool);
  29529. _this._stateData = future;
  29530. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  29531. if (_this._stateData != null)
  29532. _this._subscription = subscription;
  29533. return future;
  29534. }
  29535. return $.$get$Future__falseFuture();
  29536. },
  29537. cancel$0() {
  29538. var _this = this,
  29539. subscription = _this._subscription,
  29540. stateData = _this._stateData;
  29541. _this._stateData = null;
  29542. if (subscription != null) {
  29543. _this._subscription = null;
  29544. if (!_this._async$_hasValue)
  29545. stateData._asyncComplete$1(false);
  29546. else
  29547. _this._async$_hasValue = false;
  29548. return subscription.cancel$0();
  29549. }
  29550. return $.$get$Future__nullFuture();
  29551. },
  29552. _onData$1(data) {
  29553. var moveNextFuture, t1, _this = this;
  29554. if (_this._subscription == null)
  29555. return;
  29556. moveNextFuture = _this._stateData;
  29557. _this._stateData = data;
  29558. _this._async$_hasValue = true;
  29559. moveNextFuture._complete$1(true);
  29560. if (_this._async$_hasValue) {
  29561. t1 = _this._subscription;
  29562. if (t1 != null)
  29563. t1.pause$0(0);
  29564. }
  29565. },
  29566. _onError$2(error, stackTrace) {
  29567. var _this = this,
  29568. subscription = _this._subscription,
  29569. moveNextFuture = _this._stateData;
  29570. _this._stateData = _this._subscription = null;
  29571. if (subscription != null)
  29572. moveNextFuture._completeError$2(error, stackTrace);
  29573. else
  29574. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  29575. },
  29576. _onDone$0() {
  29577. var _this = this,
  29578. subscription = _this._subscription,
  29579. moveNextFuture = _this._stateData;
  29580. _this._stateData = _this._subscription = null;
  29581. if (subscription != null)
  29582. moveNextFuture._completeWithValue$1(false);
  29583. else
  29584. moveNextFuture._asyncCompleteWithValue$1(false);
  29585. }
  29586. };
  29587. A._ForwardingStream.prototype = {
  29588. get$isBroadcast() {
  29589. return this._async$_source.get$isBroadcast();
  29590. },
  29591. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  29592. var t1 = this.$ti,
  29593. t2 = t1._rest[1],
  29594. t3 = $.Zone__current,
  29595. t4 = cancelOnError === true ? 1 : 0,
  29596. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  29597. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  29598. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  29599. t2 = new A._ForwardingStreamSubscription(this, t5, t6, t3.registerCallback$1$1(t7, type$.void), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
  29600. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  29601. return t2;
  29602. },
  29603. listen$1($receiver, onData) {
  29604. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  29605. },
  29606. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  29607. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  29608. }
  29609. };
  29610. A._ForwardingStreamSubscription.prototype = {
  29611. _async$_add$1(data) {
  29612. if ((this._state & 2) !== 0)
  29613. return;
  29614. this.super$_BufferingStreamSubscription$_add(data);
  29615. },
  29616. _addError$2(error, stackTrace) {
  29617. if ((this._state & 2) !== 0)
  29618. return;
  29619. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  29620. },
  29621. _async$_onPause$0() {
  29622. var t1 = this._subscription;
  29623. if (t1 != null)
  29624. t1.pause$0(0);
  29625. },
  29626. _async$_onResume$0() {
  29627. var t1 = this._subscription;
  29628. if (t1 != null)
  29629. t1.resume$0(0);
  29630. },
  29631. _async$_onCancel$0() {
  29632. var subscription = this._subscription;
  29633. if (subscription != null) {
  29634. this._subscription = null;
  29635. return subscription.cancel$0();
  29636. }
  29637. return null;
  29638. },
  29639. _handleData$1(data) {
  29640. this._stream._handleData$2(data, this);
  29641. },
  29642. _handleError$2(error, stackTrace) {
  29643. this._addError$2(error, stackTrace);
  29644. },
  29645. _handleDone$0() {
  29646. this._close$0();
  29647. }
  29648. };
  29649. A._ExpandStream.prototype = {
  29650. _handleData$2(inputEvent, sink) {
  29651. var value, e, s, t1, exception, error, stackTrace, replacement;
  29652. try {
  29653. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  29654. value = t1.get$current(t1);
  29655. sink._async$_add$1(value);
  29656. }
  29657. } catch (exception) {
  29658. e = A.unwrapException(exception);
  29659. s = A.getTraceFromException(exception);
  29660. error = e;
  29661. stackTrace = s;
  29662. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29663. if (replacement != null) {
  29664. error = replacement.error;
  29665. stackTrace = replacement.stackTrace;
  29666. }
  29667. sink._addError$2(error, stackTrace);
  29668. }
  29669. }
  29670. };
  29671. A._ZoneFunction.prototype = {};
  29672. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  29673. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  29674. A._Zone.prototype = {
  29675. _processUncaughtError$3(zone, error, stackTrace) {
  29676. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  29677. implementation = this.get$_handleUncaughtError(),
  29678. implZone = implementation.zone;
  29679. if (implZone === B.C__RootZone) {
  29680. A._rootHandleError(error, stackTrace);
  29681. return;
  29682. }
  29683. handler = implementation.$function;
  29684. parentDelegate = implZone.get$_parentDelegate();
  29685. t1 = J.get$parent$z(implZone);
  29686. t1.toString;
  29687. parentZone = t1;
  29688. currentZone = $.Zone__current;
  29689. try {
  29690. $.Zone__current = parentZone;
  29691. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  29692. $.Zone__current = currentZone;
  29693. } catch (exception) {
  29694. e = A.unwrapException(exception);
  29695. s = A.getTraceFromException(exception);
  29696. $.Zone__current = currentZone;
  29697. t1 = error === e ? stackTrace : s;
  29698. parentZone._processUncaughtError$3(implZone, e, t1);
  29699. }
  29700. },
  29701. $isZone: 1
  29702. };
  29703. A._CustomZone.prototype = {
  29704. get$_delegate() {
  29705. var t1 = this._delegateCache;
  29706. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  29707. },
  29708. get$_parentDelegate() {
  29709. return this.parent.get$_delegate();
  29710. },
  29711. get$errorZone() {
  29712. return this._handleUncaughtError.zone;
  29713. },
  29714. runGuarded$1(f) {
  29715. var e, s, exception;
  29716. try {
  29717. this.run$1$1(0, f, type$.void);
  29718. } catch (exception) {
  29719. e = A.unwrapException(exception);
  29720. s = A.getTraceFromException(exception);
  29721. this._processUncaughtError$3(this, e, s);
  29722. }
  29723. },
  29724. runUnaryGuarded$1$2(f, arg, $T) {
  29725. var e, s, exception;
  29726. try {
  29727. this.runUnary$2$2(f, arg, type$.void, $T);
  29728. } catch (exception) {
  29729. e = A.unwrapException(exception);
  29730. s = A.getTraceFromException(exception);
  29731. this._processUncaughtError$3(this, e, s);
  29732. }
  29733. },
  29734. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  29735. var e, s, exception;
  29736. try {
  29737. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  29738. } catch (exception) {
  29739. e = A.unwrapException(exception);
  29740. s = A.getTraceFromException(exception);
  29741. this._processUncaughtError$3(this, e, s);
  29742. }
  29743. },
  29744. bindCallback$1$1(f, $R) {
  29745. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  29746. },
  29747. bindUnaryCallback$2$1(f, $R, $T) {
  29748. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  29749. },
  29750. bindCallbackGuarded$1(f) {
  29751. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  29752. },
  29753. $index(_, key) {
  29754. var value,
  29755. t1 = this._async$_map,
  29756. result = t1.$index(0, key);
  29757. if (result != null || t1.containsKey$1(key))
  29758. return result;
  29759. value = this.parent.$index(0, key);
  29760. if (value != null)
  29761. t1.$indexSet(0, key, value);
  29762. return value;
  29763. },
  29764. handleUncaughtError$2(error, stackTrace) {
  29765. this._processUncaughtError$3(this, error, stackTrace);
  29766. },
  29767. fork$2$specification$zoneValues(specification, zoneValues) {
  29768. var implementation = this._fork,
  29769. t1 = implementation.zone;
  29770. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  29771. },
  29772. run$1$1(_, f) {
  29773. var implementation = this._run,
  29774. t1 = implementation.zone;
  29775. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  29776. },
  29777. runUnary$2$2(f, arg) {
  29778. var implementation = this._runUnary,
  29779. t1 = implementation.zone;
  29780. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  29781. },
  29782. runBinary$3$3(f, arg1, arg2) {
  29783. var implementation = this._runBinary,
  29784. t1 = implementation.zone;
  29785. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  29786. },
  29787. registerCallback$1$1(callback) {
  29788. var implementation = this._registerCallback,
  29789. t1 = implementation.zone;
  29790. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29791. },
  29792. registerUnaryCallback$2$1(callback) {
  29793. var implementation = this._registerUnaryCallback,
  29794. t1 = implementation.zone;
  29795. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29796. },
  29797. registerBinaryCallback$3$1(callback) {
  29798. var implementation = this._registerBinaryCallback,
  29799. t1 = implementation.zone;
  29800. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29801. },
  29802. errorCallback$2(error, stackTrace) {
  29803. var implementation, implementationZone;
  29804. A.checkNotNullable(error, "error", type$.Object);
  29805. implementation = this._errorCallback;
  29806. implementationZone = implementation.zone;
  29807. if (implementationZone === B.C__RootZone)
  29808. return null;
  29809. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  29810. },
  29811. scheduleMicrotask$1(f) {
  29812. var implementation = this._scheduleMicrotask,
  29813. t1 = implementation.zone;
  29814. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  29815. },
  29816. createTimer$2(duration, f) {
  29817. var implementation = this._createTimer,
  29818. t1 = implementation.zone;
  29819. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  29820. },
  29821. print$1(line) {
  29822. var implementation = this._print,
  29823. t1 = implementation.zone;
  29824. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  29825. },
  29826. get$_run() {
  29827. return this._run;
  29828. },
  29829. get$_runUnary() {
  29830. return this._runUnary;
  29831. },
  29832. get$_runBinary() {
  29833. return this._runBinary;
  29834. },
  29835. get$_registerCallback() {
  29836. return this._registerCallback;
  29837. },
  29838. get$_registerUnaryCallback() {
  29839. return this._registerUnaryCallback;
  29840. },
  29841. get$_registerBinaryCallback() {
  29842. return this._registerBinaryCallback;
  29843. },
  29844. get$_errorCallback() {
  29845. return this._errorCallback;
  29846. },
  29847. get$_scheduleMicrotask() {
  29848. return this._scheduleMicrotask;
  29849. },
  29850. get$_createTimer() {
  29851. return this._createTimer;
  29852. },
  29853. get$_createPeriodicTimer() {
  29854. return this._createPeriodicTimer;
  29855. },
  29856. get$_print() {
  29857. return this._print;
  29858. },
  29859. get$_fork() {
  29860. return this._fork;
  29861. },
  29862. get$_handleUncaughtError() {
  29863. return this._handleUncaughtError;
  29864. },
  29865. get$parent(receiver) {
  29866. return this.parent;
  29867. },
  29868. get$_async$_map() {
  29869. return this._async$_map;
  29870. }
  29871. };
  29872. A._CustomZone_bindCallback_closure.prototype = {
  29873. call$0() {
  29874. return this.$this.run$1$1(0, this.registered, this.R);
  29875. },
  29876. $signature() {
  29877. return this.R._eval$1("0()");
  29878. }
  29879. };
  29880. A._CustomZone_bindUnaryCallback_closure.prototype = {
  29881. call$1(arg) {
  29882. var _this = this;
  29883. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  29884. },
  29885. $signature() {
  29886. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  29887. }
  29888. };
  29889. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  29890. call$0() {
  29891. return this.$this.runGuarded$1(this.registered);
  29892. },
  29893. $signature: 0
  29894. };
  29895. A._rootHandleError_closure.prototype = {
  29896. call$0() {
  29897. var t1 = this.error,
  29898. t2 = this.stackTrace;
  29899. A.checkNotNullable(t1, "error", type$.Object);
  29900. A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
  29901. A.Error__throw(t1, t2);
  29902. },
  29903. $signature: 0
  29904. };
  29905. A._RootZone.prototype = {
  29906. get$_run() {
  29907. return B._ZoneFunction__RootZone__rootRun;
  29908. },
  29909. get$_runUnary() {
  29910. return B._ZoneFunction__RootZone__rootRunUnary;
  29911. },
  29912. get$_runBinary() {
  29913. return B._ZoneFunction__RootZone__rootRunBinary;
  29914. },
  29915. get$_registerCallback() {
  29916. return B._ZoneFunction__RootZone__rootRegisterCallback;
  29917. },
  29918. get$_registerUnaryCallback() {
  29919. return B._ZoneFunction_Eeh;
  29920. },
  29921. get$_registerBinaryCallback() {
  29922. return B._ZoneFunction_7G2;
  29923. },
  29924. get$_errorCallback() {
  29925. return B._ZoneFunction__RootZone__rootErrorCallback;
  29926. },
  29927. get$_scheduleMicrotask() {
  29928. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  29929. },
  29930. get$_createTimer() {
  29931. return B._ZoneFunction__RootZone__rootCreateTimer;
  29932. },
  29933. get$_createPeriodicTimer() {
  29934. return B._ZoneFunction_3bB;
  29935. },
  29936. get$_print() {
  29937. return B._ZoneFunction__RootZone__rootPrint;
  29938. },
  29939. get$_fork() {
  29940. return B._ZoneFunction__RootZone__rootFork;
  29941. },
  29942. get$_handleUncaughtError() {
  29943. return B._ZoneFunction_NMc;
  29944. },
  29945. get$parent(_) {
  29946. return null;
  29947. },
  29948. get$_async$_map() {
  29949. return $.$get$_RootZone__rootMap();
  29950. },
  29951. get$_delegate() {
  29952. var t1 = $._RootZone__rootDelegate;
  29953. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  29954. },
  29955. get$_parentDelegate() {
  29956. var t1 = $._RootZone__rootDelegate;
  29957. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  29958. },
  29959. get$errorZone() {
  29960. return this;
  29961. },
  29962. runGuarded$1(f) {
  29963. var e, s, exception;
  29964. try {
  29965. if (B.C__RootZone === $.Zone__current) {
  29966. f.call$0();
  29967. return;
  29968. }
  29969. A._rootRun(null, null, this, f);
  29970. } catch (exception) {
  29971. e = A.unwrapException(exception);
  29972. s = A.getTraceFromException(exception);
  29973. A._rootHandleError(e, s);
  29974. }
  29975. },
  29976. runUnaryGuarded$1$2(f, arg) {
  29977. var e, s, exception;
  29978. try {
  29979. if (B.C__RootZone === $.Zone__current) {
  29980. f.call$1(arg);
  29981. return;
  29982. }
  29983. A._rootRunUnary(null, null, this, f, arg);
  29984. } catch (exception) {
  29985. e = A.unwrapException(exception);
  29986. s = A.getTraceFromException(exception);
  29987. A._rootHandleError(e, s);
  29988. }
  29989. },
  29990. runBinaryGuarded$2$3(f, arg1, arg2) {
  29991. var e, s, exception;
  29992. try {
  29993. if (B.C__RootZone === $.Zone__current) {
  29994. f.call$2(arg1, arg2);
  29995. return;
  29996. }
  29997. A._rootRunBinary(null, null, this, f, arg1, arg2);
  29998. } catch (exception) {
  29999. e = A.unwrapException(exception);
  30000. s = A.getTraceFromException(exception);
  30001. A._rootHandleError(e, s);
  30002. }
  30003. },
  30004. bindCallback$1$1(f, $R) {
  30005. return new A._RootZone_bindCallback_closure(this, f, $R);
  30006. },
  30007. bindUnaryCallback$2$1(f, $R, $T) {
  30008. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  30009. },
  30010. bindCallbackGuarded$1(f) {
  30011. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  30012. },
  30013. $index(_, key) {
  30014. return null;
  30015. },
  30016. handleUncaughtError$2(error, stackTrace) {
  30017. A._rootHandleError(error, stackTrace);
  30018. },
  30019. fork$2$specification$zoneValues(specification, zoneValues) {
  30020. return A._rootFork(null, null, this, specification, zoneValues);
  30021. },
  30022. run$1$1(_, f) {
  30023. if ($.Zone__current === B.C__RootZone)
  30024. return f.call$0();
  30025. return A._rootRun(null, null, this, f);
  30026. },
  30027. runUnary$2$2(f, arg) {
  30028. if ($.Zone__current === B.C__RootZone)
  30029. return f.call$1(arg);
  30030. return A._rootRunUnary(null, null, this, f, arg);
  30031. },
  30032. runBinary$3$3(f, arg1, arg2) {
  30033. if ($.Zone__current === B.C__RootZone)
  30034. return f.call$2(arg1, arg2);
  30035. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  30036. },
  30037. registerCallback$1$1(f) {
  30038. return f;
  30039. },
  30040. registerUnaryCallback$2$1(f) {
  30041. return f;
  30042. },
  30043. registerBinaryCallback$3$1(f) {
  30044. return f;
  30045. },
  30046. errorCallback$2(error, stackTrace) {
  30047. return null;
  30048. },
  30049. scheduleMicrotask$1(f) {
  30050. A._rootScheduleMicrotask(null, null, this, f);
  30051. },
  30052. createTimer$2(duration, f) {
  30053. return A.Timer__createTimer(duration, f);
  30054. },
  30055. print$1(line) {
  30056. A.printString(line);
  30057. }
  30058. };
  30059. A._RootZone_bindCallback_closure.prototype = {
  30060. call$0() {
  30061. return this.$this.run$1$1(0, this.f, this.R);
  30062. },
  30063. $signature() {
  30064. return this.R._eval$1("0()");
  30065. }
  30066. };
  30067. A._RootZone_bindUnaryCallback_closure.prototype = {
  30068. call$1(arg) {
  30069. var _this = this;
  30070. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  30071. },
  30072. $signature() {
  30073. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30074. }
  30075. };
  30076. A._RootZone_bindCallbackGuarded_closure.prototype = {
  30077. call$0() {
  30078. return this.$this.runGuarded$1(this.f);
  30079. },
  30080. $signature: 0
  30081. };
  30082. A._HashMap.prototype = {
  30083. get$length(_) {
  30084. return this._collection$_length;
  30085. },
  30086. get$isEmpty(_) {
  30087. return this._collection$_length === 0;
  30088. },
  30089. get$isNotEmpty(_) {
  30090. return this._collection$_length !== 0;
  30091. },
  30092. get$keys(_) {
  30093. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  30094. },
  30095. get$values(_) {
  30096. var t1 = A._instanceType(this);
  30097. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  30098. },
  30099. containsKey$1(key) {
  30100. var strings, nums;
  30101. if (typeof key == "string" && key !== "__proto__") {
  30102. strings = this._collection$_strings;
  30103. return strings == null ? false : strings[key] != null;
  30104. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30105. nums = this._collection$_nums;
  30106. return nums == null ? false : nums[key] != null;
  30107. } else
  30108. return this._containsKey$1(key);
  30109. },
  30110. _containsKey$1(key) {
  30111. var rest = this._collection$_rest;
  30112. if (rest == null)
  30113. return false;
  30114. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  30115. },
  30116. addAll$1(_, other) {
  30117. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  30118. },
  30119. $index(_, key) {
  30120. var strings, t1, nums;
  30121. if (typeof key == "string" && key !== "__proto__") {
  30122. strings = this._collection$_strings;
  30123. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  30124. return t1;
  30125. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30126. nums = this._collection$_nums;
  30127. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  30128. return t1;
  30129. } else
  30130. return this._get$1(key);
  30131. },
  30132. _get$1(key) {
  30133. var bucket, index,
  30134. rest = this._collection$_rest;
  30135. if (rest == null)
  30136. return null;
  30137. bucket = this._getBucket$2(rest, key);
  30138. index = this._findBucketIndex$2(bucket, key);
  30139. return index < 0 ? null : bucket[index + 1];
  30140. },
  30141. $indexSet(_, key, value) {
  30142. var strings, nums, _this = this;
  30143. if (typeof key == "string" && key !== "__proto__") {
  30144. strings = _this._collection$_strings;
  30145. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  30146. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30147. nums = _this._collection$_nums;
  30148. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  30149. } else
  30150. _this._set$2(key, value);
  30151. },
  30152. _set$2(key, value) {
  30153. var hash, bucket, index, _this = this,
  30154. rest = _this._collection$_rest;
  30155. if (rest == null)
  30156. rest = _this._collection$_rest = A._HashMap__newHashTable();
  30157. hash = _this._computeHashCode$1(key);
  30158. bucket = rest[hash];
  30159. if (bucket == null) {
  30160. A._HashMap__setTableEntry(rest, hash, [key, value]);
  30161. ++_this._collection$_length;
  30162. _this._keys = null;
  30163. } else {
  30164. index = _this._findBucketIndex$2(bucket, key);
  30165. if (index >= 0)
  30166. bucket[index + 1] = value;
  30167. else {
  30168. bucket.push(key, value);
  30169. ++_this._collection$_length;
  30170. _this._keys = null;
  30171. }
  30172. }
  30173. },
  30174. remove$1(_, key) {
  30175. var t1;
  30176. if (typeof key == "string" && key !== "__proto__")
  30177. return this._removeHashTableEntry$2(this._collection$_strings, key);
  30178. else {
  30179. t1 = this._remove$1(key);
  30180. return t1;
  30181. }
  30182. },
  30183. _remove$1(key) {
  30184. var hash, bucket, index, result, _this = this,
  30185. rest = _this._collection$_rest;
  30186. if (rest == null)
  30187. return null;
  30188. hash = _this._computeHashCode$1(key);
  30189. bucket = rest[hash];
  30190. index = _this._findBucketIndex$2(bucket, key);
  30191. if (index < 0)
  30192. return null;
  30193. --_this._collection$_length;
  30194. _this._keys = null;
  30195. result = bucket.splice(index, 2)[1];
  30196. if (0 === bucket.length)
  30197. delete rest[hash];
  30198. return result;
  30199. },
  30200. forEach$1(_, action) {
  30201. var $length, t1, i, key, t2, _this = this,
  30202. keys = _this._computeKeys$0();
  30203. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  30204. key = keys[i];
  30205. t2 = _this.$index(0, key);
  30206. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  30207. if (keys !== _this._keys)
  30208. throw A.wrapException(A.ConcurrentModificationError$(_this));
  30209. }
  30210. },
  30211. _computeKeys$0() {
  30212. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  30213. result = _this._keys;
  30214. if (result != null)
  30215. return result;
  30216. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  30217. strings = _this._collection$_strings;
  30218. if (strings != null) {
  30219. names = Object.getOwnPropertyNames(strings);
  30220. entries = names.length;
  30221. for (index = 0, i = 0; i < entries; ++i) {
  30222. result[index] = names[i];
  30223. ++index;
  30224. }
  30225. } else
  30226. index = 0;
  30227. nums = _this._collection$_nums;
  30228. if (nums != null) {
  30229. names = Object.getOwnPropertyNames(nums);
  30230. entries = names.length;
  30231. for (i = 0; i < entries; ++i) {
  30232. result[index] = +names[i];
  30233. ++index;
  30234. }
  30235. }
  30236. rest = _this._collection$_rest;
  30237. if (rest != null) {
  30238. names = Object.getOwnPropertyNames(rest);
  30239. entries = names.length;
  30240. for (i = 0; i < entries; ++i) {
  30241. bucket = rest[names[i]];
  30242. $length = bucket.length;
  30243. for (i0 = 0; i0 < $length; i0 += 2) {
  30244. result[index] = bucket[i0];
  30245. ++index;
  30246. }
  30247. }
  30248. }
  30249. return _this._keys = result;
  30250. },
  30251. _collection$_addHashTableEntry$3(table, key, value) {
  30252. if (table[key] == null) {
  30253. ++this._collection$_length;
  30254. this._keys = null;
  30255. }
  30256. A._HashMap__setTableEntry(table, key, value);
  30257. },
  30258. _removeHashTableEntry$2(table, key) {
  30259. var value;
  30260. if (table != null && table[key] != null) {
  30261. value = A._HashMap__getTableEntry(table, key);
  30262. delete table[key];
  30263. --this._collection$_length;
  30264. this._keys = null;
  30265. return value;
  30266. } else
  30267. return null;
  30268. },
  30269. _computeHashCode$1(key) {
  30270. return J.get$hashCode$(key) & 1073741823;
  30271. },
  30272. _getBucket$2(table, key) {
  30273. return table[this._computeHashCode$1(key)];
  30274. },
  30275. _findBucketIndex$2(bucket, key) {
  30276. var $length, i;
  30277. if (bucket == null)
  30278. return -1;
  30279. $length = bucket.length;
  30280. for (i = 0; i < $length; i += 2)
  30281. if (J.$eq$(bucket[i], key))
  30282. return i;
  30283. return -1;
  30284. }
  30285. };
  30286. A._HashMap_values_closure.prototype = {
  30287. call$1(each) {
  30288. var t1 = this.$this,
  30289. t2 = t1.$index(0, each);
  30290. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  30291. },
  30292. $signature() {
  30293. return A._instanceType(this.$this)._eval$1("2(1)");
  30294. }
  30295. };
  30296. A._HashMap_addAll_closure.prototype = {
  30297. call$2(key, value) {
  30298. this.$this.$indexSet(0, key, value);
  30299. },
  30300. $signature() {
  30301. return A._instanceType(this.$this)._eval$1("~(1,2)");
  30302. }
  30303. };
  30304. A._IdentityHashMap.prototype = {
  30305. _computeHashCode$1(key) {
  30306. return A.objectHashCode(key) & 1073741823;
  30307. },
  30308. _findBucketIndex$2(bucket, key) {
  30309. var $length, i, t1;
  30310. if (bucket == null)
  30311. return -1;
  30312. $length = bucket.length;
  30313. for (i = 0; i < $length; i += 2) {
  30314. t1 = bucket[i];
  30315. if (t1 == null ? key == null : t1 === key)
  30316. return i;
  30317. }
  30318. return -1;
  30319. }
  30320. };
  30321. A._HashMapKeyIterable.prototype = {
  30322. get$length(_) {
  30323. return this._map._collection$_length;
  30324. },
  30325. get$isEmpty(_) {
  30326. return this._map._collection$_length === 0;
  30327. },
  30328. get$iterator(_) {
  30329. var t1 = this._map;
  30330. return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
  30331. },
  30332. contains$1(_, element) {
  30333. return this._map.containsKey$1(element);
  30334. }
  30335. };
  30336. A._HashMapKeyIterator.prototype = {
  30337. get$current(_) {
  30338. var t1 = this._collection$_current;
  30339. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  30340. },
  30341. moveNext$0() {
  30342. var _this = this,
  30343. keys = _this._keys,
  30344. offset = _this._offset,
  30345. t1 = _this._map;
  30346. if (keys !== t1._keys)
  30347. throw A.wrapException(A.ConcurrentModificationError$(t1));
  30348. else if (offset >= keys.length) {
  30349. _this._collection$_current = null;
  30350. return false;
  30351. } else {
  30352. _this._collection$_current = keys[offset];
  30353. _this._offset = offset + 1;
  30354. return true;
  30355. }
  30356. }
  30357. };
  30358. A._LinkedIdentityHashMap.prototype = {
  30359. internalComputeHashCode$1(key) {
  30360. return A.objectHashCode(key) & 1073741823;
  30361. },
  30362. internalFindBucketIndex$2(bucket, key) {
  30363. var $length, i, t1;
  30364. if (bucket == null)
  30365. return -1;
  30366. $length = bucket.length;
  30367. for (i = 0; i < $length; ++i) {
  30368. t1 = bucket[i].hashMapCellKey;
  30369. if (t1 == null ? key == null : t1 === key)
  30370. return i;
  30371. }
  30372. return -1;
  30373. }
  30374. };
  30375. A._LinkedCustomHashMap.prototype = {
  30376. $index(_, key) {
  30377. if (!this._validKey.call$1(key))
  30378. return null;
  30379. return this.super$JsLinkedHashMap$internalGet(key);
  30380. },
  30381. $indexSet(_, key, value) {
  30382. this.super$JsLinkedHashMap$internalSet(key, value);
  30383. },
  30384. containsKey$1(key) {
  30385. if (!this._validKey.call$1(key))
  30386. return false;
  30387. return this.super$JsLinkedHashMap$internalContainsKey(key);
  30388. },
  30389. remove$1(_, key) {
  30390. if (!this._validKey.call$1(key))
  30391. return null;
  30392. return this.super$JsLinkedHashMap$internalRemove(key);
  30393. },
  30394. internalComputeHashCode$1(key) {
  30395. return this._hashCode.call$1(key) & 1073741823;
  30396. },
  30397. internalFindBucketIndex$2(bucket, key) {
  30398. var $length, t1, i;
  30399. if (bucket == null)
  30400. return -1;
  30401. $length = bucket.length;
  30402. for (t1 = this._equals, i = 0; i < $length; ++i)
  30403. if (t1.call$2(bucket[i].hashMapCellKey, key))
  30404. return i;
  30405. return -1;
  30406. }
  30407. };
  30408. A._LinkedCustomHashMap_closure.prototype = {
  30409. call$1(v) {
  30410. return this.K._is(v);
  30411. },
  30412. $signature: 137
  30413. };
  30414. A._LinkedHashSet.prototype = {
  30415. _newSet$0() {
  30416. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  30417. },
  30418. _newSimilarSet$1$0($R) {
  30419. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  30420. },
  30421. _newSimilarSet$0() {
  30422. return this._newSimilarSet$1$0(type$.dynamic);
  30423. },
  30424. get$iterator(_) {
  30425. var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
  30426. t1._collection$_cell = this._collection$_first;
  30427. return t1;
  30428. },
  30429. get$length(_) {
  30430. return this._collection$_length;
  30431. },
  30432. get$isEmpty(_) {
  30433. return this._collection$_length === 0;
  30434. },
  30435. get$isNotEmpty(_) {
  30436. return this._collection$_length !== 0;
  30437. },
  30438. contains$1(_, object) {
  30439. var strings, nums;
  30440. if (typeof object == "string" && object !== "__proto__") {
  30441. strings = this._collection$_strings;
  30442. if (strings == null)
  30443. return false;
  30444. return strings[object] != null;
  30445. } else if (typeof object == "number" && (object & 1073741823) === object) {
  30446. nums = this._collection$_nums;
  30447. if (nums == null)
  30448. return false;
  30449. return nums[object] != null;
  30450. } else
  30451. return this._contains$1(object);
  30452. },
  30453. _contains$1(object) {
  30454. var rest = this._collection$_rest;
  30455. if (rest == null)
  30456. return false;
  30457. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  30458. },
  30459. get$first(_) {
  30460. var first = this._collection$_first;
  30461. if (first == null)
  30462. throw A.wrapException(A.StateError$("No elements"));
  30463. return first._element;
  30464. },
  30465. get$last(_) {
  30466. var last = this._collection$_last;
  30467. if (last == null)
  30468. throw A.wrapException(A.StateError$("No elements"));
  30469. return last._element;
  30470. },
  30471. add$1(_, element) {
  30472. var strings, nums, _this = this;
  30473. if (typeof element == "string" && element !== "__proto__") {
  30474. strings = _this._collection$_strings;
  30475. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  30476. } else if (typeof element == "number" && (element & 1073741823) === element) {
  30477. nums = _this._collection$_nums;
  30478. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  30479. } else
  30480. return _this._add$1(element);
  30481. },
  30482. _add$1(element) {
  30483. var hash, bucket, _this = this,
  30484. rest = _this._collection$_rest;
  30485. if (rest == null)
  30486. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  30487. hash = _this._computeHashCode$1(element);
  30488. bucket = rest[hash];
  30489. if (bucket == null)
  30490. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  30491. else {
  30492. if (_this._findBucketIndex$2(bucket, element) >= 0)
  30493. return false;
  30494. bucket.push(_this._collection$_newLinkedCell$1(element));
  30495. }
  30496. return true;
  30497. },
  30498. remove$1(_, object) {
  30499. var _this = this;
  30500. if (typeof object == "string" && object !== "__proto__")
  30501. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  30502. else if (typeof object == "number" && (object & 1073741823) === object)
  30503. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  30504. else
  30505. return _this._remove$1(object);
  30506. },
  30507. _remove$1(object) {
  30508. var hash, bucket, index, cell, _this = this,
  30509. rest = _this._collection$_rest;
  30510. if (rest == null)
  30511. return false;
  30512. hash = _this._computeHashCode$1(object);
  30513. bucket = rest[hash];
  30514. index = _this._findBucketIndex$2(bucket, object);
  30515. if (index < 0)
  30516. return false;
  30517. cell = bucket.splice(index, 1)[0];
  30518. if (0 === bucket.length)
  30519. delete rest[hash];
  30520. _this._unlinkCell$1(cell);
  30521. return true;
  30522. },
  30523. _collection$_addHashTableEntry$2(table, element) {
  30524. if (table[element] != null)
  30525. return false;
  30526. table[element] = this._collection$_newLinkedCell$1(element);
  30527. return true;
  30528. },
  30529. _removeHashTableEntry$2(table, element) {
  30530. var cell;
  30531. if (table == null)
  30532. return false;
  30533. cell = table[element];
  30534. if (cell == null)
  30535. return false;
  30536. this._unlinkCell$1(cell);
  30537. delete table[element];
  30538. return true;
  30539. },
  30540. _collection$_modified$0() {
  30541. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  30542. },
  30543. _collection$_newLinkedCell$1(element) {
  30544. var t1, _this = this,
  30545. cell = new A._LinkedHashSetCell(element);
  30546. if (_this._collection$_first == null)
  30547. _this._collection$_first = _this._collection$_last = cell;
  30548. else {
  30549. t1 = _this._collection$_last;
  30550. t1.toString;
  30551. cell._collection$_previous = t1;
  30552. _this._collection$_last = t1._collection$_next = cell;
  30553. }
  30554. ++_this._collection$_length;
  30555. _this._collection$_modified$0();
  30556. return cell;
  30557. },
  30558. _unlinkCell$1(cell) {
  30559. var _this = this,
  30560. previous = cell._collection$_previous,
  30561. next = cell._collection$_next;
  30562. if (previous == null)
  30563. _this._collection$_first = next;
  30564. else
  30565. previous._collection$_next = next;
  30566. if (next == null)
  30567. _this._collection$_last = previous;
  30568. else
  30569. next._collection$_previous = previous;
  30570. --_this._collection$_length;
  30571. _this._collection$_modified$0();
  30572. },
  30573. _computeHashCode$1(element) {
  30574. return J.get$hashCode$(element) & 1073741823;
  30575. },
  30576. _findBucketIndex$2(bucket, element) {
  30577. var $length, i;
  30578. if (bucket == null)
  30579. return -1;
  30580. $length = bucket.length;
  30581. for (i = 0; i < $length; ++i)
  30582. if (J.$eq$(bucket[i]._element, element))
  30583. return i;
  30584. return -1;
  30585. }
  30586. };
  30587. A._LinkedIdentityHashSet.prototype = {
  30588. _newSet$0() {
  30589. return new A._LinkedIdentityHashSet(this.$ti);
  30590. },
  30591. _newSimilarSet$1$0($R) {
  30592. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  30593. },
  30594. _newSimilarSet$0() {
  30595. return this._newSimilarSet$1$0(type$.dynamic);
  30596. },
  30597. _computeHashCode$1(key) {
  30598. return A.objectHashCode(key) & 1073741823;
  30599. },
  30600. _findBucketIndex$2(bucket, element) {
  30601. var $length, i, t1;
  30602. if (bucket == null)
  30603. return -1;
  30604. $length = bucket.length;
  30605. for (i = 0; i < $length; ++i) {
  30606. t1 = bucket[i]._element;
  30607. if (t1 == null ? element == null : t1 === element)
  30608. return i;
  30609. }
  30610. return -1;
  30611. }
  30612. };
  30613. A._LinkedHashSetCell.prototype = {};
  30614. A._LinkedHashSetIterator.prototype = {
  30615. get$current(_) {
  30616. var t1 = this._collection$_current;
  30617. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  30618. },
  30619. moveNext$0() {
  30620. var _this = this,
  30621. cell = _this._collection$_cell,
  30622. t1 = _this._set;
  30623. if (_this._collection$_modifications !== t1._collection$_modifications)
  30624. throw A.wrapException(A.ConcurrentModificationError$(t1));
  30625. else if (cell == null) {
  30626. _this._collection$_current = null;
  30627. return false;
  30628. } else {
  30629. _this._collection$_current = cell._element;
  30630. _this._collection$_cell = cell._collection$_next;
  30631. return true;
  30632. }
  30633. }
  30634. };
  30635. A.UnmodifiableListView.prototype = {
  30636. cast$1$0(_, $R) {
  30637. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  30638. },
  30639. get$length(_) {
  30640. return J.get$length$asx(this._collection$_source);
  30641. },
  30642. $index(_, index) {
  30643. return J.elementAt$1$ax(this._collection$_source, index);
  30644. }
  30645. };
  30646. A.HashMap_HashMap$from_closure.prototype = {
  30647. call$2(k, v) {
  30648. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  30649. },
  30650. $signature: 153
  30651. };
  30652. A.IterableBase.prototype = {};
  30653. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  30654. call$2(k, v) {
  30655. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  30656. },
  30657. $signature: 153
  30658. };
  30659. A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
  30660. A.ListMixin.prototype = {
  30661. get$iterator(receiver) {
  30662. return new A.ListIterator(receiver, this.get$length(receiver));
  30663. },
  30664. elementAt$1(receiver, index) {
  30665. return this.$index(receiver, index);
  30666. },
  30667. get$isEmpty(receiver) {
  30668. return this.get$length(receiver) === 0;
  30669. },
  30670. get$isNotEmpty(receiver) {
  30671. return !this.get$isEmpty(receiver);
  30672. },
  30673. get$first(receiver) {
  30674. if (this.get$length(receiver) === 0)
  30675. throw A.wrapException(A.IterableElementError_noElement());
  30676. return this.$index(receiver, 0);
  30677. },
  30678. get$last(receiver) {
  30679. if (this.get$length(receiver) === 0)
  30680. throw A.wrapException(A.IterableElementError_noElement());
  30681. return this.$index(receiver, this.get$length(receiver) - 1);
  30682. },
  30683. get$single(receiver) {
  30684. if (this.get$length(receiver) === 0)
  30685. throw A.wrapException(A.IterableElementError_noElement());
  30686. if (this.get$length(receiver) > 1)
  30687. throw A.wrapException(A.IterableElementError_tooMany());
  30688. return this.$index(receiver, 0);
  30689. },
  30690. contains$1(receiver, element) {
  30691. var i,
  30692. $length = this.get$length(receiver);
  30693. for (i = 0; i < $length; ++i) {
  30694. if (J.$eq$(this.$index(receiver, i), element))
  30695. return true;
  30696. if ($length !== this.get$length(receiver))
  30697. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30698. }
  30699. return false;
  30700. },
  30701. every$1(receiver, test) {
  30702. var i,
  30703. $length = this.get$length(receiver);
  30704. for (i = 0; i < $length; ++i) {
  30705. if (!test.call$1(this.$index(receiver, i)))
  30706. return false;
  30707. if ($length !== this.get$length(receiver))
  30708. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30709. }
  30710. return true;
  30711. },
  30712. any$1(receiver, test) {
  30713. var i,
  30714. $length = this.get$length(receiver);
  30715. for (i = 0; i < $length; ++i) {
  30716. if (test.call$1(this.$index(receiver, i)))
  30717. return true;
  30718. if ($length !== this.get$length(receiver))
  30719. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30720. }
  30721. return false;
  30722. },
  30723. lastWhere$2$orElse(receiver, test, orElse) {
  30724. var i, element,
  30725. $length = this.get$length(receiver);
  30726. for (i = $length - 1; i >= 0; --i) {
  30727. element = this.$index(receiver, i);
  30728. if (test.call$1(element))
  30729. return element;
  30730. if ($length !== this.get$length(receiver))
  30731. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30732. }
  30733. if (orElse != null)
  30734. return orElse.call$0();
  30735. throw A.wrapException(A.IterableElementError_noElement());
  30736. },
  30737. join$1(receiver, separator) {
  30738. var t1;
  30739. if (this.get$length(receiver) === 0)
  30740. return "";
  30741. t1 = A.StringBuffer__writeAll("", receiver, separator);
  30742. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30743. },
  30744. join$0($receiver) {
  30745. return this.join$1($receiver, "");
  30746. },
  30747. where$1(receiver, test) {
  30748. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
  30749. },
  30750. map$1$1(receiver, f, $T) {
  30751. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  30752. },
  30753. expand$1$1(receiver, f, $T) {
  30754. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  30755. },
  30756. skip$1(receiver, count) {
  30757. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30758. },
  30759. take$1(receiver, count) {
  30760. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
  30761. },
  30762. toList$1$growable(receiver, growable) {
  30763. var t1, first, result, i, _this = this;
  30764. if (_this.get$isEmpty(receiver)) {
  30765. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30766. return t1;
  30767. }
  30768. first = _this.$index(receiver, 0);
  30769. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30770. for (i = 1; i < _this.get$length(receiver); ++i)
  30771. result[i] = _this.$index(receiver, i);
  30772. return result;
  30773. },
  30774. toList$0($receiver) {
  30775. return this.toList$1$growable($receiver, true);
  30776. },
  30777. toSet$0(receiver) {
  30778. var i,
  30779. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
  30780. for (i = 0; i < this.get$length(receiver); ++i)
  30781. result.add$1(0, this.$index(receiver, i));
  30782. return result;
  30783. },
  30784. add$1(receiver, element) {
  30785. var t1 = this.get$length(receiver);
  30786. this.set$length(receiver, t1 + 1);
  30787. this.$indexSet(receiver, t1, element);
  30788. },
  30789. cast$1$0(receiver, $R) {
  30790. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  30791. },
  30792. sort$1(receiver, compare) {
  30793. A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
  30794. },
  30795. getRange$2(receiver, start, end) {
  30796. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30797. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30798. },
  30799. fillRange$3(receiver, start, end, fill) {
  30800. var i,
  30801. value = fill == null ? A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill) : fill;
  30802. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30803. for (i = start; i < end; ++i)
  30804. this.$indexSet(receiver, i, value);
  30805. },
  30806. setRange$4(receiver, start, end, iterable, skipCount) {
  30807. var $length, otherStart, otherList, t1, i;
  30808. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30809. $length = end - start;
  30810. if ($length === 0)
  30811. return;
  30812. A.RangeError_checkNotNegative(skipCount, "skipCount");
  30813. if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
  30814. otherStart = skipCount;
  30815. otherList = iterable;
  30816. } else {
  30817. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  30818. otherStart = 0;
  30819. }
  30820. t1 = J.getInterceptor$asx(otherList);
  30821. if (otherStart + $length > t1.get$length(otherList))
  30822. throw A.wrapException(A.IterableElementError_tooFew());
  30823. if (otherStart < start)
  30824. for (i = $length - 1; i >= 0; --i)
  30825. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  30826. else
  30827. for (i = 0; i < $length; ++i)
  30828. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  30829. },
  30830. get$reversed(receiver) {
  30831. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
  30832. },
  30833. toString$0(receiver) {
  30834. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  30835. }
  30836. };
  30837. A.MapBase.prototype = {};
  30838. A.MapBase_mapToString_closure.prototype = {
  30839. call$2(k, v) {
  30840. var t2,
  30841. t1 = this._box_0;
  30842. if (!t1.first)
  30843. this.result._contents += ", ";
  30844. t1.first = false;
  30845. t1 = this.result;
  30846. t2 = t1._contents += A.S(k);
  30847. t1._contents = t2 + ": ";
  30848. t1._contents += A.S(v);
  30849. },
  30850. $signature: 165
  30851. };
  30852. A.MapMixin.prototype = {
  30853. cast$2$0(_, RK, RV) {
  30854. var t1 = A._instanceType(this);
  30855. return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
  30856. },
  30857. forEach$1(_, action) {
  30858. var t1, t2, key, t3, _this = this;
  30859. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
  30860. key = t1.get$current(t1);
  30861. t3 = _this.$index(0, key);
  30862. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  30863. }
  30864. },
  30865. addAll$1(_, other) {
  30866. other.forEach$1(0, new A.MapMixin_addAll_closure(this));
  30867. },
  30868. get$entries(_) {
  30869. var _this = this;
  30870. return J.map$1$1$ax(_this.get$keys(_this), new A.MapMixin_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>"));
  30871. },
  30872. containsKey$1(key) {
  30873. return J.contains$1$asx(this.get$keys(this), key);
  30874. },
  30875. get$length(_) {
  30876. return J.get$length$asx(this.get$keys(this));
  30877. },
  30878. get$isEmpty(_) {
  30879. return J.get$isEmpty$asx(this.get$keys(this));
  30880. },
  30881. get$isNotEmpty(_) {
  30882. return J.get$isNotEmpty$asx(this.get$keys(this));
  30883. },
  30884. get$values(_) {
  30885. var t1 = A._instanceType(this);
  30886. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  30887. },
  30888. toString$0(_) {
  30889. return A.MapBase_mapToString(this);
  30890. },
  30891. $isMap: 1
  30892. };
  30893. A.MapMixin_addAll_closure.prototype = {
  30894. call$2(key, value) {
  30895. this.$this.$indexSet(0, key, value);
  30896. },
  30897. $signature() {
  30898. return A._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)");
  30899. }
  30900. };
  30901. A.MapMixin_entries_closure.prototype = {
  30902. call$1(key) {
  30903. var t1 = this.$this,
  30904. t2 = t1.$index(0, key);
  30905. if (t2 == null)
  30906. t2 = A._instanceType(t1)._eval$1("MapMixin.V")._as(t2);
  30907. t1 = A._instanceType(t1);
  30908. return new A.MapEntry(key, t2, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"));
  30909. },
  30910. $signature() {
  30911. return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
  30912. }
  30913. };
  30914. A.UnmodifiableMapBase.prototype = {};
  30915. A._MapBaseValueIterable.prototype = {
  30916. get$length(_) {
  30917. var t1 = this._map;
  30918. return t1.get$length(t1);
  30919. },
  30920. get$isEmpty(_) {
  30921. var t1 = this._map;
  30922. return t1.get$isEmpty(t1);
  30923. },
  30924. get$isNotEmpty(_) {
  30925. var t1 = this._map;
  30926. return t1.get$isNotEmpty(t1);
  30927. },
  30928. get$first(_) {
  30929. var t1 = this._map;
  30930. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  30931. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30932. },
  30933. get$single(_) {
  30934. var t1 = this._map;
  30935. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  30936. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30937. },
  30938. get$last(_) {
  30939. var t1 = this._map;
  30940. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  30941. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30942. },
  30943. get$iterator(_) {
  30944. var t1 = this._map;
  30945. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
  30946. }
  30947. };
  30948. A._MapBaseValueIterator.prototype = {
  30949. moveNext$0() {
  30950. var _this = this,
  30951. t1 = _this._keys;
  30952. if (t1.moveNext$0()) {
  30953. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  30954. return true;
  30955. }
  30956. _this._collection$_current = null;
  30957. return false;
  30958. },
  30959. get$current(_) {
  30960. var t1 = this._collection$_current;
  30961. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  30962. }
  30963. };
  30964. A._UnmodifiableMapMixin.prototype = {
  30965. $indexSet(_, key, value) {
  30966. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30967. },
  30968. addAll$1(_, other) {
  30969. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30970. },
  30971. remove$1(_, key) {
  30972. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30973. }
  30974. };
  30975. A.MapView.prototype = {
  30976. cast$2$0(_, RK, RV) {
  30977. return this._map.cast$2$0(0, RK, RV);
  30978. },
  30979. $index(_, key) {
  30980. return this._map.$index(0, key);
  30981. },
  30982. $indexSet(_, key, value) {
  30983. this._map.$indexSet(0, key, value);
  30984. },
  30985. addAll$1(_, other) {
  30986. this._map.addAll$1(0, other);
  30987. },
  30988. containsKey$1(key) {
  30989. return this._map.containsKey$1(key);
  30990. },
  30991. forEach$1(_, action) {
  30992. this._map.forEach$1(0, action);
  30993. },
  30994. get$isEmpty(_) {
  30995. var t1 = this._map;
  30996. return t1.get$isEmpty(t1);
  30997. },
  30998. get$isNotEmpty(_) {
  30999. var t1 = this._map;
  31000. return t1.get$isNotEmpty(t1);
  31001. },
  31002. get$length(_) {
  31003. var t1 = this._map;
  31004. return t1.get$length(t1);
  31005. },
  31006. get$keys(_) {
  31007. var t1 = this._map;
  31008. return t1.get$keys(t1);
  31009. },
  31010. remove$1(_, key) {
  31011. return this._map.remove$1(0, key);
  31012. },
  31013. toString$0(_) {
  31014. return this._map.toString$0(0);
  31015. },
  31016. get$values(_) {
  31017. var t1 = this._map;
  31018. return t1.get$values(t1);
  31019. },
  31020. get$entries(_) {
  31021. var t1 = this._map;
  31022. return t1.get$entries(t1);
  31023. },
  31024. $isMap: 1
  31025. };
  31026. A.UnmodifiableMapView.prototype = {
  31027. cast$2$0(_, RK, RV) {
  31028. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  31029. }
  31030. };
  31031. A.ListQueue.prototype = {
  31032. get$iterator(_) {
  31033. var _this = this;
  31034. return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
  31035. },
  31036. get$isEmpty(_) {
  31037. return this._collection$_head === this._collection$_tail;
  31038. },
  31039. get$length(_) {
  31040. return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
  31041. },
  31042. get$first(_) {
  31043. var _this = this,
  31044. t1 = _this._collection$_head;
  31045. if (t1 === _this._collection$_tail)
  31046. throw A.wrapException(A.IterableElementError_noElement());
  31047. t1 = _this._collection$_table[t1];
  31048. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31049. },
  31050. get$last(_) {
  31051. var _this = this,
  31052. t1 = _this._collection$_head,
  31053. t2 = _this._collection$_tail;
  31054. if (t1 === t2)
  31055. throw A.wrapException(A.IterableElementError_noElement());
  31056. t1 = _this._collection$_table;
  31057. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  31058. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31059. },
  31060. get$single(_) {
  31061. var t1, _this = this;
  31062. if (_this._collection$_head === _this._collection$_tail)
  31063. throw A.wrapException(A.IterableElementError_noElement());
  31064. if (_this.get$length(_this) > 1)
  31065. throw A.wrapException(A.IterableElementError_tooMany());
  31066. t1 = _this._collection$_table[_this._collection$_head];
  31067. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31068. },
  31069. elementAt$1(_, index) {
  31070. var t1, _this = this;
  31071. A.RangeError_checkValidIndex(index, _this, null);
  31072. t1 = _this._collection$_table;
  31073. t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
  31074. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31075. },
  31076. toList$1$growable(_, growable) {
  31077. var t1, list, t2, t3, i, t4, _this = this,
  31078. mask = _this._collection$_table.length - 1,
  31079. $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
  31080. if ($length === 0) {
  31081. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  31082. return t1;
  31083. }
  31084. t1 = _this.$ti._precomputed1;
  31085. list = A.List_List$filled($length, _this.get$first(_this), true, t1);
  31086. for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
  31087. t4 = t2[(t3 + i & mask) >>> 0];
  31088. list[i] = t4 == null ? t1._as(t4) : t4;
  31089. }
  31090. return list;
  31091. },
  31092. toList$0($receiver) {
  31093. return this.toList$1$growable($receiver, true);
  31094. },
  31095. add$1(_, value) {
  31096. this._add$1(value);
  31097. },
  31098. addAll$1(_, elements) {
  31099. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
  31100. t1 = _this.$ti;
  31101. if (t1._eval$1("List<1>")._is(elements)) {
  31102. addCount = J.get$length$asx(elements);
  31103. $length = _this.get$length(_this);
  31104. t2 = $length + addCount;
  31105. t3 = _this._collection$_table;
  31106. t4 = t3.length;
  31107. if (t2 >= t4) {
  31108. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
  31109. _this._collection$_tail = _this._collection$_writeToList$1(newTable);
  31110. _this._collection$_table = newTable;
  31111. _this._collection$_head = 0;
  31112. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  31113. _this._collection$_tail += addCount;
  31114. } else {
  31115. t1 = _this._collection$_tail;
  31116. endSpace = t4 - t1;
  31117. if (addCount < endSpace) {
  31118. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  31119. _this._collection$_tail += addCount;
  31120. } else {
  31121. preSpace = addCount - endSpace;
  31122. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  31123. B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
  31124. _this._collection$_tail = preSpace;
  31125. }
  31126. }
  31127. ++_this._modificationCount;
  31128. } else
  31129. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31130. _this._add$1(t1.get$current(t1));
  31131. },
  31132. clear$0(_) {
  31133. var t2, t3, _this = this,
  31134. i = _this._collection$_head,
  31135. t1 = _this._collection$_tail;
  31136. if (i !== t1) {
  31137. for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  31138. t2[i] = null;
  31139. _this._collection$_head = _this._collection$_tail = 0;
  31140. ++_this._modificationCount;
  31141. }
  31142. },
  31143. toString$0(_) {
  31144. return A.IterableBase_iterableToFullString(this, "{", "}");
  31145. },
  31146. addFirst$1(value) {
  31147. var _this = this,
  31148. t1 = _this._collection$_head,
  31149. t2 = _this._collection$_table;
  31150. t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
  31151. t2[t1] = value;
  31152. if (t1 === _this._collection$_tail)
  31153. _this._collection$_grow$0();
  31154. ++_this._modificationCount;
  31155. },
  31156. removeFirst$0() {
  31157. var t2, result, _this = this,
  31158. t1 = _this._collection$_head;
  31159. if (t1 === _this._collection$_tail)
  31160. throw A.wrapException(A.IterableElementError_noElement());
  31161. ++_this._modificationCount;
  31162. t2 = _this._collection$_table;
  31163. result = t2[t1];
  31164. if (result == null)
  31165. result = _this.$ti._precomputed1._as(result);
  31166. t2[t1] = null;
  31167. _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
  31168. return result;
  31169. },
  31170. removeLast$0(_) {
  31171. var result, _this = this,
  31172. t1 = _this._collection$_head,
  31173. t2 = _this._collection$_tail;
  31174. if (t1 === t2)
  31175. throw A.wrapException(A.IterableElementError_noElement());
  31176. ++_this._modificationCount;
  31177. t1 = _this._collection$_table;
  31178. t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
  31179. result = t1[t2];
  31180. if (result == null)
  31181. result = _this.$ti._precomputed1._as(result);
  31182. t1[t2] = null;
  31183. return result;
  31184. },
  31185. _add$1(element) {
  31186. var _this = this,
  31187. t1 = _this._collection$_table,
  31188. t2 = _this._collection$_tail;
  31189. t1[t2] = element;
  31190. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  31191. _this._collection$_tail = t1;
  31192. if (_this._collection$_head === t1)
  31193. _this._collection$_grow$0();
  31194. ++_this._modificationCount;
  31195. },
  31196. _collection$_grow$0() {
  31197. var _this = this,
  31198. newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
  31199. t1 = _this._collection$_table,
  31200. t2 = _this._collection$_head,
  31201. split = t1.length - t2;
  31202. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  31203. B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
  31204. _this._collection$_head = 0;
  31205. _this._collection$_tail = _this._collection$_table.length;
  31206. _this._collection$_table = newTable;
  31207. },
  31208. _collection$_writeToList$1(target) {
  31209. var $length, firstPartSize, _this = this,
  31210. t1 = _this._collection$_head,
  31211. t2 = _this._collection$_tail,
  31212. t3 = _this._collection$_table;
  31213. if (t1 <= t2) {
  31214. $length = t2 - t1;
  31215. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  31216. return $length;
  31217. } else {
  31218. firstPartSize = t3.length - t1;
  31219. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  31220. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
  31221. return _this._collection$_tail + firstPartSize;
  31222. }
  31223. },
  31224. $isQueue: 1
  31225. };
  31226. A._ListQueueIterator.prototype = {
  31227. get$current(_) {
  31228. var t1 = this._collection$_current;
  31229. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31230. },
  31231. moveNext$0() {
  31232. var t2, _this = this,
  31233. t1 = _this._queue;
  31234. if (_this._modificationCount !== t1._modificationCount)
  31235. A.throwExpression(A.ConcurrentModificationError$(t1));
  31236. t2 = _this._collection$_position;
  31237. if (t2 === _this._collection$_end) {
  31238. _this._collection$_current = null;
  31239. return false;
  31240. }
  31241. t1 = t1._collection$_table;
  31242. _this._collection$_current = t1[t2];
  31243. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  31244. return true;
  31245. }
  31246. };
  31247. A.SetMixin.prototype = {
  31248. get$isEmpty(_) {
  31249. return this.get$length(this) === 0;
  31250. },
  31251. get$isNotEmpty(_) {
  31252. return this.get$length(this) !== 0;
  31253. },
  31254. addAll$1(_, elements) {
  31255. var t1;
  31256. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31257. this.add$1(0, t1.get$current(t1));
  31258. },
  31259. removeAll$1(elements) {
  31260. var t1;
  31261. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31262. this.remove$1(0, t1.get$current(t1));
  31263. },
  31264. toList$1$growable(_, growable) {
  31265. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  31266. },
  31267. toList$0($receiver) {
  31268. return this.toList$1$growable($receiver, true);
  31269. },
  31270. map$1$1(_, f, $T) {
  31271. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  31272. },
  31273. get$single(_) {
  31274. var it, _this = this;
  31275. if (_this.get$length(_this) > 1)
  31276. throw A.wrapException(A.IterableElementError_tooMany());
  31277. it = _this.get$iterator(_this);
  31278. if (!it.moveNext$0())
  31279. throw A.wrapException(A.IterableElementError_noElement());
  31280. return it.get$current(it);
  31281. },
  31282. toString$0(_) {
  31283. return A.IterableBase_iterableToFullString(this, "{", "}");
  31284. },
  31285. where$1(_, f) {
  31286. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  31287. },
  31288. join$1(_, separator) {
  31289. var t1,
  31290. iterator = this.get$iterator(this);
  31291. if (!iterator.moveNext$0())
  31292. return "";
  31293. if (separator === "") {
  31294. t1 = "";
  31295. do
  31296. t1 += A.S(iterator.get$current(iterator));
  31297. while (iterator.moveNext$0());
  31298. } else {
  31299. t1 = "" + A.S(iterator.get$current(iterator));
  31300. for (; iterator.moveNext$0();)
  31301. t1 = t1 + separator + A.S(iterator.get$current(iterator));
  31302. }
  31303. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31304. },
  31305. join$0($receiver) {
  31306. return this.join$1($receiver, "");
  31307. },
  31308. any$1(_, test) {
  31309. var t1;
  31310. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  31311. if (test.call$1(t1.get$current(t1)))
  31312. return true;
  31313. return false;
  31314. },
  31315. take$1(_, n) {
  31316. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  31317. },
  31318. skip$1(_, n) {
  31319. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  31320. },
  31321. get$first(_) {
  31322. var it = this.get$iterator(this);
  31323. if (!it.moveNext$0())
  31324. throw A.wrapException(A.IterableElementError_noElement());
  31325. return it.get$current(it);
  31326. },
  31327. get$last(_) {
  31328. var result,
  31329. it = this.get$iterator(this);
  31330. if (!it.moveNext$0())
  31331. throw A.wrapException(A.IterableElementError_noElement());
  31332. do
  31333. result = it.get$current(it);
  31334. while (it.moveNext$0());
  31335. return result;
  31336. },
  31337. elementAt$1(_, index) {
  31338. var t1, elementIndex, element, _s5_ = "index";
  31339. A.checkNotNullable(index, _s5_, type$.int);
  31340. A.RangeError_checkNotNegative(index, _s5_);
  31341. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  31342. element = t1.get$current(t1);
  31343. if (index === elementIndex)
  31344. return element;
  31345. ++elementIndex;
  31346. }
  31347. throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
  31348. }
  31349. };
  31350. A._SetBase.prototype = {
  31351. difference$1(other) {
  31352. var t1, t2, element,
  31353. result = this._newSet$0();
  31354. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  31355. element = t1.get$current(t1);
  31356. if (!t2.contains$1(0, element))
  31357. result.add$1(0, element);
  31358. }
  31359. return result;
  31360. },
  31361. intersection$1(other) {
  31362. var t1, t2, element,
  31363. result = this._newSet$0();
  31364. for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
  31365. element = t1.get$current(t1);
  31366. if (t2.containsKey$1(element))
  31367. result.add$1(0, element);
  31368. }
  31369. return result;
  31370. },
  31371. toSet$0(_) {
  31372. var t1 = this._newSet$0();
  31373. t1.addAll$1(0, this);
  31374. return t1;
  31375. },
  31376. $isEfficientLengthIterable: 1,
  31377. $isIterable: 1,
  31378. $isSet: 1
  31379. };
  31380. A._UnmodifiableSetMixin.prototype = {
  31381. add$1(_, value) {
  31382. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31383. },
  31384. addAll$1(_, elements) {
  31385. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31386. },
  31387. remove$1(_, value) {
  31388. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31389. }
  31390. };
  31391. A._UnmodifiableSet.prototype = {
  31392. _newSet$0() {
  31393. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  31394. },
  31395. contains$1(_, element) {
  31396. return this._map.containsKey$1(element);
  31397. },
  31398. get$iterator(_) {
  31399. var t1 = this._map;
  31400. return J.get$iterator$ax(t1.get$keys(t1));
  31401. },
  31402. get$length(_) {
  31403. var t1 = this._map;
  31404. return t1.get$length(t1);
  31405. }
  31406. };
  31407. A._ListBase_Object_ListMixin.prototype = {};
  31408. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  31409. A.__SetBase_Object_SetMixin.prototype = {};
  31410. A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
  31411. A.Utf8Decoder__decoder_closure.prototype = {
  31412. call$0() {
  31413. var t1, exception;
  31414. try {
  31415. t1 = new TextDecoder("utf-8", {fatal: true});
  31416. return t1;
  31417. } catch (exception) {
  31418. }
  31419. return null;
  31420. },
  31421. $signature: 92
  31422. };
  31423. A.Utf8Decoder__decoderNonfatal_closure.prototype = {
  31424. call$0() {
  31425. var t1, exception;
  31426. try {
  31427. t1 = new TextDecoder("utf-8", {fatal: false});
  31428. return t1;
  31429. } catch (exception) {
  31430. }
  31431. return null;
  31432. },
  31433. $signature: 92
  31434. };
  31435. A.AsciiCodec.prototype = {
  31436. encode$1(source) {
  31437. return B.AsciiEncoder_127.convert$1(source);
  31438. },
  31439. get$encoder() {
  31440. return B.AsciiEncoder_127;
  31441. }
  31442. };
  31443. A._UnicodeSubsetEncoder.prototype = {
  31444. convert$1(string) {
  31445. var t1, i, codeUnit,
  31446. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  31447. result = new Uint8Array($length);
  31448. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  31449. codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
  31450. if ((codeUnit & t1) !== 0)
  31451. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  31452. result[i] = codeUnit;
  31453. }
  31454. return result;
  31455. }
  31456. };
  31457. A.AsciiEncoder.prototype = {};
  31458. A.Base64Codec.prototype = {
  31459. get$encoder() {
  31460. return B.C_Base64Encoder;
  31461. },
  31462. normalize$3(source, start, end) {
  31463. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  31464. _s31_ = "Invalid base64 encoding length ";
  31465. end = A.RangeError_checkValidRange(start, end, source.length);
  31466. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  31467. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  31468. i0 = i + 1;
  31469. char = B.JSString_methods._codeUnitAt$1(source, i);
  31470. if (char === 37) {
  31471. i1 = i0 + 2;
  31472. if (i1 <= end) {
  31473. digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
  31474. digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
  31475. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  31476. if (char0 === 37)
  31477. char0 = -1;
  31478. i0 = i1;
  31479. } else
  31480. char0 = -1;
  31481. } else
  31482. char0 = char;
  31483. if (0 <= char0 && char0 <= 127) {
  31484. value = inverseAlphabet[char0];
  31485. if (value >= 0) {
  31486. char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
  31487. if (char0 === char)
  31488. continue;
  31489. char = char0;
  31490. } else {
  31491. if (value === -1) {
  31492. if (firstPadding < 0) {
  31493. t1 = buffer == null ? null : buffer._contents.length;
  31494. if (t1 == null)
  31495. t1 = 0;
  31496. firstPadding = t1 + (i - sliceStart);
  31497. firstPaddingSourceIndex = i;
  31498. }
  31499. ++paddingCount;
  31500. if (char === 61)
  31501. continue;
  31502. }
  31503. char = char0;
  31504. }
  31505. if (value !== -2) {
  31506. if (buffer == null) {
  31507. buffer = new A.StringBuffer("");
  31508. t1 = buffer;
  31509. } else
  31510. t1 = buffer;
  31511. t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  31512. t1._contents = t2 + A.Primitives_stringFromCharCode(char);
  31513. sliceStart = i0;
  31514. continue;
  31515. }
  31516. }
  31517. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  31518. }
  31519. if (buffer != null) {
  31520. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  31521. t2 = t1.length;
  31522. if (firstPadding >= 0)
  31523. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  31524. else {
  31525. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  31526. if (endLength === 1)
  31527. throw A.wrapException(A.FormatException$(_s31_, source, end));
  31528. for (; endLength < 4;) {
  31529. t1 += "=";
  31530. buffer._contents = t1;
  31531. ++endLength;
  31532. }
  31533. }
  31534. t1 = buffer._contents;
  31535. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  31536. }
  31537. $length = end - start;
  31538. if (firstPadding >= 0)
  31539. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  31540. else {
  31541. endLength = B.JSInt_methods.$mod($length, 4);
  31542. if (endLength === 1)
  31543. throw A.wrapException(A.FormatException$(_s31_, source, end));
  31544. if (endLength > 1)
  31545. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  31546. }
  31547. return source;
  31548. }
  31549. };
  31550. A.Base64Encoder.prototype = {
  31551. convert$1(input) {
  31552. var t1 = J.getInterceptor$asx(input);
  31553. if (t1.get$isEmpty(input))
  31554. return "";
  31555. t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
  31556. t1.toString;
  31557. return A.String_String$fromCharCodes(t1, 0, null);
  31558. },
  31559. startChunkedConversion$1(sink) {
  31560. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  31561. }
  31562. };
  31563. A._Base64Encoder.prototype = {
  31564. createBuffer$1(bufferLength) {
  31565. return new Uint8Array(bufferLength);
  31566. },
  31567. encode$4(bytes, start, end, isLast) {
  31568. var output, _this = this,
  31569. byteCount = (_this._convert$_state & 3) + (end - start),
  31570. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  31571. bufferLength = fullChunks * 4;
  31572. if (isLast && byteCount - fullChunks * 3 > 0)
  31573. bufferLength += 4;
  31574. output = _this.createBuffer$1(bufferLength);
  31575. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  31576. if (bufferLength > 0)
  31577. return output;
  31578. return null;
  31579. }
  31580. };
  31581. A._Base64EncoderSink.prototype = {
  31582. add$1(_, source) {
  31583. this._convert$_add$4(source, 0, source.get$length(source), false);
  31584. }
  31585. };
  31586. A._Utf8Base64EncoderSink.prototype = {
  31587. _convert$_add$4(source, start, end, isLast) {
  31588. var buffer = this._encoder.encode$4(source, start, end, isLast);
  31589. if (buffer != null)
  31590. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  31591. }
  31592. };
  31593. A.ByteConversionSink.prototype = {};
  31594. A.ByteConversionSinkBase.prototype = {};
  31595. A.ChunkedConversionSink.prototype = {};
  31596. A.Codec.prototype = {
  31597. encode$1(input) {
  31598. return this.get$encoder().convert$1(input);
  31599. }
  31600. };
  31601. A.Converter.prototype = {};
  31602. A.Encoding.prototype = {};
  31603. A.JsonUnsupportedObjectError.prototype = {
  31604. toString$0(_) {
  31605. var safeString = A.Error_safeToString(this.unsupportedObject);
  31606. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  31607. }
  31608. };
  31609. A.JsonCyclicError.prototype = {
  31610. toString$0(_) {
  31611. return "Cyclic error in JSON stringify";
  31612. }
  31613. };
  31614. A.JsonCodec.prototype = {
  31615. encode$2$toEncodable(value, toEncodable) {
  31616. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  31617. return t1;
  31618. },
  31619. get$encoder() {
  31620. return B.JsonEncoder_null;
  31621. }
  31622. };
  31623. A.JsonEncoder.prototype = {
  31624. convert$1(object) {
  31625. var t1,
  31626. output = new A.StringBuffer(""),
  31627. stringifier = A._JsonStringStringifier$(output, this._toEncodable);
  31628. stringifier.writeObject$1(object);
  31629. t1 = output._contents;
  31630. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31631. }
  31632. };
  31633. A._JsonStringifier.prototype = {
  31634. writeStringContent$1(s) {
  31635. var offset, i, charCode, t1, t2, _this = this,
  31636. $length = s.length;
  31637. for (offset = 0, i = 0; i < $length; ++i) {
  31638. charCode = B.JSString_methods._codeUnitAt$1(s, i);
  31639. if (charCode > 92) {
  31640. if (charCode >= 55296) {
  31641. t1 = charCode & 64512;
  31642. if (t1 === 55296) {
  31643. t2 = i + 1;
  31644. t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
  31645. } else
  31646. t2 = false;
  31647. if (!t2)
  31648. if (t1 === 56320) {
  31649. t1 = i - 1;
  31650. t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
  31651. } else
  31652. t1 = false;
  31653. else
  31654. t1 = true;
  31655. if (t1) {
  31656. if (i > offset)
  31657. _this.writeStringSlice$3(s, offset, i);
  31658. offset = i + 1;
  31659. _this.writeCharCode$1(92);
  31660. _this.writeCharCode$1(117);
  31661. _this.writeCharCode$1(100);
  31662. t1 = charCode >>> 8 & 15;
  31663. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31664. t1 = charCode >>> 4 & 15;
  31665. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31666. t1 = charCode & 15;
  31667. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31668. }
  31669. }
  31670. continue;
  31671. }
  31672. if (charCode < 32) {
  31673. if (i > offset)
  31674. _this.writeStringSlice$3(s, offset, i);
  31675. offset = i + 1;
  31676. _this.writeCharCode$1(92);
  31677. switch (charCode) {
  31678. case 8:
  31679. _this.writeCharCode$1(98);
  31680. break;
  31681. case 9:
  31682. _this.writeCharCode$1(116);
  31683. break;
  31684. case 10:
  31685. _this.writeCharCode$1(110);
  31686. break;
  31687. case 12:
  31688. _this.writeCharCode$1(102);
  31689. break;
  31690. case 13:
  31691. _this.writeCharCode$1(114);
  31692. break;
  31693. default:
  31694. _this.writeCharCode$1(117);
  31695. _this.writeCharCode$1(48);
  31696. _this.writeCharCode$1(48);
  31697. t1 = charCode >>> 4 & 15;
  31698. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31699. t1 = charCode & 15;
  31700. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31701. break;
  31702. }
  31703. } else if (charCode === 34 || charCode === 92) {
  31704. if (i > offset)
  31705. _this.writeStringSlice$3(s, offset, i);
  31706. offset = i + 1;
  31707. _this.writeCharCode$1(92);
  31708. _this.writeCharCode$1(charCode);
  31709. }
  31710. }
  31711. if (offset === 0)
  31712. _this.writeString$1(s);
  31713. else if (offset < $length)
  31714. _this.writeStringSlice$3(s, offset, $length);
  31715. },
  31716. _checkCycle$1(object) {
  31717. var t1, t2, i, t3;
  31718. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  31719. t3 = t1[i];
  31720. if (object == null ? t3 == null : object === t3)
  31721. throw A.wrapException(new A.JsonCyclicError(object, null));
  31722. }
  31723. t1.push(object);
  31724. },
  31725. writeObject$1(object) {
  31726. var customJson, e, t1, exception, _this = this;
  31727. if (_this.writeJsonValue$1(object))
  31728. return;
  31729. _this._checkCycle$1(object);
  31730. try {
  31731. customJson = _this._toEncodable.call$1(object);
  31732. if (!_this.writeJsonValue$1(customJson)) {
  31733. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  31734. throw A.wrapException(t1);
  31735. }
  31736. _this._seen.pop();
  31737. } catch (exception) {
  31738. e = A.unwrapException(exception);
  31739. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  31740. throw A.wrapException(t1);
  31741. }
  31742. },
  31743. writeJsonValue$1(object) {
  31744. var success, _this = this;
  31745. if (typeof object == "number") {
  31746. if (!isFinite(object))
  31747. return false;
  31748. _this.writeNumber$1(object);
  31749. return true;
  31750. } else if (object === true) {
  31751. _this.writeString$1("true");
  31752. return true;
  31753. } else if (object === false) {
  31754. _this.writeString$1("false");
  31755. return true;
  31756. } else if (object == null) {
  31757. _this.writeString$1("null");
  31758. return true;
  31759. } else if (typeof object == "string") {
  31760. _this.writeString$1('"');
  31761. _this.writeStringContent$1(object);
  31762. _this.writeString$1('"');
  31763. return true;
  31764. } else if (type$.List_dynamic._is(object)) {
  31765. _this._checkCycle$1(object);
  31766. _this.writeList$1(object);
  31767. _this._seen.pop();
  31768. return true;
  31769. } else if (type$.Map_dynamic_dynamic._is(object)) {
  31770. _this._checkCycle$1(object);
  31771. success = _this.writeMap$1(object);
  31772. _this._seen.pop();
  31773. return success;
  31774. } else
  31775. return false;
  31776. },
  31777. writeList$1(list) {
  31778. var t1, i, _this = this;
  31779. _this.writeString$1("[");
  31780. t1 = J.getInterceptor$asx(list);
  31781. if (t1.get$isNotEmpty(list)) {
  31782. _this.writeObject$1(t1.$index(list, 0));
  31783. for (i = 1; i < t1.get$length(list); ++i) {
  31784. _this.writeString$1(",");
  31785. _this.writeObject$1(t1.$index(list, i));
  31786. }
  31787. }
  31788. _this.writeString$1("]");
  31789. },
  31790. writeMap$1(map) {
  31791. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  31792. if (map.get$isEmpty(map)) {
  31793. _this.writeString$1("{}");
  31794. return true;
  31795. }
  31796. t1 = map.get$length(map) * 2;
  31797. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  31798. i = _box_0.i = 0;
  31799. _box_0.allStringKeys = true;
  31800. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  31801. if (!_box_0.allStringKeys)
  31802. return false;
  31803. _this.writeString$1("{");
  31804. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  31805. _this.writeString$1(separator);
  31806. _this.writeStringContent$1(A._asString(keyValueList[i]));
  31807. _this.writeString$1('":');
  31808. _this.writeObject$1(keyValueList[i + 1]);
  31809. }
  31810. _this.writeString$1("}");
  31811. return true;
  31812. }
  31813. };
  31814. A._JsonStringifier_writeMap_closure.prototype = {
  31815. call$2(key, value) {
  31816. var t1, t2, t3, i;
  31817. if (typeof key != "string")
  31818. this._box_0.allStringKeys = false;
  31819. t1 = this.keyValueList;
  31820. t2 = this._box_0;
  31821. t3 = t2.i;
  31822. i = t2.i = t3 + 1;
  31823. t1[t3] = key;
  31824. t2.i = i + 1;
  31825. t1[i] = value;
  31826. },
  31827. $signature: 165
  31828. };
  31829. A._JsonStringStringifier.prototype = {
  31830. get$_partialResult() {
  31831. var t1 = this._sink._contents;
  31832. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31833. },
  31834. writeNumber$1(number) {
  31835. this._sink._contents += B.JSNumber_methods.toString$0(number);
  31836. },
  31837. writeString$1(string) {
  31838. this._sink._contents += string;
  31839. },
  31840. writeStringSlice$3(string, start, end) {
  31841. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  31842. },
  31843. writeCharCode$1(charCode) {
  31844. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  31845. }
  31846. };
  31847. A.StringConversionSinkBase.prototype = {};
  31848. A.StringConversionSinkMixin.prototype = {
  31849. add$1(_, str) {
  31850. this.addSlice$4(str, 0, str.length, false);
  31851. }
  31852. };
  31853. A._StringSinkConversionSink.prototype = {
  31854. close$0(_) {
  31855. },
  31856. addSlice$4(str, start, end, isLast) {
  31857. var t1, i;
  31858. if (start !== 0 || end !== str.length)
  31859. for (t1 = this._stringSink, i = start; i < end; ++i)
  31860. t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
  31861. else
  31862. this._stringSink._contents += str;
  31863. if (isLast)
  31864. this.close$0(0);
  31865. },
  31866. add$1(_, str) {
  31867. this._stringSink._contents += str;
  31868. }
  31869. };
  31870. A._StringCallbackSink.prototype = {
  31871. close$0(_) {
  31872. var t1 = this._stringSink,
  31873. t2 = t1._contents;
  31874. t1._contents = "";
  31875. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  31876. },
  31877. asUtf8Sink$1(allowMalformed) {
  31878. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  31879. }
  31880. };
  31881. A._Utf8StringSinkAdapter.prototype = {
  31882. close$0(_) {
  31883. this._decoder.flush$1(this._stringSink);
  31884. this._sink.close$0(0);
  31885. },
  31886. add$1(_, chunk) {
  31887. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  31888. },
  31889. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  31890. this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
  31891. if (isLast)
  31892. this.close$0(0);
  31893. }
  31894. };
  31895. A.Utf8Codec.prototype = {
  31896. get$encoder() {
  31897. return B.C_Utf8Encoder;
  31898. }
  31899. };
  31900. A.Utf8Encoder.prototype = {
  31901. convert$1(string) {
  31902. var t1, t2, encoder,
  31903. end = A.RangeError_checkValidRange(0, null, string.length),
  31904. $length = end - 0;
  31905. if ($length === 0)
  31906. return new Uint8Array(0);
  31907. t1 = $length * 3;
  31908. t2 = new Uint8Array(t1);
  31909. encoder = new A._Utf8Encoder(t2);
  31910. if (encoder._fillBuffer$3(string, 0, end) !== end) {
  31911. B.JSString_methods.codeUnitAt$1(string, end - 1);
  31912. encoder._writeReplacementCharacter$0();
  31913. }
  31914. return new Uint8Array(t2.subarray(0, A._checkValidRange(0, encoder._bufferIndex, t1)));
  31915. }
  31916. };
  31917. A._Utf8Encoder.prototype = {
  31918. _writeReplacementCharacter$0() {
  31919. var _this = this,
  31920. t1 = _this._convert$_buffer,
  31921. t2 = _this._bufferIndex,
  31922. t3 = _this._bufferIndex = t2 + 1;
  31923. t1[t2] = 239;
  31924. t2 = _this._bufferIndex = t3 + 1;
  31925. t1[t3] = 191;
  31926. _this._bufferIndex = t2 + 1;
  31927. t1[t2] = 189;
  31928. },
  31929. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  31930. var rune, t1, t2, t3, _this = this;
  31931. if ((nextCodeUnit & 64512) === 56320) {
  31932. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  31933. t1 = _this._convert$_buffer;
  31934. t2 = _this._bufferIndex;
  31935. t3 = _this._bufferIndex = t2 + 1;
  31936. t1[t2] = rune >>> 18 | 240;
  31937. t2 = _this._bufferIndex = t3 + 1;
  31938. t1[t3] = rune >>> 12 & 63 | 128;
  31939. t3 = _this._bufferIndex = t2 + 1;
  31940. t1[t2] = rune >>> 6 & 63 | 128;
  31941. _this._bufferIndex = t3 + 1;
  31942. t1[t3] = rune & 63 | 128;
  31943. return true;
  31944. } else {
  31945. _this._writeReplacementCharacter$0();
  31946. return false;
  31947. }
  31948. },
  31949. _fillBuffer$3(str, start, end) {
  31950. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  31951. if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
  31952. --end;
  31953. for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  31954. codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
  31955. if (codeUnit <= 127) {
  31956. t3 = _this._bufferIndex;
  31957. if (t3 >= t2)
  31958. break;
  31959. _this._bufferIndex = t3 + 1;
  31960. t1[t3] = codeUnit;
  31961. } else {
  31962. t3 = codeUnit & 64512;
  31963. if (t3 === 55296) {
  31964. if (_this._bufferIndex + 4 > t2)
  31965. break;
  31966. stringIndex0 = stringIndex + 1;
  31967. if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
  31968. stringIndex = stringIndex0;
  31969. } else if (t3 === 56320) {
  31970. if (_this._bufferIndex + 3 > t2)
  31971. break;
  31972. _this._writeReplacementCharacter$0();
  31973. } else if (codeUnit <= 2047) {
  31974. t3 = _this._bufferIndex;
  31975. t4 = t3 + 1;
  31976. if (t4 >= t2)
  31977. break;
  31978. _this._bufferIndex = t4;
  31979. t1[t3] = codeUnit >>> 6 | 192;
  31980. _this._bufferIndex = t4 + 1;
  31981. t1[t4] = codeUnit & 63 | 128;
  31982. } else {
  31983. t3 = _this._bufferIndex;
  31984. if (t3 + 2 >= t2)
  31985. break;
  31986. t4 = _this._bufferIndex = t3 + 1;
  31987. t1[t3] = codeUnit >>> 12 | 224;
  31988. t3 = _this._bufferIndex = t4 + 1;
  31989. t1[t4] = codeUnit >>> 6 & 63 | 128;
  31990. _this._bufferIndex = t3 + 1;
  31991. t1[t3] = codeUnit & 63 | 128;
  31992. }
  31993. }
  31994. }
  31995. return stringIndex;
  31996. }
  31997. };
  31998. A.Utf8Decoder.prototype = {
  31999. convert$1(codeUnits) {
  32000. var t1 = this._allowMalformed,
  32001. result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
  32002. if (result != null)
  32003. return result;
  32004. return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
  32005. }
  32006. };
  32007. A._Utf8Decoder.prototype = {
  32008. convertGeneral$4(codeUnits, start, maybeEnd, single) {
  32009. var bytes, errorOffset, result, t1, message, _this = this,
  32010. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  32011. if (start === end)
  32012. return "";
  32013. if (type$.Uint8List._is(codeUnits)) {
  32014. bytes = codeUnits;
  32015. errorOffset = 0;
  32016. } else {
  32017. bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
  32018. end -= start;
  32019. errorOffset = start;
  32020. start = 0;
  32021. }
  32022. result = _this._convertRecursive$4(bytes, start, end, single);
  32023. t1 = _this._convert$_state;
  32024. if ((t1 & 1) !== 0) {
  32025. message = A._Utf8Decoder_errorDescription(t1);
  32026. _this._convert$_state = 0;
  32027. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  32028. }
  32029. return result;
  32030. },
  32031. _convertRecursive$4(bytes, start, end, single) {
  32032. var mid, s1, _this = this;
  32033. if (end - start > 1000) {
  32034. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  32035. s1 = _this._convertRecursive$4(bytes, start, mid, false);
  32036. if ((_this._convert$_state & 1) !== 0)
  32037. return s1;
  32038. return s1 + _this._convertRecursive$4(bytes, mid, end, single);
  32039. }
  32040. return _this.decodeGeneral$4(bytes, start, end, single);
  32041. },
  32042. flush$1(sink) {
  32043. var state = this._convert$_state;
  32044. this._convert$_state = 0;
  32045. if (state <= 32)
  32046. return;
  32047. if (this.allowMalformed)
  32048. sink._contents += A.Primitives_stringFromCharCode(65533);
  32049. else
  32050. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  32051. },
  32052. decodeGeneral$4(bytes, start, end, single) {
  32053. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  32054. state = _this._convert$_state,
  32055. char = _this._charOrIndex,
  32056. buffer = new A.StringBuffer(""),
  32057. i = start + 1,
  32058. byte = bytes[start];
  32059. $label0$0:
  32060. for (t1 = _this.allowMalformed; true;) {
  32061. for (; true; i = i0) {
  32062. type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
  32063. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  32064. state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type);
  32065. if (state === 0) {
  32066. buffer._contents += A.Primitives_stringFromCharCode(char);
  32067. if (i === end)
  32068. break $label0$0;
  32069. break;
  32070. } else if ((state & 1) !== 0) {
  32071. if (t1)
  32072. switch (state) {
  32073. case 69:
  32074. case 67:
  32075. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32076. break;
  32077. case 65:
  32078. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32079. --i;
  32080. break;
  32081. default:
  32082. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32083. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  32084. break;
  32085. }
  32086. else {
  32087. _this._convert$_state = state;
  32088. _this._charOrIndex = i - 1;
  32089. return "";
  32090. }
  32091. state = 0;
  32092. }
  32093. if (i === end)
  32094. break $label0$0;
  32095. i0 = i + 1;
  32096. byte = bytes[i];
  32097. }
  32098. i0 = i + 1;
  32099. byte = bytes[i];
  32100. if (byte < 128) {
  32101. while (true) {
  32102. if (!(i0 < end)) {
  32103. markEnd = end;
  32104. break;
  32105. }
  32106. i1 = i0 + 1;
  32107. byte = bytes[i0];
  32108. if (byte >= 128) {
  32109. markEnd = i1 - 1;
  32110. i0 = i1;
  32111. break;
  32112. }
  32113. i0 = i1;
  32114. }
  32115. if (markEnd - i < 20)
  32116. for (m = i; m < markEnd; ++m)
  32117. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  32118. else
  32119. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  32120. if (markEnd === end)
  32121. break $label0$0;
  32122. i = i0;
  32123. } else
  32124. i = i0;
  32125. }
  32126. if (single && state > 32)
  32127. if (t1)
  32128. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32129. else {
  32130. _this._convert$_state = 77;
  32131. _this._charOrIndex = end;
  32132. return "";
  32133. }
  32134. _this._convert$_state = state;
  32135. _this._charOrIndex = char;
  32136. t1 = buffer._contents;
  32137. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32138. }
  32139. };
  32140. A.NoSuchMethodError_toString_closure.prototype = {
  32141. call$2(key, value) {
  32142. var t1 = this.sb,
  32143. t2 = this._box_0,
  32144. t3 = t1._contents += t2.comma;
  32145. t3 += key.__internal$_name;
  32146. t1._contents = t3;
  32147. t1._contents = t3 + ": ";
  32148. t1._contents += A.Error_safeToString(value);
  32149. t2.comma = ", ";
  32150. },
  32151. $signature: 316
  32152. };
  32153. A.DateTime.prototype = {
  32154. add$1(_, duration) {
  32155. return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
  32156. },
  32157. $eq(_, other) {
  32158. if (other == null)
  32159. return false;
  32160. return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
  32161. },
  32162. compareTo$1(_, other) {
  32163. return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
  32164. },
  32165. get$hashCode(_) {
  32166. var t1 = this._core$_value;
  32167. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  32168. },
  32169. toString$0(_) {
  32170. var _this = this,
  32171. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  32172. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  32173. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  32174. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  32175. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  32176. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  32177. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  32178. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  32179. },
  32180. $isComparable: 1
  32181. };
  32182. A.Duration.prototype = {
  32183. $eq(_, other) {
  32184. if (other == null)
  32185. return false;
  32186. return other instanceof A.Duration && this._duration === other._duration;
  32187. },
  32188. get$hashCode(_) {
  32189. return B.JSInt_methods.get$hashCode(this._duration);
  32190. },
  32191. compareTo$1(_, other) {
  32192. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  32193. },
  32194. toString$0(_) {
  32195. var minutes, minutesPadding, seconds, secondsPadding,
  32196. microseconds = this._duration,
  32197. sign = microseconds < 0 ? "-" : "",
  32198. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
  32199. microseconds %= 3600000000;
  32200. if (microseconds < 0)
  32201. microseconds = -microseconds;
  32202. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  32203. microseconds %= 60000000;
  32204. minutesPadding = minutes < 10 ? "0" : "";
  32205. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  32206. secondsPadding = seconds < 10 ? "0" : "";
  32207. return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  32208. },
  32209. $isComparable: 1
  32210. };
  32211. A._Enum.prototype = {};
  32212. A.Error.prototype = {
  32213. get$stackTrace() {
  32214. return A.getTraceFromException(this.$thrownJsError);
  32215. }
  32216. };
  32217. A.AssertionError.prototype = {
  32218. toString$0(_) {
  32219. var t1 = this.message;
  32220. if (t1 != null)
  32221. return "Assertion failed: " + A.Error_safeToString(t1);
  32222. return "Assertion failed";
  32223. },
  32224. get$message(receiver) {
  32225. return this.message;
  32226. }
  32227. };
  32228. A.TypeError.prototype = {};
  32229. A.NullThrownError.prototype = {
  32230. toString$0(_) {
  32231. return "Throw of null.";
  32232. }
  32233. };
  32234. A.ArgumentError.prototype = {
  32235. get$_errorName() {
  32236. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  32237. },
  32238. get$_errorExplanation() {
  32239. return "";
  32240. },
  32241. toString$0(_) {
  32242. var _this = this,
  32243. $name = _this.name,
  32244. nameString = $name == null ? "" : " (" + $name + ")",
  32245. message = _this.message,
  32246. messageString = message == null ? "" : ": " + A.S(message),
  32247. prefix = _this.get$_errorName() + nameString + messageString;
  32248. if (!_this._hasValue)
  32249. return prefix;
  32250. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue);
  32251. },
  32252. get$message(receiver) {
  32253. return this.message;
  32254. }
  32255. };
  32256. A.RangeError.prototype = {
  32257. get$_errorName() {
  32258. return "RangeError";
  32259. },
  32260. get$_errorExplanation() {
  32261. var explanation,
  32262. start = this.start,
  32263. end = this.end;
  32264. if (start == null)
  32265. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  32266. else if (end == null)
  32267. explanation = ": Not greater than or equal to " + A.S(start);
  32268. else if (end > start)
  32269. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  32270. else
  32271. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  32272. return explanation;
  32273. }
  32274. };
  32275. A.IndexError.prototype = {
  32276. get$_errorName() {
  32277. return "RangeError";
  32278. },
  32279. get$_errorExplanation() {
  32280. if (this.invalidValue < 0)
  32281. return ": index must not be negative";
  32282. var t1 = this.length;
  32283. if (t1 === 0)
  32284. return ": no indices are valid";
  32285. return ": index should be less than " + t1;
  32286. },
  32287. $isRangeError: 1,
  32288. get$length(receiver) {
  32289. return this.length;
  32290. }
  32291. };
  32292. A.NoSuchMethodError.prototype = {
  32293. toString$0(_) {
  32294. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  32295. sb = new A.StringBuffer("");
  32296. _box_0.comma = "";
  32297. $arguments = _this._core$_arguments;
  32298. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  32299. argument = $arguments[_i];
  32300. sb._contents = t2 + t3;
  32301. t2 = sb._contents += A.Error_safeToString(argument);
  32302. _box_0.comma = ", ";
  32303. }
  32304. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  32305. receiverText = A.Error_safeToString(_this._core$_receiver);
  32306. actualParameters = sb.toString$0(0);
  32307. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  32308. }
  32309. };
  32310. A.UnsupportedError.prototype = {
  32311. toString$0(_) {
  32312. return "Unsupported operation: " + this.message;
  32313. },
  32314. get$message(receiver) {
  32315. return this.message;
  32316. }
  32317. };
  32318. A.UnimplementedError.prototype = {
  32319. toString$0(_) {
  32320. return "UnimplementedError: " + this.message;
  32321. },
  32322. get$message(receiver) {
  32323. return this.message;
  32324. }
  32325. };
  32326. A.StateError.prototype = {
  32327. toString$0(_) {
  32328. return "Bad state: " + this.message;
  32329. },
  32330. get$message(receiver) {
  32331. return this.message;
  32332. }
  32333. };
  32334. A.ConcurrentModificationError.prototype = {
  32335. toString$0(_) {
  32336. var t1 = this.modifiedObject;
  32337. if (t1 == null)
  32338. return "Concurrent modification during iteration.";
  32339. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  32340. }
  32341. };
  32342. A.OutOfMemoryError.prototype = {
  32343. toString$0(_) {
  32344. return "Out of Memory";
  32345. },
  32346. get$stackTrace() {
  32347. return null;
  32348. },
  32349. $isError: 1
  32350. };
  32351. A.StackOverflowError.prototype = {
  32352. toString$0(_) {
  32353. return "Stack Overflow";
  32354. },
  32355. get$stackTrace() {
  32356. return null;
  32357. },
  32358. $isError: 1
  32359. };
  32360. A.CyclicInitializationError.prototype = {
  32361. toString$0(_) {
  32362. return "Reading static variable '" + this.variableName + "' during its initialization";
  32363. }
  32364. };
  32365. A._Exception.prototype = {
  32366. toString$0(_) {
  32367. return "Exception: " + this.message;
  32368. },
  32369. $isException: 1,
  32370. get$message(receiver) {
  32371. return this.message;
  32372. }
  32373. };
  32374. A.FormatException.prototype = {
  32375. toString$0(_) {
  32376. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  32377. message = this.message,
  32378. report = "" !== message ? "FormatException: " + message : "FormatException",
  32379. offset = this.offset,
  32380. source = this.source;
  32381. if (typeof source == "string") {
  32382. if (offset != null)
  32383. t1 = offset < 0 || offset > source.length;
  32384. else
  32385. t1 = false;
  32386. if (t1)
  32387. offset = null;
  32388. if (offset == null) {
  32389. if (source.length > 78)
  32390. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  32391. return report + "\n" + source;
  32392. }
  32393. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  32394. char = B.JSString_methods._codeUnitAt$1(source, i);
  32395. if (char === 10) {
  32396. if (lineStart !== i || !previousCharWasCR)
  32397. ++lineNum;
  32398. lineStart = i + 1;
  32399. previousCharWasCR = false;
  32400. } else if (char === 13) {
  32401. ++lineNum;
  32402. lineStart = i + 1;
  32403. previousCharWasCR = true;
  32404. }
  32405. }
  32406. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  32407. lineEnd = source.length;
  32408. for (i = offset; i < lineEnd; ++i) {
  32409. char = B.JSString_methods.codeUnitAt$1(source, i);
  32410. if (char === 10 || char === 13) {
  32411. lineEnd = i;
  32412. break;
  32413. }
  32414. }
  32415. if (lineEnd - lineStart > 78)
  32416. if (offset - lineStart < 75) {
  32417. end = lineStart + 75;
  32418. start = lineStart;
  32419. prefix = "";
  32420. postfix = "...";
  32421. } else {
  32422. if (lineEnd - offset < 75) {
  32423. start = lineEnd - 75;
  32424. end = lineEnd;
  32425. postfix = "";
  32426. } else {
  32427. start = offset - 36;
  32428. end = offset + 36;
  32429. postfix = "...";
  32430. }
  32431. prefix = "...";
  32432. }
  32433. else {
  32434. end = lineEnd;
  32435. start = lineStart;
  32436. prefix = "";
  32437. postfix = "";
  32438. }
  32439. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  32440. } else
  32441. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  32442. },
  32443. $isException: 1,
  32444. get$message(receiver) {
  32445. return this.message;
  32446. }
  32447. };
  32448. A.Iterable.prototype = {
  32449. cast$1$0(_, $R) {
  32450. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  32451. },
  32452. followedBy$1(_, other) {
  32453. var _this = this,
  32454. t1 = A._instanceType(_this);
  32455. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  32456. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  32457. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  32458. },
  32459. map$1$1(_, toElement, $T) {
  32460. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  32461. },
  32462. where$1(_, test) {
  32463. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  32464. },
  32465. expand$1$1(_, toElements, $T) {
  32466. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32467. },
  32468. contains$1(_, element) {
  32469. var t1;
  32470. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32471. if (J.$eq$(t1.get$current(t1), element))
  32472. return true;
  32473. return false;
  32474. },
  32475. fold$1$2(_, initialValue, combine) {
  32476. var t1, value;
  32477. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  32478. value = combine.call$2(value, t1.get$current(t1));
  32479. return value;
  32480. },
  32481. fold$2($receiver, initialValue, combine) {
  32482. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  32483. },
  32484. join$1(_, separator) {
  32485. var t1,
  32486. iterator = this.get$iterator(this);
  32487. if (!iterator.moveNext$0())
  32488. return "";
  32489. if (separator === "") {
  32490. t1 = "";
  32491. do
  32492. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  32493. while (iterator.moveNext$0());
  32494. } else {
  32495. t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
  32496. for (; iterator.moveNext$0();)
  32497. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  32498. }
  32499. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32500. },
  32501. join$0($receiver) {
  32502. return this.join$1($receiver, "");
  32503. },
  32504. any$1(_, test) {
  32505. var t1;
  32506. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32507. if (test.call$1(t1.get$current(t1)))
  32508. return true;
  32509. return false;
  32510. },
  32511. toList$1$growable(_, growable) {
  32512. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  32513. },
  32514. toList$0($receiver) {
  32515. return this.toList$1$growable($receiver, true);
  32516. },
  32517. toSet$0(_) {
  32518. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  32519. },
  32520. get$length(_) {
  32521. var count,
  32522. it = this.get$iterator(this);
  32523. for (count = 0; it.moveNext$0();)
  32524. ++count;
  32525. return count;
  32526. },
  32527. get$isEmpty(_) {
  32528. return !this.get$iterator(this).moveNext$0();
  32529. },
  32530. get$isNotEmpty(_) {
  32531. return !this.get$isEmpty(this);
  32532. },
  32533. take$1(_, count) {
  32534. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  32535. },
  32536. skip$1(_, count) {
  32537. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  32538. },
  32539. skipWhile$1(_, test) {
  32540. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  32541. },
  32542. get$first(_) {
  32543. var it = this.get$iterator(this);
  32544. if (!it.moveNext$0())
  32545. throw A.wrapException(A.IterableElementError_noElement());
  32546. return it.get$current(it);
  32547. },
  32548. get$last(_) {
  32549. var result,
  32550. it = this.get$iterator(this);
  32551. if (!it.moveNext$0())
  32552. throw A.wrapException(A.IterableElementError_noElement());
  32553. do
  32554. result = it.get$current(it);
  32555. while (it.moveNext$0());
  32556. return result;
  32557. },
  32558. get$single(_) {
  32559. var result,
  32560. it = this.get$iterator(this);
  32561. if (!it.moveNext$0())
  32562. throw A.wrapException(A.IterableElementError_noElement());
  32563. result = it.get$current(it);
  32564. if (it.moveNext$0())
  32565. throw A.wrapException(A.IterableElementError_tooMany());
  32566. return result;
  32567. },
  32568. elementAt$1(_, index) {
  32569. var t1, elementIndex, element;
  32570. A.RangeError_checkNotNegative(index, "index");
  32571. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  32572. element = t1.get$current(t1);
  32573. if (index === elementIndex)
  32574. return element;
  32575. ++elementIndex;
  32576. }
  32577. throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
  32578. },
  32579. toString$0(_) {
  32580. return A.IterableBase_iterableToShortString(this, "(", ")");
  32581. }
  32582. };
  32583. A._GeneratorIterable.prototype = {
  32584. elementAt$1(_, index) {
  32585. A.RangeError_checkValidIndex(index, this, null);
  32586. return this._generator.call$1(index);
  32587. },
  32588. get$length(receiver) {
  32589. return this.length;
  32590. }
  32591. };
  32592. A.Iterator.prototype = {};
  32593. A.MapEntry.prototype = {
  32594. toString$0(_) {
  32595. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  32596. }
  32597. };
  32598. A.Null.prototype = {
  32599. get$hashCode(_) {
  32600. return A.Object.prototype.get$hashCode.call(this, this);
  32601. },
  32602. toString$0(_) {
  32603. return "null";
  32604. }
  32605. };
  32606. A.Object.prototype = {$isObject: 1,
  32607. $eq(_, other) {
  32608. return this === other;
  32609. },
  32610. get$hashCode(_) {
  32611. return A.Primitives_objectHashCode(this);
  32612. },
  32613. toString$0(_) {
  32614. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  32615. },
  32616. noSuchMethod$1(_, invocation) {
  32617. throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
  32618. },
  32619. get$runtimeType(_) {
  32620. var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
  32621. return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
  32622. },
  32623. toString() {
  32624. return this.toString$0(this);
  32625. }
  32626. };
  32627. A._StringStackTrace.prototype = {
  32628. toString$0(_) {
  32629. return this._stackTrace;
  32630. },
  32631. $isStackTrace: 1
  32632. };
  32633. A.Runes.prototype = {
  32634. get$iterator(_) {
  32635. return new A.RuneIterator(this.string);
  32636. },
  32637. get$last(_) {
  32638. var code, previousCode,
  32639. t1 = this.string,
  32640. t2 = t1.length;
  32641. if (t2 === 0)
  32642. throw A.wrapException(A.StateError$("No elements."));
  32643. code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
  32644. if ((code & 64512) === 56320 && t2 > 1) {
  32645. previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
  32646. if ((previousCode & 64512) === 55296)
  32647. return A._combineSurrogatePair(previousCode, code);
  32648. }
  32649. return code;
  32650. }
  32651. };
  32652. A.RuneIterator.prototype = {
  32653. get$current(_) {
  32654. return this._currentCodePoint;
  32655. },
  32656. moveNext$0() {
  32657. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  32658. t1 = _this._position = _this._nextPosition,
  32659. t2 = _this.string,
  32660. t3 = t2.length;
  32661. if (t1 === t3) {
  32662. _this._currentCodePoint = -1;
  32663. return false;
  32664. }
  32665. codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
  32666. nextPosition = t1 + 1;
  32667. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  32668. nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
  32669. if ((nextCodeUnit & 64512) === 56320) {
  32670. _this._nextPosition = nextPosition + 1;
  32671. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  32672. return true;
  32673. }
  32674. }
  32675. _this._nextPosition = nextPosition;
  32676. _this._currentCodePoint = codeUnit;
  32677. return true;
  32678. }
  32679. };
  32680. A.StringBuffer.prototype = {
  32681. get$length(_) {
  32682. return this._contents.length;
  32683. },
  32684. write$1(_, obj) {
  32685. this._contents += A.S(obj);
  32686. },
  32687. writeCharCode$1(charCode) {
  32688. this._contents += A.Primitives_stringFromCharCode(charCode);
  32689. },
  32690. toString$0(_) {
  32691. var t1 = this._contents;
  32692. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32693. }
  32694. };
  32695. A.Uri__parseIPv4Address_error.prototype = {
  32696. call$2(msg, position) {
  32697. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  32698. },
  32699. $signature: 328
  32700. };
  32701. A.Uri_parseIPv6Address_error.prototype = {
  32702. call$2(msg, position) {
  32703. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  32704. },
  32705. $signature: 337
  32706. };
  32707. A.Uri_parseIPv6Address_parseHex.prototype = {
  32708. call$2(start, end) {
  32709. var value;
  32710. if (end - start > 4)
  32711. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  32712. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  32713. if (value < 0 || value > 65535)
  32714. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  32715. return value;
  32716. },
  32717. $signature: 338
  32718. };
  32719. A._Uri.prototype = {
  32720. get$_text() {
  32721. var t1, t2, t3, t4, _this = this,
  32722. value = _this.___Uri__text_FI;
  32723. if (value === $) {
  32724. t1 = _this.scheme;
  32725. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  32726. t3 = _this._host;
  32727. t4 = t3 == null;
  32728. if (!t4 || t1 === "file") {
  32729. t1 = t2 + "//";
  32730. t2 = _this._userInfo;
  32731. if (t2.length !== 0)
  32732. t1 = t1 + t2 + "@";
  32733. if (!t4)
  32734. t1 += t3;
  32735. t2 = _this._port;
  32736. if (t2 != null)
  32737. t1 = t1 + ":" + A.S(t2);
  32738. } else
  32739. t1 = t2;
  32740. t1 += _this.path;
  32741. t2 = _this._query;
  32742. if (t2 != null)
  32743. t1 = t1 + "?" + t2;
  32744. t2 = _this._fragment;
  32745. if (t2 != null)
  32746. t1 = t1 + "#" + t2;
  32747. value !== $ && A.throwUnnamedLateFieldADI();
  32748. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  32749. }
  32750. return value;
  32751. },
  32752. get$pathSegments() {
  32753. var pathToSplit, result, _this = this,
  32754. value = _this.___Uri_pathSegments_FI;
  32755. if (value === $) {
  32756. pathToSplit = _this.path;
  32757. if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
  32758. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  32759. result = pathToSplit.length === 0 ? B.List_empty : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), A.core_Uri_decodeComponent$closure(), type$.MappedListIterable_String_dynamic), type$.String);
  32760. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  32761. value = _this.___Uri_pathSegments_FI = result;
  32762. }
  32763. return value;
  32764. },
  32765. get$hashCode(_) {
  32766. var result, _this = this,
  32767. value = _this.___Uri_hashCode_FI;
  32768. if (value === $) {
  32769. result = B.JSString_methods.get$hashCode(_this.get$_text());
  32770. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  32771. _this.___Uri_hashCode_FI = result;
  32772. value = result;
  32773. }
  32774. return value;
  32775. },
  32776. get$userInfo() {
  32777. return this._userInfo;
  32778. },
  32779. get$host() {
  32780. var host = this._host;
  32781. if (host == null)
  32782. return "";
  32783. if (B.JSString_methods.startsWith$1(host, "["))
  32784. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  32785. return host;
  32786. },
  32787. get$port(_) {
  32788. var t1 = this._port;
  32789. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  32790. },
  32791. get$query() {
  32792. var t1 = this._query;
  32793. return t1 == null ? "" : t1;
  32794. },
  32795. get$fragment() {
  32796. var t1 = this._fragment;
  32797. return t1 == null ? "" : t1;
  32798. },
  32799. isScheme$1(scheme) {
  32800. var thisScheme = this.scheme;
  32801. if (scheme.length !== thisScheme.length)
  32802. return false;
  32803. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  32804. },
  32805. _mergePaths$2(base, reference) {
  32806. var backCount, refStart, baseEnd, newEnd, delta, t1;
  32807. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  32808. refStart += 3;
  32809. ++backCount;
  32810. }
  32811. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  32812. while (true) {
  32813. if (!(baseEnd > 0 && backCount > 0))
  32814. break;
  32815. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  32816. if (newEnd < 0)
  32817. break;
  32818. delta = baseEnd - newEnd;
  32819. t1 = delta !== 2;
  32820. if (!t1 || delta === 3)
  32821. if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
  32822. t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
  32823. else
  32824. t1 = false;
  32825. else
  32826. t1 = false;
  32827. if (t1)
  32828. break;
  32829. --backCount;
  32830. baseEnd = newEnd;
  32831. }
  32832. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  32833. },
  32834. resolve$1(reference) {
  32835. return this.resolveUri$1(A.Uri_parse(reference));
  32836. },
  32837. resolveUri$1(reference) {
  32838. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  32839. if (reference.get$scheme().length !== 0) {
  32840. targetScheme = reference.get$scheme();
  32841. if (reference.get$hasAuthority()) {
  32842. targetUserInfo = reference.get$userInfo();
  32843. targetHost = reference.get$host();
  32844. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  32845. } else {
  32846. targetPort = _null;
  32847. targetHost = targetPort;
  32848. targetUserInfo = "";
  32849. }
  32850. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32851. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32852. } else {
  32853. targetScheme = _this.scheme;
  32854. if (reference.get$hasAuthority()) {
  32855. targetUserInfo = reference.get$userInfo();
  32856. targetHost = reference.get$host();
  32857. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  32858. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32859. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32860. } else {
  32861. targetUserInfo = _this._userInfo;
  32862. targetHost = _this._host;
  32863. targetPort = _this._port;
  32864. targetPath = _this.path;
  32865. if (reference.get$path(reference) === "")
  32866. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  32867. else {
  32868. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  32869. if (packageNameEnd > 0) {
  32870. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  32871. targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference)));
  32872. } else if (reference.get$hasAbsolutePath())
  32873. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32874. else if (targetPath.length === 0)
  32875. if (targetHost == null)
  32876. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  32877. else
  32878. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  32879. else {
  32880. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  32881. t1 = targetScheme.length === 0;
  32882. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  32883. targetPath = A._Uri__removeDotSegments(mergedPath);
  32884. else
  32885. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  32886. }
  32887. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32888. }
  32889. }
  32890. }
  32891. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  32892. },
  32893. get$hasAuthority() {
  32894. return this._host != null;
  32895. },
  32896. get$hasPort() {
  32897. return this._port != null;
  32898. },
  32899. get$hasQuery() {
  32900. return this._query != null;
  32901. },
  32902. get$hasFragment() {
  32903. return this._fragment != null;
  32904. },
  32905. get$hasAbsolutePath() {
  32906. return B.JSString_methods.startsWith$1(this.path, "/");
  32907. },
  32908. toFilePath$0() {
  32909. var pathSegments, _this = this,
  32910. t1 = _this.scheme;
  32911. if (t1 !== "" && t1 !== "file")
  32912. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  32913. t1 = _this._query;
  32914. if ((t1 == null ? "" : t1) !== "")
  32915. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  32916. t1 = _this._fragment;
  32917. if ((t1 == null ? "" : t1) !== "")
  32918. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  32919. t1 = $.$get$_Uri__isWindowsCached();
  32920. if (t1)
  32921. t1 = A._Uri__toWindowsFilePath(_this);
  32922. else {
  32923. if (_this._host != null && _this.get$host() !== "")
  32924. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  32925. pathSegments = _this.get$pathSegments();
  32926. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  32927. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  32928. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  32929. }
  32930. return t1;
  32931. },
  32932. toString$0(_) {
  32933. return this.get$_text();
  32934. },
  32935. $eq(_, other) {
  32936. var t1, t2, _this = this;
  32937. if (other == null)
  32938. return false;
  32939. if (_this === other)
  32940. return true;
  32941. if (type$.Uri._is(other))
  32942. if (_this.scheme === other.get$scheme())
  32943. if (_this._host != null === other.get$hasAuthority())
  32944. if (_this._userInfo === other.get$userInfo())
  32945. if (_this.get$host() === other.get$host())
  32946. if (_this.get$port(_this) === other.get$port(other))
  32947. if (_this.path === other.get$path(other)) {
  32948. t1 = _this._query;
  32949. t2 = t1 == null;
  32950. if (!t2 === other.get$hasQuery()) {
  32951. if (t2)
  32952. t1 = "";
  32953. if (t1 === other.get$query()) {
  32954. t1 = _this._fragment;
  32955. t2 = t1 == null;
  32956. if (!t2 === other.get$hasFragment()) {
  32957. if (t2)
  32958. t1 = "";
  32959. t1 = t1 === other.get$fragment();
  32960. } else
  32961. t1 = false;
  32962. } else
  32963. t1 = false;
  32964. } else
  32965. t1 = false;
  32966. } else
  32967. t1 = false;
  32968. else
  32969. t1 = false;
  32970. else
  32971. t1 = false;
  32972. else
  32973. t1 = false;
  32974. else
  32975. t1 = false;
  32976. else
  32977. t1 = false;
  32978. else
  32979. t1 = false;
  32980. return t1;
  32981. },
  32982. $isUri: 1,
  32983. get$scheme() {
  32984. return this.scheme;
  32985. },
  32986. get$path(receiver) {
  32987. return this.path;
  32988. }
  32989. };
  32990. A._Uri__makePath_closure.prototype = {
  32991. call$1(s) {
  32992. return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
  32993. },
  32994. $signature: 5
  32995. };
  32996. A.UriData.prototype = {
  32997. get$uri() {
  32998. var t2, queryIndex, end, query, _this = this, _null = null,
  32999. t1 = _this._uriCache;
  33000. if (t1 == null) {
  33001. t1 = _this._text;
  33002. t2 = _this._separatorIndices[0] + 1;
  33003. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  33004. end = t1.length;
  33005. if (queryIndex >= 0) {
  33006. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
  33007. end = queryIndex;
  33008. } else
  33009. query = _null;
  33010. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
  33011. }
  33012. return t1;
  33013. },
  33014. toString$0(_) {
  33015. var t1 = this._text;
  33016. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  33017. }
  33018. };
  33019. A._createTables_build.prototype = {
  33020. call$2(state, defaultTransition) {
  33021. var t1 = this.tables[state];
  33022. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  33023. return t1;
  33024. },
  33025. $signature: 366
  33026. };
  33027. A._createTables_setChars.prototype = {
  33028. call$3(target, chars, transition) {
  33029. var t1, i;
  33030. for (t1 = chars.length, i = 0; i < t1; ++i)
  33031. target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
  33032. },
  33033. $signature: 197
  33034. };
  33035. A._createTables_setRange.prototype = {
  33036. call$3(target, range, transition) {
  33037. var i, n;
  33038. for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
  33039. target[(i ^ 96) >>> 0] = transition;
  33040. },
  33041. $signature: 197
  33042. };
  33043. A._SimpleUri.prototype = {
  33044. get$hasAuthority() {
  33045. return this._hostStart > 0;
  33046. },
  33047. get$hasPort() {
  33048. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  33049. },
  33050. get$hasQuery() {
  33051. return this._queryStart < this._fragmentStart;
  33052. },
  33053. get$hasFragment() {
  33054. return this._fragmentStart < this._uri.length;
  33055. },
  33056. get$hasAbsolutePath() {
  33057. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  33058. },
  33059. get$scheme() {
  33060. var t1 = this._schemeCache;
  33061. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  33062. },
  33063. _computeScheme$0() {
  33064. var t2, _this = this,
  33065. t1 = _this._schemeEnd;
  33066. if (t1 <= 0)
  33067. return "";
  33068. t2 = t1 === 4;
  33069. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33070. return "http";
  33071. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33072. return "https";
  33073. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  33074. return "file";
  33075. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  33076. return "package";
  33077. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  33078. },
  33079. get$userInfo() {
  33080. var t1 = this._hostStart,
  33081. t2 = this._schemeEnd + 3;
  33082. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  33083. },
  33084. get$host() {
  33085. var t1 = this._hostStart;
  33086. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  33087. },
  33088. get$port(_) {
  33089. var t1, _this = this;
  33090. if (_this.get$hasPort())
  33091. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  33092. t1 = _this._schemeEnd;
  33093. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33094. return 80;
  33095. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33096. return 443;
  33097. return 0;
  33098. },
  33099. get$path(_) {
  33100. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  33101. },
  33102. get$query() {
  33103. var t1 = this._queryStart,
  33104. t2 = this._fragmentStart;
  33105. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  33106. },
  33107. get$fragment() {
  33108. var t1 = this._fragmentStart,
  33109. t2 = this._uri;
  33110. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  33111. },
  33112. get$pathSegments() {
  33113. var parts, i,
  33114. start = this._pathStart,
  33115. end = this._queryStart,
  33116. t1 = this._uri;
  33117. if (B.JSString_methods.startsWith$2(t1, "/", start))
  33118. ++start;
  33119. if (start === end)
  33120. return B.List_empty;
  33121. parts = A._setArrayType([], type$.JSArray_String);
  33122. for (i = start; i < end; ++i)
  33123. if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
  33124. parts.push(B.JSString_methods.substring$2(t1, start, i));
  33125. start = i + 1;
  33126. }
  33127. parts.push(B.JSString_methods.substring$2(t1, start, end));
  33128. return A.List_List$unmodifiable(parts, type$.String);
  33129. },
  33130. _isPort$1(port) {
  33131. var portDigitStart = this._portStart + 1;
  33132. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  33133. },
  33134. removeFragment$0() {
  33135. var _this = this,
  33136. t1 = _this._fragmentStart,
  33137. t2 = _this._uri;
  33138. if (t1 >= t2.length)
  33139. return _this;
  33140. return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache);
  33141. },
  33142. resolve$1(reference) {
  33143. return this.resolveUri$1(A.Uri_parse(reference));
  33144. },
  33145. resolveUri$1(reference) {
  33146. if (reference instanceof A._SimpleUri)
  33147. return this._simpleMerge$2(this, reference);
  33148. return this._toNonSimple$0().resolveUri$1(reference);
  33149. },
  33150. _simpleMerge$2(base, ref) {
  33151. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  33152. t1 = ref._schemeEnd;
  33153. if (t1 > 0)
  33154. return ref;
  33155. t2 = ref._hostStart;
  33156. if (t2 > 0) {
  33157. t3 = base._schemeEnd;
  33158. if (t3 <= 0)
  33159. return ref;
  33160. t4 = t3 === 4;
  33161. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  33162. isSimple = ref._pathStart !== ref._queryStart;
  33163. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  33164. isSimple = !ref._isPort$1("80");
  33165. else
  33166. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  33167. if (isSimple) {
  33168. delta = t3 + 1;
  33169. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache);
  33170. } else
  33171. return this._toNonSimple$0().resolveUri$1(ref);
  33172. }
  33173. refStart = ref._pathStart;
  33174. t1 = ref._queryStart;
  33175. if (refStart === t1) {
  33176. t2 = ref._fragmentStart;
  33177. if (t1 < t2) {
  33178. t3 = base._queryStart;
  33179. delta = t3 - t1;
  33180. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache);
  33181. }
  33182. t1 = ref._uri;
  33183. if (t2 < t1.length) {
  33184. t3 = base._fragmentStart;
  33185. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache);
  33186. }
  33187. return base.removeFragment$0();
  33188. }
  33189. t2 = ref._uri;
  33190. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  33191. basePathStart = base._pathStart;
  33192. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33193. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  33194. delta = basePathStart0 - refStart;
  33195. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  33196. }
  33197. baseStart = base._pathStart;
  33198. baseEnd = base._queryStart;
  33199. if (baseStart === baseEnd && base._hostStart > 0) {
  33200. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  33201. refStart += 3;
  33202. delta = baseStart - refStart + 1;
  33203. return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  33204. }
  33205. baseUri = base._uri;
  33206. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33207. if (packageNameEnd >= 0)
  33208. baseStart0 = packageNameEnd;
  33209. else
  33210. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  33211. baseStart0 += 3;
  33212. backCount = 0;
  33213. while (true) {
  33214. refStart0 = refStart + 3;
  33215. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  33216. break;
  33217. ++backCount;
  33218. refStart = refStart0;
  33219. }
  33220. for (insert = ""; baseEnd > baseStart0;) {
  33221. --baseEnd;
  33222. if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
  33223. if (backCount === 0) {
  33224. insert = "/";
  33225. break;
  33226. }
  33227. --backCount;
  33228. insert = "/";
  33229. }
  33230. }
  33231. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  33232. refStart -= backCount * 3;
  33233. insert = "";
  33234. }
  33235. delta = baseEnd - refStart + insert.length;
  33236. return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);
  33237. },
  33238. toFilePath$0() {
  33239. var t2, t3, _this = this,
  33240. t1 = _this._schemeEnd;
  33241. if (t1 >= 0) {
  33242. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  33243. t1 = t2;
  33244. } else
  33245. t1 = false;
  33246. if (t1)
  33247. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  33248. t1 = _this._queryStart;
  33249. t2 = _this._uri;
  33250. if (t1 < t2.length) {
  33251. if (t1 < _this._fragmentStart)
  33252. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  33253. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  33254. }
  33255. t3 = $.$get$_Uri__isWindowsCached();
  33256. if (t3)
  33257. t1 = A._Uri__toWindowsFilePath(_this);
  33258. else {
  33259. if (_this._hostStart < _this._portStart)
  33260. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  33261. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  33262. }
  33263. return t1;
  33264. },
  33265. get$hashCode(_) {
  33266. var t1 = this._hashCodeCache;
  33267. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  33268. },
  33269. $eq(_, other) {
  33270. if (other == null)
  33271. return false;
  33272. if (this === other)
  33273. return true;
  33274. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  33275. },
  33276. _toNonSimple$0() {
  33277. var _this = this, _null = null,
  33278. t1 = _this.get$scheme(),
  33279. t2 = _this.get$userInfo(),
  33280. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  33281. t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
  33282. t5 = _this._uri,
  33283. t6 = _this._queryStart,
  33284. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  33285. t8 = _this._fragmentStart;
  33286. t6 = t6 < t8 ? _this.get$query() : _null;
  33287. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  33288. },
  33289. toString$0(_) {
  33290. return this._uri;
  33291. },
  33292. $isUri: 1
  33293. };
  33294. A._DataUri.prototype = {};
  33295. A.Expando.prototype = {
  33296. toString$0(_) {
  33297. return "Expando:null";
  33298. }
  33299. };
  33300. A._convertDataTree__convert.prototype = {
  33301. call$1(o) {
  33302. var convertedMap, key, convertedList,
  33303. t1 = this._convertedObjects;
  33304. if (t1.containsKey$1(o))
  33305. return t1.$index(0, o);
  33306. if (type$.Map_dynamic_dynamic._is(o)) {
  33307. convertedMap = {};
  33308. t1.$indexSet(0, o, convertedMap);
  33309. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  33310. key = t1.get$current(t1);
  33311. convertedMap[key] = this.call$1(o.$index(0, key));
  33312. }
  33313. return convertedMap;
  33314. } else if (type$.Iterable_dynamic._is(o)) {
  33315. convertedList = [];
  33316. t1.$indexSet(0, o, convertedList);
  33317. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  33318. return convertedList;
  33319. } else
  33320. return o;
  33321. },
  33322. $signature: 490
  33323. };
  33324. A._JSRandom.prototype = {
  33325. nextInt$1(max) {
  33326. if (max <= 0 || max > 4294967296)
  33327. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  33328. return Math.random() * max >>> 0;
  33329. },
  33330. nextDouble$0() {
  33331. return Math.random();
  33332. }
  33333. };
  33334. A.ArgParser.prototype = {
  33335. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  33336. var _null = null;
  33337. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  33338. },
  33339. addFlag$2$hide($name, hide) {
  33340. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  33341. },
  33342. addFlag$2$help($name, help) {
  33343. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  33344. },
  33345. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  33346. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  33347. },
  33348. addFlag$3$help$negatable($name, help, negatable) {
  33349. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  33350. },
  33351. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  33352. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  33353. },
  33354. addFlag$3$abbr$help($name, abbr, help) {
  33355. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  33356. },
  33357. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  33358. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  33359. },
  33360. addOption$2$hide($name, hide) {
  33361. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
  33362. },
  33363. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  33364. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  33365. },
  33366. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  33367. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  33368. },
  33369. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  33370. var t1 = A._setArrayType([], type$.JSArray_String);
  33371. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
  33372. },
  33373. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  33374. var existing, t2, option, _i, _this = this, _null = null,
  33375. t1 = A._setArrayType([$name], type$.JSArray_String);
  33376. B.JSArray_methods.addAll$1(t1, aliases);
  33377. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  33378. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  33379. t1 = abbr != null;
  33380. if (t1) {
  33381. existing = _this.findByAbbreviation$1(abbr);
  33382. if (existing != null)
  33383. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  33384. }
  33385. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  33386. option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  33387. if ($name.length === 0)
  33388. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  33389. else if (B.JSString_methods.startsWith$1($name, "-"))
  33390. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  33391. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  33392. if (t2.test($name))
  33393. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  33394. if (t1) {
  33395. if (abbr.length !== 1)
  33396. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  33397. else if (abbr === "-")
  33398. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  33399. if (t2.test(abbr))
  33400. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  33401. }
  33402. _this._arg_parser$_options.$indexSet(0, $name, option);
  33403. _this._optionsAndSeparators.push(option);
  33404. for (t1 = _this._aliases, _i = 0; false; ++_i)
  33405. t1.$indexSet(0, aliases[_i], $name);
  33406. },
  33407. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  33408. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  33409. },
  33410. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  33411. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  33412. },
  33413. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  33414. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  33415. },
  33416. findByAbbreviation$1(abbr) {
  33417. var t1, t2;
  33418. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  33419. t2 = t1.get$current(t1);
  33420. if (t2.abbr === abbr)
  33421. return t2;
  33422. }
  33423. return null;
  33424. },
  33425. findByNameOrAlias$1($name) {
  33426. var t1 = this._aliases.$index(0, $name);
  33427. if (t1 == null)
  33428. t1 = $name;
  33429. return this.options._map.$index(0, t1);
  33430. }
  33431. };
  33432. A.ArgParser__addOption_closure.prototype = {
  33433. call$1($name) {
  33434. return this.$this.findByNameOrAlias$1($name) != null;
  33435. },
  33436. $signature: 8
  33437. };
  33438. A.ArgParserException.prototype = {};
  33439. A.ArgResults.prototype = {
  33440. $index(_, $name) {
  33441. var t1 = this._parser.options._map;
  33442. if (!t1.containsKey$1($name))
  33443. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33444. t1 = t1.$index(0, $name);
  33445. t1.toString;
  33446. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  33447. },
  33448. wasParsed$1($name) {
  33449. if (!this._parser.options._map.containsKey$1($name))
  33450. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33451. return this._parsed.containsKey$1($name);
  33452. }
  33453. };
  33454. A.Option.prototype = {
  33455. valueOrDefault$1(value) {
  33456. var t1;
  33457. if (value != null)
  33458. return value;
  33459. if (this.type === B.OptionType_qyr) {
  33460. t1 = this.defaultsTo;
  33461. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  33462. }
  33463. return this.defaultsTo;
  33464. }
  33465. };
  33466. A.OptionType.prototype = {};
  33467. A.Parser0.prototype = {
  33468. parse$0() {
  33469. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  33470. t2 = _this._args;
  33471. t2.toList$0(0);
  33472. commandResults = null;
  33473. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
  33474. t7 = t2._collection$_head;
  33475. if (t7 === t2._collection$_tail)
  33476. A.throwExpression(A.IterableElementError_noElement());
  33477. t7 = t2._collection$_table[t7];
  33478. t8 = t7 == null;
  33479. if ((t8 ? t6._as(t7) : t7) === "--") {
  33480. t2.removeFirst$0();
  33481. break;
  33482. }
  33483. if (t8)
  33484. t7 = t6._as(t7);
  33485. command = t5._map.$index(0, t7);
  33486. if (command != null) {
  33487. if (t3.length !== 0)
  33488. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  33489. commandName = t2.removeFirst$0();
  33490. t5 = type$.JSArray_String;
  33491. t6 = A._setArrayType([], t5);
  33492. B.JSArray_methods.addAll$1(t6, t3);
  33493. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  33494. try {
  33495. commandResults = commandParser.parse$0();
  33496. } catch (exception) {
  33497. t2 = A.unwrapException(exception);
  33498. if (t2 instanceof A.ArgParserException) {
  33499. error = t2;
  33500. t2 = error.message;
  33501. t1 = A._setArrayType([commandName], t5);
  33502. J.addAll$1$ax(t1, error.commands);
  33503. throw A.wrapException(A.ArgParserException$(t2, t1));
  33504. } else
  33505. throw exception;
  33506. }
  33507. B.JSArray_methods.clear$0(t3);
  33508. break;
  33509. }
  33510. if (_this._parseSoloOption$0())
  33511. continue;
  33512. if (_this._parseAbbreviation$1(_this))
  33513. continue;
  33514. if (_this._parseLongOption$0())
  33515. continue;
  33516. t3.push(t2.removeFirst$0());
  33517. }
  33518. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  33519. B.JSArray_methods.addAll$1(t3, t2);
  33520. t2.clear$0(0);
  33521. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  33522. },
  33523. _readNextArgAsValue$1(option) {
  33524. var t1 = this._args;
  33525. if (t1.get$isEmpty(t1))
  33526. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  33527. this._setOption$3(this._results, option, t1.get$first(t1));
  33528. t1.removeFirst$0();
  33529. },
  33530. _parseSoloOption$0() {
  33531. var opt,
  33532. t1 = this._args;
  33533. if (t1.get$first(t1).length !== 2)
  33534. return false;
  33535. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  33536. return false;
  33537. opt = t1.get$first(t1)[1];
  33538. if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
  33539. return false;
  33540. this._handleSoloOption$1(opt);
  33541. return true;
  33542. },
  33543. _handleSoloOption$1(opt) {
  33544. var t1, _this = this,
  33545. option = _this._grammar.findByAbbreviation$1(opt);
  33546. if (option == null) {
  33547. t1 = _this._parser$_parent;
  33548. if (t1 == null)
  33549. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  33550. t1._handleSoloOption$1(opt);
  33551. return true;
  33552. }
  33553. _this._args.removeFirst$0();
  33554. if (option.type === B.OptionType_nMZ)
  33555. _this._results.$indexSet(0, option.name, true);
  33556. else
  33557. _this._readNextArgAsValue$1(option);
  33558. return true;
  33559. },
  33560. _parseAbbreviation$1(innermostCommand) {
  33561. var t2, index, t3, t4, lettersAndDigits, rest,
  33562. t1 = this._args;
  33563. if (t1.get$first(t1).length < 2)
  33564. return false;
  33565. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  33566. return false;
  33567. t2 = t1.$ti._precomputed1;
  33568. index = 1;
  33569. while (true) {
  33570. t3 = t1._collection$_head;
  33571. if (t3 === t1._collection$_tail)
  33572. A.throwExpression(A.IterableElementError_noElement());
  33573. t3 = t1._collection$_table[t3];
  33574. t4 = t3 == null;
  33575. if (index < (t4 ? t2._as(t3) : t3).length) {
  33576. t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
  33577. if (!(t3 >= 65 && t3 <= 90))
  33578. if (!(t3 >= 97 && t3 <= 122))
  33579. t3 = t3 >= 48 && t3 <= 57;
  33580. else
  33581. t3 = true;
  33582. else
  33583. t3 = true;
  33584. } else
  33585. t3 = false;
  33586. if (!t3)
  33587. break;
  33588. ++index;
  33589. }
  33590. if (index === 1)
  33591. return false;
  33592. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
  33593. rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
  33594. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  33595. return false;
  33596. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  33597. return true;
  33598. },
  33599. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  33600. var t1, i, i0, _this = this,
  33601. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  33602. first = _this._grammar.findByAbbreviation$1(c);
  33603. if (first == null) {
  33604. t1 = _this._parser$_parent;
  33605. if (t1 == null)
  33606. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  33607. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  33608. return true;
  33609. } else if (first.type !== B.OptionType_nMZ)
  33610. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  33611. else {
  33612. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  33613. if (rest !== "")
  33614. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  33615. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  33616. i0 = i + 1;
  33617. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  33618. }
  33619. }
  33620. _this._args.removeFirst$0();
  33621. return true;
  33622. },
  33623. _parseShortFlag$1(c) {
  33624. var t1,
  33625. option = this._grammar.findByAbbreviation$1(c);
  33626. if (option == null) {
  33627. t1 = this._parser$_parent;
  33628. if (t1 == null)
  33629. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  33630. t1._parseShortFlag$1(c);
  33631. return;
  33632. }
  33633. if (option.type !== B.OptionType_nMZ)
  33634. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  33635. this._results.$indexSet(0, option.name, true);
  33636. },
  33637. _parseLongOption$0() {
  33638. var index, t2, $name, t3, i, t4, t5, value,
  33639. t1 = this._args;
  33640. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
  33641. return false;
  33642. index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
  33643. t2 = index === -1;
  33644. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
  33645. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  33646. t4 = B.JSString_methods._codeUnitAt$1($name, i);
  33647. if (!(t4 >= 65 && t4 <= 90))
  33648. if (!(t4 >= 97 && t4 <= 122))
  33649. t5 = t4 >= 48 && t4 <= 57;
  33650. else
  33651. t5 = true;
  33652. else
  33653. t5 = true;
  33654. if (!(t5 || t4 === 45 || t4 === 95))
  33655. return false;
  33656. }
  33657. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
  33658. if (value != null)
  33659. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  33660. else
  33661. t1 = false;
  33662. if (t1)
  33663. return false;
  33664. this._handleLongOption$2($name, value);
  33665. return true;
  33666. },
  33667. _handleLongOption$2($name, value) {
  33668. var _this = this, _null = null,
  33669. _s32_ = 'Could not find an option named "',
  33670. t1 = _this._grammar,
  33671. option = t1.findByNameOrAlias$1($name);
  33672. if (option != null) {
  33673. _this._args.removeFirst$0();
  33674. if (option.type === B.OptionType_nMZ) {
  33675. if (value != null)
  33676. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  33677. _this._results.$indexSet(0, option.name, true);
  33678. } else if (value != null)
  33679. _this._setOption$3(_this._results, option, value);
  33680. else
  33681. _this._readNextArgAsValue$1(option);
  33682. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  33683. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  33684. if (option == null) {
  33685. t1 = _this._parser$_parent;
  33686. if (t1 == null)
  33687. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  33688. t1._handleLongOption$2($name, value);
  33689. return true;
  33690. }
  33691. _this._args.removeFirst$0();
  33692. if (option.type !== B.OptionType_nMZ)
  33693. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  33694. if (!option.negatable)
  33695. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  33696. _this._results.$indexSet(0, option.name, false);
  33697. } else {
  33698. t1 = _this._parser$_parent;
  33699. if (t1 == null)
  33700. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  33701. t1._handleLongOption$2($name, value);
  33702. return true;
  33703. }
  33704. return true;
  33705. },
  33706. _setOption$3(results, option, value) {
  33707. var list, t1, t2, t3, _i, element;
  33708. if (option.type !== B.OptionType_qyr) {
  33709. this._validateAllowed$2(option, value);
  33710. results.$indexSet(0, option.name, value);
  33711. return;
  33712. }
  33713. list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
  33714. if (option.splitCommas)
  33715. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  33716. element = t1[_i];
  33717. this._validateAllowed$2(option, element);
  33718. t3.add$1(list, element);
  33719. }
  33720. else {
  33721. this._validateAllowed$2(option, value);
  33722. J.add$1$ax(list, value);
  33723. }
  33724. },
  33725. _validateAllowed$2(option, value) {
  33726. var t1 = option.allowed;
  33727. if (t1 == null)
  33728. return;
  33729. if (!B.JSArray_methods.contains$1(t1, value))
  33730. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  33731. }
  33732. };
  33733. A.Parser_parse_closure.prototype = {
  33734. call$2($name, option) {
  33735. var parsedOption = this.$this._results.$index(0, $name),
  33736. callback = option.callback;
  33737. if (callback == null)
  33738. return;
  33739. callback.call$1(option.valueOrDefault$1(parsedOption));
  33740. },
  33741. $signature: 500
  33742. };
  33743. A.Parser__setOption_closure.prototype = {
  33744. call$0() {
  33745. return A._setArrayType([], type$.JSArray_String);
  33746. },
  33747. $signature: 48
  33748. };
  33749. A._Usage.prototype = {
  33750. get$_columnWidths() {
  33751. var result, _this = this,
  33752. value = _this.___Usage__columnWidths_FI;
  33753. if (value === $) {
  33754. result = _this._calculateColumnWidths$0();
  33755. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  33756. _this.___Usage__columnWidths_FI = result;
  33757. value = result;
  33758. }
  33759. return value;
  33760. },
  33761. generate$0() {
  33762. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  33763. for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  33764. optionOrSeparator = t1[_i];
  33765. if (typeof optionOrSeparator == "string") {
  33766. t5 = t4._contents;
  33767. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  33768. _this._newlinesNeeded = 1;
  33769. continue;
  33770. }
  33771. t3._as(optionOrSeparator);
  33772. if (optionOrSeparator.hide)
  33773. continue;
  33774. _this._writeOption$1(optionOrSeparator);
  33775. }
  33776. t1 = t4._contents;
  33777. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33778. },
  33779. _writeOption$1(option) {
  33780. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  33781. t1 = option.abbr;
  33782. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  33783. t1 = _this._longOption$1(option);
  33784. _this._write$2(1, t1);
  33785. t1 = option.help;
  33786. if (t1 != null)
  33787. _this._write$2(2, t1);
  33788. t1 = option.allowedHelp;
  33789. if (t1 != null) {
  33790. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  33791. B.JSArray_methods.sort$0(allowedNames);
  33792. _this._newline$0();
  33793. for (t2 = allowedNames.length, t3 = option.defaultsTo, t4 = type$.List_dynamic._is(t3), _i = 0; _i < allowedNames.length; allowedNames.length === t2 || (0, A.throwConcurrentModificationError)(allowedNames), ++_i) {
  33794. $name = allowedNames[_i];
  33795. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  33796. _this._write$2(1, " [" + $name + "]" + t5);
  33797. t5 = t1.$index(0, $name);
  33798. t5.toString;
  33799. _this._write$2(2, t5);
  33800. }
  33801. _this._newline$0();
  33802. } else if (option.allowed != null)
  33803. _this._write$2(2, _this._buildAllowedList$1(option));
  33804. else {
  33805. t1 = option.type;
  33806. if (t1 === B.OptionType_nMZ) {
  33807. if (option.defaultsTo === true)
  33808. _this._write$2(2, "(defaults to on)");
  33809. } else if (t1 === B.OptionType_qyr) {
  33810. t1 = option.defaultsTo;
  33811. if (t1 != null && J.get$isNotEmpty$asx(t1)) {
  33812. type$.List_dynamic._as(t1);
  33813. _this._write$2(2, "(defaults to " + new A.MappedListIterable(t1, new A._Usage__writeOption_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")");
  33814. }
  33815. } else {
  33816. t1 = option.defaultsTo;
  33817. if (t1 != null)
  33818. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  33819. }
  33820. }
  33821. },
  33822. _longOption$1(option) {
  33823. var t1 = option.name,
  33824. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  33825. t1 = option.valueHelp;
  33826. return t1 != null ? result + ("=<" + t1 + ">") : result;
  33827. },
  33828. _calculateColumnWidths$0() {
  33829. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  33830. for (t1 = this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.List_dynamic, abbr = 0, title = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  33831. option = t1[_i];
  33832. if (!(option instanceof A.Option))
  33833. continue;
  33834. if (option.hide)
  33835. continue;
  33836. t4 = option.abbr;
  33837. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  33838. t4 = this._longOption$1(option);
  33839. title = Math.max(title, t4.length);
  33840. t4 = option.allowedHelp;
  33841. if (t4 != null)
  33842. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  33843. t7 = t4.get$current(t4);
  33844. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  33845. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  33846. }
  33847. }
  33848. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  33849. },
  33850. _newline$0() {
  33851. ++this._newlinesNeeded;
  33852. this._currentColumn = 0;
  33853. },
  33854. _write$2(column, text) {
  33855. var t1, _i,
  33856. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  33857. this.get$_columnWidths();
  33858. while (true) {
  33859. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  33860. break;
  33861. B.JSArray_methods.removeAt$1(lines, 0);
  33862. }
  33863. while (true) {
  33864. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  33865. break;
  33866. lines.pop();
  33867. }
  33868. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  33869. this._writeLine$2(column, lines[_i]);
  33870. },
  33871. _writeLine$2(column, text) {
  33872. var t1, t2, _this = this;
  33873. for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  33874. t1._contents += "\n";
  33875. _this._newlinesNeeded = t2 - 1;
  33876. }
  33877. for (; t2 = _this._currentColumn, t2 !== column;) {
  33878. if (t2 < 2)
  33879. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  33880. else
  33881. t1._contents += "\n";
  33882. _this._currentColumn = (_this._currentColumn + 1) % 3;
  33883. }
  33884. _this.get$_columnWidths();
  33885. if (column < 2)
  33886. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  33887. else
  33888. t1._contents += text;
  33889. _this._currentColumn = (_this._currentColumn + 1) % 3;
  33890. if (column === 2)
  33891. ++_this._newlinesNeeded;
  33892. },
  33893. _buildAllowedList$1(option) {
  33894. var t2, t3, first, _i, allowed,
  33895. t1 = option.defaultsTo,
  33896. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  33897. t1 = "" + "[";
  33898. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  33899. allowed = t2[_i];
  33900. if (!first)
  33901. t1 += ", ";
  33902. t1 += A.S(allowed);
  33903. if (isDefault.call$1(allowed))
  33904. t1 += " (default)";
  33905. }
  33906. t1 += "]";
  33907. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33908. }
  33909. };
  33910. A._Usage__writeOption_closure.prototype = {
  33911. call$1(value) {
  33912. return '"' + A.S(value) + '"';
  33913. },
  33914. $signature: 86
  33915. };
  33916. A._Usage__buildAllowedList_closure.prototype = {
  33917. call$1(value) {
  33918. return value === this.option.defaultsTo;
  33919. },
  33920. $signature: 137
  33921. };
  33922. A.ErrorResult.prototype = {
  33923. complete$1(completer) {
  33924. completer.completeError$2(this.error, this.stackTrace);
  33925. },
  33926. get$hashCode(_) {
  33927. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  33928. },
  33929. $eq(_, other) {
  33930. if (other == null)
  33931. return false;
  33932. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  33933. },
  33934. $isResult: 1
  33935. };
  33936. A.ValueResult.prototype = {
  33937. complete$1(completer) {
  33938. completer.complete$1(this.value);
  33939. },
  33940. get$hashCode(_) {
  33941. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  33942. },
  33943. $eq(_, other) {
  33944. if (other == null)
  33945. return false;
  33946. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  33947. },
  33948. $isResult: 1
  33949. };
  33950. A.StreamCompleter.prototype = {
  33951. setSourceStream$1(sourceStream) {
  33952. var t1 = this._stream_completer$_stream;
  33953. if (t1._sourceStream != null)
  33954. throw A.wrapException(A.StateError$("Source stream already set"));
  33955. t1._sourceStream = sourceStream;
  33956. if (t1._stream_completer$_controller != null)
  33957. t1._linkStreamToController$0();
  33958. },
  33959. setError$2(error, stackTrace) {
  33960. var t1 = this.$ti._precomputed1;
  33961. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  33962. },
  33963. setError$1(error) {
  33964. return this.setError$2(error, null);
  33965. }
  33966. };
  33967. A._CompleterStream.prototype = {
  33968. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  33969. var sourceStream, t1, _this = this, _null = null;
  33970. if (_this._stream_completer$_controller == null) {
  33971. sourceStream = _this._sourceStream;
  33972. if (sourceStream != null && !sourceStream.get$isBroadcast())
  33973. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  33974. if (_this._stream_completer$_controller == null)
  33975. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  33976. if (_this._sourceStream != null)
  33977. _this._linkStreamToController$0();
  33978. }
  33979. t1 = _this._stream_completer$_controller;
  33980. t1.toString;
  33981. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  33982. },
  33983. listen$1($receiver, onData) {
  33984. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  33985. },
  33986. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  33987. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  33988. },
  33989. _linkStreamToController$0() {
  33990. var t2,
  33991. t1 = this._stream_completer$_controller;
  33992. t1.toString;
  33993. t2 = this._sourceStream;
  33994. t2.toString;
  33995. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  33996. }
  33997. };
  33998. A.StreamGroup.prototype = {
  33999. add$1(_, stream) {
  34000. var t1, _this = this;
  34001. if (_this._closed)
  34002. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  34003. t1 = _this._stream_group$_state;
  34004. if (t1 === B._StreamGroupState_dormant)
  34005. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  34006. else if (t1 === B._StreamGroupState_canceled)
  34007. return stream.listen$1(0, null).cancel$0();
  34008. else
  34009. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  34010. return null;
  34011. },
  34012. remove$1(_, stream) {
  34013. var t1 = this._subscriptions,
  34014. subscription = t1.remove$1(0, stream),
  34015. future = subscription == null ? null : subscription.cancel$0();
  34016. if (t1.__js_helper$_length === 0)
  34017. if (this._closed) {
  34018. t1 = this.__StreamGroup__controller_A;
  34019. t1 === $ && A.throwUnnamedLateFieldNI();
  34020. A.scheduleMicrotask(t1.get$close(t1));
  34021. }
  34022. return future;
  34023. },
  34024. _onListen$0() {
  34025. var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
  34026. _this._stream_group$_state = B._StreamGroupState_listening;
  34027. for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(t1), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  34028. entry = t2[_i];
  34029. if (entry.value != null)
  34030. continue;
  34031. stream = entry.key;
  34032. try {
  34033. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  34034. } catch (exception) {
  34035. t1 = _this._onCancel$0();
  34036. if (t1 != null) {
  34037. onError = new A.StreamGroup__onListen_closure();
  34038. t2 = t1.$ti;
  34039. t3 = $.Zone__current;
  34040. if (t3 !== B.C__RootZone)
  34041. onError = A._registerErrorHandler(onError, t3);
  34042. t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>")));
  34043. }
  34044. throw exception;
  34045. }
  34046. }
  34047. },
  34048. _onPause$0() {
  34049. var t1, t2, t3;
  34050. this._stream_group$_state = B._StreamGroupState_paused;
  34051. for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  34052. t3 = t1.__internal$_current;
  34053. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  34054. }
  34055. },
  34056. _onResume$0() {
  34057. var t1, t2, t3;
  34058. this._stream_group$_state = B._StreamGroupState_listening;
  34059. for (t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
  34060. t3 = t1.__internal$_current;
  34061. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  34062. }
  34063. },
  34064. _onCancel$0() {
  34065. var t1, t2, futures;
  34066. this._stream_group$_state = B._StreamGroupState_canceled;
  34067. t1 = this._subscriptions;
  34068. t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(t1).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
  34069. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  34070. t1.clear$0(0);
  34071. return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
  34072. },
  34073. _listenToStream$1(stream) {
  34074. var subscription,
  34075. t1 = this.__StreamGroup__controller_A;
  34076. t1 === $ && A.throwUnnamedLateFieldNI();
  34077. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  34078. if (this._stream_group$_state === B._StreamGroupState_paused)
  34079. subscription.pause$0(0);
  34080. return subscription;
  34081. }
  34082. };
  34083. A.StreamGroup_add_closure.prototype = {
  34084. call$0() {
  34085. return null;
  34086. },
  34087. $signature: 1
  34088. };
  34089. A.StreamGroup_add_closure0.prototype = {
  34090. call$0() {
  34091. return this.$this._listenToStream$1(this.stream);
  34092. },
  34093. $signature() {
  34094. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  34095. }
  34096. };
  34097. A.StreamGroup__onListen_closure.prototype = {
  34098. call$1(_) {
  34099. },
  34100. $signature: 76
  34101. };
  34102. A.StreamGroup__onCancel_closure.prototype = {
  34103. call$1(entry) {
  34104. var t1, exception,
  34105. subscription = entry.value;
  34106. try {
  34107. if (subscription != null) {
  34108. t1 = subscription.cancel$0();
  34109. return t1;
  34110. }
  34111. t1 = J.listen$1$z(entry.key, null).cancel$0();
  34112. return t1;
  34113. } catch (exception) {
  34114. return null;
  34115. }
  34116. },
  34117. $signature() {
  34118. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  34119. }
  34120. };
  34121. A.StreamGroup__listenToStream_closure.prototype = {
  34122. call$0() {
  34123. return this.$this.remove$1(0, this.stream);
  34124. },
  34125. $signature: 0
  34126. };
  34127. A._StreamGroupState.prototype = {
  34128. toString$0(_) {
  34129. return this.name;
  34130. }
  34131. };
  34132. A.StreamQueue.prototype = {
  34133. _updateRequests$0() {
  34134. var t1, t2, t3, t4, _this = this;
  34135. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
  34136. t4 = t1._collection$_head;
  34137. if (t4 === t1._collection$_tail)
  34138. A.throwExpression(A.IterableElementError_noElement());
  34139. t4 = t1._collection$_table[t4];
  34140. if (t4 == null)
  34141. t4 = t3._as(t4);
  34142. if (t4.update$2(t2, _this._isDone))
  34143. t1.removeFirst$0();
  34144. else
  34145. return;
  34146. }
  34147. if (!_this._isDone)
  34148. _this._stream_queue$_subscription.pause$0(0);
  34149. },
  34150. _ensureListening$0() {
  34151. var t1, _this = this;
  34152. if (_this._isDone)
  34153. return;
  34154. t1 = _this._stream_queue$_subscription;
  34155. if (t1 == null)
  34156. _this._stream_queue$_subscription = _this._stream_queue$_source.listen$3$onDone$onError(0, new A.StreamQueue__ensureListening_closure(_this), new A.StreamQueue__ensureListening_closure0(_this), new A.StreamQueue__ensureListening_closure1(_this));
  34157. else
  34158. t1.resume$0(0);
  34159. },
  34160. _addResult$1(result) {
  34161. ++this._eventsReceived;
  34162. this._eventQueue._queue_list$_add$1(result);
  34163. this._updateRequests$0();
  34164. },
  34165. _addRequest$1(request) {
  34166. var _this = this,
  34167. t1 = _this._requestQueue;
  34168. if (t1._collection$_head === t1._collection$_tail) {
  34169. if (request.update$2(_this._eventQueue, _this._isDone))
  34170. return;
  34171. _this._ensureListening$0();
  34172. }
  34173. t1._add$1(request);
  34174. }
  34175. };
  34176. A.StreamQueue__ensureListening_closure.prototype = {
  34177. call$1(data) {
  34178. var t1 = this.$this;
  34179. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  34180. },
  34181. $signature() {
  34182. return this.$this.$ti._eval$1("~(1)");
  34183. }
  34184. };
  34185. A.StreamQueue__ensureListening_closure1.prototype = {
  34186. call$2(error, stackTrace) {
  34187. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  34188. },
  34189. $signature: 73
  34190. };
  34191. A.StreamQueue__ensureListening_closure0.prototype = {
  34192. call$0() {
  34193. var t1 = this.$this;
  34194. t1._stream_queue$_subscription = null;
  34195. t1._isDone = true;
  34196. t1._updateRequests$0();
  34197. },
  34198. $signature: 0
  34199. };
  34200. A._NextRequest.prototype = {
  34201. update$2(events, isDone) {
  34202. if (!events.get$isEmpty(events)) {
  34203. events.removeFirst$0().complete$1(this._completer);
  34204. return true;
  34205. }
  34206. if (isDone) {
  34207. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  34208. return true;
  34209. }
  34210. return false;
  34211. },
  34212. $is_EventRequest: 1
  34213. };
  34214. A.Repl.prototype = {};
  34215. A.alwaysValid_closure.prototype = {
  34216. call$1(text) {
  34217. return true;
  34218. },
  34219. $signature: 8
  34220. };
  34221. A.ReplAdapter.prototype = {
  34222. runAsync$0() {
  34223. var rl, runController, _this = this, t1 = {},
  34224. t2 = J.get$isTTY$x(self.process.stdin),
  34225. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  34226. t2 = _this.repl.prompt;
  34227. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  34228. _this.rl = rl;
  34229. t1.statement = "";
  34230. t1.prompt = t2;
  34231. runController = A._Cell$();
  34232. runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  34233. return runController._readLocal$0().get$stream();
  34234. },
  34235. exit$0(_) {
  34236. var t1 = this.rl;
  34237. if (t1 != null)
  34238. J.close$0$x(t1);
  34239. this.rl = null;
  34240. }
  34241. };
  34242. A.ReplAdapter_runAsync_closure.prototype = {
  34243. call$0() {
  34244. var $async$goto = 0,
  34245. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  34246. $async$handler = 1, $async$currentError, $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, t9, line0, toZone, statement, exception, $async$exception;
  34247. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  34248. if ($async$errorCode === 1) {
  34249. $async$currentError = $async$result;
  34250. $async$goto = $async$handler;
  34251. }
  34252. while (true)
  34253. switch ($async$goto) {
  34254. case 0:
  34255. // Function start
  34256. $async$handler = 3;
  34257. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  34258. t1 = lineController;
  34259. t2 = A.QueueList$(null, type$.Result_String);
  34260. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  34261. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  34262. t1 = $async$self.rl;
  34263. t2 = J.getInterceptor$x(t1);
  34264. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  34265. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController, t6 = t5.__late_helper$_name;
  34266. case 6:
  34267. // for condition
  34268. // trivial condition
  34269. t7 = J.get$isTTY$x(self.process.stdin);
  34270. if (t7 == null ? false : t7)
  34271. J.write$1$x(self.process.stdout, t3.prompt);
  34272. t7 = lineQueue;
  34273. t8 = A.instanceType(t7);
  34274. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  34275. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  34276. $async$goto = 8;
  34277. return A._asyncAwait(t9, $async$call$0);
  34278. case 8:
  34279. // returning from await.
  34280. line = $async$result;
  34281. t7 = J.get$isTTY$x(self.process.stdin);
  34282. if (!(t7 == null ? false : t7)) {
  34283. line0 = t3.prompt + A.S(line);
  34284. toZone = $.printToZone;
  34285. if (toZone == null)
  34286. A.printString(line0);
  34287. else
  34288. toZone.call$1(line0);
  34289. }
  34290. statement = B.JSString_methods.$add(t3.statement, line);
  34291. t3.statement = statement;
  34292. if (t4.validator.call$1(statement)) {
  34293. t7 = t5._value;
  34294. if (t7 === t5)
  34295. A.throwExpression(A.LateError$localNI(t6));
  34296. J.add$1$ax(t7, t3.statement);
  34297. t3.statement = "";
  34298. t3.prompt = prompt0;
  34299. t2.setPrompt$1(t1, prompt0);
  34300. } else {
  34301. t3.statement += "\n";
  34302. t3.prompt = $prompt;
  34303. t2.setPrompt$1(t1, $prompt);
  34304. }
  34305. // goto for condition
  34306. $async$goto = 6;
  34307. break;
  34308. case 7:
  34309. // after for
  34310. $async$handler = 1;
  34311. // goto after finally
  34312. $async$goto = 5;
  34313. break;
  34314. case 3:
  34315. // catch
  34316. $async$handler = 2;
  34317. $async$exception = $async$currentError;
  34318. error = A.unwrapException($async$exception);
  34319. stackTrace = A.getTraceFromException($async$exception);
  34320. t1 = $async$self.runController;
  34321. t1._readLocal$0().addError$2(error, stackTrace);
  34322. $async$goto = 9;
  34323. return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
  34324. case 9:
  34325. // returning from await.
  34326. J.close$0$x(t1._readLocal$0());
  34327. // goto after finally
  34328. $async$goto = 5;
  34329. break;
  34330. case 2:
  34331. // uncaught
  34332. // goto rethrow
  34333. $async$goto = 1;
  34334. break;
  34335. case 5:
  34336. // after finally
  34337. // implicit return
  34338. return A._asyncReturn(null, $async$completer);
  34339. case 1:
  34340. // rethrow
  34341. return A._asyncRethrow($async$currentError, $async$completer);
  34342. }
  34343. });
  34344. return A._asyncStartSync($async$call$0, $async$completer);
  34345. },
  34346. $signature: 38
  34347. };
  34348. A.ReplAdapter_runAsync__closure.prototype = {
  34349. call$1(value) {
  34350. return this.lineController.add$1(0, A._asString(value));
  34351. },
  34352. $signature: 139
  34353. };
  34354. A.Stdin.prototype = {};
  34355. A.Stdout.prototype = {};
  34356. A.ReadlineModule.prototype = {};
  34357. A.ReadlineOptions.prototype = {};
  34358. A.ReadlineInterface.prototype = {};
  34359. A.EmptyUnmodifiableSet.prototype = {
  34360. get$iterator(_) {
  34361. return B.C_EmptyIterator;
  34362. },
  34363. get$length(_) {
  34364. return 0;
  34365. },
  34366. contains$1(_, element) {
  34367. return false;
  34368. },
  34369. toSet$0(_) {
  34370. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  34371. },
  34372. $isEfficientLengthIterable: 1,
  34373. $isSet: 1
  34374. };
  34375. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  34376. A.DefaultEquality.prototype = {};
  34377. A.IterableEquality.prototype = {
  34378. equals$2(_, elements1, elements2) {
  34379. var it1, it2, hasNext;
  34380. if (elements1 === elements2)
  34381. return true;
  34382. it1 = J.get$iterator$ax(elements1);
  34383. it2 = J.get$iterator$ax(elements2);
  34384. for (; true;) {
  34385. hasNext = it1.moveNext$0();
  34386. if (hasNext !== it2.moveNext$0())
  34387. return false;
  34388. if (!hasNext)
  34389. return true;
  34390. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  34391. return false;
  34392. }
  34393. }
  34394. };
  34395. A.ListEquality.prototype = {
  34396. equals$2(_, list1, list2) {
  34397. var t1, $length, t2, i;
  34398. if (list1 == null ? list2 == null : list1 === list2)
  34399. return true;
  34400. if (list1 == null || list2 == null)
  34401. return false;
  34402. t1 = J.getInterceptor$asx(list1);
  34403. $length = t1.get$length(list1);
  34404. t2 = J.getInterceptor$asx(list2);
  34405. if ($length !== t2.get$length(list2))
  34406. return false;
  34407. for (i = 0; i < $length; ++i)
  34408. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  34409. return false;
  34410. return true;
  34411. },
  34412. hash$1(list) {
  34413. var hash, i;
  34414. for (hash = 0, i = 0; i < list.length; ++i) {
  34415. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  34416. hash = hash + (hash << 10 >>> 0) & 2147483647;
  34417. hash ^= hash >>> 6;
  34418. }
  34419. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34420. hash ^= hash >>> 11;
  34421. return hash + (hash << 15 >>> 0) & 2147483647;
  34422. }
  34423. };
  34424. A._MapEntry.prototype = {
  34425. get$hashCode(_) {
  34426. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  34427. },
  34428. $eq(_, other) {
  34429. if (other == null)
  34430. return false;
  34431. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  34432. }
  34433. };
  34434. A.MapEquality.prototype = {
  34435. equals$2(_, map1, map2) {
  34436. var equalElementCounts, t1, key, entry, count;
  34437. if (map1 === map2)
  34438. return true;
  34439. if (map1.get$length(map1) !== map2.get$length(map2))
  34440. return false;
  34441. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  34442. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  34443. key = t1.get$current(t1);
  34444. entry = new A._MapEntry(this, key, map1.$index(0, key));
  34445. count = equalElementCounts.$index(0, entry);
  34446. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  34447. }
  34448. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  34449. key = t1.get$current(t1);
  34450. entry = new A._MapEntry(this, key, map2.$index(0, key));
  34451. count = equalElementCounts.$index(0, entry);
  34452. if (count == null || count === 0)
  34453. return false;
  34454. equalElementCounts.$indexSet(0, entry, count - 1);
  34455. }
  34456. return true;
  34457. },
  34458. hash$1(map) {
  34459. var t1, t2, hash, key, keyHash, t3;
  34460. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
  34461. key = t1.get$current(t1);
  34462. keyHash = J.get$hashCode$(key);
  34463. t3 = map.$index(0, key);
  34464. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  34465. }
  34466. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34467. hash ^= hash >>> 11;
  34468. return hash + (hash << 15 >>> 0) & 2147483647;
  34469. }
  34470. };
  34471. A.QueueList.prototype = {
  34472. add$1(_, element) {
  34473. this._queue_list$_add$1(element);
  34474. },
  34475. addAll$1(_, iterable) {
  34476. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  34477. if (type$.List_dynamic._is(iterable)) {
  34478. addCount = J.get$length$asx(iterable);
  34479. $length = _this.get$length(_this);
  34480. t1 = $length + addCount;
  34481. if (t1 >= J.get$length$asx(_this._table)) {
  34482. _this._preGrow$1(t1);
  34483. J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
  34484. _this.set$_tail(_this.get$_tail() + addCount);
  34485. } else {
  34486. endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
  34487. t1 = _this._table;
  34488. t2 = J.getInterceptor$ax(t1);
  34489. if (addCount < endSpace) {
  34490. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
  34491. _this.set$_tail(_this.get$_tail() + addCount);
  34492. } else {
  34493. preSpace = addCount - endSpace;
  34494. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
  34495. J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
  34496. _this.set$_tail(preSpace);
  34497. }
  34498. }
  34499. } else
  34500. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  34501. _this._queue_list$_add$1(t1.get$current(t1));
  34502. },
  34503. cast$1$0(_, $T) {
  34504. return new A._CastQueueList(this, J.cast$1$0$ax(this._table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
  34505. },
  34506. toString$0(_) {
  34507. return A.IterableBase_iterableToFullString(this, "{", "}");
  34508. },
  34509. addFirst$1(element) {
  34510. var _this = this;
  34511. _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34512. J.$indexSet$ax(_this._table, _this.get$_head(), element);
  34513. if (_this.get$_head() === _this.get$_tail())
  34514. _this._grow$0();
  34515. },
  34516. removeFirst$0() {
  34517. var result, _this = this;
  34518. if (_this.get$_head() === _this.get$_tail())
  34519. throw A.wrapException(A.StateError$("No element"));
  34520. result = J.$index$asx(_this._table, _this.get$_head());
  34521. if (result == null)
  34522. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  34523. J.$indexSet$ax(_this._table, _this.get$_head(), null);
  34524. _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34525. return result;
  34526. },
  34527. get$length(_) {
  34528. return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
  34529. },
  34530. set$length(_, value) {
  34531. var delta, newTail, t1, t2, _this = this;
  34532. if (value < 0)
  34533. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  34534. if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  34535. throw A.wrapException(A.UnsupportedError$("The length can only be increased when the element type is nullable, but the current element type is `" + A.createRuntimeType(A._instanceType(_this)._eval$1("QueueList.E")).toString$0(0) + "`."));
  34536. delta = value - _this.get$length(_this);
  34537. if (delta >= 0) {
  34538. if (J.get$length$asx(_this._table) <= value)
  34539. _this._preGrow$1(value);
  34540. _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
  34541. return;
  34542. }
  34543. newTail = _this.get$_tail() + delta;
  34544. t1 = _this._table;
  34545. if (newTail >= 0)
  34546. J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
  34547. else {
  34548. newTail += J.get$length$asx(t1);
  34549. J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
  34550. t1 = _this._table;
  34551. t2 = J.getInterceptor$asx(t1);
  34552. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  34553. }
  34554. _this.set$_tail(newTail);
  34555. },
  34556. $index(_, index) {
  34557. var t1, _this = this;
  34558. if (index < 0 || index >= _this.get$length(_this))
  34559. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  34560. t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
  34561. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  34562. },
  34563. $indexSet(_, index, value) {
  34564. var _this = this;
  34565. if (index < 0 || index >= _this.get$length(_this))
  34566. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  34567. J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
  34568. },
  34569. _queue_list$_add$1(element) {
  34570. var _this = this;
  34571. J.$indexSet$ax(_this._table, _this.get$_tail(), element);
  34572. _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34573. if (_this.get$_head() === _this.get$_tail())
  34574. _this._grow$0();
  34575. },
  34576. _grow$0() {
  34577. var _this = this,
  34578. newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  34579. split = J.get$length$asx(_this._table) - _this.get$_head();
  34580. B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
  34581. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
  34582. _this.set$_head(0);
  34583. _this.set$_tail(J.get$length$asx(_this._table));
  34584. _this._table = newTable;
  34585. },
  34586. _writeToList$1(target) {
  34587. var $length, firstPartSize, _this = this;
  34588. if (_this.get$_head() <= _this.get$_tail()) {
  34589. $length = _this.get$_tail() - _this.get$_head();
  34590. B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
  34591. return $length;
  34592. } else {
  34593. firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
  34594. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
  34595. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
  34596. return _this.get$_tail() + firstPartSize;
  34597. }
  34598. },
  34599. _preGrow$1(newElementCount) {
  34600. var _this = this,
  34601. newTable = A.List_List$filled(A.QueueList__nextPowerOf2(newElementCount + B.JSInt_methods._shrOtherPositive$1(newElementCount, 1)), null, false, A._instanceType(_this)._eval$1("QueueList.E?"));
  34602. _this.set$_tail(_this._writeToList$1(newTable));
  34603. _this._table = newTable;
  34604. _this.set$_head(0);
  34605. },
  34606. $isEfficientLengthIterable: 1,
  34607. $isQueue: 1,
  34608. $isIterable: 1,
  34609. $isList: 1,
  34610. get$_head() {
  34611. return this._head;
  34612. },
  34613. get$_tail() {
  34614. return this._tail;
  34615. },
  34616. set$_head(val) {
  34617. return this._head = val;
  34618. },
  34619. set$_tail(val) {
  34620. return this._tail = val;
  34621. }
  34622. };
  34623. A._CastQueueList.prototype = {
  34624. get$_head() {
  34625. return this._queue_list$_delegate.get$_head();
  34626. },
  34627. set$_head(value) {
  34628. this._queue_list$_delegate.set$_head(value);
  34629. },
  34630. get$_tail() {
  34631. return this._queue_list$_delegate.get$_tail();
  34632. },
  34633. set$_tail(value) {
  34634. this._queue_list$_delegate.set$_tail(value);
  34635. }
  34636. };
  34637. A._QueueList_Object_ListMixin.prototype = {};
  34638. A.UnmodifiableSetView.prototype = {};
  34639. A.UnmodifiableSetMixin.prototype = {
  34640. add$1(_, value) {
  34641. return A.UnmodifiableSetMixin__throw();
  34642. },
  34643. addAll$1(_, elements) {
  34644. return A.UnmodifiableSetMixin__throw();
  34645. }
  34646. };
  34647. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  34648. A._DelegatingIterableBase.prototype = {
  34649. contains$1(_, element) {
  34650. return J.contains$1$asx(this.get$_base(), element);
  34651. },
  34652. elementAt$1(_, index) {
  34653. return J.elementAt$1$ax(this.get$_base(), index);
  34654. },
  34655. get$first(_) {
  34656. return J.get$first$ax(this.get$_base());
  34657. },
  34658. get$isEmpty(_) {
  34659. return J.get$isEmpty$asx(this.get$_base());
  34660. },
  34661. get$isNotEmpty(_) {
  34662. return J.get$isNotEmpty$asx(this.get$_base());
  34663. },
  34664. get$iterator(_) {
  34665. return J.get$iterator$ax(this.get$_base());
  34666. },
  34667. join$1(_, separator) {
  34668. return J.join$1$ax(this.get$_base(), separator);
  34669. },
  34670. join$0($receiver) {
  34671. return this.join$1($receiver, "");
  34672. },
  34673. get$last(_) {
  34674. return J.get$last$ax(this.get$_base());
  34675. },
  34676. get$length(_) {
  34677. return J.get$length$asx(this.get$_base());
  34678. },
  34679. map$1$1(_, f, $T) {
  34680. return J.map$1$1$ax(this.get$_base(), f, $T);
  34681. },
  34682. get$single(_) {
  34683. return J.get$single$ax(this.get$_base());
  34684. },
  34685. skip$1(_, n) {
  34686. return J.skip$1$ax(this.get$_base(), n);
  34687. },
  34688. take$1(_, n) {
  34689. return J.take$1$ax(this.get$_base(), n);
  34690. },
  34691. toList$1$growable(_, growable) {
  34692. return J.toList$1$growable$ax(this.get$_base(), true);
  34693. },
  34694. toList$0($receiver) {
  34695. return this.toList$1$growable($receiver, true);
  34696. },
  34697. toSet$0(_) {
  34698. return J.toSet$0$ax(this.get$_base());
  34699. },
  34700. where$1(_, test) {
  34701. return J.where$1$ax(this.get$_base(), test);
  34702. },
  34703. toString$0(_) {
  34704. return J.toString$0$(this.get$_base());
  34705. },
  34706. $isIterable: 1
  34707. };
  34708. A.DelegatingSet.prototype = {
  34709. add$1(_, value) {
  34710. return this._base.add$1(0, value);
  34711. },
  34712. addAll$1(_, elements) {
  34713. this._base.addAll$1(0, elements);
  34714. },
  34715. toSet$0(_) {
  34716. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  34717. },
  34718. $isEfficientLengthIterable: 1,
  34719. $isSet: 1,
  34720. get$_base() {
  34721. return this._base;
  34722. }
  34723. };
  34724. A.MapKeySet.prototype = {
  34725. get$_base() {
  34726. var t1 = this._baseMap;
  34727. return t1.get$keys(t1);
  34728. },
  34729. contains$1(_, element) {
  34730. return this._baseMap.containsKey$1(element);
  34731. },
  34732. get$isEmpty(_) {
  34733. var t1 = this._baseMap;
  34734. return t1.get$isEmpty(t1);
  34735. },
  34736. get$isNotEmpty(_) {
  34737. var t1 = this._baseMap;
  34738. return t1.get$isNotEmpty(t1);
  34739. },
  34740. get$length(_) {
  34741. var t1 = this._baseMap;
  34742. return t1.get$length(t1);
  34743. },
  34744. toString$0(_) {
  34745. return A.IterableBase_iterableToFullString(this, "{", "}");
  34746. },
  34747. difference$1(other) {
  34748. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  34749. },
  34750. $isEfficientLengthIterable: 1,
  34751. $isSet: 1
  34752. };
  34753. A.MapKeySet_difference_closure.prototype = {
  34754. call$1(element) {
  34755. return !this.other._source.contains$1(0, element);
  34756. },
  34757. $signature() {
  34758. return this.$this.$ti._eval$1("bool(1)");
  34759. }
  34760. };
  34761. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  34762. A.BufferModule.prototype = {};
  34763. A.BufferConstants.prototype = {};
  34764. A.Buffer.prototype = {};
  34765. A.ConsoleModule.prototype = {};
  34766. A.Console.prototype = {};
  34767. A.EventEmitter.prototype = {};
  34768. A.FS.prototype = {};
  34769. A.FSConstants.prototype = {};
  34770. A.FSWatcher.prototype = {};
  34771. A.ReadStream.prototype = {};
  34772. A.ReadStreamOptions.prototype = {};
  34773. A.WriteStream.prototype = {};
  34774. A.WriteStreamOptions.prototype = {};
  34775. A.FileOptions.prototype = {};
  34776. A.StatOptions.prototype = {};
  34777. A.MkdirOptions.prototype = {};
  34778. A.RmdirOptions.prototype = {};
  34779. A.WatchOptions.prototype = {};
  34780. A.WatchFileOptions.prototype = {};
  34781. A.Stats.prototype = {};
  34782. A.Promise.prototype = {};
  34783. A.Date.prototype = {};
  34784. A.JsError.prototype = {};
  34785. A.Atomics.prototype = {};
  34786. A.Modules.prototype = {};
  34787. A.Module1.prototype = {};
  34788. A.Net.prototype = {};
  34789. A.Socket.prototype = {};
  34790. A.NetAddress.prototype = {};
  34791. A.NetServer.prototype = {};
  34792. A.NodeJsError.prototype = {};
  34793. A.JsAssertionError.prototype = {};
  34794. A.JsRangeError.prototype = {};
  34795. A.JsReferenceError.prototype = {};
  34796. A.JsSyntaxError.prototype = {};
  34797. A.JsTypeError.prototype = {};
  34798. A.JsSystemError.prototype = {};
  34799. A.Process.prototype = {};
  34800. A.CPUUsage.prototype = {};
  34801. A.Release.prototype = {};
  34802. A.StreamModule.prototype = {};
  34803. A.Readable.prototype = {};
  34804. A.Writable.prototype = {};
  34805. A.Duplex.prototype = {};
  34806. A.Transform.prototype = {};
  34807. A.WritableOptions.prototype = {};
  34808. A.ReadableOptions.prototype = {};
  34809. A.Immediate.prototype = {};
  34810. A.Timeout.prototype = {};
  34811. A.TTY.prototype = {};
  34812. A.TTYReadStream.prototype = {};
  34813. A.TTYWriteStream.prototype = {};
  34814. A.Util.prototype = {};
  34815. A.promiseToFuture_closure.prototype = {
  34816. call$1(value) {
  34817. this.completer.complete$1(value);
  34818. },
  34819. $signature: 76
  34820. };
  34821. A.promiseToFuture_closure0.prototype = {
  34822. call$1(error) {
  34823. this.completer.completeError$1(error);
  34824. },
  34825. $signature: 76
  34826. };
  34827. A.futureToPromise_closure.prototype = {
  34828. call$2(resolve, reject) {
  34829. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  34830. },
  34831. $signature: 289
  34832. };
  34833. A.futureToPromise__closure.prototype = {
  34834. call$1(result) {
  34835. return this.resolve.call$1(result);
  34836. },
  34837. $signature() {
  34838. return this.T._eval$1("@(0)");
  34839. }
  34840. };
  34841. A.Context.prototype = {
  34842. absolute$7(part1, part2, part3, part4, part5, part6, part7) {
  34843. var t1;
  34844. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
  34845. if (part2 == null) {
  34846. t1 = this.style;
  34847. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  34848. } else
  34849. t1 = false;
  34850. if (t1)
  34851. return part1;
  34852. t1 = this._context$_current;
  34853. return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
  34854. },
  34855. absolute$1(part1) {
  34856. return this.absolute$7(part1, null, null, null, null, null, null);
  34857. },
  34858. dirname$1(path) {
  34859. var t1, t2,
  34860. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  34861. parsed.removeTrailingSeparators$0();
  34862. t1 = parsed.parts;
  34863. t2 = t1.length;
  34864. if (t2 === 0) {
  34865. t1 = parsed.root;
  34866. return t1 == null ? "." : t1;
  34867. }
  34868. if (t2 === 1) {
  34869. t1 = parsed.root;
  34870. return t1 == null ? "." : t1;
  34871. }
  34872. B.JSArray_methods.removeLast$0(t1);
  34873. parsed.separators.pop();
  34874. parsed.removeTrailingSeparators$0();
  34875. return parsed.toString$0(0);
  34876. },
  34877. join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
  34878. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
  34879. A._validateArgList("join", parts);
  34880. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  34881. },
  34882. join$2($receiver, part1, part2) {
  34883. return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
  34884. },
  34885. joinAll$1(parts) {
  34886. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  34887. for (t1 = parts.get$iterator(parts), t2 = new A.WhereIterator(t1, new A.Context_joinAll_closure()), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t2.moveNext$0();) {
  34888. t5 = t1.get$current(t1);
  34889. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  34890. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  34891. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  34892. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  34893. parsed.root = t4;
  34894. if (t3.needsSeparator$1(t4))
  34895. parsed.separators[0] = t3.get$separator(t3);
  34896. t4 = "" + parsed.toString$0(0);
  34897. } else if (t3.rootLength$1(t5) > 0) {
  34898. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  34899. t4 = "" + t5;
  34900. } else {
  34901. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  34902. if (needsSeparator)
  34903. t4 += t3.get$separator(t3);
  34904. t4 += t5;
  34905. }
  34906. needsSeparator = t3.needsSeparator$1(t5);
  34907. }
  34908. return t4.charCodeAt(0) == 0 ? t4 : t4;
  34909. },
  34910. split$1(_, path) {
  34911. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  34912. t1 = parsed.parts,
  34913. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  34914. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  34915. parsed.parts = t2;
  34916. t1 = parsed.root;
  34917. if (t1 != null)
  34918. B.JSArray_methods.insert$2(t2, 0, t1);
  34919. return parsed.parts;
  34920. },
  34921. canonicalize$1(_, path) {
  34922. var t1, parsed;
  34923. path = this.absolute$1(path);
  34924. t1 = this.style;
  34925. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  34926. return path;
  34927. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  34928. parsed.normalize$1$canonicalize(true);
  34929. return parsed.toString$0(0);
  34930. },
  34931. normalize$1(path) {
  34932. var parsed;
  34933. if (!this._needsNormalization$1(path))
  34934. return path;
  34935. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  34936. parsed.normalize$0();
  34937. return parsed.toString$0(0);
  34938. },
  34939. _needsNormalization$1(path) {
  34940. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  34941. t1 = this.style,
  34942. root = t1.rootLength$1(path);
  34943. if (root !== 0) {
  34944. if (t1 === $.$get$Style_windows())
  34945. for (i = 0; i < root; ++i)
  34946. if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
  34947. return true;
  34948. start = root;
  34949. previous = 47;
  34950. } else {
  34951. start = 0;
  34952. previous = null;
  34953. }
  34954. for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  34955. codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
  34956. if (t1.isSeparator$1(codeUnit)) {
  34957. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  34958. return true;
  34959. if (previous != null && t1.isSeparator$1(previous))
  34960. return true;
  34961. if (previous === 46)
  34962. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  34963. else
  34964. t4 = false;
  34965. if (t4)
  34966. return true;
  34967. }
  34968. }
  34969. if (previous == null)
  34970. return true;
  34971. if (t1.isSeparator$1(previous))
  34972. return true;
  34973. if (previous === 46)
  34974. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  34975. else
  34976. t1 = false;
  34977. if (t1)
  34978. return true;
  34979. return false;
  34980. },
  34981. relative$2$from(path, from) {
  34982. var fromParsed, pathParsed, t2, t3, _this = this,
  34983. _s26_ = 'Unable to find a path to "',
  34984. t1 = from == null;
  34985. if (t1 && _this.style.rootLength$1(path) <= 0)
  34986. return _this.normalize$1(path);
  34987. if (t1) {
  34988. t1 = _this._context$_current;
  34989. from = t1 == null ? A.current() : t1;
  34990. } else
  34991. from = _this.absolute$1(from);
  34992. t1 = _this.style;
  34993. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  34994. return _this.normalize$1(path);
  34995. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  34996. path = _this.absolute$1(path);
  34997. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  34998. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  34999. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  35000. fromParsed.normalize$0();
  35001. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  35002. pathParsed.normalize$0();
  35003. t2 = fromParsed.parts;
  35004. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  35005. return pathParsed.toString$0(0);
  35006. t2 = fromParsed.root;
  35007. t3 = pathParsed.root;
  35008. if (t2 != t3)
  35009. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  35010. else
  35011. t2 = false;
  35012. if (t2)
  35013. return pathParsed.toString$0(0);
  35014. while (true) {
  35015. t2 = fromParsed.parts;
  35016. if (t2.length !== 0) {
  35017. t3 = pathParsed.parts;
  35018. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  35019. } else
  35020. t2 = false;
  35021. if (!t2)
  35022. break;
  35023. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  35024. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  35025. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  35026. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  35027. }
  35028. t2 = fromParsed.parts;
  35029. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  35030. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  35031. t2 = type$.String;
  35032. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  35033. t3 = pathParsed.separators;
  35034. t3[0] = "";
  35035. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  35036. t1 = pathParsed.parts;
  35037. t2 = t1.length;
  35038. if (t2 === 0)
  35039. return ".";
  35040. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  35041. B.JSArray_methods.removeLast$0(pathParsed.parts);
  35042. t1 = pathParsed.separators;
  35043. t1.pop();
  35044. t1.pop();
  35045. t1.push("");
  35046. }
  35047. pathParsed.root = "";
  35048. pathParsed.removeTrailingSeparators$0();
  35049. return pathParsed.toString$0(0);
  35050. },
  35051. relative$1(path) {
  35052. return this.relative$2$from(path, null);
  35053. },
  35054. _isWithinOrEquals$2($parent, child) {
  35055. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  35056. $parent = $parent;
  35057. child = child;
  35058. t1 = _this.style;
  35059. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  35060. childIsAbsolute = t1.rootLength$1(child) > 0;
  35061. if (parentIsAbsolute && !childIsAbsolute) {
  35062. child = _this.absolute$1(child);
  35063. if (t1.isRootRelative$1($parent))
  35064. $parent = _this.absolute$1($parent);
  35065. } else if (childIsAbsolute && !parentIsAbsolute) {
  35066. $parent = _this.absolute$1($parent);
  35067. if (t1.isRootRelative$1(child))
  35068. child = _this.absolute$1(child);
  35069. } else if (childIsAbsolute && parentIsAbsolute) {
  35070. childIsRootRelative = t1.isRootRelative$1(child);
  35071. parentIsRootRelative = t1.isRootRelative$1($parent);
  35072. if (childIsRootRelative && !parentIsRootRelative)
  35073. child = _this.absolute$1(child);
  35074. else if (parentIsRootRelative && !childIsRootRelative)
  35075. $parent = _this.absolute$1($parent);
  35076. }
  35077. result = _this._isWithinOrEqualsFast$2($parent, child);
  35078. if (result !== B._PathRelation_inconclusive)
  35079. return result;
  35080. relative = null;
  35081. try {
  35082. relative = _this.relative$2$from(child, $parent);
  35083. } catch (exception) {
  35084. if (A.unwrapException(exception) instanceof A.PathException)
  35085. return B._PathRelation_different;
  35086. else
  35087. throw exception;
  35088. }
  35089. if (t1.rootLength$1(relative) > 0)
  35090. return B._PathRelation_different;
  35091. if (J.$eq$(relative, "."))
  35092. return B._PathRelation_equal;
  35093. if (J.$eq$(relative, ".."))
  35094. return B._PathRelation_different;
  35095. return J.get$length$asx(relative) >= 3 && J.startsWith$1$s(relative, "..") && t1.isSeparator$1(J.codeUnitAt$1$s(relative, 2)) ? B._PathRelation_different : B._PathRelation_within;
  35096. },
  35097. _isWithinOrEqualsFast$2($parent, child) {
  35098. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  35099. if ($parent === ".")
  35100. $parent = "";
  35101. t1 = _this.style;
  35102. parentRootLength = t1.rootLength$1($parent);
  35103. childRootLength = t1.rootLength$1(child);
  35104. if (parentRootLength !== childRootLength)
  35105. return B._PathRelation_different;
  35106. for (i = 0; i < parentRootLength; ++i)
  35107. if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
  35108. return B._PathRelation_different;
  35109. t2 = child.length;
  35110. t3 = $parent.length;
  35111. childIndex = childRootLength;
  35112. parentIndex = parentRootLength;
  35113. lastCodeUnit = 47;
  35114. lastParentSeparator = null;
  35115. while (true) {
  35116. if (!(parentIndex < t3 && childIndex < t2))
  35117. break;
  35118. c$0: {
  35119. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35120. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35121. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  35122. if (t1.isSeparator$1(parentCodeUnit))
  35123. lastParentSeparator = parentIndex;
  35124. ++parentIndex;
  35125. ++childIndex;
  35126. lastCodeUnit = parentCodeUnit;
  35127. break c$0;
  35128. }
  35129. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35130. parentIndex0 = parentIndex + 1;
  35131. lastParentSeparator = parentIndex;
  35132. parentIndex = parentIndex0;
  35133. break c$0;
  35134. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35135. ++childIndex;
  35136. break c$0;
  35137. }
  35138. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35139. ++parentIndex;
  35140. if (parentIndex === t3)
  35141. break;
  35142. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35143. if (t1.isSeparator$1(parentCodeUnit)) {
  35144. parentIndex0 = parentIndex + 1;
  35145. lastParentSeparator = parentIndex;
  35146. parentIndex = parentIndex0;
  35147. break c$0;
  35148. }
  35149. if (parentCodeUnit === 46) {
  35150. ++parentIndex;
  35151. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35152. return B._PathRelation_inconclusive;
  35153. }
  35154. }
  35155. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35156. ++childIndex;
  35157. if (childIndex === t2)
  35158. break;
  35159. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35160. if (t1.isSeparator$1(childCodeUnit)) {
  35161. ++childIndex;
  35162. break c$0;
  35163. }
  35164. if (childCodeUnit === 46) {
  35165. ++childIndex;
  35166. if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
  35167. return B._PathRelation_inconclusive;
  35168. }
  35169. }
  35170. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  35171. return B._PathRelation_inconclusive;
  35172. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  35173. return B._PathRelation_inconclusive;
  35174. return B._PathRelation_different;
  35175. }
  35176. }
  35177. if (childIndex === t2) {
  35178. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35179. lastParentSeparator = parentIndex;
  35180. else if (lastParentSeparator == null)
  35181. lastParentSeparator = Math.max(0, parentRootLength - 1);
  35182. direction = _this._pathDirection$2($parent, lastParentSeparator);
  35183. if (direction === B._PathDirection_8Gl)
  35184. return B._PathRelation_equal;
  35185. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  35186. }
  35187. direction = _this._pathDirection$2(child, childIndex);
  35188. if (direction === B._PathDirection_8Gl)
  35189. return B._PathRelation_equal;
  35190. if (direction === B._PathDirection_ZGD)
  35191. return B._PathRelation_inconclusive;
  35192. return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  35193. },
  35194. _pathDirection$2(path, index) {
  35195. var t1, t2, i, depth, reachedRoot, i0, t3;
  35196. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  35197. while (true) {
  35198. if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
  35199. break;
  35200. ++i;
  35201. }
  35202. if (i === t1)
  35203. break;
  35204. i0 = i;
  35205. while (true) {
  35206. if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
  35207. break;
  35208. ++i0;
  35209. }
  35210. t3 = i0 - i;
  35211. if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
  35212. if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
  35213. --depth;
  35214. if (depth < 0)
  35215. break;
  35216. if (depth === 0)
  35217. reachedRoot = true;
  35218. } else
  35219. ++depth;
  35220. if (i0 === t1)
  35221. break;
  35222. i = i0 + 1;
  35223. }
  35224. if (depth < 0)
  35225. return B._PathDirection_ZGD;
  35226. if (depth === 0)
  35227. return B._PathDirection_8Gl;
  35228. if (reachedRoot)
  35229. return B._PathDirection_FIw;
  35230. return B._PathDirection_988;
  35231. },
  35232. hash$1(path) {
  35233. var result, parsed, t1, _this = this;
  35234. path = _this.absolute$1(path);
  35235. result = _this._hashFast$1(path);
  35236. if (result != null)
  35237. return result;
  35238. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  35239. parsed.normalize$0();
  35240. t1 = _this._hashFast$1(parsed.toString$0(0));
  35241. t1.toString;
  35242. return t1;
  35243. },
  35244. _hashFast$1(path) {
  35245. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  35246. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  35247. codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
  35248. if (t2.isSeparator$1(codeUnit)) {
  35249. wasSeparator = true;
  35250. continue;
  35251. }
  35252. if (codeUnit === 46 && wasSeparator) {
  35253. t3 = i + 1;
  35254. if (t3 === t1)
  35255. break;
  35256. next = B.JSString_methods._codeUnitAt$1(path, t3);
  35257. if (t2.isSeparator$1(next))
  35258. continue;
  35259. if (!beginning)
  35260. if (next === 46) {
  35261. t3 = i + 2;
  35262. t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
  35263. } else
  35264. t3 = false;
  35265. else
  35266. t3 = false;
  35267. if (t3)
  35268. return null;
  35269. }
  35270. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  35271. beginning = false;
  35272. wasSeparator = false;
  35273. }
  35274. return hash;
  35275. },
  35276. withoutExtension$1(path) {
  35277. var i,
  35278. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35279. for (i = parsed.parts.length - 1; i >= 0; --i)
  35280. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  35281. parsed.parts[i] = parsed._splitExtension$0()[0];
  35282. break;
  35283. }
  35284. return parsed.toString$0(0);
  35285. },
  35286. toUri$1(path) {
  35287. var t2,
  35288. t1 = this.style;
  35289. if (t1.rootLength$1(path) <= 0)
  35290. return t1.relativePathToUri$1(path);
  35291. else {
  35292. t2 = this._context$_current;
  35293. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  35294. }
  35295. },
  35296. prettyUri$1(uri) {
  35297. var path, rel, _this = this,
  35298. typedUri = A._parseUri(uri);
  35299. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  35300. return typedUri.toString$0(0);
  35301. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  35302. return typedUri.toString$0(0);
  35303. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  35304. rel = _this.relative$1(path);
  35305. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  35306. }
  35307. };
  35308. A.Context_joinAll_closure.prototype = {
  35309. call$1(part) {
  35310. return part !== "";
  35311. },
  35312. $signature: 8
  35313. };
  35314. A.Context_split_closure.prototype = {
  35315. call$1(part) {
  35316. return part.length !== 0;
  35317. },
  35318. $signature: 8
  35319. };
  35320. A._validateArgList_closure.prototype = {
  35321. call$1(arg) {
  35322. return arg == null ? "null" : '"' + arg + '"';
  35323. },
  35324. $signature: 290
  35325. };
  35326. A._PathDirection.prototype = {
  35327. toString$0(_) {
  35328. return this.name;
  35329. }
  35330. };
  35331. A._PathRelation.prototype = {
  35332. toString$0(_) {
  35333. return this.name;
  35334. }
  35335. };
  35336. A.InternalStyle.prototype = {
  35337. getRoot$1(path) {
  35338. var $length = this.rootLength$1(path);
  35339. if ($length > 0)
  35340. return B.JSString_methods.substring$2(path, 0, $length);
  35341. return this.isRootRelative$1(path) ? path[0] : null;
  35342. },
  35343. relativePathToUri$1(path) {
  35344. var segments, _null = null,
  35345. t1 = path.length;
  35346. if (t1 === 0)
  35347. return A._Uri__Uri(_null, _null, _null, _null);
  35348. segments = A.Context_Context(this).split$1(0, path);
  35349. if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
  35350. B.JSArray_methods.add$1(segments, "");
  35351. return A._Uri__Uri(_null, _null, segments, _null);
  35352. },
  35353. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  35354. return codeUnit1 === codeUnit2;
  35355. },
  35356. pathsEqual$2(path1, path2) {
  35357. return path1 === path2;
  35358. },
  35359. canonicalizeCodeUnit$1(codeUnit) {
  35360. return codeUnit;
  35361. },
  35362. canonicalizePart$1(part) {
  35363. return part;
  35364. }
  35365. };
  35366. A.ParsedPath.prototype = {
  35367. get$basename() {
  35368. var _this = this,
  35369. t1 = type$.String,
  35370. copy = new A.ParsedPath(_this.style, _this.root, _this.isRootRelative, A.List_List$from(_this.parts, true, t1), A.List_List$from(_this.separators, true, t1));
  35371. copy.removeTrailingSeparators$0();
  35372. t1 = copy.parts;
  35373. if (t1.length === 0) {
  35374. t1 = _this.root;
  35375. return t1 == null ? "" : t1;
  35376. }
  35377. return B.JSArray_methods.get$last(t1);
  35378. },
  35379. get$hasTrailingSeparator() {
  35380. var t1 = this.parts;
  35381. if (t1.length !== 0)
  35382. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  35383. else
  35384. t1 = false;
  35385. return t1;
  35386. },
  35387. removeTrailingSeparators$0() {
  35388. var t1, t2, _this = this;
  35389. while (true) {
  35390. t1 = _this.parts;
  35391. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  35392. break;
  35393. B.JSArray_methods.removeLast$0(_this.parts);
  35394. _this.separators.pop();
  35395. }
  35396. t1 = _this.separators;
  35397. t2 = t1.length;
  35398. if (t2 !== 0)
  35399. t1[t2 - 1] = "";
  35400. },
  35401. normalize$1$canonicalize(canonicalize) {
  35402. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  35403. newParts = A._setArrayType([], type$.JSArray_String);
  35404. for (t1 = _this.parts, t2 = t1.length, t3 = _this.style, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  35405. part = t1[_i];
  35406. t4 = J.getInterceptor$(part);
  35407. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  35408. if (t4.$eq(part, ".."))
  35409. if (newParts.length !== 0)
  35410. newParts.pop();
  35411. else
  35412. ++leadingDoubles;
  35413. else
  35414. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  35415. }
  35416. if (_this.root == null)
  35417. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  35418. if (newParts.length === 0 && _this.root == null)
  35419. newParts.push(".");
  35420. _this.parts = newParts;
  35421. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  35422. t1 = _this.root;
  35423. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  35424. _this.separators[0] = "";
  35425. t1 = _this.root;
  35426. if (t1 != null && t3 === $.$get$Style_windows()) {
  35427. if (canonicalize)
  35428. t1 = _this.root = t1.toLowerCase();
  35429. t1.toString;
  35430. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  35431. }
  35432. _this.removeTrailingSeparators$0();
  35433. },
  35434. normalize$0() {
  35435. return this.normalize$1$canonicalize(false);
  35436. },
  35437. toString$0(_) {
  35438. var i, _this = this,
  35439. t1 = _this.root;
  35440. t1 = t1 != null ? "" + t1 : "";
  35441. for (i = 0; i < _this.parts.length; ++i)
  35442. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  35443. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  35444. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35445. },
  35446. _kthLastIndexOf$3(path, character, k) {
  35447. var index, count, leftMostIndexedCharacter;
  35448. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  35449. if (path[index] === character) {
  35450. ++count;
  35451. if (count === k)
  35452. return index;
  35453. leftMostIndexedCharacter = index;
  35454. }
  35455. return leftMostIndexedCharacter;
  35456. },
  35457. _splitExtension$1(level) {
  35458. var t1, file, lastDot;
  35459. if (level <= 0)
  35460. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  35461. t1 = this.parts;
  35462. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  35463. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  35464. if (file == null)
  35465. return A._setArrayType(["", ""], type$.JSArray_String);
  35466. if (file === "..")
  35467. return A._setArrayType(["..", ""], type$.JSArray_String);
  35468. lastDot = this._kthLastIndexOf$3(file, ".", level);
  35469. if (lastDot <= 0)
  35470. return A._setArrayType([file, ""], type$.JSArray_String);
  35471. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  35472. },
  35473. _splitExtension$0() {
  35474. return this._splitExtension$1(1);
  35475. }
  35476. };
  35477. A.ParsedPath__splitExtension_closure.prototype = {
  35478. call$1(p) {
  35479. return p !== "";
  35480. },
  35481. $signature: 166
  35482. };
  35483. A.ParsedPath__splitExtension_closure0.prototype = {
  35484. call$0() {
  35485. return null;
  35486. },
  35487. $signature: 1
  35488. };
  35489. A.PathException.prototype = {
  35490. toString$0(_) {
  35491. return "PathException: " + this.message;
  35492. },
  35493. $isException: 1,
  35494. get$message(receiver) {
  35495. return this.message;
  35496. }
  35497. };
  35498. A.PathMap.prototype = {};
  35499. A.PathMap__create_closure.prototype = {
  35500. call$2(path1, path2) {
  35501. if (path1 == null)
  35502. return path2 == null;
  35503. if (path2 == null)
  35504. return false;
  35505. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  35506. },
  35507. $signature: 299
  35508. };
  35509. A.PathMap__create_closure0.prototype = {
  35510. call$1(path) {
  35511. return path == null ? 0 : this._box_0.context.hash$1(path);
  35512. },
  35513. $signature: 307
  35514. };
  35515. A.PathMap__create_closure1.prototype = {
  35516. call$1(path) {
  35517. return typeof path == "string" || path == null;
  35518. },
  35519. $signature: 137
  35520. };
  35521. A.Style.prototype = {
  35522. toString$0(_) {
  35523. return this.get$name(this);
  35524. }
  35525. };
  35526. A.PosixStyle.prototype = {
  35527. containsSeparator$1(path) {
  35528. return B.JSString_methods.contains$1(path, "/");
  35529. },
  35530. isSeparator$1(codeUnit) {
  35531. return codeUnit === 47;
  35532. },
  35533. needsSeparator$1(path) {
  35534. var t1 = path.length;
  35535. return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
  35536. },
  35537. rootLength$2$withDrive(path, withDrive) {
  35538. if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  35539. return 1;
  35540. return 0;
  35541. },
  35542. rootLength$1(path) {
  35543. return this.rootLength$2$withDrive(path, false);
  35544. },
  35545. isRootRelative$1(path) {
  35546. return false;
  35547. },
  35548. pathFromUri$1(uri) {
  35549. var t1;
  35550. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  35551. t1 = uri.get$path(uri);
  35552. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  35553. }
  35554. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  35555. },
  35556. absolutePathToUri$1(path) {
  35557. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  35558. t1 = parsed.parts;
  35559. if (t1.length === 0)
  35560. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  35561. else if (parsed.get$hasTrailingSeparator())
  35562. B.JSArray_methods.add$1(parsed.parts, "");
  35563. return A._Uri__Uri(null, null, parsed.parts, "file");
  35564. },
  35565. get$name() {
  35566. return "posix";
  35567. },
  35568. get$separator() {
  35569. return "/";
  35570. }
  35571. };
  35572. A.UrlStyle.prototype = {
  35573. containsSeparator$1(path) {
  35574. return B.JSString_methods.contains$1(path, "/");
  35575. },
  35576. isSeparator$1(codeUnit) {
  35577. return codeUnit === 47;
  35578. },
  35579. needsSeparator$1(path) {
  35580. var t1 = path.length;
  35581. if (t1 === 0)
  35582. return false;
  35583. if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
  35584. return true;
  35585. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  35586. },
  35587. rootLength$2$withDrive(path, withDrive) {
  35588. var i, codeUnit, index, t2,
  35589. t1 = path.length;
  35590. if (t1 === 0)
  35591. return 0;
  35592. if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  35593. return 1;
  35594. for (i = 0; i < t1; ++i) {
  35595. codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
  35596. if (codeUnit === 47)
  35597. return 0;
  35598. if (codeUnit === 58) {
  35599. if (i === 0)
  35600. return 0;
  35601. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  35602. if (index <= 0)
  35603. return t1;
  35604. if (!withDrive || t1 < index + 3)
  35605. return index;
  35606. if (!B.JSString_methods.startsWith$1(path, "file://"))
  35607. return index;
  35608. if (!A.isDriveLetter(path, index + 1))
  35609. return index;
  35610. t2 = index + 3;
  35611. return t1 === t2 ? t2 : index + 4;
  35612. }
  35613. }
  35614. return 0;
  35615. },
  35616. rootLength$1(path) {
  35617. return this.rootLength$2$withDrive(path, false);
  35618. },
  35619. isRootRelative$1(path) {
  35620. return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
  35621. },
  35622. pathFromUri$1(uri) {
  35623. return uri.toString$0(0);
  35624. },
  35625. relativePathToUri$1(path) {
  35626. return A.Uri_parse(path);
  35627. },
  35628. absolutePathToUri$1(path) {
  35629. return A.Uri_parse(path);
  35630. },
  35631. get$name() {
  35632. return "url";
  35633. },
  35634. get$separator() {
  35635. return "/";
  35636. }
  35637. };
  35638. A.WindowsStyle.prototype = {
  35639. containsSeparator$1(path) {
  35640. return B.JSString_methods.contains$1(path, "/");
  35641. },
  35642. isSeparator$1(codeUnit) {
  35643. return codeUnit === 47 || codeUnit === 92;
  35644. },
  35645. needsSeparator$1(path) {
  35646. var t1 = path.length;
  35647. if (t1 === 0)
  35648. return false;
  35649. t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
  35650. return !(t1 === 47 || t1 === 92);
  35651. },
  35652. rootLength$2$withDrive(path, withDrive) {
  35653. var t2, index,
  35654. t1 = path.length;
  35655. if (t1 === 0)
  35656. return 0;
  35657. t2 = B.JSString_methods._codeUnitAt$1(path, 0);
  35658. if (t2 === 47)
  35659. return 1;
  35660. if (t2 === 92) {
  35661. if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
  35662. return 1;
  35663. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  35664. if (index > 0) {
  35665. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  35666. if (index > 0)
  35667. return index;
  35668. }
  35669. return t1;
  35670. }
  35671. if (t1 < 3)
  35672. return 0;
  35673. if (!A.isAlphabetic(t2))
  35674. return 0;
  35675. if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
  35676. return 0;
  35677. t1 = B.JSString_methods._codeUnitAt$1(path, 2);
  35678. if (!(t1 === 47 || t1 === 92))
  35679. return 0;
  35680. return 3;
  35681. },
  35682. rootLength$1(path) {
  35683. return this.rootLength$2$withDrive(path, false);
  35684. },
  35685. isRootRelative$1(path) {
  35686. return this.rootLength$1(path) === 1;
  35687. },
  35688. pathFromUri$1(uri) {
  35689. var path, t1;
  35690. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  35691. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  35692. path = uri.get$path(uri);
  35693. if (uri.get$host() === "") {
  35694. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
  35695. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  35696. } else
  35697. path = "\\\\" + uri.get$host() + path;
  35698. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  35699. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  35700. },
  35701. absolutePathToUri$1(path) {
  35702. var rootParts, t2,
  35703. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  35704. t1 = parsed.root;
  35705. t1.toString;
  35706. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  35707. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  35708. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
  35709. if (parsed.get$hasTrailingSeparator())
  35710. B.JSArray_methods.add$1(parsed.parts, "");
  35711. return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
  35712. } else {
  35713. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  35714. B.JSArray_methods.add$1(parsed.parts, "");
  35715. t1 = parsed.parts;
  35716. t2 = parsed.root;
  35717. t2.toString;
  35718. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  35719. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  35720. return A._Uri__Uri(null, null, parsed.parts, "file");
  35721. }
  35722. },
  35723. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  35724. var upperCase1;
  35725. if (codeUnit1 === codeUnit2)
  35726. return true;
  35727. if (codeUnit1 === 47)
  35728. return codeUnit2 === 92;
  35729. if (codeUnit1 === 92)
  35730. return codeUnit2 === 47;
  35731. if ((codeUnit1 ^ codeUnit2) !== 32)
  35732. return false;
  35733. upperCase1 = codeUnit1 | 32;
  35734. return upperCase1 >= 97 && upperCase1 <= 122;
  35735. },
  35736. pathsEqual$2(path1, path2) {
  35737. var t1, i;
  35738. if (path1 === path2)
  35739. return true;
  35740. t1 = path1.length;
  35741. if (t1 !== path2.length)
  35742. return false;
  35743. for (i = 0; i < t1; ++i)
  35744. if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
  35745. return false;
  35746. return true;
  35747. },
  35748. canonicalizeCodeUnit$1(codeUnit) {
  35749. if (codeUnit === 47)
  35750. return 92;
  35751. if (codeUnit < 65)
  35752. return codeUnit;
  35753. if (codeUnit > 90)
  35754. return codeUnit;
  35755. return codeUnit | 32;
  35756. },
  35757. canonicalizePart$1(part) {
  35758. return part.toLowerCase();
  35759. },
  35760. get$name() {
  35761. return "windows";
  35762. },
  35763. get$separator() {
  35764. return "\\";
  35765. }
  35766. };
  35767. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  35768. call$1(part) {
  35769. return part !== "";
  35770. },
  35771. $signature: 8
  35772. };
  35773. A.CssMediaQuery.prototype = {
  35774. merge$1(other) {
  35775. var t1, ourModifier, t2, t3, ourType, t4, theirModifier, t5, t6, theirType, t7, t8, negativeConditions, conditions, type, modifier, fewerConditions, fewerConditions0, moreConditions, _this = this, _null = null, _s3_ = "all";
  35776. if (!_this.conjunction || !other.conjunction)
  35777. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35778. t1 = _this.modifier;
  35779. ourModifier = t1 == null ? _null : t1.toLowerCase();
  35780. t2 = _this.type;
  35781. t3 = t2 == null;
  35782. ourType = t3 ? _null : t2.toLowerCase();
  35783. t4 = other.modifier;
  35784. theirModifier = t4 == null ? _null : t4.toLowerCase();
  35785. t5 = other.type;
  35786. t6 = t5 == null;
  35787. theirType = t6 ? _null : t5.toLowerCase();
  35788. t7 = ourType == null;
  35789. if (t7 && theirType == null) {
  35790. t1 = A.List_List$of(_this.conditions, true, type$.String);
  35791. B.JSArray_methods.addAll$1(t1, other.conditions);
  35792. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  35793. }
  35794. t8 = ourModifier === "not";
  35795. if (t8 !== (theirModifier === "not")) {
  35796. if (ourType == theirType) {
  35797. negativeConditions = t8 ? _this.conditions : other.conditions;
  35798. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  35799. return B._SingletonCssMediaQueryMergeResult_empty;
  35800. else
  35801. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35802. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  35803. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35804. if (t8) {
  35805. conditions = other.conditions;
  35806. type = theirType;
  35807. modifier = theirModifier;
  35808. } else {
  35809. conditions = _this.conditions;
  35810. type = ourType;
  35811. modifier = ourModifier;
  35812. }
  35813. } else if (t8) {
  35814. if (ourType != theirType)
  35815. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35816. fewerConditions = _this.conditions;
  35817. fewerConditions0 = other.conditions;
  35818. t3 = fewerConditions.length > fewerConditions0.length;
  35819. moreConditions = t3 ? fewerConditions : fewerConditions0;
  35820. if (t3)
  35821. fewerConditions = fewerConditions0;
  35822. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  35823. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35824. conditions = moreConditions;
  35825. type = ourType;
  35826. modifier = ourModifier;
  35827. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  35828. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  35829. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35830. B.JSArray_methods.addAll$1(t3, other.conditions);
  35831. conditions = t3;
  35832. modifier = theirModifier;
  35833. } else {
  35834. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  35835. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35836. B.JSArray_methods.addAll$1(t3, other.conditions);
  35837. conditions = t3;
  35838. modifier = ourModifier;
  35839. } else {
  35840. if (ourType != theirType)
  35841. return B._SingletonCssMediaQueryMergeResult_empty;
  35842. else {
  35843. modifier = ourModifier == null ? theirModifier : ourModifier;
  35844. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35845. B.JSArray_methods.addAll$1(t3, other.conditions);
  35846. }
  35847. conditions = t3;
  35848. }
  35849. type = ourType;
  35850. }
  35851. t2 = type == ourType ? t2 : t5;
  35852. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  35853. },
  35854. $eq(_, other) {
  35855. if (other == null)
  35856. return false;
  35857. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  35858. },
  35859. get$hashCode(_) {
  35860. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  35861. },
  35862. toString$0(_) {
  35863. var t2, _this = this,
  35864. t1 = _this.modifier;
  35865. t1 = t1 != null ? "" + (t1 + " ") : "";
  35866. t2 = _this.type;
  35867. if (t2 != null) {
  35868. t1 += t2;
  35869. if (_this.conditions.length !== 0)
  35870. t1 += " and ";
  35871. }
  35872. t2 = _this.conjunction ? " and " : " or ";
  35873. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  35874. return t2.charCodeAt(0) == 0 ? t2 : t2;
  35875. }
  35876. };
  35877. A._SingletonCssMediaQueryMergeResult.prototype = {
  35878. toString$0(_) {
  35879. return this._media_query$_name;
  35880. }
  35881. };
  35882. A.MediaQuerySuccessfulMergeResult.prototype = {
  35883. toString$0(_) {
  35884. return this.query.toString$0(0);
  35885. }
  35886. };
  35887. A.ModifiableCssAtRule.prototype = {
  35888. accept$1$1(visitor) {
  35889. return visitor.visitCssAtRule$1(this);
  35890. },
  35891. accept$1(visitor) {
  35892. return this.accept$1$1(visitor, type$.dynamic);
  35893. },
  35894. copyWithoutChildren$0() {
  35895. var _this = this;
  35896. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  35897. },
  35898. addChild$1(child) {
  35899. this.super$ModifiableCssParentNode$addChild(child);
  35900. },
  35901. $isCssAtRule: 1,
  35902. get$isChildless() {
  35903. return this.isChildless;
  35904. },
  35905. get$span(receiver) {
  35906. return this.span;
  35907. }
  35908. };
  35909. A.ModifiableCssComment.prototype = {
  35910. accept$1$1(visitor) {
  35911. return visitor.visitCssComment$1(this);
  35912. },
  35913. accept$1(visitor) {
  35914. return this.accept$1$1(visitor, type$.dynamic);
  35915. },
  35916. $isCssComment: 1,
  35917. get$span(receiver) {
  35918. return this.span;
  35919. }
  35920. };
  35921. A.ModifiableCssDeclaration.prototype = {
  35922. accept$1$1(visitor) {
  35923. return visitor.visitCssDeclaration$1(this);
  35924. },
  35925. accept$1(visitor) {
  35926. return this.accept$1$1(visitor, type$.dynamic);
  35927. },
  35928. toString$0(_) {
  35929. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  35930. },
  35931. get$span(receiver) {
  35932. return this.span;
  35933. }
  35934. };
  35935. A.ModifiableCssImport.prototype = {
  35936. accept$1$1(visitor) {
  35937. return visitor.visitCssImport$1(this);
  35938. },
  35939. accept$1(visitor) {
  35940. return this.accept$1$1(visitor, type$.dynamic);
  35941. },
  35942. $isCssImport: 1,
  35943. get$span(receiver) {
  35944. return this.span;
  35945. }
  35946. };
  35947. A.ModifiableCssKeyframeBlock.prototype = {
  35948. accept$1$1(visitor) {
  35949. return visitor.visitCssKeyframeBlock$1(this);
  35950. },
  35951. accept$1(visitor) {
  35952. return this.accept$1$1(visitor, type$.dynamic);
  35953. },
  35954. copyWithoutChildren$0() {
  35955. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  35956. },
  35957. get$span(receiver) {
  35958. return this.span;
  35959. }
  35960. };
  35961. A.ModifiableCssMediaRule.prototype = {
  35962. accept$1$1(visitor) {
  35963. return visitor.visitCssMediaRule$1(this);
  35964. },
  35965. accept$1(visitor) {
  35966. return this.accept$1$1(visitor, type$.dynamic);
  35967. },
  35968. copyWithoutChildren$0() {
  35969. return A.ModifiableCssMediaRule$(this.queries, this.span);
  35970. },
  35971. $isCssMediaRule: 1,
  35972. get$span(receiver) {
  35973. return this.span;
  35974. }
  35975. };
  35976. A.ModifiableCssNode.prototype = {
  35977. get$hasFollowingSibling() {
  35978. var t2,
  35979. t1 = this._parent;
  35980. if (t1 == null)
  35981. t1 = null;
  35982. else {
  35983. t1 = t1.children;
  35984. t2 = this._indexInParent;
  35985. t2.toString;
  35986. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  35987. }
  35988. return t1 === true;
  35989. },
  35990. get$isGroupEnd() {
  35991. return this.isGroupEnd;
  35992. }
  35993. };
  35994. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  35995. call$1(sibling) {
  35996. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  35997. },
  35998. $signature: 136
  35999. };
  36000. A.ModifiableCssParentNode.prototype = {
  36001. get$isChildless() {
  36002. return false;
  36003. },
  36004. addChild$1(child) {
  36005. var t1;
  36006. child._parent = this;
  36007. t1 = this._children;
  36008. child._indexInParent = t1.length;
  36009. t1.push(child);
  36010. },
  36011. $isCssParentNode: 1,
  36012. get$children(receiver) {
  36013. return this.children;
  36014. }
  36015. };
  36016. A.ModifiableCssStyleRule.prototype = {
  36017. accept$1$1(visitor) {
  36018. return visitor.visitCssStyleRule$1(this);
  36019. },
  36020. accept$1(visitor) {
  36021. return this.accept$1$1(visitor, type$.dynamic);
  36022. },
  36023. copyWithoutChildren$0() {
  36024. return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
  36025. },
  36026. $isCssStyleRule: 1,
  36027. get$span(receiver) {
  36028. return this.span;
  36029. }
  36030. };
  36031. A.ModifiableCssStylesheet.prototype = {
  36032. accept$1$1(visitor) {
  36033. return visitor.visitCssStylesheet$1(this);
  36034. },
  36035. accept$1(visitor) {
  36036. return this.accept$1$1(visitor, type$.dynamic);
  36037. },
  36038. copyWithoutChildren$0() {
  36039. return A.ModifiableCssStylesheet$(this.span);
  36040. },
  36041. $isCssStylesheet: 1,
  36042. get$span(receiver) {
  36043. return this.span;
  36044. }
  36045. };
  36046. A.ModifiableCssSupportsRule.prototype = {
  36047. accept$1$1(visitor) {
  36048. return visitor.visitCssSupportsRule$1(this);
  36049. },
  36050. accept$1(visitor) {
  36051. return this.accept$1$1(visitor, type$.dynamic);
  36052. },
  36053. copyWithoutChildren$0() {
  36054. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  36055. },
  36056. $isCssSupportsRule: 1,
  36057. get$span(receiver) {
  36058. return this.span;
  36059. }
  36060. };
  36061. A.ModifiableCssValue.prototype = {
  36062. toString$0(_) {
  36063. return A.serializeSelector(this.value, true);
  36064. },
  36065. $isCssValue: 1,
  36066. $isAstNode: 1,
  36067. get$value(receiver) {
  36068. return this.value;
  36069. },
  36070. get$span(receiver) {
  36071. return this.span;
  36072. }
  36073. };
  36074. A.CssNode.prototype = {
  36075. toString$0(_) {
  36076. return A.serialize(this, true, null, true, null, false, null, true).css;
  36077. }
  36078. };
  36079. A.CssParentNode.prototype = {};
  36080. A._IsInvisibleVisitor.prototype = {
  36081. visitCssAtRule$1(rule) {
  36082. return false;
  36083. },
  36084. visitCssComment$1(comment) {
  36085. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  36086. },
  36087. visitCssStyleRule$1(rule) {
  36088. var t1 = rule.selector.value;
  36089. return (this.includeBogus ? t1.accept$1(B._IsInvisibleVisitor_true) : t1.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  36090. }
  36091. };
  36092. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  36093. A.CssStylesheet.prototype = {
  36094. get$isGroupEnd() {
  36095. return false;
  36096. },
  36097. get$isChildless() {
  36098. return false;
  36099. },
  36100. accept$1$1(visitor) {
  36101. return visitor.visitCssStylesheet$1(this);
  36102. },
  36103. accept$1(visitor) {
  36104. return this.accept$1$1(visitor, type$.dynamic);
  36105. },
  36106. get$children(receiver) {
  36107. return this.children;
  36108. },
  36109. get$span(receiver) {
  36110. return this.span;
  36111. }
  36112. };
  36113. A.CssValue.prototype = {
  36114. toString$0(_) {
  36115. return J.toString$0$(this.value);
  36116. },
  36117. $isAstNode: 1,
  36118. get$value(receiver) {
  36119. return this.value;
  36120. },
  36121. get$span(receiver) {
  36122. return this.span;
  36123. }
  36124. };
  36125. A.AstNode.prototype = {};
  36126. A._FakeAstNode.prototype = {
  36127. get$span(_) {
  36128. return this._callback.call$0();
  36129. },
  36130. $isAstNode: 1
  36131. };
  36132. A.Argument.prototype = {
  36133. toString$0(_) {
  36134. var t1 = this.defaultValue,
  36135. t2 = this.name;
  36136. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  36137. },
  36138. $isAstNode: 1,
  36139. get$span(receiver) {
  36140. return this.span;
  36141. }
  36142. };
  36143. A.ArgumentDeclaration.prototype = {
  36144. get$spanWithName() {
  36145. var t3, t4,
  36146. t1 = this.span,
  36147. t2 = t1.file,
  36148. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  36149. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  36150. while (true) {
  36151. if (i > 0) {
  36152. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36153. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  36154. } else
  36155. t3 = false;
  36156. if (!t3)
  36157. break;
  36158. --i;
  36159. }
  36160. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36161. if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
  36162. return t1;
  36163. --i;
  36164. while (true) {
  36165. if (i >= 0) {
  36166. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36167. if (t3 !== 95) {
  36168. if (!(t3 >= 97 && t3 <= 122))
  36169. t4 = t3 >= 65 && t3 <= 90;
  36170. else
  36171. t4 = true;
  36172. t4 = t4 || t3 >= 128;
  36173. } else
  36174. t4 = true;
  36175. if (!t4)
  36176. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  36177. else
  36178. t3 = true;
  36179. } else
  36180. t3 = false;
  36181. if (!t3)
  36182. break;
  36183. --i;
  36184. }
  36185. t3 = i + 1;
  36186. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  36187. if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
  36188. return t1;
  36189. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  36190. },
  36191. verify$2(positional, names) {
  36192. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  36193. _s10_ = "invocation",
  36194. _s8_ = "argument";
  36195. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  36196. argument = t1[i];
  36197. if (i < positional) {
  36198. t4 = argument.name;
  36199. if (t3.containsKey$1(t4))
  36200. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  36201. } else {
  36202. t4 = argument.name;
  36203. if (t3.containsKey$1(t4))
  36204. ++namedUsed;
  36205. else if (argument.defaultValue == null)
  36206. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  36207. }
  36208. }
  36209. if (_this.restArgument != null)
  36210. return;
  36211. if (positional > t2) {
  36212. t1 = names.get$isEmpty(names) ? "" : "positional ";
  36213. throw A.wrapException(A.MultiSpanSassScriptException$("Only " + t2 + " " + t1 + A.pluralize(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  36214. }
  36215. if (namedUsed < t3.get$length(t3)) {
  36216. t2 = type$.String;
  36217. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  36218. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  36219. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure0(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  36220. }
  36221. },
  36222. _originalArgumentName$1($name) {
  36223. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  36224. if ($name === this.restArgument) {
  36225. t1 = this.span;
  36226. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  36227. return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
  36228. }
  36229. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  36230. argument = t1[_i];
  36231. if (argument.name === $name) {
  36232. t1 = argument.defaultValue;
  36233. t2 = argument.span;
  36234. t3 = t2.file;
  36235. t4 = t2._file$_start;
  36236. t2 = t2._end;
  36237. if (t1 == null) {
  36238. t1 = t3._decodedChars;
  36239. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  36240. } else {
  36241. t1 = t3._decodedChars;
  36242. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  36243. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  36244. end = A._lastNonWhitespace(t1, false);
  36245. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  36246. }
  36247. return t1;
  36248. }
  36249. }
  36250. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  36251. },
  36252. matches$2(positional, names) {
  36253. var t1, t2, t3, namedUsed, i, argument;
  36254. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  36255. argument = t1[i];
  36256. if (i < positional) {
  36257. if (t3.containsKey$1(argument.name))
  36258. return false;
  36259. } else if (t3.containsKey$1(argument.name))
  36260. ++namedUsed;
  36261. else if (argument.defaultValue == null)
  36262. return false;
  36263. }
  36264. if (this.restArgument != null)
  36265. return true;
  36266. if (positional > t2)
  36267. return false;
  36268. if (namedUsed < t3.get$length(t3))
  36269. return false;
  36270. return true;
  36271. },
  36272. toString$0(_) {
  36273. var t2, t3, _i,
  36274. t1 = A._setArrayType([], type$.JSArray_String);
  36275. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  36276. t1.push("$" + A.S(t2[_i]));
  36277. t2 = this.restArgument;
  36278. if (t2 != null)
  36279. t1.push("$" + t2 + "...");
  36280. return B.JSArray_methods.join$1(t1, ", ");
  36281. },
  36282. $isAstNode: 1,
  36283. get$span(receiver) {
  36284. return this.span;
  36285. }
  36286. };
  36287. A.ArgumentDeclaration_verify_closure.prototype = {
  36288. call$1(argument) {
  36289. return argument.name;
  36290. },
  36291. $signature: 309
  36292. };
  36293. A.ArgumentDeclaration_verify_closure0.prototype = {
  36294. call$1($name) {
  36295. return "$" + $name;
  36296. },
  36297. $signature: 5
  36298. };
  36299. A.ArgumentInvocation.prototype = {
  36300. get$isEmpty(_) {
  36301. var t1;
  36302. if (this.positional.length === 0) {
  36303. t1 = this.named;
  36304. t1 = t1.get$isEmpty(t1) && this.rest == null;
  36305. } else
  36306. t1 = false;
  36307. return t1;
  36308. },
  36309. toString$0(_) {
  36310. var t2, t3, t4, _this = this,
  36311. t1 = A.List_List$of(_this.positional, true, type$.Object);
  36312. for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
  36313. t4 = t3.get$current(t3);
  36314. t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
  36315. }
  36316. t2 = _this.rest;
  36317. if (t2 != null)
  36318. t1.push(t2.toString$0(0) + "...");
  36319. t2 = _this.keywordRest;
  36320. if (t2 != null)
  36321. t1.push(t2.toString$0(0) + "...");
  36322. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  36323. },
  36324. $isAstNode: 1,
  36325. get$span(receiver) {
  36326. return this.span;
  36327. }
  36328. };
  36329. A.AtRootQuery.prototype = {
  36330. excludes$1(node) {
  36331. var t1, _this = this;
  36332. if (_this._all)
  36333. return !_this.include;
  36334. if (type$.CssStyleRule._is(node))
  36335. return _this._at_root_query$_rule !== _this.include;
  36336. if (type$.CssMediaRule._is(node))
  36337. return _this.excludesName$1("media");
  36338. if (type$.CssSupportsRule._is(node))
  36339. return _this.excludesName$1("supports");
  36340. if (type$.CssAtRule._is(node)) {
  36341. t1 = node.name;
  36342. return _this.excludesName$1(t1.get$value(t1).toLowerCase());
  36343. }
  36344. return false;
  36345. },
  36346. excludesName$1($name) {
  36347. var t1 = this._all || this.names.contains$1(0, $name);
  36348. return t1 !== this.include;
  36349. }
  36350. };
  36351. A.ConfiguredVariable.prototype = {
  36352. toString$0(_) {
  36353. var t1 = this.expression.toString$0(0),
  36354. t2 = this.isGuarded ? " !default" : "";
  36355. return "$" + this.name + ": " + t1 + t2;
  36356. },
  36357. $isAstNode: 1,
  36358. get$span(receiver) {
  36359. return this.span;
  36360. }
  36361. };
  36362. A.BinaryOperationExpression.prototype = {
  36363. get$span(_) {
  36364. var right,
  36365. left = this.left;
  36366. for (; left instanceof A.BinaryOperationExpression;)
  36367. left = left.left;
  36368. right = this.right;
  36369. for (; right instanceof A.BinaryOperationExpression;)
  36370. right = right.right;
  36371. return left.get$span(left).expand$1(0, right.get$span(right));
  36372. },
  36373. accept$1$1(visitor) {
  36374. return visitor.visitBinaryOperationExpression$1(this);
  36375. },
  36376. accept$1(visitor) {
  36377. return this.accept$1$1(visitor, type$.dynamic);
  36378. },
  36379. toString$0(_) {
  36380. var t2, right, rightNeedsParens, _this = this,
  36381. left = _this.left,
  36382. leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
  36383. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  36384. t1 += left.toString$0(0);
  36385. if (leftNeedsParens)
  36386. t1 += A.Primitives_stringFromCharCode(41);
  36387. t2 = _this.operator;
  36388. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  36389. right = _this.right;
  36390. rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
  36391. if (rightNeedsParens)
  36392. t1 += A.Primitives_stringFromCharCode(40);
  36393. t1 += right.toString$0(0);
  36394. if (rightNeedsParens)
  36395. t1 += A.Primitives_stringFromCharCode(41);
  36396. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36397. },
  36398. $isAstNode: 1,
  36399. $isExpression: 1
  36400. };
  36401. A.BinaryOperator.prototype = {
  36402. toString$0(_) {
  36403. return this.name;
  36404. }
  36405. };
  36406. A.BooleanExpression.prototype = {
  36407. accept$1$1(visitor) {
  36408. return visitor.visitBooleanExpression$1(this);
  36409. },
  36410. accept$1(visitor) {
  36411. return this.accept$1$1(visitor, type$.dynamic);
  36412. },
  36413. toString$0(_) {
  36414. return String(this.value);
  36415. },
  36416. $isAstNode: 1,
  36417. $isExpression: 1,
  36418. get$span(receiver) {
  36419. return this.span;
  36420. }
  36421. };
  36422. A.CalculationExpression.prototype = {
  36423. accept$1$1(visitor) {
  36424. return visitor.visitCalculationExpression$1(this);
  36425. },
  36426. accept$1(visitor) {
  36427. return this.accept$1$1(visitor, type$.dynamic);
  36428. },
  36429. toString$0(_) {
  36430. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  36431. },
  36432. $isAstNode: 1,
  36433. $isExpression: 1,
  36434. get$span(receiver) {
  36435. return this.span;
  36436. }
  36437. };
  36438. A.CalculationExpression__verifyArguments_closure.prototype = {
  36439. call$1(arg) {
  36440. A.CalculationExpression__verify(arg);
  36441. return arg;
  36442. },
  36443. $signature: 311
  36444. };
  36445. A.ColorExpression.prototype = {
  36446. accept$1$1(visitor) {
  36447. return visitor.visitColorExpression$1(this);
  36448. },
  36449. accept$1(visitor) {
  36450. return this.accept$1$1(visitor, type$.dynamic);
  36451. },
  36452. toString$0(_) {
  36453. return A.serializeValue(this.value, true, true);
  36454. },
  36455. $isAstNode: 1,
  36456. $isExpression: 1,
  36457. get$span(receiver) {
  36458. return this.span;
  36459. }
  36460. };
  36461. A.FunctionExpression.prototype = {
  36462. accept$1$1(visitor) {
  36463. return visitor.visitFunctionExpression$1(this);
  36464. },
  36465. accept$1(visitor) {
  36466. return this.accept$1$1(visitor, type$.dynamic);
  36467. },
  36468. toString$0(_) {
  36469. var t1 = this.namespace;
  36470. t1 = t1 != null ? "" + (t1 + ".") : "";
  36471. t1 += this.originalName + this.$arguments.toString$0(0);
  36472. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36473. },
  36474. $isAstNode: 1,
  36475. $isExpression: 1,
  36476. get$span(receiver) {
  36477. return this.span;
  36478. }
  36479. };
  36480. A.IfExpression.prototype = {
  36481. accept$1$1(visitor) {
  36482. return visitor.visitIfExpression$1(this);
  36483. },
  36484. accept$1(visitor) {
  36485. return this.accept$1$1(visitor, type$.dynamic);
  36486. },
  36487. toString$0(_) {
  36488. return "if" + this.$arguments.toString$0(0);
  36489. },
  36490. $isAstNode: 1,
  36491. $isExpression: 1,
  36492. get$span(receiver) {
  36493. return this.span;
  36494. }
  36495. };
  36496. A.InterpolatedFunctionExpression.prototype = {
  36497. accept$1$1(visitor) {
  36498. return visitor.visitInterpolatedFunctionExpression$1(this);
  36499. },
  36500. accept$1(visitor) {
  36501. return this.accept$1$1(visitor, type$.dynamic);
  36502. },
  36503. toString$0(_) {
  36504. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  36505. },
  36506. $isAstNode: 1,
  36507. $isExpression: 1,
  36508. get$span(receiver) {
  36509. return this.span;
  36510. }
  36511. };
  36512. A.ListExpression.prototype = {
  36513. accept$1$1(visitor) {
  36514. return visitor.visitListExpression$1(this);
  36515. },
  36516. accept$1(visitor) {
  36517. return this.accept$1$1(visitor, type$.dynamic);
  36518. },
  36519. toString$0(_) {
  36520. var _this = this,
  36521. t1 = _this.hasBrackets,
  36522. t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
  36523. t3 = _this.contents,
  36524. t4 = _this.separator === B.ListSeparator_rXA ? ", " : " ";
  36525. t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
  36526. t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
  36527. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36528. },
  36529. _list0$_elementNeedsParens$1(expression) {
  36530. var t1;
  36531. if (expression instanceof A.ListExpression) {
  36532. if (expression.contents.length < 2)
  36533. return false;
  36534. if (expression.hasBrackets)
  36535. return false;
  36536. t1 = expression.separator;
  36537. return this.separator === B.ListSeparator_rXA ? t1 === B.ListSeparator_rXA : t1 !== B.ListSeparator_undecided_null_undecided;
  36538. }
  36539. if (this.separator !== B.ListSeparator_EVt)
  36540. return false;
  36541. if (expression instanceof A.UnaryOperationExpression) {
  36542. t1 = expression.operator;
  36543. return t1 === B.UnaryOperator_gg4 || t1 === B.UnaryOperator_TLI;
  36544. }
  36545. return false;
  36546. },
  36547. $isAstNode: 1,
  36548. $isExpression: 1,
  36549. get$span(receiver) {
  36550. return this.span;
  36551. }
  36552. };
  36553. A.ListExpression_toString_closure.prototype = {
  36554. call$1(element) {
  36555. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  36556. },
  36557. $signature: 135
  36558. };
  36559. A.MapExpression.prototype = {
  36560. accept$1$1(visitor) {
  36561. return visitor.visitMapExpression$1(this);
  36562. },
  36563. accept$1(visitor) {
  36564. return this.accept$1$1(visitor, type$.dynamic);
  36565. },
  36566. toString$0(_) {
  36567. var t1 = this.pairs;
  36568. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  36569. },
  36570. $isAstNode: 1,
  36571. $isExpression: 1,
  36572. get$span(receiver) {
  36573. return this.span;
  36574. }
  36575. };
  36576. A.MapExpression_toString_closure.prototype = {
  36577. call$1(pair) {
  36578. return A.S(pair.item1) + ": " + A.S(pair.item2);
  36579. },
  36580. $signature: 318
  36581. };
  36582. A.NullExpression.prototype = {
  36583. accept$1$1(visitor) {
  36584. return visitor.visitNullExpression$1(this);
  36585. },
  36586. accept$1(visitor) {
  36587. return this.accept$1$1(visitor, type$.dynamic);
  36588. },
  36589. toString$0(_) {
  36590. return "null";
  36591. },
  36592. $isAstNode: 1,
  36593. $isExpression: 1,
  36594. get$span(receiver) {
  36595. return this.span;
  36596. }
  36597. };
  36598. A.NumberExpression.prototype = {
  36599. accept$1$1(visitor) {
  36600. return visitor.visitNumberExpression$1(this);
  36601. },
  36602. accept$1(visitor) {
  36603. return this.accept$1$1(visitor, type$.dynamic);
  36604. },
  36605. toString$0(_) {
  36606. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  36607. },
  36608. $isAstNode: 1,
  36609. $isExpression: 1,
  36610. get$span(receiver) {
  36611. return this.span;
  36612. }
  36613. };
  36614. A.ParenthesizedExpression.prototype = {
  36615. accept$1$1(visitor) {
  36616. return visitor.visitParenthesizedExpression$1(this);
  36617. },
  36618. accept$1(visitor) {
  36619. return this.accept$1$1(visitor, type$.dynamic);
  36620. },
  36621. toString$0(_) {
  36622. return "(" + this.expression.toString$0(0) + ")";
  36623. },
  36624. $isAstNode: 1,
  36625. $isExpression: 1,
  36626. get$span(receiver) {
  36627. return this.span;
  36628. }
  36629. };
  36630. A.SelectorExpression.prototype = {
  36631. accept$1$1(visitor) {
  36632. return visitor.visitSelectorExpression$1(this);
  36633. },
  36634. accept$1(visitor) {
  36635. return this.accept$1$1(visitor, type$.dynamic);
  36636. },
  36637. toString$0(_) {
  36638. return "&";
  36639. },
  36640. $isAstNode: 1,
  36641. $isExpression: 1,
  36642. get$span(receiver) {
  36643. return this.span;
  36644. }
  36645. };
  36646. A.StringExpression.prototype = {
  36647. get$span(_) {
  36648. return this.text.span;
  36649. },
  36650. accept$1$1(visitor) {
  36651. return visitor.visitStringExpression$1(this);
  36652. },
  36653. accept$1(visitor) {
  36654. return this.accept$1$1(visitor, type$.dynamic);
  36655. },
  36656. asInterpolation$1$static($static) {
  36657. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  36658. if (!this.hasQuotes)
  36659. return this.text;
  36660. t1 = this.text;
  36661. t2 = t1.contents;
  36662. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  36663. t3 = new A.StringBuffer("");
  36664. t4 = A._setArrayType([], type$.JSArray_Object);
  36665. buffer = new A.InterpolationBuffer(t3, t4);
  36666. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  36667. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  36668. value = t2[_i];
  36669. if (t6._is(value)) {
  36670. buffer._flushText$0();
  36671. t4.push(value);
  36672. } else if (typeof value == "string")
  36673. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  36674. }
  36675. t3._contents += A.Primitives_stringFromCharCode(quote);
  36676. return buffer.interpolation$1(t1.span);
  36677. },
  36678. asInterpolation$0() {
  36679. return this.asInterpolation$1$static(false);
  36680. },
  36681. toString$0(_) {
  36682. return this.asInterpolation$0().toString$0(0);
  36683. },
  36684. $isAstNode: 1,
  36685. $isExpression: 1
  36686. };
  36687. A.SupportsExpression.prototype = {
  36688. get$span(_) {
  36689. var t1 = this.condition;
  36690. return t1.get$span(t1);
  36691. },
  36692. accept$1$1(visitor) {
  36693. return visitor.visitSupportsExpression$1(this);
  36694. },
  36695. accept$1(visitor) {
  36696. return this.accept$1$1(visitor, type$.dynamic);
  36697. },
  36698. toString$0(_) {
  36699. return this.condition.toString$0(0);
  36700. },
  36701. $isAstNode: 1,
  36702. $isExpression: 1
  36703. };
  36704. A.UnaryOperationExpression.prototype = {
  36705. accept$1$1(visitor) {
  36706. return visitor.visitUnaryOperationExpression$1(this);
  36707. },
  36708. accept$1(visitor) {
  36709. return this.accept$1$1(visitor, type$.dynamic);
  36710. },
  36711. toString$0(_) {
  36712. var t1 = this.operator,
  36713. t2 = t1.operator;
  36714. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  36715. t1 += this.operand.toString$0(0);
  36716. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36717. },
  36718. $isAstNode: 1,
  36719. $isExpression: 1,
  36720. get$span(receiver) {
  36721. return this.span;
  36722. }
  36723. };
  36724. A.UnaryOperator.prototype = {
  36725. toString$0(_) {
  36726. return this.name;
  36727. }
  36728. };
  36729. A.ValueExpression.prototype = {
  36730. accept$1$1(visitor) {
  36731. return visitor.visitValueExpression$1(this);
  36732. },
  36733. accept$1(visitor) {
  36734. return this.accept$1$1(visitor, type$.dynamic);
  36735. },
  36736. toString$0(_) {
  36737. return A.serializeValue(this.value, true, true);
  36738. },
  36739. $isAstNode: 1,
  36740. $isExpression: 1,
  36741. get$span(receiver) {
  36742. return this.span;
  36743. }
  36744. };
  36745. A.VariableExpression.prototype = {
  36746. accept$1$1(visitor) {
  36747. return visitor.visitVariableExpression$1(this);
  36748. },
  36749. accept$1(visitor) {
  36750. return this.accept$1$1(visitor, type$.dynamic);
  36751. },
  36752. toString$0(_) {
  36753. var t1 = this.namespace,
  36754. t2 = this.name;
  36755. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  36756. },
  36757. $isAstNode: 1,
  36758. $isExpression: 1,
  36759. get$span(receiver) {
  36760. return this.span;
  36761. }
  36762. };
  36763. A.DynamicImport.prototype = {
  36764. toString$0(_) {
  36765. return A.StringExpression_quoteText(this.urlString);
  36766. },
  36767. $isAstNode: 1,
  36768. $isImport: 1,
  36769. get$span(receiver) {
  36770. return this.span;
  36771. }
  36772. };
  36773. A.StaticImport.prototype = {
  36774. toString$0(_) {
  36775. var t1 = this.url.toString$0(0),
  36776. t2 = this.modifiers;
  36777. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  36778. },
  36779. $isAstNode: 1,
  36780. $isImport: 1,
  36781. get$span(receiver) {
  36782. return this.span;
  36783. }
  36784. };
  36785. A.Interpolation.prototype = {
  36786. get$asPlain() {
  36787. var first,
  36788. t1 = this.contents,
  36789. t2 = t1.length;
  36790. if (t2 === 0)
  36791. return "";
  36792. if (t2 > 1)
  36793. return null;
  36794. first = B.JSArray_methods.get$first(t1);
  36795. return typeof first == "string" ? first : null;
  36796. },
  36797. get$initialPlain() {
  36798. var first = B.JSArray_methods.get$first(this.contents);
  36799. return typeof first == "string" ? first : "";
  36800. },
  36801. Interpolation$2(contents, span) {
  36802. var t1, t2, t3, i, t4, t5,
  36803. _s8_ = "contents";
  36804. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  36805. t4 = t1[i];
  36806. t5 = typeof t4 == "string";
  36807. if (!t5 && !t3._is(t4))
  36808. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  36809. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  36810. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  36811. }
  36812. },
  36813. toString$0(_) {
  36814. var t1 = this.contents;
  36815. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  36816. },
  36817. $isAstNode: 1,
  36818. get$span(receiver) {
  36819. return this.span;
  36820. }
  36821. };
  36822. A.Interpolation_toString_closure.prototype = {
  36823. call$1(value) {
  36824. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  36825. },
  36826. $signature: 46
  36827. };
  36828. A.AtRootRule.prototype = {
  36829. accept$1$1(visitor) {
  36830. return visitor.visitAtRootRule$1(this);
  36831. },
  36832. accept$1(visitor) {
  36833. return this.accept$1$1(visitor, type$.dynamic);
  36834. },
  36835. toString$0(_) {
  36836. var buffer = new A.StringBuffer("@at-root "),
  36837. t1 = this.query;
  36838. if (t1 != null)
  36839. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  36840. t1 = this.children;
  36841. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  36842. },
  36843. get$span(receiver) {
  36844. return this.span;
  36845. }
  36846. };
  36847. A.AtRule.prototype = {
  36848. accept$1$1(visitor) {
  36849. return visitor.visitAtRule$1(this);
  36850. },
  36851. accept$1(visitor) {
  36852. return this.accept$1$1(visitor, type$.dynamic);
  36853. },
  36854. toString$0(_) {
  36855. var children,
  36856. t1 = "@" + this.name.toString$0(0),
  36857. buffer = new A.StringBuffer(t1),
  36858. t2 = this.value;
  36859. if (t2 != null)
  36860. buffer._contents = t1 + (" " + t2.toString$0(0));
  36861. children = this.children;
  36862. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  36863. },
  36864. get$span(receiver) {
  36865. return this.span;
  36866. }
  36867. };
  36868. A.CallableDeclaration.prototype = {
  36869. get$span(receiver) {
  36870. return this.span;
  36871. }
  36872. };
  36873. A.ContentBlock.prototype = {
  36874. accept$1$1(visitor) {
  36875. return visitor.visitContentBlock$1(this);
  36876. },
  36877. accept$1(visitor) {
  36878. return this.accept$1$1(visitor, type$.dynamic);
  36879. },
  36880. toString$0(_) {
  36881. var t2,
  36882. t1 = this.$arguments;
  36883. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  36884. t2 = this.children;
  36885. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  36886. }
  36887. };
  36888. A.ContentRule.prototype = {
  36889. accept$1$1(visitor) {
  36890. return visitor.visitContentRule$1(this);
  36891. },
  36892. accept$1(visitor) {
  36893. return this.accept$1$1(visitor, type$.dynamic);
  36894. },
  36895. toString$0(_) {
  36896. var t1 = this.$arguments;
  36897. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  36898. },
  36899. $isAstNode: 1,
  36900. $isStatement: 1,
  36901. get$span(receiver) {
  36902. return this.span;
  36903. }
  36904. };
  36905. A.DebugRule.prototype = {
  36906. accept$1$1(visitor) {
  36907. return visitor.visitDebugRule$1(this);
  36908. },
  36909. accept$1(visitor) {
  36910. return this.accept$1$1(visitor, type$.dynamic);
  36911. },
  36912. toString$0(_) {
  36913. return "@debug " + this.expression.toString$0(0) + ";";
  36914. },
  36915. $isAstNode: 1,
  36916. $isStatement: 1,
  36917. get$span(receiver) {
  36918. return this.span;
  36919. }
  36920. };
  36921. A.Declaration.prototype = {
  36922. accept$1$1(visitor) {
  36923. return visitor.visitDeclaration$1(this);
  36924. },
  36925. accept$1(visitor) {
  36926. return this.accept$1$1(visitor, type$.dynamic);
  36927. },
  36928. toString$0(_) {
  36929. var t3, children,
  36930. buffer = new A.StringBuffer(""),
  36931. t1 = this.name,
  36932. t2 = "" + t1.toString$0(0);
  36933. buffer._contents = t2;
  36934. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  36935. t3 = this.value;
  36936. if (t3 != null) {
  36937. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  36938. buffer._contents = t1 + t3.toString$0(0);
  36939. }
  36940. children = this.children;
  36941. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  36942. },
  36943. get$span(receiver) {
  36944. return this.span;
  36945. }
  36946. };
  36947. A.EachRule.prototype = {
  36948. accept$1$1(visitor) {
  36949. return visitor.visitEachRule$1(this);
  36950. },
  36951. accept$1(visitor) {
  36952. return this.accept$1$1(visitor, type$.dynamic);
  36953. },
  36954. toString$0(_) {
  36955. var t1 = this.variables,
  36956. t2 = this.children;
  36957. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  36958. },
  36959. get$span(receiver) {
  36960. return this.span;
  36961. }
  36962. };
  36963. A.EachRule_toString_closure.prototype = {
  36964. call$1(variable) {
  36965. return "$" + variable;
  36966. },
  36967. $signature: 5
  36968. };
  36969. A.ErrorRule.prototype = {
  36970. accept$1$1(visitor) {
  36971. return visitor.visitErrorRule$1(this);
  36972. },
  36973. accept$1(visitor) {
  36974. return this.accept$1$1(visitor, type$.dynamic);
  36975. },
  36976. toString$0(_) {
  36977. return "@error " + this.expression.toString$0(0) + ";";
  36978. },
  36979. $isAstNode: 1,
  36980. $isStatement: 1,
  36981. get$span(receiver) {
  36982. return this.span;
  36983. }
  36984. };
  36985. A.ExtendRule.prototype = {
  36986. accept$1$1(visitor) {
  36987. return visitor.visitExtendRule$1(this);
  36988. },
  36989. accept$1(visitor) {
  36990. return this.accept$1$1(visitor, type$.dynamic);
  36991. },
  36992. toString$0(_) {
  36993. var t1 = this.selector.toString$0(0),
  36994. t2 = this.isOptional ? " !optional" : "";
  36995. return "@extend " + t1 + t2 + ";";
  36996. },
  36997. $isAstNode: 1,
  36998. $isStatement: 1,
  36999. get$span(receiver) {
  37000. return this.span;
  37001. }
  37002. };
  37003. A.ForRule.prototype = {
  37004. accept$1$1(visitor) {
  37005. return visitor.visitForRule$1(this);
  37006. },
  37007. accept$1(visitor) {
  37008. return this.accept$1$1(visitor, type$.dynamic);
  37009. },
  37010. toString$0(_) {
  37011. var _this = this,
  37012. t1 = _this.from.toString$0(0),
  37013. t2 = _this.isExclusive ? "to" : "through",
  37014. t3 = _this.children;
  37015. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  37016. },
  37017. get$span(receiver) {
  37018. return this.span;
  37019. }
  37020. };
  37021. A.ForwardRule.prototype = {
  37022. accept$1$1(visitor) {
  37023. return visitor.visitForwardRule$1(this);
  37024. },
  37025. accept$1(visitor) {
  37026. return this.accept$1$1(visitor, type$.dynamic);
  37027. },
  37028. toString$0(_) {
  37029. var t2, prefix, _this = this,
  37030. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  37031. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  37032. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  37033. if (shownMixinsAndFunctions != null) {
  37034. t2 = _this.shownVariables;
  37035. t2.toString;
  37036. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  37037. t1 = t2;
  37038. } else {
  37039. if (hiddenMixinsAndFunctions != null) {
  37040. t2 = hiddenMixinsAndFunctions._base;
  37041. t2 = t2.get$isNotEmpty(t2);
  37042. } else
  37043. t2 = false;
  37044. if (t2) {
  37045. t2 = _this.hiddenVariables;
  37046. t2.toString;
  37047. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  37048. t1 = t2;
  37049. }
  37050. }
  37051. prefix = _this.prefix;
  37052. if (prefix != null)
  37053. t1 += " as " + prefix + "*";
  37054. t2 = _this.configuration;
  37055. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  37056. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37057. },
  37058. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  37059. var t2,
  37060. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  37061. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  37062. t1.push("$" + t2.get$current(t2));
  37063. return B.JSArray_methods.join$1(t1, ", ");
  37064. },
  37065. $isAstNode: 1,
  37066. $isStatement: 1,
  37067. get$span(receiver) {
  37068. return this.span;
  37069. }
  37070. };
  37071. A.FunctionRule.prototype = {
  37072. accept$1$1(visitor) {
  37073. return visitor.visitFunctionRule$1(this);
  37074. },
  37075. accept$1(visitor) {
  37076. return this.accept$1$1(visitor, type$.dynamic);
  37077. },
  37078. toString$0(_) {
  37079. var t1 = this.children;
  37080. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37081. }
  37082. };
  37083. A.IfRule.prototype = {
  37084. accept$1$1(visitor) {
  37085. return visitor.visitIfRule$1(this);
  37086. },
  37087. accept$1(visitor) {
  37088. return this.accept$1$1(visitor, type$.dynamic);
  37089. },
  37090. toString$0(_) {
  37091. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  37092. lastClause = this.lastClause;
  37093. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  37094. },
  37095. $isAstNode: 1,
  37096. $isStatement: 1,
  37097. get$span(receiver) {
  37098. return this.span;
  37099. }
  37100. };
  37101. A.IfRule_toString_closure.prototype = {
  37102. call$2(index, clause) {
  37103. var t1 = index === 0 ? "if" : "else if";
  37104. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  37105. },
  37106. $signature: 335
  37107. };
  37108. A.IfRuleClause.prototype = {};
  37109. A.IfRuleClause$__closure.prototype = {
  37110. call$1(child) {
  37111. var t1;
  37112. if (!(child instanceof A.VariableDeclaration))
  37113. if (!(child instanceof A.FunctionRule))
  37114. if (!(child instanceof A.MixinRule))
  37115. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  37116. else
  37117. t1 = true;
  37118. else
  37119. t1 = true;
  37120. else
  37121. t1 = true;
  37122. return t1;
  37123. },
  37124. $signature: 202
  37125. };
  37126. A.IfRuleClause$___closure.prototype = {
  37127. call$1($import) {
  37128. return $import instanceof A.DynamicImport;
  37129. },
  37130. $signature: 217
  37131. };
  37132. A.IfClause.prototype = {
  37133. toString$0(_) {
  37134. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37135. }
  37136. };
  37137. A.ElseClause.prototype = {
  37138. toString$0(_) {
  37139. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37140. }
  37141. };
  37142. A.ImportRule.prototype = {
  37143. accept$1$1(visitor) {
  37144. return visitor.visitImportRule$1(this);
  37145. },
  37146. accept$1(visitor) {
  37147. return this.accept$1$1(visitor, type$.dynamic);
  37148. },
  37149. toString$0(_) {
  37150. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  37151. },
  37152. $isAstNode: 1,
  37153. $isStatement: 1,
  37154. get$span(receiver) {
  37155. return this.span;
  37156. }
  37157. };
  37158. A.IncludeRule.prototype = {
  37159. get$spanWithoutContent() {
  37160. var t2, t3,
  37161. t1 = this.span;
  37162. if (!(this.content == null)) {
  37163. t2 = t1.file;
  37164. t3 = this.$arguments.span;
  37165. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  37166. t1 = t3;
  37167. }
  37168. return t1;
  37169. },
  37170. accept$1$1(visitor) {
  37171. return visitor.visitIncludeRule$1(this);
  37172. },
  37173. accept$1(visitor) {
  37174. return this.accept$1$1(visitor, type$.dynamic);
  37175. },
  37176. toString$0(_) {
  37177. var t2, _this = this,
  37178. t1 = _this.namespace;
  37179. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  37180. t1 += _this.name;
  37181. t2 = _this.$arguments;
  37182. if (!t2.get$isEmpty(t2))
  37183. t1 += "(" + t2.toString$0(0) + ")";
  37184. t2 = _this.content;
  37185. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  37186. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37187. },
  37188. $isAstNode: 1,
  37189. $isStatement: 1,
  37190. get$span(receiver) {
  37191. return this.span;
  37192. }
  37193. };
  37194. A.LoudComment.prototype = {
  37195. get$span(_) {
  37196. return this.text.span;
  37197. },
  37198. accept$1$1(visitor) {
  37199. return visitor.visitLoudComment$1(this);
  37200. },
  37201. accept$1(visitor) {
  37202. return this.accept$1$1(visitor, type$.dynamic);
  37203. },
  37204. toString$0(_) {
  37205. return this.text.toString$0(0);
  37206. },
  37207. $isAstNode: 1,
  37208. $isStatement: 1
  37209. };
  37210. A.MediaRule.prototype = {
  37211. accept$1$1(visitor) {
  37212. return visitor.visitMediaRule$1(this);
  37213. },
  37214. accept$1(visitor) {
  37215. return this.accept$1$1(visitor, type$.dynamic);
  37216. },
  37217. toString$0(_) {
  37218. var t1 = this.children;
  37219. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37220. },
  37221. get$span(receiver) {
  37222. return this.span;
  37223. }
  37224. };
  37225. A.MixinRule.prototype = {
  37226. get$hasContent() {
  37227. var result, _this = this,
  37228. value = _this.__MixinRule_hasContent_FI;
  37229. if (value === $) {
  37230. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  37231. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  37232. _this.__MixinRule_hasContent_FI = result;
  37233. value = result;
  37234. }
  37235. return value;
  37236. },
  37237. accept$1$1(visitor) {
  37238. return visitor.visitMixinRule$1(this);
  37239. },
  37240. accept$1(visitor) {
  37241. return this.accept$1$1(visitor, type$.dynamic);
  37242. },
  37243. toString$0(_) {
  37244. var t1 = "@mixin " + this.name,
  37245. t2 = this.$arguments;
  37246. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  37247. t1 += "(" + t2.toString$0(0) + ")";
  37248. t2 = this.children;
  37249. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  37250. return t2.charCodeAt(0) == 0 ? t2 : t2;
  37251. }
  37252. };
  37253. A._HasContentVisitor.prototype = {
  37254. visitContentRule$1(_) {
  37255. return true;
  37256. }
  37257. };
  37258. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  37259. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  37260. A.ParentStatement_closure.prototype = {
  37261. call$1(child) {
  37262. var t1;
  37263. if (!(child instanceof A.VariableDeclaration))
  37264. if (!(child instanceof A.FunctionRule))
  37265. if (!(child instanceof A.MixinRule))
  37266. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  37267. else
  37268. t1 = true;
  37269. else
  37270. t1 = true;
  37271. else
  37272. t1 = true;
  37273. return t1;
  37274. },
  37275. $signature: 202
  37276. };
  37277. A.ParentStatement__closure.prototype = {
  37278. call$1($import) {
  37279. return $import instanceof A.DynamicImport;
  37280. },
  37281. $signature: 217
  37282. };
  37283. A.ReturnRule.prototype = {
  37284. accept$1$1(visitor) {
  37285. return visitor.visitReturnRule$1(this);
  37286. },
  37287. accept$1(visitor) {
  37288. return this.accept$1$1(visitor, type$.dynamic);
  37289. },
  37290. toString$0(_) {
  37291. return "@return " + this.expression.toString$0(0) + ";";
  37292. },
  37293. $isAstNode: 1,
  37294. $isStatement: 1,
  37295. get$span(receiver) {
  37296. return this.span;
  37297. }
  37298. };
  37299. A.SilentComment.prototype = {
  37300. accept$1$1(visitor) {
  37301. return visitor.visitSilentComment$1(this);
  37302. },
  37303. accept$1(visitor) {
  37304. return this.accept$1$1(visitor, type$.dynamic);
  37305. },
  37306. toString$0(_) {
  37307. return this.text;
  37308. },
  37309. $isAstNode: 1,
  37310. $isStatement: 1,
  37311. get$span(receiver) {
  37312. return this.span;
  37313. }
  37314. };
  37315. A.StyleRule.prototype = {
  37316. accept$1$1(visitor) {
  37317. return visitor.visitStyleRule$1(this);
  37318. },
  37319. accept$1(visitor) {
  37320. return this.accept$1$1(visitor, type$.dynamic);
  37321. },
  37322. toString$0(_) {
  37323. var t1 = this.children;
  37324. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37325. },
  37326. get$span(receiver) {
  37327. return this.span;
  37328. }
  37329. };
  37330. A.Stylesheet.prototype = {
  37331. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  37332. var t1, t2, t3, t4, _i, child;
  37333. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  37334. child = t1[_i];
  37335. if (child instanceof A.UseRule)
  37336. t4.push(child);
  37337. else if (child instanceof A.ForwardRule)
  37338. t3.push(child);
  37339. else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
  37340. break;
  37341. }
  37342. },
  37343. accept$1$1(visitor) {
  37344. return visitor.visitStylesheet$1(this);
  37345. },
  37346. accept$1(visitor) {
  37347. return this.accept$1$1(visitor, type$.dynamic);
  37348. },
  37349. toString$0(_) {
  37350. var t1 = this.children;
  37351. return (t1 && B.JSArray_methods).join$1(t1, " ");
  37352. },
  37353. get$span(receiver) {
  37354. return this.span;
  37355. }
  37356. };
  37357. A.SupportsRule.prototype = {
  37358. accept$1$1(visitor) {
  37359. return visitor.visitSupportsRule$1(this);
  37360. },
  37361. accept$1(visitor) {
  37362. return this.accept$1$1(visitor, type$.dynamic);
  37363. },
  37364. toString$0(_) {
  37365. var t1 = this.children;
  37366. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37367. },
  37368. get$span(receiver) {
  37369. return this.span;
  37370. }
  37371. };
  37372. A.UseRule.prototype = {
  37373. UseRule$4$configuration(url, namespace, span, configuration) {
  37374. var t1, t2, _i, variable;
  37375. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  37376. variable = t1[_i];
  37377. if (variable.isGuarded)
  37378. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  37379. }
  37380. },
  37381. accept$1$1(visitor) {
  37382. return visitor.visitUseRule$1(this);
  37383. },
  37384. accept$1(visitor) {
  37385. return this.accept$1$1(visitor, type$.dynamic);
  37386. },
  37387. toString$0(_) {
  37388. var t1 = this.url,
  37389. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  37390. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  37391. dot = B.JSString_methods.indexOf$1(basename, ".");
  37392. t1 = this.namespace;
  37393. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  37394. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  37395. else
  37396. t1 = t2;
  37397. t2 = this.configuration;
  37398. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  37399. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37400. },
  37401. $isAstNode: 1,
  37402. $isStatement: 1,
  37403. get$span(receiver) {
  37404. return this.span;
  37405. }
  37406. };
  37407. A.VariableDeclaration.prototype = {
  37408. accept$1$1(visitor) {
  37409. return visitor.visitVariableDeclaration$1(this);
  37410. },
  37411. accept$1(visitor) {
  37412. return this.accept$1$1(visitor, type$.dynamic);
  37413. },
  37414. toString$0(_) {
  37415. var t1 = this.namespace;
  37416. t1 = t1 != null ? "" + (t1 + ".") : "";
  37417. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  37418. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37419. },
  37420. $isAstNode: 1,
  37421. $isStatement: 1,
  37422. get$span(receiver) {
  37423. return this.span;
  37424. }
  37425. };
  37426. A.WarnRule.prototype = {
  37427. accept$1$1(visitor) {
  37428. return visitor.visitWarnRule$1(this);
  37429. },
  37430. accept$1(visitor) {
  37431. return this.accept$1$1(visitor, type$.dynamic);
  37432. },
  37433. toString$0(_) {
  37434. return "@warn " + this.expression.toString$0(0) + ";";
  37435. },
  37436. $isAstNode: 1,
  37437. $isStatement: 1,
  37438. get$span(receiver) {
  37439. return this.span;
  37440. }
  37441. };
  37442. A.WhileRule.prototype = {
  37443. accept$1$1(visitor) {
  37444. return visitor.visitWhileRule$1(this);
  37445. },
  37446. accept$1(visitor) {
  37447. return this.accept$1$1(visitor, type$.dynamic);
  37448. },
  37449. toString$0(_) {
  37450. var t1 = this.children;
  37451. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37452. },
  37453. get$span(receiver) {
  37454. return this.span;
  37455. }
  37456. };
  37457. A.SupportsAnything.prototype = {
  37458. toString$0(_) {
  37459. return "(" + this.contents.toString$0(0) + ")";
  37460. },
  37461. $isAstNode: 1,
  37462. get$span(receiver) {
  37463. return this.span;
  37464. }
  37465. };
  37466. A.SupportsDeclaration.prototype = {
  37467. get$isCustomProperty() {
  37468. var $name = this.name;
  37469. return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  37470. },
  37471. toString$0(_) {
  37472. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  37473. },
  37474. $isAstNode: 1,
  37475. get$span(receiver) {
  37476. return this.span;
  37477. }
  37478. };
  37479. A.SupportsFunction.prototype = {
  37480. toString$0(_) {
  37481. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  37482. },
  37483. $isAstNode: 1,
  37484. get$span(receiver) {
  37485. return this.span;
  37486. }
  37487. };
  37488. A.SupportsInterpolation.prototype = {
  37489. toString$0(_) {
  37490. return "#{" + this.expression.toString$0(0) + "}";
  37491. },
  37492. $isAstNode: 1,
  37493. get$span(receiver) {
  37494. return this.span;
  37495. }
  37496. };
  37497. A.SupportsNegation.prototype = {
  37498. toString$0(_) {
  37499. var t1 = this.condition;
  37500. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  37501. return "not (" + t1.toString$0(0) + ")";
  37502. else
  37503. return "not " + t1.toString$0(0);
  37504. },
  37505. $isAstNode: 1,
  37506. get$span(receiver) {
  37507. return this.span;
  37508. }
  37509. };
  37510. A.SupportsOperation.prototype = {
  37511. toString$0(_) {
  37512. var _this = this;
  37513. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  37514. },
  37515. _operation$_parenthesize$1(condition) {
  37516. var t1;
  37517. if (!(condition instanceof A.SupportsNegation))
  37518. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  37519. else
  37520. t1 = true;
  37521. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  37522. },
  37523. $isAstNode: 1,
  37524. get$span(receiver) {
  37525. return this.span;
  37526. }
  37527. };
  37528. A.Selector.prototype = {
  37529. assertNotBogus$1$name($name) {
  37530. var t1;
  37531. if (!this.accept$1(B._IsBogusVisitor_true))
  37532. return;
  37533. t1 = this.toString$0(0);
  37534. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": " + (t1 + string$.x20is_nov), true);
  37535. },
  37536. toString$0(_) {
  37537. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  37538. this.accept$1(visitor);
  37539. return visitor._serialize$_buffer.toString$0(0);
  37540. }
  37541. };
  37542. A._IsInvisibleVisitor0.prototype = {
  37543. visitSelectorList$1(list) {
  37544. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  37545. },
  37546. visitComplexSelector$1(complex) {
  37547. var t1;
  37548. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  37549. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  37550. else
  37551. t1 = true;
  37552. return t1;
  37553. },
  37554. visitPlaceholderSelector$1(placeholder) {
  37555. return true;
  37556. },
  37557. visitPseudoSelector$1(pseudo) {
  37558. var t1,
  37559. selector = pseudo.selector;
  37560. if (selector == null)
  37561. return false;
  37562. if (pseudo.name === "not")
  37563. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true);
  37564. else
  37565. t1 = this.visitSelectorList$1(selector);
  37566. return t1;
  37567. }
  37568. };
  37569. A._IsBogusVisitor.prototype = {
  37570. visitComplexSelector$1(complex) {
  37571. var t2, t3,
  37572. t1 = complex.components;
  37573. if (t1.length === 0)
  37574. return complex.leadingCombinators.length !== 0;
  37575. else {
  37576. t2 = complex.leadingCombinators;
  37577. t3 = this.includeLeadingCombinator ? 0 : 1;
  37578. return t2.length > t3 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure(this));
  37579. }
  37580. },
  37581. visitPseudoSelector$1(pseudo) {
  37582. var selector = pseudo.selector;
  37583. if (selector == null)
  37584. return false;
  37585. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  37586. }
  37587. };
  37588. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  37589. call$1(component) {
  37590. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  37591. },
  37592. $signature: 45
  37593. };
  37594. A._IsUselessVisitor.prototype = {
  37595. visitComplexSelector$1(complex) {
  37596. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  37597. },
  37598. visitPseudoSelector$1(pseudo) {
  37599. return pseudo.accept$1(B._IsBogusVisitor_true);
  37600. }
  37601. };
  37602. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  37603. call$1(component) {
  37604. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  37605. },
  37606. $signature: 45
  37607. };
  37608. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  37609. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  37610. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  37611. A.AttributeSelector.prototype = {
  37612. accept$1$1(visitor) {
  37613. return visitor.visitAttributeSelector$1(this);
  37614. },
  37615. accept$1(visitor) {
  37616. return this.accept$1$1(visitor, type$.dynamic);
  37617. },
  37618. $eq(_, other) {
  37619. var _this = this;
  37620. if (other == null)
  37621. return false;
  37622. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  37623. },
  37624. get$hashCode(_) {
  37625. var _this = this,
  37626. t1 = _this.name;
  37627. return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
  37628. }
  37629. };
  37630. A.AttributeOperator.prototype = {
  37631. toString$0(_) {
  37632. return this._attribute$_text;
  37633. }
  37634. };
  37635. A.ClassSelector.prototype = {
  37636. $eq(_, other) {
  37637. if (other == null)
  37638. return false;
  37639. return other instanceof A.ClassSelector && other.name === this.name;
  37640. },
  37641. accept$1$1(visitor) {
  37642. return visitor.visitClassSelector$1(this);
  37643. },
  37644. accept$1(visitor) {
  37645. return this.accept$1$1(visitor, type$.dynamic);
  37646. },
  37647. addSuffix$1(suffix) {
  37648. return new A.ClassSelector(this.name + suffix);
  37649. },
  37650. get$hashCode(_) {
  37651. return B.JSString_methods.get$hashCode(this.name);
  37652. }
  37653. };
  37654. A.Combinator.prototype = {
  37655. toString$0(_) {
  37656. return this._combinator$_text;
  37657. }
  37658. };
  37659. A.ComplexSelector.prototype = {
  37660. get$specificity() {
  37661. var result, _this = this,
  37662. value = _this.__ComplexSelector_specificity_FI;
  37663. if (value === $) {
  37664. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  37665. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  37666. _this.__ComplexSelector_specificity_FI = result;
  37667. value = result;
  37668. }
  37669. return value;
  37670. },
  37671. get$singleCompound() {
  37672. if (this.leadingCombinators.length === 0) {
  37673. var t1 = this.components;
  37674. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  37675. } else
  37676. t1 = false;
  37677. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  37678. },
  37679. accept$1$1(visitor) {
  37680. return visitor.visitComplexSelector$1(this);
  37681. },
  37682. accept$1(visitor) {
  37683. return this.accept$1$1(visitor, type$.dynamic);
  37684. },
  37685. isSuperselector$1(other) {
  37686. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  37687. },
  37688. withAdditionalCombinators$1(combinators) {
  37689. var t1, t2, t3, _this = this;
  37690. if (combinators.length === 0)
  37691. return _this;
  37692. else {
  37693. t1 = _this.components;
  37694. t2 = _this.leadingCombinators;
  37695. if (t1.length === 0) {
  37696. t1 = A.List_List$of(t2, true, type$.Combinator);
  37697. B.JSArray_methods.addAll$1(t1, combinators);
  37698. return A.ComplexSelector$(t1, B.List_empty2, _this.lineBreak || false);
  37699. } else {
  37700. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  37701. t3.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  37702. return A.ComplexSelector$(t2, t3, _this.lineBreak || false);
  37703. }
  37704. }
  37705. },
  37706. concatenate$2$forceLineBreak(child, forceLineBreak) {
  37707. var t2, t3, t4, t5, _this = this,
  37708. t1 = child.leadingCombinators;
  37709. if (t1.length === 0) {
  37710. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent);
  37711. B.JSArray_methods.addAll$1(t1, child.components);
  37712. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  37713. return A.ComplexSelector$(_this.leadingCombinators, t1, t2);
  37714. } else {
  37715. t2 = _this.components;
  37716. t3 = _this.leadingCombinators;
  37717. t4 = child.components;
  37718. if (t2.length === 0) {
  37719. t2 = A.List_List$of(t3, true, type$.Combinator);
  37720. B.JSArray_methods.addAll$1(t2, t1);
  37721. return A.ComplexSelector$(t2, t4, _this.lineBreak || child.lineBreak || forceLineBreak);
  37722. } else {
  37723. t5 = A.List_List$of(A.IterableExtension_get_exceptLast(t2), true, type$.ComplexSelectorComponent);
  37724. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  37725. B.JSArray_methods.addAll$1(t5, t4);
  37726. return A.ComplexSelector$(t3, t5, _this.lineBreak || child.lineBreak || forceLineBreak);
  37727. }
  37728. }
  37729. },
  37730. concatenate$1(child) {
  37731. return this.concatenate$2$forceLineBreak(child, false);
  37732. },
  37733. get$hashCode(_) {
  37734. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  37735. },
  37736. $eq(_, other) {
  37737. if (other == null)
  37738. return false;
  37739. return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.leadingCombinators, other.leadingCombinators) && B.C_ListEquality.equals$2(0, this.components, other.components);
  37740. }
  37741. };
  37742. A.ComplexSelector_specificity_closure.prototype = {
  37743. call$2(sum, component) {
  37744. return sum + component.selector.get$specificity();
  37745. },
  37746. $signature: 369
  37747. };
  37748. A.ComplexSelectorComponent.prototype = {
  37749. withAdditionalCombinators$1(combinators) {
  37750. var t1, t2;
  37751. if (combinators.length === 0)
  37752. t1 = this;
  37753. else {
  37754. t1 = type$.Combinator;
  37755. t2 = A.List_List$of(this.combinators, true, t1);
  37756. B.JSArray_methods.addAll$1(t2, combinators);
  37757. t1 = new A.ComplexSelectorComponent(this.selector, A.List_List$unmodifiable(t2, t1));
  37758. }
  37759. return t1;
  37760. },
  37761. get$hashCode(_) {
  37762. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  37763. },
  37764. $eq(_, other) {
  37765. var t1;
  37766. if (other == null)
  37767. return false;
  37768. if (other instanceof A.ComplexSelectorComponent) {
  37769. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  37770. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  37771. } else
  37772. t1 = false;
  37773. return t1;
  37774. },
  37775. toString$0(_) {
  37776. var t1 = this.combinators;
  37777. return A.serializeSelector(this.selector, true) + new A.MappedListIterable(t1, new A.ComplexSelectorComponent_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, "");
  37778. }
  37779. };
  37780. A.ComplexSelectorComponent_toString_closure.prototype = {
  37781. call$1(combinator) {
  37782. return " " + combinator.toString$0(0);
  37783. },
  37784. $signature: 452
  37785. };
  37786. A.CompoundSelector.prototype = {
  37787. get$specificity() {
  37788. var result, _this = this,
  37789. value = _this.__CompoundSelector_specificity_FI;
  37790. if (value === $) {
  37791. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  37792. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  37793. _this.__CompoundSelector_specificity_FI = result;
  37794. value = result;
  37795. }
  37796. return value;
  37797. },
  37798. accept$1$1(visitor) {
  37799. return visitor.visitCompoundSelector$1(this);
  37800. },
  37801. accept$1(visitor) {
  37802. return this.accept$1$1(visitor, type$.dynamic);
  37803. },
  37804. get$hashCode(_) {
  37805. return B.C_ListEquality0.hash$1(this.components);
  37806. },
  37807. $eq(_, other) {
  37808. if (other == null)
  37809. return false;
  37810. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  37811. }
  37812. };
  37813. A.CompoundSelector_specificity_closure.prototype = {
  37814. call$2(sum, component) {
  37815. return sum + component.get$specificity();
  37816. },
  37817. $signature: 484
  37818. };
  37819. A.IDSelector.prototype = {
  37820. get$specificity() {
  37821. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  37822. },
  37823. accept$1$1(visitor) {
  37824. return visitor.visitIDSelector$1(this);
  37825. },
  37826. accept$1(visitor) {
  37827. return this.accept$1$1(visitor, type$.dynamic);
  37828. },
  37829. addSuffix$1(suffix) {
  37830. return new A.IDSelector(this.name + suffix);
  37831. },
  37832. unify$1(compound) {
  37833. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  37834. return null;
  37835. return this.super$SimpleSelector$unify(compound);
  37836. },
  37837. $eq(_, other) {
  37838. if (other == null)
  37839. return false;
  37840. return other instanceof A.IDSelector && other.name === this.name;
  37841. },
  37842. get$hashCode(_) {
  37843. return B.JSString_methods.get$hashCode(this.name);
  37844. }
  37845. };
  37846. A.IDSelector_unify_closure.prototype = {
  37847. call$1(simple) {
  37848. var t1;
  37849. if (simple instanceof A.IDSelector) {
  37850. t1 = simple.name;
  37851. t1 = this.$this.name !== t1;
  37852. } else
  37853. t1 = false;
  37854. return t1;
  37855. },
  37856. $signature: 14
  37857. };
  37858. A.SelectorList.prototype = {
  37859. get$asSassList() {
  37860. var t1 = this.components;
  37861. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  37862. },
  37863. accept$1$1(visitor) {
  37864. return visitor.visitSelectorList$1(this);
  37865. },
  37866. accept$1(visitor) {
  37867. return this.accept$1$1(visitor, type$.dynamic);
  37868. },
  37869. unify$1(other) {
  37870. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  37871. t1 = type$.JSArray_ComplexSelector,
  37872. t2 = A._setArrayType([], t1);
  37873. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  37874. complex1 = t3[_i];
  37875. for (_i0 = 0; _i0 < t6; ++_i0) {
  37876. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1));
  37877. if (t7 != null)
  37878. B.JSArray_methods.addAll$1(t2, t7);
  37879. }
  37880. }
  37881. return t2.length === 0 ? null : A.SelectorList$(t2);
  37882. },
  37883. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  37884. var t1, _this = this;
  37885. if ($parent == null) {
  37886. if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
  37887. return _this;
  37888. throw A.wrapException(A.SassScriptException$(string$.Top_le, null));
  37889. }
  37890. t1 = _this.components;
  37891. return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector));
  37892. },
  37893. resolveParentSelectors$1($parent) {
  37894. return this.resolveParentSelectors$2$implicitParent($parent, true);
  37895. },
  37896. _complexContainsParentSelector$1(complex) {
  37897. return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
  37898. },
  37899. _resolveParentSelectorsCompound$2(component, $parent) {
  37900. var resolvedSimples, parentSelector, t1,
  37901. simples = component.selector.components,
  37902. containsSelectorPseudo = B.JSArray_methods.any$1(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  37903. if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(simples) instanceof A.ParentSelector))
  37904. return null;
  37905. resolvedSimples = containsSelectorPseudo ? new A.MappedListIterable(simples, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(simples)._eval$1("MappedListIterable<1,SimpleSelector>")) : simples;
  37906. parentSelector = B.JSArray_methods.get$first(simples);
  37907. if (!(parentSelector instanceof A.ParentSelector))
  37908. return A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(resolvedSimples), A.List_List$unmodifiable(component.combinators, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
  37909. else if (simples.length === 1 && parentSelector.suffix == null)
  37910. return $parent.withAdditionalCombinators$1(component.combinators).components;
  37911. t1 = $parent.components;
  37912. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  37913. },
  37914. isSuperselector$1(other) {
  37915. return A.listIsSuperselector(this.components, other.components);
  37916. },
  37917. withAdditionalCombinators$1(combinators) {
  37918. var t1;
  37919. if (combinators.length === 0)
  37920. t1 = this;
  37921. else {
  37922. t1 = this.components;
  37923. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")));
  37924. }
  37925. return t1;
  37926. },
  37927. get$hashCode(_) {
  37928. return B.C_ListEquality0.hash$1(this.components);
  37929. },
  37930. $eq(_, other) {
  37931. if (other == null)
  37932. return false;
  37933. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  37934. }
  37935. };
  37936. A.SelectorList_asSassList_closure.prototype = {
  37937. call$1(complex) {
  37938. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  37939. t1 = type$.JSArray_Value,
  37940. t2 = A._setArrayType([], t1);
  37941. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  37942. t2.push(new A.SassString(t3[_i]._combinator$_text, false));
  37943. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  37944. component = t3[_i];
  37945. t5 = component.selector;
  37946. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  37947. t5.accept$1(visitor);
  37948. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  37949. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  37950. t5.push(new A.SassString(t6[_i0]._combinator$_text, false));
  37951. B.JSArray_methods.addAll$1(t2, t5);
  37952. }
  37953. return A.SassList$(t2, B.ListSeparator_EVt, false);
  37954. },
  37955. $signature: 492
  37956. };
  37957. A.SelectorList_resolveParentSelectors_closure.prototype = {
  37958. call$1(complex) {
  37959. var t2, newComplexes, t3, t4, t5, t6, t7, t8, t9, _i, component, resolved, t10, result, t11, i, t12, _i0, newComplex, t13, _this = this,
  37960. _s56_ = string$.leadin,
  37961. t1 = _this.$this;
  37962. if (!t1._complexContainsParentSelector$1(complex)) {
  37963. if (!_this.implicitParent)
  37964. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  37965. t1 = _this.parent.components;
  37966. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  37967. }
  37968. t2 = type$.JSArray_ComplexSelector;
  37969. newComplexes = A._setArrayType([], t2);
  37970. for (t3 = complex.components, t4 = t3.length, t5 = _this.parent, t6 = type$.Combinator, t7 = type$.ComplexSelectorComponent, t8 = complex.leadingCombinators, t9 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < t4; ++_i) {
  37971. component = t3[_i];
  37972. resolved = t1._resolveParentSelectorsCompound$2(component, t5);
  37973. if (resolved == null)
  37974. if (newComplexes.length === 0) {
  37975. t10 = A._setArrayType([component], t9);
  37976. result = A.List_List$from(t8, false, t6);
  37977. result.fixed$length = Array;
  37978. result.immutable$list = Array;
  37979. t11 = result;
  37980. result = A.List_List$from(t10, false, t7);
  37981. result.fixed$length = Array;
  37982. result.immutable$list = Array;
  37983. t10 = result;
  37984. if (t11.length === 0 && t10.length === 0)
  37985. A.throwExpression(A.ArgumentError$(_s56_, null));
  37986. newComplexes.push(new A.ComplexSelector(t11, t10, false));
  37987. } else
  37988. for (i = 0; i < newComplexes.length; ++i) {
  37989. t10 = newComplexes[i];
  37990. t11 = t10.leadingCombinators;
  37991. t12 = A.List_List$of(t10.components, true, t7);
  37992. t12.push(component);
  37993. t10 = t10.lineBreak || false;
  37994. result = A.List_List$from(t11, false, t6);
  37995. result.fixed$length = Array;
  37996. result.immutable$list = Array;
  37997. t11 = result;
  37998. result = A.List_List$from(t12, false, t7);
  37999. result.fixed$length = Array;
  38000. result.immutable$list = Array;
  38001. t12 = result;
  38002. if (t11.length === 0 && t12.length === 0)
  38003. A.throwExpression(A.ArgumentError$(_s56_, null));
  38004. newComplexes[i] = new A.ComplexSelector(t11, t12, t10);
  38005. }
  38006. else if (newComplexes.length === 0)
  38007. B.JSArray_methods.addAll$1(newComplexes, resolved);
  38008. else {
  38009. t10 = A._setArrayType([], t2);
  38010. for (t11 = newComplexes.length, t12 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t11 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  38011. newComplex = newComplexes[_i0];
  38012. for (t13 = t12.get$iterator(resolved); t13.moveNext$0();)
  38013. t10.push(newComplex.concatenate$1(t13.get$current(t13)));
  38014. }
  38015. newComplexes = t10;
  38016. }
  38017. }
  38018. return newComplexes;
  38019. },
  38020. $signature: 493
  38021. };
  38022. A.SelectorList_resolveParentSelectors__closure.prototype = {
  38023. call$1(parentComplex) {
  38024. return parentComplex.concatenate$1(this.complex);
  38025. },
  38026. $signature: 72
  38027. };
  38028. A.SelectorList__complexContainsParentSelector_closure.prototype = {
  38029. call$1(component) {
  38030. return B.JSArray_methods.any$1(component.selector.components, new A.SelectorList__complexContainsParentSelector__closure());
  38031. },
  38032. $signature: 45
  38033. };
  38034. A.SelectorList__complexContainsParentSelector__closure.prototype = {
  38035. call$1(simple) {
  38036. var selector;
  38037. if (simple instanceof A.ParentSelector)
  38038. return true;
  38039. if (!(simple instanceof A.PseudoSelector))
  38040. return false;
  38041. selector = simple.selector;
  38042. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
  38043. },
  38044. $signature: 14
  38045. };
  38046. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  38047. call$1(simple) {
  38048. var selector;
  38049. if (!(simple instanceof A.PseudoSelector))
  38050. return false;
  38051. selector = simple.selector;
  38052. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
  38053. },
  38054. $signature: 14
  38055. };
  38056. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  38057. call$1(simple) {
  38058. var selector, t1, t2, t3;
  38059. if (!(simple instanceof A.PseudoSelector))
  38060. return simple;
  38061. selector = simple.selector;
  38062. if (selector == null)
  38063. return simple;
  38064. if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
  38065. return simple;
  38066. t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
  38067. t2 = simple.name;
  38068. t3 = simple.isClass;
  38069. return A.PseudoSelector$(t2, simple.argument, !t3, t1);
  38070. },
  38071. $signature: 499
  38072. };
  38073. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  38074. call$1(complex) {
  38075. var suffix, lastSimples, t2, t3, t4, last,
  38076. t1 = complex.components,
  38077. lastComponent = B.JSArray_methods.get$last(t1);
  38078. if (lastComponent.combinators.length !== 0)
  38079. throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.', null));
  38080. suffix = this.parentSelector.suffix;
  38081. lastSimples = lastComponent.selector.components;
  38082. t2 = type$.SimpleSelector;
  38083. t3 = this.resolvedSimples;
  38084. t4 = J.getInterceptor$ax(t3);
  38085. if (suffix == null) {
  38086. t2 = A.List_List$of(lastSimples, true, t2);
  38087. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  38088. } else {
  38089. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t2);
  38090. t2.push(B.JSArray_methods.get$last(lastSimples).addSuffix$1(suffix));
  38091. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  38092. }
  38093. last = A.CompoundSelector$(t2);
  38094. t2 = complex.leadingCombinators;
  38095. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  38096. t1.push(new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(this.component.combinators, type$.Combinator)));
  38097. return A.ComplexSelector$(t2, t1, complex.lineBreak);
  38098. },
  38099. $signature: 72
  38100. };
  38101. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  38102. call$1(complex) {
  38103. return complex.withAdditionalCombinators$1(this.combinators);
  38104. },
  38105. $signature: 72
  38106. };
  38107. A.ParentSelector.prototype = {
  38108. accept$1$1(visitor) {
  38109. return visitor.visitParentSelector$1(this);
  38110. },
  38111. accept$1(visitor) {
  38112. return this.accept$1$1(visitor, type$.dynamic);
  38113. },
  38114. unify$1(compound) {
  38115. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  38116. }
  38117. };
  38118. A.PlaceholderSelector.prototype = {
  38119. accept$1$1(visitor) {
  38120. return visitor.visitPlaceholderSelector$1(this);
  38121. },
  38122. accept$1(visitor) {
  38123. return this.accept$1$1(visitor, type$.dynamic);
  38124. },
  38125. addSuffix$1(suffix) {
  38126. return new A.PlaceholderSelector(this.name + suffix);
  38127. },
  38128. $eq(_, other) {
  38129. if (other == null)
  38130. return false;
  38131. return other instanceof A.PlaceholderSelector && other.name === this.name;
  38132. },
  38133. get$hashCode(_) {
  38134. return B.JSString_methods.get$hashCode(this.name);
  38135. }
  38136. };
  38137. A.PseudoSelector.prototype = {
  38138. get$isHostContext() {
  38139. return this.isClass && this.name === "host-context" && this.selector != null;
  38140. },
  38141. get$specificity() {
  38142. var result, _this = this,
  38143. value = _this.__PseudoSelector_specificity_FI;
  38144. if (value === $) {
  38145. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  38146. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38147. _this.__PseudoSelector_specificity_FI = result;
  38148. value = result;
  38149. }
  38150. return value;
  38151. },
  38152. addSuffix$1(suffix) {
  38153. var _this = this;
  38154. if (_this.argument != null || _this.selector != null)
  38155. _this.super$SimpleSelector$addSuffix(suffix);
  38156. return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
  38157. },
  38158. unify$1(compound) {
  38159. var other, result, t2, addedThis, _i, simple, _this = this,
  38160. t1 = _this.name;
  38161. if (t1 === "host" || t1 === "host-context") {
  38162. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  38163. return null;
  38164. } else if (compound.length === 1) {
  38165. other = B.JSArray_methods.get$first(compound);
  38166. if (!(other instanceof A.UniversalSelector))
  38167. if (other instanceof A.PseudoSelector)
  38168. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  38169. else
  38170. t1 = false;
  38171. else
  38172. t1 = true;
  38173. if (t1)
  38174. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  38175. }
  38176. if (B.JSArray_methods.contains$1(compound, _this))
  38177. return compound;
  38178. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  38179. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  38180. simple = compound[_i];
  38181. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  38182. if (t2)
  38183. return null;
  38184. result.push(_this);
  38185. addedThis = true;
  38186. }
  38187. result.push(simple);
  38188. }
  38189. if (!addedThis)
  38190. result.push(_this);
  38191. return result;
  38192. },
  38193. isSuperselector$1(other) {
  38194. var selector, t1, _this = this;
  38195. if (_this.super$SimpleSelector$isSuperselector(other))
  38196. return true;
  38197. selector = _this.selector;
  38198. if (selector == null)
  38199. return _this.$eq(0, other);
  38200. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  38201. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  38202. return t1 == null ? false : t1;
  38203. }
  38204. t1 = type$.JSArray_SimpleSelector;
  38205. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1)), A.CompoundSelector$(A._setArrayType([other], t1)), null);
  38206. },
  38207. accept$1$1(visitor) {
  38208. return visitor.visitPseudoSelector$1(this);
  38209. },
  38210. accept$1(visitor) {
  38211. return this.accept$1$1(visitor, type$.dynamic);
  38212. },
  38213. $eq(_, other) {
  38214. var _this = this;
  38215. if (other == null)
  38216. return false;
  38217. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  38218. },
  38219. get$hashCode(_) {
  38220. var _this = this,
  38221. t1 = B.JSString_methods.get$hashCode(_this.name),
  38222. t2 = !_this.isClass ? 519018 : 218159;
  38223. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  38224. }
  38225. };
  38226. A.PseudoSelector_specificity_closure.prototype = {
  38227. call$0() {
  38228. var selector, t2,
  38229. t1 = this.$this;
  38230. if (!t1.isClass)
  38231. return 1;
  38232. selector = t1.selector;
  38233. if (selector == null)
  38234. return A.SimpleSelector.prototype.get$specificity.call(t1);
  38235. switch (t1.normalizedName) {
  38236. case "where":
  38237. return 0;
  38238. case "is":
  38239. case "not":
  38240. case "has":
  38241. case "matches":
  38242. t1 = selector.components;
  38243. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  38244. case "nth-child":
  38245. case "nth-last-child":
  38246. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  38247. t2 = selector.components;
  38248. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  38249. default:
  38250. return A.SimpleSelector.prototype.get$specificity.call(t1);
  38251. }
  38252. },
  38253. $signature: 12
  38254. };
  38255. A.PseudoSelector_specificity__closure.prototype = {
  38256. call$1(component) {
  38257. return component.get$specificity();
  38258. },
  38259. $signature: 172
  38260. };
  38261. A.PseudoSelector_specificity__closure0.prototype = {
  38262. call$1(component) {
  38263. return component.get$specificity();
  38264. },
  38265. $signature: 172
  38266. };
  38267. A.PseudoSelector_unify_closure.prototype = {
  38268. call$1(simple) {
  38269. var t1;
  38270. if (simple instanceof A.PseudoSelector)
  38271. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  38272. else
  38273. t1 = false;
  38274. return t1;
  38275. },
  38276. $signature: 14
  38277. };
  38278. A.QualifiedName.prototype = {
  38279. $eq(_, other) {
  38280. if (other == null)
  38281. return false;
  38282. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  38283. },
  38284. get$hashCode(_) {
  38285. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  38286. },
  38287. toString$0(_) {
  38288. var t1 = this.namespace,
  38289. t2 = this.name;
  38290. return t1 == null ? t2 : t1 + "|" + t2;
  38291. }
  38292. };
  38293. A.SimpleSelector.prototype = {
  38294. get$specificity() {
  38295. return 1000;
  38296. },
  38297. addSuffix$1(suffix) {
  38298. return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"', null));
  38299. },
  38300. unify$1(compound) {
  38301. var other, t1, result, addedThis, _i, simple, _this = this;
  38302. if (compound.length === 1) {
  38303. other = B.JSArray_methods.get$first(compound);
  38304. if (!(other instanceof A.UniversalSelector))
  38305. if (other instanceof A.PseudoSelector)
  38306. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  38307. else
  38308. t1 = false;
  38309. else
  38310. t1 = true;
  38311. if (t1)
  38312. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  38313. }
  38314. if (B.JSArray_methods.contains$1(compound, _this))
  38315. return compound;
  38316. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  38317. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  38318. simple = compound[_i];
  38319. if (!addedThis && simple instanceof A.PseudoSelector) {
  38320. result.push(_this);
  38321. addedThis = true;
  38322. }
  38323. result.push(simple);
  38324. }
  38325. if (!addedThis)
  38326. result.push(_this);
  38327. return result;
  38328. },
  38329. isSuperselector$1(other) {
  38330. var list;
  38331. if (this.$eq(0, other))
  38332. return true;
  38333. if (other instanceof A.PseudoSelector && other.isClass) {
  38334. list = other.selector;
  38335. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  38336. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  38337. }
  38338. return false;
  38339. }
  38340. };
  38341. A.SimpleSelector_isSuperselector_closure.prototype = {
  38342. call$1(complex) {
  38343. var t1 = complex.components;
  38344. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  38345. },
  38346. $signature: 16
  38347. };
  38348. A.SimpleSelector_isSuperselector__closure.prototype = {
  38349. call$1(simple) {
  38350. return this.$this.isSuperselector$1(simple);
  38351. },
  38352. $signature: 14
  38353. };
  38354. A.TypeSelector.prototype = {
  38355. get$specificity() {
  38356. return 1;
  38357. },
  38358. accept$1$1(visitor) {
  38359. return visitor.visitTypeSelector$1(this);
  38360. },
  38361. accept$1(visitor) {
  38362. return this.accept$1$1(visitor, type$.dynamic);
  38363. },
  38364. addSuffix$1(suffix) {
  38365. var t1 = this.name;
  38366. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
  38367. },
  38368. unify$1(compound) {
  38369. var unified, t1;
  38370. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
  38371. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  38372. if (unified == null)
  38373. return null;
  38374. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  38375. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  38376. return t1;
  38377. } else {
  38378. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  38379. B.JSArray_methods.addAll$1(t1, compound);
  38380. return t1;
  38381. }
  38382. },
  38383. isSuperselector$1(other) {
  38384. var t1, t2;
  38385. if (!this.super$SimpleSelector$isSuperselector(other))
  38386. if (other instanceof A.TypeSelector) {
  38387. t1 = this.name;
  38388. t2 = other.name;
  38389. if (t1.name === t2.name) {
  38390. t1 = t1.namespace;
  38391. t1 = t1 === "*" || t1 == t2.namespace;
  38392. } else
  38393. t1 = false;
  38394. } else
  38395. t1 = false;
  38396. else
  38397. t1 = true;
  38398. return t1;
  38399. },
  38400. $eq(_, other) {
  38401. if (other == null)
  38402. return false;
  38403. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  38404. },
  38405. get$hashCode(_) {
  38406. var t1 = this.name;
  38407. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  38408. }
  38409. };
  38410. A.UniversalSelector.prototype = {
  38411. get$specificity() {
  38412. return 0;
  38413. },
  38414. accept$1$1(visitor) {
  38415. return visitor.visitUniversalSelector$1(this);
  38416. },
  38417. accept$1(visitor) {
  38418. return this.accept$1$1(visitor, type$.dynamic);
  38419. },
  38420. unify$1(compound) {
  38421. var unified, t1, _this = this,
  38422. first = B.JSArray_methods.get$first(compound);
  38423. if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
  38424. unified = A.unifyUniversalAndElement(_this, first);
  38425. if (unified == null)
  38426. return null;
  38427. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  38428. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  38429. return t1;
  38430. } else {
  38431. if (compound.length === 1)
  38432. if (first instanceof A.PseudoSelector)
  38433. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  38434. else
  38435. t1 = false;
  38436. else
  38437. t1 = false;
  38438. if (t1)
  38439. return null;
  38440. }
  38441. t1 = _this.namespace;
  38442. if (t1 != null && t1 !== "*") {
  38443. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  38444. B.JSArray_methods.addAll$1(t1, compound);
  38445. return t1;
  38446. }
  38447. if (compound.length !== 0)
  38448. return compound;
  38449. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  38450. },
  38451. isSuperselector$1(other) {
  38452. var t1 = this.namespace;
  38453. if (t1 === "*")
  38454. return true;
  38455. if (other instanceof A.TypeSelector)
  38456. return t1 == other.name.namespace;
  38457. if (other instanceof A.UniversalSelector)
  38458. return t1 == other.namespace;
  38459. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  38460. },
  38461. $eq(_, other) {
  38462. if (other == null)
  38463. return false;
  38464. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  38465. },
  38466. get$hashCode(_) {
  38467. return J.get$hashCode$(this.namespace);
  38468. }
  38469. };
  38470. A._compileStylesheet_closure0.prototype = {
  38471. call$1(url) {
  38472. var t1;
  38473. if (url === "") {
  38474. t1 = this.stylesheet.span;
  38475. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  38476. } else
  38477. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  38478. return t1;
  38479. },
  38480. $signature: 5
  38481. };
  38482. A.AsyncEnvironment.prototype = {
  38483. closure$0() {
  38484. var t4, t5, t6, _this = this,
  38485. t1 = _this._async_environment$_forwardedModules,
  38486. t2 = _this._async_environment$_nestedForwardedModules,
  38487. t3 = _this._async_environment$_variables;
  38488. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  38489. t4 = _this._async_environment$_variableNodes;
  38490. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  38491. t5 = _this._async_environment$_functions;
  38492. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  38493. t6 = _this._async_environment$_mixins;
  38494. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  38495. return A.AsyncEnvironment$_(_this._async_environment$_modules, _this._async_environment$_namespaceNodes, _this._async_environment$_globalModules, _this._async_environment$_importedModules, t1, t2, _this._async_environment$_allModules, t3, t4, t5, t6, _this._async_environment$_content);
  38496. },
  38497. addModule$3$namespace(module, nodeWithSpan, namespace) {
  38498. var t1, t2, span, _this = this;
  38499. if (namespace == null) {
  38500. _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
  38501. _this._async_environment$_allModules.push(module);
  38502. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
  38503. t2 = t1.get$current(t1);
  38504. if (module.get$variables().containsKey$1(t2))
  38505. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  38506. }
  38507. } else {
  38508. t1 = _this._async_environment$_modules;
  38509. if (t1.containsKey$1(namespace)) {
  38510. t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
  38511. span = t1 == null ? null : t1.span;
  38512. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  38513. if (span != null)
  38514. t1.$indexSet(0, span, "original @use");
  38515. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  38516. }
  38517. t1.$indexSet(0, namespace, module);
  38518. _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  38519. _this._async_environment$_allModules.push(module);
  38520. }
  38521. },
  38522. forwardModule$2(module, rule) {
  38523. var view, t1, t2, _this = this,
  38524. forwardedModules = _this._async_environment$_forwardedModules;
  38525. if (forwardedModules == null)
  38526. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38527. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  38528. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  38529. t2 = t1.__js_helper$_current;
  38530. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  38531. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  38532. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  38533. }
  38534. _this._async_environment$_allModules.push(module);
  38535. forwardedModules.$indexSet(0, view, rule);
  38536. },
  38537. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  38538. var larger, smaller, t1, t2, $name, span;
  38539. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  38540. larger = oldMembers;
  38541. smaller = newMembers;
  38542. } else {
  38543. larger = newMembers;
  38544. smaller = oldMembers;
  38545. }
  38546. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  38547. $name = t1.get$current(t1);
  38548. if (!larger.containsKey$1($name))
  38549. continue;
  38550. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  38551. continue;
  38552. if (t2)
  38553. $name = "$" + $name;
  38554. t1 = this._async_environment$_forwardedModules;
  38555. if (t1 == null)
  38556. span = null;
  38557. else {
  38558. t1 = t1.$index(0, oldModule);
  38559. span = t1 == null ? null : J.get$span$z(t1);
  38560. }
  38561. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  38562. if (span != null)
  38563. t1.$indexSet(0, span, "original @forward");
  38564. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  38565. }
  38566. },
  38567. importForwards$1(module) {
  38568. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  38569. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  38570. if (forwarded == null)
  38571. return;
  38572. forwardedModules = _this._async_environment$_forwardedModules;
  38573. if (forwardedModules != null) {
  38574. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38575. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
  38576. t4 = t2.get$current(t2);
  38577. t5 = t4.key;
  38578. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  38579. t1.$indexSet(0, t5, t4.value);
  38580. }
  38581. forwarded = t1;
  38582. } else
  38583. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38584. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  38585. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  38586. t3 = t2._eval$1("Iterable.E");
  38587. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
  38588. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
  38589. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
  38590. t2 = _this._async_environment$_variables;
  38591. t3 = t2.length;
  38592. if (t3 === 1) {
  38593. for (t1 = _this._async_environment$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38594. entry = t3[_i];
  38595. module = entry.key;
  38596. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  38597. if (shadowed != null) {
  38598. t1.remove$1(0, module);
  38599. t6 = shadowed.variables;
  38600. if (t6.get$isEmpty(t6)) {
  38601. t6 = shadowed.functions;
  38602. if (t6.get$isEmpty(t6)) {
  38603. t6 = shadowed.mixins;
  38604. if (t6.get$isEmpty(t6)) {
  38605. t6 = shadowed._shadowed_view$_inner;
  38606. t6 = t6.get$css(t6);
  38607. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  38608. } else
  38609. t6 = false;
  38610. } else
  38611. t6 = false;
  38612. } else
  38613. t6 = false;
  38614. if (!t6)
  38615. t1.$indexSet(0, shadowed, entry.value);
  38616. }
  38617. }
  38618. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38619. entry = t3[_i];
  38620. module = entry.key;
  38621. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  38622. if (shadowed != null) {
  38623. forwardedModules.remove$1(0, module);
  38624. t6 = shadowed.variables;
  38625. if (t6.get$isEmpty(t6)) {
  38626. t6 = shadowed.functions;
  38627. if (t6.get$isEmpty(t6)) {
  38628. t6 = shadowed.mixins;
  38629. if (t6.get$isEmpty(t6)) {
  38630. t6 = shadowed._shadowed_view$_inner;
  38631. t6 = t6.get$css(t6);
  38632. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  38633. } else
  38634. t6 = false;
  38635. } else
  38636. t6 = false;
  38637. } else
  38638. t6 = false;
  38639. if (!t6)
  38640. forwardedModules.$indexSet(0, shadowed, entry.value);
  38641. }
  38642. }
  38643. t1.addAll$1(0, forwarded);
  38644. forwardedModules.addAll$1(0, forwarded);
  38645. } else {
  38646. t4 = _this._async_environment$_nestedForwardedModules;
  38647. if (t4 == null) {
  38648. _length = t3 - 1;
  38649. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  38650. for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  38651. _list[_i] = A._setArrayType([], t3);
  38652. _this._async_environment$_nestedForwardedModules = _list;
  38653. t3 = _list;
  38654. } else
  38655. t3 = t4;
  38656. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  38657. }
  38658. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment$_variableIndices, t4 = _this._async_environment$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  38659. t6 = t1._collection$_current;
  38660. if (t6 == null)
  38661. t6 = t5._as(t6);
  38662. t3.remove$1(0, t6);
  38663. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  38664. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  38665. }
  38666. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment$_functionIndices, t3 = _this._async_environment$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  38667. t5 = t1._collection$_current;
  38668. if (t5 == null)
  38669. t5 = t4._as(t5);
  38670. t2.remove$1(0, t5);
  38671. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  38672. }
  38673. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  38674. t5 = t1._collection$_current;
  38675. if (t5 == null)
  38676. t5 = t4._as(t5);
  38677. t2.remove$1(0, t5);
  38678. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  38679. }
  38680. },
  38681. getVariable$2$namespace($name, namespace) {
  38682. var t1, index, _this = this;
  38683. if (namespace != null)
  38684. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  38685. if (_this._async_environment$_lastVariableName === $name) {
  38686. t1 = _this._async_environment$_lastVariableIndex;
  38687. t1.toString;
  38688. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  38689. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38690. }
  38691. t1 = _this._async_environment$_variableIndices;
  38692. index = t1.$index(0, $name);
  38693. if (index != null) {
  38694. _this._async_environment$_lastVariableName = $name;
  38695. _this._async_environment$_lastVariableIndex = index;
  38696. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  38697. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38698. }
  38699. index = _this._async_environment$_variableIndex$1($name);
  38700. if (index == null)
  38701. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  38702. _this._async_environment$_lastVariableName = $name;
  38703. _this._async_environment$_lastVariableIndex = index;
  38704. t1.$indexSet(0, $name, index);
  38705. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  38706. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38707. },
  38708. getVariable$1($name) {
  38709. return this.getVariable$2$namespace($name, null);
  38710. },
  38711. _async_environment$_getVariableFromGlobalModule$1($name) {
  38712. return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
  38713. },
  38714. getVariableNode$2$namespace($name, namespace) {
  38715. var t1, index, _this = this;
  38716. if (namespace != null)
  38717. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  38718. if (_this._async_environment$_lastVariableName === $name) {
  38719. t1 = _this._async_environment$_lastVariableIndex;
  38720. t1.toString;
  38721. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  38722. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38723. }
  38724. t1 = _this._async_environment$_variableIndices;
  38725. index = t1.$index(0, $name);
  38726. if (index != null) {
  38727. _this._async_environment$_lastVariableName = $name;
  38728. _this._async_environment$_lastVariableIndex = index;
  38729. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  38730. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38731. }
  38732. index = _this._async_environment$_variableIndex$1($name);
  38733. if (index == null)
  38734. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  38735. _this._async_environment$_lastVariableName = $name;
  38736. _this._async_environment$_lastVariableIndex = index;
  38737. t1.$indexSet(0, $name, index);
  38738. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  38739. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38740. },
  38741. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  38742. var t1, t2, value;
  38743. for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  38744. t1 = t2._currentIterator;
  38745. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  38746. if (value != null)
  38747. return value;
  38748. }
  38749. return null;
  38750. },
  38751. globalVariableExists$2$namespace($name, namespace) {
  38752. if (namespace != null)
  38753. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  38754. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  38755. return true;
  38756. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  38757. },
  38758. globalVariableExists$1($name) {
  38759. return this.globalVariableExists$2$namespace($name, null);
  38760. },
  38761. _async_environment$_variableIndex$1($name) {
  38762. var t1, i;
  38763. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  38764. if (t1[i].containsKey$1($name))
  38765. return i;
  38766. return null;
  38767. },
  38768. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  38769. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  38770. if (namespace != null) {
  38771. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  38772. return;
  38773. }
  38774. if (global || _this._async_environment$_variables.length === 1) {
  38775. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  38776. t1 = _this._async_environment$_variables;
  38777. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  38778. moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
  38779. if (moduleWithName != null) {
  38780. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  38781. return;
  38782. }
  38783. }
  38784. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  38785. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  38786. return;
  38787. }
  38788. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  38789. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  38790. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  38791. t3 = t1.__internal$_current;
  38792. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  38793. t5 = t3.__internal$_current;
  38794. if (t5 == null)
  38795. t5 = t4._as(t5);
  38796. if (t5.get$variables().containsKey$1($name)) {
  38797. t5.setVariable$3($name, value, nodeWithSpan);
  38798. return;
  38799. }
  38800. }
  38801. }
  38802. if (_this._async_environment$_lastVariableName === $name) {
  38803. t1 = _this._async_environment$_lastVariableIndex;
  38804. t1.toString;
  38805. index = t1;
  38806. } else
  38807. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  38808. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  38809. index = _this._async_environment$_variables.length - 1;
  38810. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  38811. }
  38812. _this._async_environment$_lastVariableName = $name;
  38813. _this._async_environment$_lastVariableIndex = index;
  38814. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  38815. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  38816. },
  38817. setVariable$4$global($name, value, nodeWithSpan, global) {
  38818. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  38819. },
  38820. setLocalVariable$3($name, value, nodeWithSpan) {
  38821. var index, _this = this,
  38822. t1 = _this._async_environment$_variables,
  38823. t2 = t1.length;
  38824. _this._async_environment$_lastVariableName = $name;
  38825. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  38826. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  38827. J.$indexSet$ax(t1[index], $name, value);
  38828. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  38829. },
  38830. getFunction$2$namespace($name, namespace) {
  38831. var t1, index, _this = this;
  38832. if (namespace != null) {
  38833. t1 = _this._async_environment$_getModule$1(namespace);
  38834. return t1.get$functions(t1).$index(0, $name);
  38835. }
  38836. t1 = _this._async_environment$_functionIndices;
  38837. index = t1.$index(0, $name);
  38838. if (index != null) {
  38839. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  38840. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  38841. }
  38842. index = _this._async_environment$_functionIndex$1($name);
  38843. if (index == null)
  38844. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  38845. t1.$indexSet(0, $name, index);
  38846. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  38847. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  38848. },
  38849. _async_environment$_getFunctionFromGlobalModule$1($name) {
  38850. return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
  38851. },
  38852. _async_environment$_functionIndex$1($name) {
  38853. var t1, i;
  38854. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  38855. if (t1[i].containsKey$1($name))
  38856. return i;
  38857. return null;
  38858. },
  38859. getMixin$2$namespace($name, namespace) {
  38860. var t1, index, _this = this;
  38861. if (namespace != null)
  38862. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  38863. t1 = _this._async_environment$_mixinIndices;
  38864. index = t1.$index(0, $name);
  38865. if (index != null) {
  38866. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  38867. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  38868. }
  38869. index = _this._async_environment$_mixinIndex$1($name);
  38870. if (index == null)
  38871. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  38872. t1.$indexSet(0, $name, index);
  38873. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  38874. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  38875. },
  38876. _async_environment$_getMixinFromGlobalModule$1($name) {
  38877. return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
  38878. },
  38879. _async_environment$_mixinIndex$1($name) {
  38880. var t1, i;
  38881. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  38882. if (t1[i].containsKey$1($name))
  38883. return i;
  38884. return null;
  38885. },
  38886. withContent$2($content, callback) {
  38887. return this.withContent$body$AsyncEnvironment($content, callback);
  38888. },
  38889. withContent$body$AsyncEnvironment($content, callback) {
  38890. var $async$goto = 0,
  38891. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  38892. $async$self = this, oldContent;
  38893. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38894. if ($async$errorCode === 1)
  38895. return A._asyncRethrow($async$result, $async$completer);
  38896. while (true)
  38897. switch ($async$goto) {
  38898. case 0:
  38899. // Function start
  38900. oldContent = $async$self._async_environment$_content;
  38901. $async$self._async_environment$_content = $content;
  38902. $async$goto = 2;
  38903. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  38904. case 2:
  38905. // returning from await.
  38906. $async$self._async_environment$_content = oldContent;
  38907. // implicit return
  38908. return A._asyncReturn(null, $async$completer);
  38909. }
  38910. });
  38911. return A._asyncStartSync($async$withContent$2, $async$completer);
  38912. },
  38913. asMixin$1(callback) {
  38914. var $async$goto = 0,
  38915. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  38916. $async$self = this, oldInMixin;
  38917. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38918. if ($async$errorCode === 1)
  38919. return A._asyncRethrow($async$result, $async$completer);
  38920. while (true)
  38921. switch ($async$goto) {
  38922. case 0:
  38923. // Function start
  38924. oldInMixin = $async$self._async_environment$_inMixin;
  38925. $async$self._async_environment$_inMixin = true;
  38926. $async$goto = 2;
  38927. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  38928. case 2:
  38929. // returning from await.
  38930. $async$self._async_environment$_inMixin = oldInMixin;
  38931. // implicit return
  38932. return A._asyncReturn(null, $async$completer);
  38933. }
  38934. });
  38935. return A._asyncStartSync($async$asMixin$1, $async$completer);
  38936. },
  38937. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  38938. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  38939. },
  38940. scope$1$1(callback, $T) {
  38941. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  38942. },
  38943. scope$1$2$when(callback, when, $T) {
  38944. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  38945. },
  38946. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  38947. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  38948. },
  38949. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  38950. var $async$goto = 0,
  38951. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  38952. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  38953. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38954. if ($async$errorCode === 1) {
  38955. $async$currentError = $async$result;
  38956. $async$goto = $async$handler;
  38957. }
  38958. while (true)
  38959. switch ($async$goto) {
  38960. case 0:
  38961. // Function start
  38962. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  38963. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  38964. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  38965. $async$goto = !when ? 3 : 4;
  38966. break;
  38967. case 3:
  38968. // then
  38969. $async$handler = 5;
  38970. $async$goto = 8;
  38971. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  38972. case 8:
  38973. // returning from await.
  38974. t1 = $async$result;
  38975. $async$returnValue = t1;
  38976. $async$next = [1];
  38977. // goto finally
  38978. $async$goto = 6;
  38979. break;
  38980. $async$next.push(7);
  38981. // goto finally
  38982. $async$goto = 6;
  38983. break;
  38984. case 5:
  38985. // uncaught
  38986. $async$next = [2];
  38987. case 6:
  38988. // finally
  38989. $async$handler = 2;
  38990. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  38991. // goto the next finally handler
  38992. $async$goto = $async$next.pop();
  38993. break;
  38994. case 7:
  38995. // after finally
  38996. case 4:
  38997. // join
  38998. t1 = $async$self._async_environment$_variables;
  38999. t2 = type$.String;
  39000. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  39001. t3 = $async$self._async_environment$_variableNodes;
  39002. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  39003. t4 = $async$self._async_environment$_functions;
  39004. t5 = type$.AsyncCallable;
  39005. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  39006. t6 = $async$self._async_environment$_mixins;
  39007. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  39008. t5 = $async$self._async_environment$_nestedForwardedModules;
  39009. if (t5 != null)
  39010. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  39011. $async$handler = 9;
  39012. $async$goto = 12;
  39013. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  39014. case 12:
  39015. // returning from await.
  39016. t2 = $async$result;
  39017. $async$returnValue = t2;
  39018. $async$next = [1];
  39019. // goto finally
  39020. $async$goto = 10;
  39021. break;
  39022. $async$next.push(11);
  39023. // goto finally
  39024. $async$goto = 10;
  39025. break;
  39026. case 9:
  39027. // uncaught
  39028. $async$next = [2];
  39029. case 10:
  39030. // finally
  39031. $async$handler = 2;
  39032. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  39033. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  39034. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
  39035. $name = t1.get$current(t1);
  39036. t2.remove$1(0, $name);
  39037. }
  39038. B.JSArray_methods.removeLast$0(t3);
  39039. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
  39040. name0 = t1.get$current(t1);
  39041. t2.remove$1(0, name0);
  39042. }
  39043. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
  39044. name1 = t1.get$current(t1);
  39045. t2.remove$1(0, name1);
  39046. }
  39047. t1 = $async$self._async_environment$_nestedForwardedModules;
  39048. if (t1 != null)
  39049. t1.pop();
  39050. // goto the next finally handler
  39051. $async$goto = $async$next.pop();
  39052. break;
  39053. case 11:
  39054. // after finally
  39055. case 1:
  39056. // return
  39057. return A._asyncReturn($async$returnValue, $async$completer);
  39058. case 2:
  39059. // rethrow
  39060. return A._asyncRethrow($async$currentError, $async$completer);
  39061. }
  39062. });
  39063. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  39064. },
  39065. toImplicitConfiguration$0() {
  39066. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  39067. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  39068. for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
  39069. values = t1[i];
  39070. nodes = t2[i];
  39071. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  39072. t4 = t3.get$current(t3);
  39073. t5 = t4.key;
  39074. t4 = t4.value;
  39075. t6 = nodes.$index(0, t5);
  39076. t6.toString;
  39077. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  39078. }
  39079. }
  39080. return new A.Configuration(configuration, null);
  39081. },
  39082. toModule$2(css, extensionStore) {
  39083. return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  39084. },
  39085. toDummyModule$0() {
  39086. return A._EnvironmentModule__EnvironmentModule0(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  39087. },
  39088. _async_environment$_getModule$1(namespace) {
  39089. var module = this._async_environment$_modules.$index(0, namespace);
  39090. if (module != null)
  39091. return module;
  39092. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  39093. },
  39094. _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
  39095. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  39096. nestedForwardedModules = this._async_environment$_nestedForwardedModules;
  39097. if (nestedForwardedModules != null)
  39098. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39099. t3 = t1.__internal$_current;
  39100. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  39101. t5 = t3.__internal$_current;
  39102. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  39103. if (value != null)
  39104. return value;
  39105. }
  39106. }
  39107. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  39108. value = callback.call$1(t1.__js_helper$_current);
  39109. if (value != null)
  39110. return value;
  39111. }
  39112. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  39113. t4 = t2.__js_helper$_current;
  39114. valueInModule = callback.call$1(t4);
  39115. if (valueInModule == null)
  39116. continue;
  39117. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  39118. if (identityFromModule.$eq(0, identity))
  39119. continue;
  39120. if (value != null) {
  39121. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  39122. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39123. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  39124. t4 = t1.get$current(t1);
  39125. if (t4 != null)
  39126. t2.$indexSet(0, t4, t3);
  39127. }
  39128. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  39129. }
  39130. identity = identityFromModule;
  39131. value = valueInModule;
  39132. }
  39133. return value;
  39134. }
  39135. };
  39136. A.AsyncEnvironment_importForwards_closure.prototype = {
  39137. call$1(module) {
  39138. var t1 = module.get$variables();
  39139. return t1.get$keys(t1);
  39140. },
  39141. $signature: 133
  39142. };
  39143. A.AsyncEnvironment_importForwards_closure0.prototype = {
  39144. call$1(module) {
  39145. var t1 = module.get$functions(module);
  39146. return t1.get$keys(t1);
  39147. },
  39148. $signature: 133
  39149. };
  39150. A.AsyncEnvironment_importForwards_closure1.prototype = {
  39151. call$1(module) {
  39152. var t1 = module.get$mixins();
  39153. return t1.get$keys(t1);
  39154. },
  39155. $signature: 133
  39156. };
  39157. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  39158. call$1(module) {
  39159. return module.get$variables().$index(0, this.name);
  39160. },
  39161. $signature: 587
  39162. };
  39163. A.AsyncEnvironment_setVariable_closure.prototype = {
  39164. call$0() {
  39165. var t1 = this.$this;
  39166. t1._async_environment$_lastVariableName = this.name;
  39167. return t1._async_environment$_lastVariableIndex = 0;
  39168. },
  39169. $signature: 12
  39170. };
  39171. A.AsyncEnvironment_setVariable_closure0.prototype = {
  39172. call$1(module) {
  39173. return module.get$variables().containsKey$1(this.name) ? module : null;
  39174. },
  39175. $signature: 258
  39176. };
  39177. A.AsyncEnvironment_setVariable_closure1.prototype = {
  39178. call$0() {
  39179. var t1 = this.$this,
  39180. t2 = t1._async_environment$_variableIndex$1(this.name);
  39181. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  39182. },
  39183. $signature: 12
  39184. };
  39185. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  39186. call$1(module) {
  39187. return module.get$functions(module).$index(0, this.name);
  39188. },
  39189. $signature: 187
  39190. };
  39191. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  39192. call$1(module) {
  39193. return module.get$mixins().$index(0, this.name);
  39194. },
  39195. $signature: 187
  39196. };
  39197. A.AsyncEnvironment_toModule_closure.prototype = {
  39198. call$1(modules) {
  39199. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  39200. },
  39201. $signature: 189
  39202. };
  39203. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  39204. call$1(modules) {
  39205. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  39206. },
  39207. $signature: 189
  39208. };
  39209. A.AsyncEnvironment__fromOneModule_closure.prototype = {
  39210. call$1(entry) {
  39211. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
  39212. },
  39213. $signature: 281
  39214. };
  39215. A.AsyncEnvironment__fromOneModule__closure.prototype = {
  39216. call$1(_) {
  39217. return J.get$span$z(this.entry.value);
  39218. },
  39219. $signature() {
  39220. return this.T._eval$1("FileSpan(0)");
  39221. }
  39222. };
  39223. A._EnvironmentModule0.prototype = {
  39224. get$url(_) {
  39225. var t1 = this.css;
  39226. t1 = t1.get$span(t1);
  39227. return t1.get$sourceUrl(t1);
  39228. },
  39229. setVariable$3($name, value, nodeWithSpan) {
  39230. var t1, t2,
  39231. module = this._async_environment$_modulesByVariable.$index(0, $name);
  39232. if (module != null) {
  39233. module.setVariable$3($name, value, nodeWithSpan);
  39234. return;
  39235. }
  39236. t1 = this._async_environment$_environment;
  39237. t2 = t1._async_environment$_variables;
  39238. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  39239. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  39240. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  39241. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  39242. return;
  39243. },
  39244. variableIdentity$1($name) {
  39245. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  39246. return module == null ? this : module.variableIdentity$1($name);
  39247. },
  39248. cloneCss$0() {
  39249. var newCssAndExtensionStore, _this = this,
  39250. t1 = _this.css;
  39251. if (J.get$isEmpty$asx(t1.get$children(t1)))
  39252. return _this;
  39253. newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
  39254. return A._EnvironmentModule$_0(_this._async_environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
  39255. },
  39256. toString$0(_) {
  39257. var t1 = this.css,
  39258. t2 = t1.get$span(t1);
  39259. if (t2.get$sourceUrl(t2) == null)
  39260. t1 = "<unknown url>";
  39261. else {
  39262. t1 = t1.get$span(t1);
  39263. t1 = t1.get$sourceUrl(t1);
  39264. t1 = $.$get$context().prettyUri$1(t1);
  39265. }
  39266. return t1;
  39267. },
  39268. $isModule: 1,
  39269. get$upstream() {
  39270. return this.upstream;
  39271. },
  39272. get$variables() {
  39273. return this.variables;
  39274. },
  39275. get$variableNodes() {
  39276. return this.variableNodes;
  39277. },
  39278. get$functions(receiver) {
  39279. return this.functions;
  39280. },
  39281. get$mixins() {
  39282. return this.mixins;
  39283. },
  39284. get$extensionStore() {
  39285. return this.extensionStore;
  39286. },
  39287. get$css(receiver) {
  39288. return this.css;
  39289. },
  39290. get$transitivelyContainsCss() {
  39291. return this.transitivelyContainsCss;
  39292. },
  39293. get$transitivelyContainsExtensions() {
  39294. return this.transitivelyContainsExtensions;
  39295. }
  39296. };
  39297. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  39298. call$1(module) {
  39299. return module.get$variables();
  39300. },
  39301. $signature: 285
  39302. };
  39303. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  39304. call$1(module) {
  39305. return module.get$variableNodes();
  39306. },
  39307. $signature: 286
  39308. };
  39309. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  39310. call$1(module) {
  39311. return module.get$functions(module);
  39312. },
  39313. $signature: 206
  39314. };
  39315. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  39316. call$1(module) {
  39317. return module.get$mixins();
  39318. },
  39319. $signature: 206
  39320. };
  39321. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  39322. call$1(module) {
  39323. return module.get$transitivelyContainsCss();
  39324. },
  39325. $signature: 132
  39326. };
  39327. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  39328. call$1(module) {
  39329. return module.get$transitivelyContainsExtensions();
  39330. },
  39331. $signature: 132
  39332. };
  39333. A.AsyncImportCache.prototype = {
  39334. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  39335. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  39336. },
  39337. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  39338. var $async$goto = 0,
  39339. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39340. $async$returnValue, $async$self = this, t1, relativeResult;
  39341. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39342. if ($async$errorCode === 1)
  39343. return A._asyncRethrow($async$result, $async$completer);
  39344. while (true)
  39345. switch ($async$goto) {
  39346. case 0:
  39347. // Function start
  39348. $async$goto = baseImporter != null ? 3 : 4;
  39349. break;
  39350. case 3:
  39351. // then
  39352. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
  39353. $async$goto = 5;
  39354. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  39355. case 5:
  39356. // returning from await.
  39357. relativeResult = $async$result;
  39358. if (relativeResult != null) {
  39359. $async$returnValue = relativeResult;
  39360. // goto return
  39361. $async$goto = 1;
  39362. break;
  39363. }
  39364. case 4:
  39365. // join
  39366. t1 = type$.Tuple2_Uri_bool;
  39367. $async$goto = 6;
  39368. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure0($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  39369. case 6:
  39370. // returning from await.
  39371. $async$returnValue = $async$result;
  39372. // goto return
  39373. $async$goto = 1;
  39374. break;
  39375. case 1:
  39376. // return
  39377. return A._asyncReturn($async$returnValue, $async$completer);
  39378. }
  39379. });
  39380. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  39381. },
  39382. _async_import_cache$_canonicalize$3(importer, url, forImport) {
  39383. return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
  39384. },
  39385. _canonicalize$body$AsyncImportCache(importer, url, forImport) {
  39386. var $async$goto = 0,
  39387. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  39388. $async$returnValue, $async$self = this, t1, result;
  39389. var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39390. if ($async$errorCode === 1)
  39391. return A._asyncRethrow($async$result, $async$completer);
  39392. while (true)
  39393. switch ($async$goto) {
  39394. case 0:
  39395. // Function start
  39396. if (forImport) {
  39397. t1 = type$.nullable_Object;
  39398. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  39399. } else
  39400. t1 = importer.canonicalize$1(0, url);
  39401. $async$goto = 3;
  39402. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
  39403. case 3:
  39404. // returning from await.
  39405. result = $async$result;
  39406. if ((result == null ? null : result.get$scheme()) === "")
  39407. $async$self._async_import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  39408. $async$returnValue = result;
  39409. // goto return
  39410. $async$goto = 1;
  39411. break;
  39412. case 1:
  39413. // return
  39414. return A._asyncReturn($async$returnValue, $async$completer);
  39415. }
  39416. });
  39417. return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
  39418. },
  39419. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  39420. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  39421. },
  39422. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  39423. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  39424. },
  39425. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  39426. var $async$goto = 0,
  39427. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  39428. $async$returnValue, $async$self = this;
  39429. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39430. if ($async$errorCode === 1)
  39431. return A._asyncRethrow($async$result, $async$completer);
  39432. while (true)
  39433. switch ($async$goto) {
  39434. case 0:
  39435. // Function start
  39436. $async$goto = 3;
  39437. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet), $async$importCanonical$4$originalUrl$quiet);
  39438. case 3:
  39439. // returning from await.
  39440. $async$returnValue = $async$result;
  39441. // goto return
  39442. $async$goto = 1;
  39443. break;
  39444. case 1:
  39445. // return
  39446. return A._asyncReturn($async$returnValue, $async$completer);
  39447. }
  39448. });
  39449. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  39450. },
  39451. humanize$1(canonicalUrl) {
  39452. var t2, url,
  39453. t1 = this._async_import_cache$_canonicalizeCache;
  39454. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
  39455. t2 = t1.$ti;
  39456. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1());
  39457. if (url == null)
  39458. return canonicalUrl;
  39459. t1 = $.$get$url();
  39460. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  39461. },
  39462. sourceMapUrl$1(_, canonicalUrl) {
  39463. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  39464. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  39465. return t1 == null ? canonicalUrl : t1;
  39466. }
  39467. };
  39468. A.AsyncImportCache_canonicalize_closure.prototype = {
  39469. call$0() {
  39470. var $async$goto = 0,
  39471. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39472. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  39473. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39474. if ($async$errorCode === 1)
  39475. return A._asyncRethrow($async$result, $async$completer);
  39476. while (true)
  39477. switch ($async$goto) {
  39478. case 0:
  39479. // Function start
  39480. t1 = $async$self.baseUrl;
  39481. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  39482. if (resolvedUrl == null)
  39483. resolvedUrl = $async$self.url;
  39484. t1 = $async$self.baseImporter;
  39485. $async$goto = 3;
  39486. return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  39487. case 3:
  39488. // returning from await.
  39489. canonicalUrl = $async$result;
  39490. if (canonicalUrl == null) {
  39491. $async$returnValue = null;
  39492. // goto return
  39493. $async$goto = 1;
  39494. break;
  39495. }
  39496. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
  39497. // goto return
  39498. $async$goto = 1;
  39499. break;
  39500. case 1:
  39501. // return
  39502. return A._asyncReturn($async$returnValue, $async$completer);
  39503. }
  39504. });
  39505. return A._asyncStartSync($async$call$0, $async$completer);
  39506. },
  39507. $signature: 198
  39508. };
  39509. A.AsyncImportCache_canonicalize_closure0.prototype = {
  39510. call$0() {
  39511. var $async$goto = 0,
  39512. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39513. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  39514. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39515. if ($async$errorCode === 1)
  39516. return A._asyncRethrow($async$result, $async$completer);
  39517. while (true)
  39518. switch ($async$goto) {
  39519. case 0:
  39520. // Function start
  39521. t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  39522. case 3:
  39523. // for condition
  39524. if (!(_i < t2.length)) {
  39525. // goto after for
  39526. $async$goto = 5;
  39527. break;
  39528. }
  39529. importer = t2[_i];
  39530. $async$goto = 6;
  39531. return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
  39532. case 6:
  39533. // returning from await.
  39534. canonicalUrl = $async$result;
  39535. if (canonicalUrl != null) {
  39536. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
  39537. // goto return
  39538. $async$goto = 1;
  39539. break;
  39540. }
  39541. case 4:
  39542. // for update
  39543. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  39544. // goto for condition
  39545. $async$goto = 3;
  39546. break;
  39547. case 5:
  39548. // after for
  39549. $async$returnValue = null;
  39550. // goto return
  39551. $async$goto = 1;
  39552. break;
  39553. case 1:
  39554. // return
  39555. return A._asyncReturn($async$returnValue, $async$completer);
  39556. }
  39557. });
  39558. return A._asyncStartSync($async$call$0, $async$completer);
  39559. },
  39560. $signature: 198
  39561. };
  39562. A.AsyncImportCache__canonicalize_closure.prototype = {
  39563. call$0() {
  39564. return this.importer.canonicalize$1(0, this.url);
  39565. },
  39566. $signature: 199
  39567. };
  39568. A.AsyncImportCache_importCanonical_closure.prototype = {
  39569. call$0() {
  39570. var $async$goto = 0,
  39571. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  39572. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  39573. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39574. if ($async$errorCode === 1)
  39575. return A._asyncRethrow($async$result, $async$completer);
  39576. while (true)
  39577. switch ($async$goto) {
  39578. case 0:
  39579. // Function start
  39580. t1 = $async$self.canonicalUrl;
  39581. $async$goto = 3;
  39582. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  39583. case 3:
  39584. // returning from await.
  39585. result = $async$result;
  39586. if (result == null) {
  39587. $async$returnValue = null;
  39588. // goto return
  39589. $async$goto = 1;
  39590. break;
  39591. }
  39592. t2 = $async$self.$this;
  39593. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  39594. t3 = result.contents;
  39595. t4 = result.syntax;
  39596. t1 = $async$self.originalUrl.resolveUri$1(t1);
  39597. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  39598. // goto return
  39599. $async$goto = 1;
  39600. break;
  39601. case 1:
  39602. // return
  39603. return A._asyncReturn($async$returnValue, $async$completer);
  39604. }
  39605. });
  39606. return A._asyncStartSync($async$call$0, $async$completer);
  39607. },
  39608. $signature: 300
  39609. };
  39610. A.AsyncImportCache_humanize_closure.prototype = {
  39611. call$1(tuple) {
  39612. return tuple.item2.$eq(0, this.canonicalUrl);
  39613. },
  39614. $signature: 304
  39615. };
  39616. A.AsyncImportCache_humanize_closure0.prototype = {
  39617. call$1(tuple) {
  39618. return tuple.item3;
  39619. },
  39620. $signature: 305
  39621. };
  39622. A.AsyncImportCache_humanize_closure1.prototype = {
  39623. call$1(url) {
  39624. return url.get$path(url).length;
  39625. },
  39626. $signature: 91
  39627. };
  39628. A.AsyncBuiltInCallable.prototype = {
  39629. callbackFor$2(positional, names) {
  39630. return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
  39631. },
  39632. $isAsyncCallable: 1,
  39633. get$name(receiver) {
  39634. return this.name;
  39635. }
  39636. };
  39637. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  39638. call$1($arguments) {
  39639. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  39640. },
  39641. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  39642. var $async$goto = 0,
  39643. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  39644. $async$returnValue, $async$self = this;
  39645. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39646. if ($async$errorCode === 1)
  39647. return A._asyncRethrow($async$result, $async$completer);
  39648. while (true)
  39649. switch ($async$goto) {
  39650. case 0:
  39651. // Function start
  39652. $async$goto = 3;
  39653. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  39654. case 3:
  39655. // returning from await.
  39656. $async$returnValue = B.C__SassNull;
  39657. // goto return
  39658. $async$goto = 1;
  39659. break;
  39660. case 1:
  39661. // return
  39662. return A._asyncReturn($async$returnValue, $async$completer);
  39663. }
  39664. });
  39665. return A._asyncStartSync($async$call$1, $async$completer);
  39666. },
  39667. $signature: 211
  39668. };
  39669. A.BuiltInCallable.prototype = {
  39670. callbackFor$2(positional, names) {
  39671. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  39672. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  39673. overload = t1[_i];
  39674. t3 = overload.item1;
  39675. if (t3.matches$2(positional, names))
  39676. return overload;
  39677. mismatchDistance = t3.$arguments.length - positional;
  39678. if (minMismatchDistance != null) {
  39679. t3 = Math.abs(mismatchDistance);
  39680. t4 = Math.abs(minMismatchDistance);
  39681. if (t3 > t4)
  39682. continue;
  39683. if (t3 === t4 && mismatchDistance < 0)
  39684. continue;
  39685. }
  39686. minMismatchDistance = mismatchDistance;
  39687. fuzzyMatch = overload;
  39688. }
  39689. if (fuzzyMatch != null)
  39690. return fuzzyMatch;
  39691. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  39692. },
  39693. withName$1($name) {
  39694. return new A.BuiltInCallable($name, this._overloads);
  39695. },
  39696. $isCallable: 1,
  39697. $isAsyncCallable: 1,
  39698. $isAsyncBuiltInCallable: 1,
  39699. get$name(receiver) {
  39700. return this.name;
  39701. }
  39702. };
  39703. A.BuiltInCallable$mixin_closure.prototype = {
  39704. call$1($arguments) {
  39705. this.callback.call$1($arguments);
  39706. return B.C__SassNull;
  39707. },
  39708. $signature: 4
  39709. };
  39710. A.PlainCssCallable.prototype = {
  39711. $eq(_, other) {
  39712. if (other == null)
  39713. return false;
  39714. return other instanceof A.PlainCssCallable && this.name === other.name;
  39715. },
  39716. get$hashCode(_) {
  39717. return B.JSString_methods.get$hashCode(this.name);
  39718. },
  39719. $isCallable: 1,
  39720. $isAsyncCallable: 1,
  39721. get$name(receiver) {
  39722. return this.name;
  39723. }
  39724. };
  39725. A.UserDefinedCallable.prototype = {
  39726. get$name(_) {
  39727. return this.declaration.name;
  39728. },
  39729. $isCallable: 1,
  39730. $isAsyncCallable: 1
  39731. };
  39732. A._compileStylesheet_closure.prototype = {
  39733. call$1(url) {
  39734. var t1;
  39735. if (url === "") {
  39736. t1 = this.stylesheet.span;
  39737. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  39738. } else
  39739. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  39740. return t1;
  39741. },
  39742. $signature: 5
  39743. };
  39744. A.CompileResult.prototype = {};
  39745. A.Configuration.prototype = {
  39746. throughForward$1($forward) {
  39747. var prefix, shownVariables, hiddenVariables, t1,
  39748. newValues = this._values;
  39749. if (newValues.get$isEmpty(newValues))
  39750. return B.Configuration_Map_empty_null;
  39751. prefix = $forward.prefix;
  39752. if (prefix != null)
  39753. newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
  39754. shownVariables = $forward.shownVariables;
  39755. hiddenVariables = $forward.hiddenVariables;
  39756. if (shownVariables != null)
  39757. newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  39758. else {
  39759. if (hiddenVariables != null) {
  39760. t1 = hiddenVariables._base;
  39761. t1 = t1.get$isNotEmpty(t1);
  39762. } else
  39763. t1 = false;
  39764. if (t1)
  39765. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  39766. }
  39767. return this._withValues$1(newValues);
  39768. },
  39769. _withValues$1(values) {
  39770. var t1 = this.__originalConfiguration;
  39771. return new A.Configuration(values, t1 == null ? this : t1);
  39772. },
  39773. toString$0(_) {
  39774. var t1 = this._values;
  39775. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
  39776. }
  39777. };
  39778. A.Configuration_toString_closure.prototype = {
  39779. call$1(entry) {
  39780. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  39781. },
  39782. $signature: 310
  39783. };
  39784. A.ExplicitConfiguration.prototype = {
  39785. _withValues$1(values) {
  39786. var t1 = this.__originalConfiguration;
  39787. if (t1 == null)
  39788. t1 = this;
  39789. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  39790. }
  39791. };
  39792. A.ConfiguredValue.prototype = {
  39793. toString$0(_) {
  39794. return A.serializeValue(this.value, true, true);
  39795. }
  39796. };
  39797. A.Environment.prototype = {
  39798. closure$0() {
  39799. var t4, t5, t6, _this = this,
  39800. t1 = _this._forwardedModules,
  39801. t2 = _this._nestedForwardedModules,
  39802. t3 = _this._variables;
  39803. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  39804. t4 = _this._variableNodes;
  39805. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  39806. t5 = _this._functions;
  39807. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  39808. t6 = _this._mixins;
  39809. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  39810. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  39811. },
  39812. addModule$3$namespace(module, nodeWithSpan, namespace) {
  39813. var t1, t2, span, _this = this;
  39814. if (namespace == null) {
  39815. _this._globalModules.$indexSet(0, module, nodeWithSpan);
  39816. _this._allModules.push(module);
  39817. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
  39818. t2 = t1.get$current(t1);
  39819. if (module.get$variables().containsKey$1(t2))
  39820. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  39821. }
  39822. } else {
  39823. t1 = _this._environment$_modules;
  39824. if (t1.containsKey$1(namespace)) {
  39825. t1 = _this._namespaceNodes.$index(0, namespace);
  39826. span = t1 == null ? null : t1.span;
  39827. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39828. if (span != null)
  39829. t1.$indexSet(0, span, "original @use");
  39830. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  39831. }
  39832. t1.$indexSet(0, namespace, module);
  39833. _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  39834. _this._allModules.push(module);
  39835. }
  39836. },
  39837. forwardModule$2(module, rule) {
  39838. var view, t1, t2, _this = this,
  39839. forwardedModules = _this._forwardedModules;
  39840. if (forwardedModules == null)
  39841. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39842. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  39843. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  39844. t2 = t1.__js_helper$_current;
  39845. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  39846. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  39847. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  39848. }
  39849. _this._allModules.push(module);
  39850. forwardedModules.$indexSet(0, view, rule);
  39851. },
  39852. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  39853. var larger, smaller, t1, t2, $name, span;
  39854. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  39855. larger = oldMembers;
  39856. smaller = newMembers;
  39857. } else {
  39858. larger = newMembers;
  39859. smaller = oldMembers;
  39860. }
  39861. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  39862. $name = t1.get$current(t1);
  39863. if (!larger.containsKey$1($name))
  39864. continue;
  39865. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  39866. continue;
  39867. if (t2)
  39868. $name = "$" + $name;
  39869. t1 = this._forwardedModules;
  39870. if (t1 == null)
  39871. span = null;
  39872. else {
  39873. t1 = t1.$index(0, oldModule);
  39874. span = t1 == null ? null : J.get$span$z(t1);
  39875. }
  39876. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39877. if (span != null)
  39878. t1.$indexSet(0, span, "original @forward");
  39879. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  39880. }
  39881. },
  39882. importForwards$1(module) {
  39883. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  39884. forwarded = module._environment$_environment._forwardedModules;
  39885. if (forwarded == null)
  39886. return;
  39887. forwardedModules = _this._forwardedModules;
  39888. if (forwardedModules != null) {
  39889. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39890. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
  39891. t4 = t2.get$current(t2);
  39892. t5 = t4.key;
  39893. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  39894. t1.$indexSet(0, t5, t4.value);
  39895. }
  39896. forwarded = t1;
  39897. } else
  39898. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39899. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  39900. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  39901. t3 = t2._eval$1("Iterable.E");
  39902. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
  39903. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
  39904. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
  39905. t2 = _this._variables;
  39906. t3 = t2.length;
  39907. if (t3 === 1) {
  39908. for (t1 = _this._importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  39909. entry = t3[_i];
  39910. module = entry.key;
  39911. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39912. if (shadowed != null) {
  39913. t1.remove$1(0, module);
  39914. t6 = shadowed.variables;
  39915. if (t6.get$isEmpty(t6)) {
  39916. t6 = shadowed.functions;
  39917. if (t6.get$isEmpty(t6)) {
  39918. t6 = shadowed.mixins;
  39919. if (t6.get$isEmpty(t6)) {
  39920. t6 = shadowed._shadowed_view$_inner;
  39921. t6 = t6.get$css(t6);
  39922. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39923. } else
  39924. t6 = false;
  39925. } else
  39926. t6 = false;
  39927. } else
  39928. t6 = false;
  39929. if (!t6)
  39930. t1.$indexSet(0, shadowed, entry.value);
  39931. }
  39932. }
  39933. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  39934. entry = t3[_i];
  39935. module = entry.key;
  39936. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39937. if (shadowed != null) {
  39938. forwardedModules.remove$1(0, module);
  39939. t6 = shadowed.variables;
  39940. if (t6.get$isEmpty(t6)) {
  39941. t6 = shadowed.functions;
  39942. if (t6.get$isEmpty(t6)) {
  39943. t6 = shadowed.mixins;
  39944. if (t6.get$isEmpty(t6)) {
  39945. t6 = shadowed._shadowed_view$_inner;
  39946. t6 = t6.get$css(t6);
  39947. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39948. } else
  39949. t6 = false;
  39950. } else
  39951. t6 = false;
  39952. } else
  39953. t6 = false;
  39954. if (!t6)
  39955. forwardedModules.$indexSet(0, shadowed, entry.value);
  39956. }
  39957. }
  39958. t1.addAll$1(0, forwarded);
  39959. forwardedModules.addAll$1(0, forwarded);
  39960. } else {
  39961. t4 = _this._nestedForwardedModules;
  39962. if (t4 == null) {
  39963. _length = t3 - 1;
  39964. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  39965. for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  39966. _list[_i] = A._setArrayType([], t3);
  39967. _this._nestedForwardedModules = _list;
  39968. t3 = _list;
  39969. } else
  39970. t3 = t4;
  39971. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  39972. }
  39973. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39974. t6 = t1._collection$_current;
  39975. if (t6 == null)
  39976. t6 = t5._as(t6);
  39977. t3.remove$1(0, t6);
  39978. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  39979. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  39980. }
  39981. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39982. t5 = t1._collection$_current;
  39983. if (t5 == null)
  39984. t5 = t4._as(t5);
  39985. t2.remove$1(0, t5);
  39986. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39987. }
  39988. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39989. t5 = t1._collection$_current;
  39990. if (t5 == null)
  39991. t5 = t4._as(t5);
  39992. t2.remove$1(0, t5);
  39993. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39994. }
  39995. },
  39996. getVariable$2$namespace($name, namespace) {
  39997. var t1, index, _this = this;
  39998. if (namespace != null)
  39999. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  40000. if (_this._lastVariableName === $name) {
  40001. t1 = _this._lastVariableIndex;
  40002. t1.toString;
  40003. t1 = J.$index$asx(_this._variables[t1], $name);
  40004. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40005. }
  40006. t1 = _this._variableIndices;
  40007. index = t1.$index(0, $name);
  40008. if (index != null) {
  40009. _this._lastVariableName = $name;
  40010. _this._lastVariableIndex = index;
  40011. t1 = J.$index$asx(_this._variables[index], $name);
  40012. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40013. }
  40014. index = _this._variableIndex$1($name);
  40015. if (index == null)
  40016. return _this._getVariableFromGlobalModule$1($name);
  40017. _this._lastVariableName = $name;
  40018. _this._lastVariableIndex = index;
  40019. t1.$indexSet(0, $name, index);
  40020. t1 = J.$index$asx(_this._variables[index], $name);
  40021. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40022. },
  40023. getVariable$1($name) {
  40024. return this.getVariable$2$namespace($name, null);
  40025. },
  40026. _getVariableFromGlobalModule$1($name) {
  40027. return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
  40028. },
  40029. getVariableNode$2$namespace($name, namespace) {
  40030. var t1, index, _this = this;
  40031. if (namespace != null)
  40032. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  40033. if (_this._lastVariableName === $name) {
  40034. t1 = _this._lastVariableIndex;
  40035. t1.toString;
  40036. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  40037. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40038. }
  40039. t1 = _this._variableIndices;
  40040. index = t1.$index(0, $name);
  40041. if (index != null) {
  40042. _this._lastVariableName = $name;
  40043. _this._lastVariableIndex = index;
  40044. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40045. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40046. }
  40047. index = _this._variableIndex$1($name);
  40048. if (index == null)
  40049. return _this._getVariableNodeFromGlobalModule$1($name);
  40050. _this._lastVariableName = $name;
  40051. _this._lastVariableIndex = index;
  40052. t1.$indexSet(0, $name, index);
  40053. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40054. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40055. },
  40056. _getVariableNodeFromGlobalModule$1($name) {
  40057. var t1, t2, value;
  40058. for (t1 = this._importedModules, t2 = this._globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  40059. t1 = t2._currentIterator;
  40060. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  40061. if (value != null)
  40062. return value;
  40063. }
  40064. return null;
  40065. },
  40066. globalVariableExists$2$namespace($name, namespace) {
  40067. if (namespace != null)
  40068. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  40069. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  40070. return true;
  40071. return this._getVariableFromGlobalModule$1($name) != null;
  40072. },
  40073. globalVariableExists$1($name) {
  40074. return this.globalVariableExists$2$namespace($name, null);
  40075. },
  40076. _variableIndex$1($name) {
  40077. var t1, i;
  40078. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  40079. if (t1[i].containsKey$1($name))
  40080. return i;
  40081. return null;
  40082. },
  40083. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  40084. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  40085. if (namespace != null) {
  40086. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  40087. return;
  40088. }
  40089. if (global || _this._variables.length === 1) {
  40090. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  40091. t1 = _this._variables;
  40092. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  40093. moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
  40094. if (moduleWithName != null) {
  40095. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  40096. return;
  40097. }
  40098. }
  40099. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  40100. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  40101. return;
  40102. }
  40103. nestedForwardedModules = _this._nestedForwardedModules;
  40104. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  40105. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40106. t3 = t1.__internal$_current;
  40107. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  40108. t5 = t3.__internal$_current;
  40109. if (t5 == null)
  40110. t5 = t4._as(t5);
  40111. if (t5.get$variables().containsKey$1($name)) {
  40112. t5.setVariable$3($name, value, nodeWithSpan);
  40113. return;
  40114. }
  40115. }
  40116. }
  40117. if (_this._lastVariableName === $name) {
  40118. t1 = _this._lastVariableIndex;
  40119. t1.toString;
  40120. index = t1;
  40121. } else
  40122. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  40123. if (!_this._inSemiGlobalScope && index === 0) {
  40124. index = _this._variables.length - 1;
  40125. _this._variableIndices.$indexSet(0, $name, index);
  40126. }
  40127. _this._lastVariableName = $name;
  40128. _this._lastVariableIndex = index;
  40129. J.$indexSet$ax(_this._variables[index], $name, value);
  40130. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  40131. },
  40132. setVariable$4$global($name, value, nodeWithSpan, global) {
  40133. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  40134. },
  40135. setLocalVariable$3($name, value, nodeWithSpan) {
  40136. var index, _this = this,
  40137. t1 = _this._variables,
  40138. t2 = t1.length;
  40139. _this._lastVariableName = $name;
  40140. index = _this._lastVariableIndex = t2 - 1;
  40141. _this._variableIndices.$indexSet(0, $name, index);
  40142. J.$indexSet$ax(t1[index], $name, value);
  40143. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  40144. },
  40145. getFunction$2$namespace($name, namespace) {
  40146. var t1, index, _this = this;
  40147. if (namespace != null) {
  40148. t1 = _this._getModule$1(namespace);
  40149. return t1.get$functions(t1).$index(0, $name);
  40150. }
  40151. t1 = _this._functionIndices;
  40152. index = t1.$index(0, $name);
  40153. if (index != null) {
  40154. t1 = J.$index$asx(_this._functions[index], $name);
  40155. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  40156. }
  40157. index = _this._functionIndex$1($name);
  40158. if (index == null)
  40159. return _this._getFunctionFromGlobalModule$1($name);
  40160. t1.$indexSet(0, $name, index);
  40161. t1 = J.$index$asx(_this._functions[index], $name);
  40162. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  40163. },
  40164. _getFunctionFromGlobalModule$1($name) {
  40165. return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
  40166. },
  40167. _functionIndex$1($name) {
  40168. var t1, i;
  40169. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  40170. if (t1[i].containsKey$1($name))
  40171. return i;
  40172. return null;
  40173. },
  40174. getMixin$2$namespace($name, namespace) {
  40175. var t1, index, _this = this;
  40176. if (namespace != null)
  40177. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  40178. t1 = _this._mixinIndices;
  40179. index = t1.$index(0, $name);
  40180. if (index != null) {
  40181. t1 = J.$index$asx(_this._mixins[index], $name);
  40182. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  40183. }
  40184. index = _this._mixinIndex$1($name);
  40185. if (index == null)
  40186. return _this._getMixinFromGlobalModule$1($name);
  40187. t1.$indexSet(0, $name, index);
  40188. t1 = J.$index$asx(_this._mixins[index], $name);
  40189. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  40190. },
  40191. _getMixinFromGlobalModule$1($name) {
  40192. return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
  40193. },
  40194. _mixinIndex$1($name) {
  40195. var t1, i;
  40196. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  40197. if (t1[i].containsKey$1($name))
  40198. return i;
  40199. return null;
  40200. },
  40201. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  40202. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  40203. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  40204. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  40205. _this._inSemiGlobalScope = semiGlobal;
  40206. if (!when)
  40207. try {
  40208. t1 = callback.call$0();
  40209. return t1;
  40210. } finally {
  40211. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  40212. }
  40213. t1 = _this._variables;
  40214. t2 = type$.String;
  40215. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  40216. t3 = _this._variableNodes;
  40217. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  40218. t4 = _this._functions;
  40219. t5 = type$.Callable;
  40220. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40221. t6 = _this._mixins;
  40222. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40223. t5 = _this._nestedForwardedModules;
  40224. if (t5 != null)
  40225. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  40226. try {
  40227. t2 = callback.call$0();
  40228. return t2;
  40229. } finally {
  40230. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  40231. _this._lastVariableIndex = _this._lastVariableName = null;
  40232. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  40233. $name = t1.get$current(t1);
  40234. t2.remove$1(0, $name);
  40235. }
  40236. B.JSArray_methods.removeLast$0(t3);
  40237. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  40238. name0 = t1.get$current(t1);
  40239. t2.remove$1(0, name0);
  40240. }
  40241. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  40242. name1 = t1.get$current(t1);
  40243. t2.remove$1(0, name1);
  40244. }
  40245. t1 = _this._nestedForwardedModules;
  40246. if (t1 != null)
  40247. t1.pop();
  40248. }
  40249. },
  40250. scope$1$1(callback, $T) {
  40251. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  40252. },
  40253. scope$1$2$when(callback, when, $T) {
  40254. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  40255. },
  40256. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  40257. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  40258. },
  40259. toImplicitConfiguration$0() {
  40260. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  40261. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  40262. for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
  40263. values = t1[i];
  40264. nodes = t2[i];
  40265. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  40266. t4 = t3.get$current(t3);
  40267. t5 = t4.key;
  40268. t4 = t4.value;
  40269. t6 = nodes.$index(0, t5);
  40270. t6.toString;
  40271. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  40272. }
  40273. }
  40274. return new A.Configuration(configuration, null);
  40275. },
  40276. toModule$2(css, extensionStore) {
  40277. return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  40278. },
  40279. toDummyModule$0() {
  40280. return A._EnvironmentModule__EnvironmentModule(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  40281. },
  40282. _getModule$1(namespace) {
  40283. var module = this._environment$_modules.$index(0, namespace);
  40284. if (module != null)
  40285. return module;
  40286. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  40287. },
  40288. _fromOneModule$1$3($name, type, callback, $T) {
  40289. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  40290. nestedForwardedModules = this._nestedForwardedModules;
  40291. if (nestedForwardedModules != null)
  40292. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  40293. t3 = t1.__internal$_current;
  40294. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  40295. t5 = t3.__internal$_current;
  40296. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  40297. if (value != null)
  40298. return value;
  40299. }
  40300. }
  40301. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  40302. value = callback.call$1(t1.__js_helper$_current);
  40303. if (value != null)
  40304. return value;
  40305. }
  40306. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  40307. t4 = t2.__js_helper$_current;
  40308. valueInModule = callback.call$1(t4);
  40309. if (valueInModule == null)
  40310. continue;
  40311. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  40312. if (identityFromModule.$eq(0, identity))
  40313. continue;
  40314. if (value != null) {
  40315. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  40316. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  40317. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  40318. t4 = t1.get$current(t1);
  40319. if (t4 != null)
  40320. t2.$indexSet(0, t4, t3);
  40321. }
  40322. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  40323. }
  40324. identity = identityFromModule;
  40325. value = valueInModule;
  40326. }
  40327. return value;
  40328. }
  40329. };
  40330. A.Environment_importForwards_closure.prototype = {
  40331. call$1(module) {
  40332. var t1 = module.get$variables();
  40333. return t1.get$keys(t1);
  40334. },
  40335. $signature: 127
  40336. };
  40337. A.Environment_importForwards_closure0.prototype = {
  40338. call$1(module) {
  40339. var t1 = module.get$functions(module);
  40340. return t1.get$keys(t1);
  40341. },
  40342. $signature: 127
  40343. };
  40344. A.Environment_importForwards_closure1.prototype = {
  40345. call$1(module) {
  40346. var t1 = module.get$mixins();
  40347. return t1.get$keys(t1);
  40348. },
  40349. $signature: 127
  40350. };
  40351. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  40352. call$1(module) {
  40353. return module.get$variables().$index(0, this.name);
  40354. },
  40355. $signature: 313
  40356. };
  40357. A.Environment_setVariable_closure.prototype = {
  40358. call$0() {
  40359. var t1 = this.$this;
  40360. t1._lastVariableName = this.name;
  40361. return t1._lastVariableIndex = 0;
  40362. },
  40363. $signature: 12
  40364. };
  40365. A.Environment_setVariable_closure0.prototype = {
  40366. call$1(module) {
  40367. return module.get$variables().containsKey$1(this.name) ? module : null;
  40368. },
  40369. $signature: 314
  40370. };
  40371. A.Environment_setVariable_closure1.prototype = {
  40372. call$0() {
  40373. var t1 = this.$this,
  40374. t2 = t1._variableIndex$1(this.name);
  40375. return t2 == null ? t1._variables.length - 1 : t2;
  40376. },
  40377. $signature: 12
  40378. };
  40379. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  40380. call$1(module) {
  40381. return module.get$functions(module).$index(0, this.name);
  40382. },
  40383. $signature: 247
  40384. };
  40385. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  40386. call$1(module) {
  40387. return module.get$mixins().$index(0, this.name);
  40388. },
  40389. $signature: 247
  40390. };
  40391. A.Environment_toModule_closure.prototype = {
  40392. call$1(modules) {
  40393. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  40394. },
  40395. $signature: 248
  40396. };
  40397. A.Environment_toDummyModule_closure.prototype = {
  40398. call$1(modules) {
  40399. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  40400. },
  40401. $signature: 248
  40402. };
  40403. A.Environment__fromOneModule_closure.prototype = {
  40404. call$1(entry) {
  40405. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
  40406. },
  40407. $signature: 319
  40408. };
  40409. A.Environment__fromOneModule__closure.prototype = {
  40410. call$1(_) {
  40411. return J.get$span$z(this.entry.value);
  40412. },
  40413. $signature() {
  40414. return this.T._eval$1("FileSpan(0)");
  40415. }
  40416. };
  40417. A._EnvironmentModule.prototype = {
  40418. get$url(_) {
  40419. var t1 = this.css;
  40420. t1 = t1.get$span(t1);
  40421. return t1.get$sourceUrl(t1);
  40422. },
  40423. setVariable$3($name, value, nodeWithSpan) {
  40424. var t1, t2,
  40425. module = this._modulesByVariable.$index(0, $name);
  40426. if (module != null) {
  40427. module.setVariable$3($name, value, nodeWithSpan);
  40428. return;
  40429. }
  40430. t1 = this._environment$_environment;
  40431. t2 = t1._variables;
  40432. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  40433. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  40434. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  40435. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  40436. return;
  40437. },
  40438. variableIdentity$1($name) {
  40439. var module = this._modulesByVariable.$index(0, $name);
  40440. return module == null ? this : module.variableIdentity$1($name);
  40441. },
  40442. cloneCss$0() {
  40443. var newCssAndExtensionStore, _this = this,
  40444. t1 = _this.css;
  40445. if (J.get$isEmpty$asx(t1.get$children(t1)))
  40446. return _this;
  40447. newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
  40448. return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
  40449. },
  40450. toString$0(_) {
  40451. var t1 = this.css,
  40452. t2 = t1.get$span(t1);
  40453. if (t2.get$sourceUrl(t2) == null)
  40454. t1 = "<unknown url>";
  40455. else {
  40456. t1 = t1.get$span(t1);
  40457. t1 = t1.get$sourceUrl(t1);
  40458. t1 = $.$get$context().prettyUri$1(t1);
  40459. }
  40460. return t1;
  40461. },
  40462. $isModule: 1,
  40463. get$upstream() {
  40464. return this.upstream;
  40465. },
  40466. get$variables() {
  40467. return this.variables;
  40468. },
  40469. get$variableNodes() {
  40470. return this.variableNodes;
  40471. },
  40472. get$functions(receiver) {
  40473. return this.functions;
  40474. },
  40475. get$mixins() {
  40476. return this.mixins;
  40477. },
  40478. get$extensionStore() {
  40479. return this.extensionStore;
  40480. },
  40481. get$css(receiver) {
  40482. return this.css;
  40483. },
  40484. get$transitivelyContainsCss() {
  40485. return this.transitivelyContainsCss;
  40486. },
  40487. get$transitivelyContainsExtensions() {
  40488. return this.transitivelyContainsExtensions;
  40489. }
  40490. };
  40491. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  40492. call$1(module) {
  40493. return module.get$variables();
  40494. },
  40495. $signature: 322
  40496. };
  40497. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  40498. call$1(module) {
  40499. return module.get$variableNodes();
  40500. },
  40501. $signature: 323
  40502. };
  40503. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  40504. call$1(module) {
  40505. return module.get$functions(module);
  40506. },
  40507. $signature: 252
  40508. };
  40509. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  40510. call$1(module) {
  40511. return module.get$mixins();
  40512. },
  40513. $signature: 252
  40514. };
  40515. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  40516. call$1(module) {
  40517. return module.get$transitivelyContainsCss();
  40518. },
  40519. $signature: 125
  40520. };
  40521. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  40522. call$1(module) {
  40523. return module.get$transitivelyContainsExtensions();
  40524. },
  40525. $signature: 125
  40526. };
  40527. A.SassException.prototype = {
  40528. get$trace(_) {
  40529. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  40530. },
  40531. get$span(_) {
  40532. return A.SourceSpanException.prototype.get$span.call(this, this);
  40533. },
  40534. toString$1$color(_, color) {
  40535. var t2, _i, frame, t3, _this = this,
  40536. buffer = new A.StringBuffer(""),
  40537. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  40538. buffer._contents = t1;
  40539. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  40540. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  40541. frame = t1[_i];
  40542. if (J.get$length$asx(frame) === 0)
  40543. continue;
  40544. t3 = buffer._contents += "\n";
  40545. buffer._contents = t3 + (" " + A.S(frame));
  40546. }
  40547. t1 = buffer._contents;
  40548. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40549. },
  40550. toString$0($receiver) {
  40551. return this.toString$1$color($receiver, null);
  40552. },
  40553. toCssString$0() {
  40554. var commentMessage, stringMessage, rune,
  40555. t1 = $._glyphs,
  40556. t2 = $._glyphs = B.C_AsciiGlyphSet,
  40557. t3 = this.toString$1$color(0, false);
  40558. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  40559. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  40560. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  40561. stringMessage = new A.StringBuffer("");
  40562. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  40563. rune = t1._currentCodePoint;
  40564. t2 = stringMessage._contents;
  40565. if (rune > 255) {
  40566. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
  40567. t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  40568. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
  40569. } else
  40570. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
  40571. }
  40572. return "/* " + B.JSArray_methods.join$1(A._setArrayType(commentMessage.split("\n"), type$.JSArray_String), "\n * ") + ' */\n\nbody::before {\n font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",\n "Droid Sans Mono", monospace, monospace;\n white-space: pre;\n display: block;\n padding: 1em;\n margin-bottom: 1em;\n border-bottom: 2px solid black;\n content: ' + stringMessage.toString$0(0) + ";\n}";
  40573. }
  40574. };
  40575. A.MultiSpanSassException.prototype = {
  40576. toString$1$color(_, color) {
  40577. var t1, t2, _i, frame, _this = this,
  40578. useColor = color === true && true,
  40579. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  40580. A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  40581. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  40582. frame = t1[_i];
  40583. if (J.get$length$asx(frame) === 0)
  40584. continue;
  40585. buffer._contents += "\n";
  40586. buffer._contents += " " + A.S(frame);
  40587. }
  40588. t1 = buffer._contents;
  40589. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40590. },
  40591. toString$0($receiver) {
  40592. return this.toString$1$color($receiver, null);
  40593. }
  40594. };
  40595. A.SassRuntimeException.prototype = {
  40596. get$trace(receiver) {
  40597. return this.trace;
  40598. }
  40599. };
  40600. A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
  40601. get$trace(receiver) {
  40602. return this.trace;
  40603. }
  40604. };
  40605. A.SassFormatException.prototype = {
  40606. get$source() {
  40607. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  40608. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  40609. },
  40610. $isFormatException: 1,
  40611. $isSourceSpanFormatException: 1
  40612. };
  40613. A.SassScriptException.prototype = {
  40614. toString$0(_) {
  40615. return this.message + string$.x0a_BUG_;
  40616. },
  40617. get$message(receiver) {
  40618. return this.message;
  40619. }
  40620. };
  40621. A.MultiSpanSassScriptException.prototype = {};
  40622. A._writeSourceMap_closure.prototype = {
  40623. call$1(url) {
  40624. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  40625. },
  40626. $signature: 5
  40627. };
  40628. A.ExecutableOptions.prototype = {
  40629. get$interactive() {
  40630. var result, _this = this,
  40631. value = _this.__ExecutableOptions_interactive_FI;
  40632. if (value === $) {
  40633. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  40634. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  40635. _this.__ExecutableOptions_interactive_FI = result;
  40636. value = result;
  40637. }
  40638. return value;
  40639. },
  40640. get$color() {
  40641. var t1 = this._options;
  40642. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  40643. },
  40644. get$emitErrorCss() {
  40645. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  40646. if (t1 == null) {
  40647. this._ensureSources$0();
  40648. t1 = this._sourcesToDestinations;
  40649. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  40650. }
  40651. return t1;
  40652. },
  40653. _ensureSources$0() {
  40654. var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
  40655. _s18_ = 'Duplicate source "';
  40656. if (_this._sourcesToDestinations != null)
  40657. return;
  40658. t1 = _this._options;
  40659. stdin = A._asBool(t1.$index(0, "stdin"));
  40660. t2 = t1.rest;
  40661. if (t2.get$length(t2) === 0 && !stdin)
  40662. A.ExecutableOptions__fail("Compile Sass to CSS.");
  40663. t3 = type$.String;
  40664. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  40665. for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
  40666. t6 = t4.__internal$_current;
  40667. if (t6 == null)
  40668. t6 = t5._as(t6);
  40669. t7 = t6.length;
  40670. if (t7 === 0)
  40671. A.ExecutableOptions__fail('Invalid argument "".');
  40672. if (A.stringContainsUnchecked(t6, ":", 0)) {
  40673. if (t7 > 2) {
  40674. t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
  40675. if (!(t8 >= 97 && t8 <= 122))
  40676. t8 = t8 >= 65 && t8 <= 90;
  40677. else
  40678. t8 = true;
  40679. t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
  40680. } else
  40681. t8 = false;
  40682. if (t8) {
  40683. if (2 > t7)
  40684. A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
  40685. t7 = A.stringContainsUnchecked(t6, ":", 2);
  40686. } else
  40687. t7 = true;
  40688. } else
  40689. t7 = false;
  40690. if (t7)
  40691. colonArgs = true;
  40692. else if (A.dirExists(t6))
  40693. $directories.add$1(0, t6);
  40694. else
  40695. positionalArgs = true;
  40696. }
  40697. if (positionalArgs || t2.get$length(t2) === 0) {
  40698. if (colonArgs)
  40699. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  40700. else if (stdin) {
  40701. if (J.get$length$asx(t2._collection$_source) > 1)
  40702. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  40703. else if (A._asBool(t1.$index(0, "update")))
  40704. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  40705. else if (A._asBool(t1.$index(0, "watch")))
  40706. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  40707. t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
  40708. t2 = type$.dynamic;
  40709. t3 = type$.nullable_String;
  40710. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  40711. } else {
  40712. t3 = t2._collection$_source;
  40713. t4 = J.getInterceptor$asx(t3);
  40714. if (t4.get$length(t3) > 2)
  40715. A.ExecutableOptions__fail("Only two positional args may be passed.");
  40716. else if ($directories._collection$_length !== 0) {
  40717. message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
  40718. target = t2.get$last(t2);
  40719. A.ExecutableOptions__fail(J.$eq$($directories.get$first($directories), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first($directories)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first($directories)) + ":" + target + "`.") : message);
  40720. } else {
  40721. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  40722. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  40723. if (destination == null)
  40724. if (A._asBool(t1.$index(0, "update")))
  40725. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  40726. else if (A._asBool(t1.$index(0, "watch")))
  40727. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  40728. t1 = A.PathMap__create(_null, type$.nullable_String);
  40729. t1.$indexSet(0, source, destination);
  40730. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  40731. }
  40732. }
  40733. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  40734. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty5;
  40735. return;
  40736. }
  40737. if (stdin)
  40738. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  40739. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  40740. t1 = A.PathMap__create(_null, t3);
  40741. t4 = type$.PathMap_String;
  40742. t3 = A.PathMap__create(_null, t3);
  40743. for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  40744. t6 = t2.__internal$_current;
  40745. if (t6 == null)
  40746. t6 = t5._as(t6);
  40747. if ($directories.contains$1(0, t6)) {
  40748. if (!seen.add$1(0, t6))
  40749. A.ExecutableOptions__fail(_s18_ + t6 + '".');
  40750. t3.$indexSet(0, t6, t6);
  40751. t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
  40752. continue;
  40753. }
  40754. sourceAndDestination = _this._splitSourceAndDestination$1(t6);
  40755. source = sourceAndDestination.item1;
  40756. destination = sourceAndDestination.item2;
  40757. if (!seen.add$1(0, source))
  40758. A.ExecutableOptions__fail(_s18_ + source + '".');
  40759. if (source === "-")
  40760. t1.$indexSet(0, _null, destination);
  40761. else if (A.dirExists(source)) {
  40762. t3.$indexSet(0, source, destination);
  40763. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  40764. } else
  40765. t1.$indexSet(0, source, destination);
  40766. }
  40767. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  40768. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  40769. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
  40770. },
  40771. _splitSourceAndDestination$1(argument) {
  40772. var t1, i, t2, t3, nextColon;
  40773. for (t1 = argument.length, i = 0; i < t1; ++i) {
  40774. if (i === 1) {
  40775. t2 = i - 1;
  40776. if (t1 > t2 + 2) {
  40777. t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
  40778. if (!(t3 >= 97 && t3 <= 122))
  40779. t3 = t3 >= 65 && t3 <= 90;
  40780. else
  40781. t3 = true;
  40782. t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
  40783. } else
  40784. t2 = false;
  40785. } else
  40786. t2 = false;
  40787. if (t2)
  40788. continue;
  40789. if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
  40790. t2 = i + 1;
  40791. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  40792. if (nextColon === i + 2)
  40793. if (t1 > t2 + 2) {
  40794. t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
  40795. if (!(t1 >= 97 && t1 <= 122))
  40796. t1 = t1 >= 65 && t1 <= 90;
  40797. else
  40798. t1 = true;
  40799. t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
  40800. } else
  40801. t1 = false;
  40802. else
  40803. t1 = false;
  40804. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  40805. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  40806. return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
  40807. }
  40808. }
  40809. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  40810. },
  40811. _listSourceDirectory$2(source, destination) {
  40812. var t2, t3, t4, t5, t6, t7, parts,
  40813. t1 = type$.String;
  40814. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  40815. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String; t2.moveNext$0();) {
  40816. t6 = t2.get$current(t2);
  40817. if (this._isEntrypoint$1(t6))
  40818. t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  40819. else
  40820. t7 = false;
  40821. if (t7) {
  40822. t7 = $.$get$context();
  40823. parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
  40824. A._validateArgList("join", parts);
  40825. t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
  40826. }
  40827. }
  40828. return t1;
  40829. },
  40830. _isEntrypoint$1(path) {
  40831. var extension,
  40832. t1 = $.$get$context().style;
  40833. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  40834. return false;
  40835. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  40836. return extension === ".scss" || extension === ".sass" || extension === ".css";
  40837. },
  40838. get$_writeToStdout() {
  40839. var t1, _this = this;
  40840. _this._ensureSources$0();
  40841. t1 = _this._sourcesToDestinations;
  40842. if (t1.get$length(t1) === 1) {
  40843. _this._ensureSources$0();
  40844. t1 = _this._sourcesToDestinations;
  40845. t1 = t1.get$values(t1);
  40846. t1 = t1.get$single(t1) == null;
  40847. } else
  40848. t1 = false;
  40849. return t1;
  40850. },
  40851. get$emitSourceMap() {
  40852. var _this = this,
  40853. _s10_ = "source-map",
  40854. _s15_ = "source-map-urls",
  40855. _s13_ = "embed-sources",
  40856. _s16_ = "embed-source-map",
  40857. t1 = _this._options;
  40858. if (!A._asBool(t1.$index(0, _s10_)))
  40859. if (t1.wasParsed$1(_s15_))
  40860. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  40861. else if (t1.wasParsed$1(_s13_))
  40862. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  40863. else if (t1.wasParsed$1(_s16_))
  40864. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  40865. if (!_this.get$_writeToStdout())
  40866. return A._asBool(t1.$index(0, _s10_));
  40867. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  40868. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  40869. if (A._asBool(t1.$index(0, _s16_)))
  40870. return A._asBool(t1.$index(0, _s10_));
  40871. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  40872. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  40873. else if (t1.wasParsed$1(_s15_))
  40874. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  40875. else if (A._asBool(t1.$index(0, _s13_)))
  40876. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  40877. else
  40878. return false;
  40879. },
  40880. sourceMapUrl$2(_, url, destination) {
  40881. var t1, path, t2, _null = null;
  40882. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  40883. return url;
  40884. t1 = $.$get$context();
  40885. path = t1.style.pathFromUri$1(A._parseUri(url));
  40886. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  40887. destination.toString;
  40888. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  40889. } else
  40890. t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
  40891. return t1.toUri$1(t2);
  40892. },
  40893. _ifParsed$1($name) {
  40894. var t1 = this._options;
  40895. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  40896. }
  40897. };
  40898. A.ExecutableOptions__parser_closure.prototype = {
  40899. call$0() {
  40900. var t1 = type$.String,
  40901. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  40902. t3 = [],
  40903. parser = new A.ArgParser(t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.UnmodifiableMapView(t2, type$.UnmodifiableMapView_String_Option), new A.UnmodifiableMapView(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArgParser), type$.UnmodifiableMapView_String_ArgParser), t3, true, null);
  40904. parser.addOption$2$hide("precision", true);
  40905. parser.addFlag$2$hide("async", true);
  40906. t3.push(A.ExecutableOptions__separator("Input and Output"));
  40907. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  40908. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  40909. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  40910. t1 = type$.JSArray_String;
  40911. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
  40912. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  40913. parser.addFlag$3$defaultsTo$help("error-css", null, "When an error occurs, emit a stylesheet describing it.\nDefaults to true when compiling to a file.");
  40914. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  40915. t3.push(A.ExecutableOptions__separator("Source Maps"));
  40916. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  40917. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
  40918. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  40919. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  40920. t3.push(A.ExecutableOptions__separator("Other"));
  40921. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  40922. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  40923. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  40924. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  40925. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  40926. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  40927. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  40928. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  40929. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  40930. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  40931. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  40932. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  40933. return parser;
  40934. },
  40935. $signature: 589
  40936. };
  40937. A.ExecutableOptions_interactive_closure.prototype = {
  40938. call$0() {
  40939. var invalidOptions, _i, option,
  40940. t1 = this.$this._options;
  40941. if (!A._asBool(t1.$index(0, "interactive")))
  40942. return false;
  40943. invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
  40944. for (_i = 0; _i < 9; ++_i) {
  40945. option = invalidOptions[_i];
  40946. if (!t1._parser.options._map.containsKey$1(option))
  40947. A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
  40948. if (t1._parsed.containsKey$1(option))
  40949. throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
  40950. }
  40951. return true;
  40952. },
  40953. $signature: 28
  40954. };
  40955. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  40956. call$1(destination) {
  40957. return destination != null;
  40958. },
  40959. $signature: 166
  40960. };
  40961. A.UsageException.prototype = {$isException: 1,
  40962. get$message(receiver) {
  40963. return this.message;
  40964. }
  40965. };
  40966. A.watch_closure.prototype = {
  40967. call$1(dir) {
  40968. for (; !A.dirExists(dir);)
  40969. dir = $.$get$context().dirname$1(dir);
  40970. return this.dirWatcher.watch$1(0, dir);
  40971. },
  40972. $signature: 340
  40973. };
  40974. A._Watcher.prototype = {
  40975. compile$3$ifModified(_, source, destination, ifModified) {
  40976. return this.compile$body$_Watcher(0, source, destination, ifModified);
  40977. },
  40978. compile$2($receiver, source, destination) {
  40979. return this.compile$3$ifModified($receiver, source, destination, false);
  40980. },
  40981. compile$body$_Watcher(_, source, destination, ifModified) {
  40982. var $async$goto = 0,
  40983. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  40984. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
  40985. var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40986. if ($async$errorCode === 1) {
  40987. $async$currentError = $async$result;
  40988. $async$goto = $async$handler;
  40989. }
  40990. while (true)
  40991. switch ($async$goto) {
  40992. case 0:
  40993. // Function start
  40994. $async$handler = 4;
  40995. $async$goto = 7;
  40996. return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
  40997. case 7:
  40998. // returning from await.
  40999. $async$returnValue = true;
  41000. // goto return
  41001. $async$goto = 1;
  41002. break;
  41003. $async$handler = 2;
  41004. // goto after finally
  41005. $async$goto = 6;
  41006. break;
  41007. case 4:
  41008. // catch
  41009. $async$handler = 3;
  41010. $async$exception = $async$currentError;
  41011. t1 = A.unwrapException($async$exception);
  41012. if (t1 instanceof A.SassException) {
  41013. error = t1;
  41014. stackTrace = A.getTraceFromException($async$exception);
  41015. t1 = $async$self._watch$_options;
  41016. if (!t1.get$emitErrorCss())
  41017. $async$self._delete$1(destination);
  41018. t1 = J.toString$1$color$(error, t1.get$color());
  41019. t2 = A.getTrace(error);
  41020. $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
  41021. J.set$exitCode$x(self.process, 65);
  41022. $async$returnValue = false;
  41023. // goto return
  41024. $async$goto = 1;
  41025. break;
  41026. } else if (t1 instanceof A.FileSystemException) {
  41027. error0 = t1;
  41028. stackTrace0 = A.getTraceFromException($async$exception);
  41029. path = error0.path;
  41030. t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  41031. t2 = A.getTrace(error0);
  41032. $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
  41033. J.set$exitCode$x(self.process, 66);
  41034. $async$returnValue = false;
  41035. // goto return
  41036. $async$goto = 1;
  41037. break;
  41038. } else
  41039. throw $async$exception;
  41040. // goto after finally
  41041. $async$goto = 6;
  41042. break;
  41043. case 3:
  41044. // uncaught
  41045. // goto rethrow
  41046. $async$goto = 2;
  41047. break;
  41048. case 6:
  41049. // after finally
  41050. case 1:
  41051. // return
  41052. return A._asyncReturn($async$returnValue, $async$completer);
  41053. case 2:
  41054. // rethrow
  41055. return A._asyncRethrow($async$currentError, $async$completer);
  41056. }
  41057. });
  41058. return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
  41059. },
  41060. _delete$1(path) {
  41061. var buffer, t1, exception;
  41062. try {
  41063. A.deleteFile(path);
  41064. buffer = new A.StringBuffer("");
  41065. t1 = this._watch$_options;
  41066. if (t1.get$color())
  41067. buffer._contents += "\x1b[33m";
  41068. buffer._contents += "Deleted " + path + ".";
  41069. if (t1.get$color())
  41070. buffer._contents += "\x1b[0m";
  41071. A.print(buffer);
  41072. } catch (exception) {
  41073. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  41074. throw exception;
  41075. }
  41076. },
  41077. _printError$2(message, stackTrace) {
  41078. var t2,
  41079. t1 = $.$get$stderr();
  41080. t1.writeln$1(message);
  41081. t2 = this._watch$_options._options;
  41082. if (A._asBool(t2.$index(0, "trace"))) {
  41083. t1.writeln$0();
  41084. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  41085. }
  41086. if (!A._asBool(t2.$index(0, "stop-on-error")))
  41087. t1.writeln$0();
  41088. },
  41089. watch$1(_, watcher) {
  41090. return this.watch$body$_Watcher(0, watcher);
  41091. },
  41092. watch$body$_Watcher(_, watcher) {
  41093. var $async$goto = 0,
  41094. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  41095. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  41096. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41097. if ($async$errorCode === 1) {
  41098. $async$currentError = $async$result;
  41099. $async$goto = $async$handler;
  41100. }
  41101. while (true)
  41102. switch ($async$goto) {
  41103. case 0:
  41104. // Function start
  41105. t1 = watcher._group.__StreamGroup__controller_A;
  41106. t1 === $ && A.throwUnnamedLateFieldNI();
  41107. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  41108. $async$handler = 3;
  41109. t2 = $async$self._watch$_options._options;
  41110. case 6:
  41111. // for condition
  41112. $async$goto = 8;
  41113. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  41114. case 8:
  41115. // returning from await.
  41116. if (!$async$result) {
  41117. // goto after for
  41118. $async$goto = 7;
  41119. break;
  41120. }
  41121. $event = t1.get$current(t1);
  41122. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  41123. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  41124. // goto for condition
  41125. $async$goto = 6;
  41126. break;
  41127. }
  41128. case 9:
  41129. // switch
  41130. switch ($event.type) {
  41131. case B.ChangeType_modify:
  41132. // goto case
  41133. $async$goto = 11;
  41134. break;
  41135. case B.ChangeType_add:
  41136. // goto case
  41137. $async$goto = 12;
  41138. break;
  41139. case B.ChangeType_remove:
  41140. // goto case
  41141. $async$goto = 13;
  41142. break;
  41143. default:
  41144. // goto after switch
  41145. $async$goto = 10;
  41146. break;
  41147. }
  41148. break;
  41149. case 11:
  41150. // case
  41151. $async$goto = 14;
  41152. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  41153. case 14:
  41154. // returning from await.
  41155. success = $async$result;
  41156. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  41157. $async$next = [1];
  41158. // goto finally
  41159. $async$goto = 4;
  41160. break;
  41161. }
  41162. // goto after switch
  41163. $async$goto = 10;
  41164. break;
  41165. case 12:
  41166. // case
  41167. $async$goto = 15;
  41168. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  41169. case 15:
  41170. // returning from await.
  41171. success0 = $async$result;
  41172. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  41173. $async$next = [1];
  41174. // goto finally
  41175. $async$goto = 4;
  41176. break;
  41177. }
  41178. // goto after switch
  41179. $async$goto = 10;
  41180. break;
  41181. case 13:
  41182. // case
  41183. $async$goto = 16;
  41184. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  41185. case 16:
  41186. // returning from await.
  41187. success1 = $async$result;
  41188. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  41189. $async$next = [1];
  41190. // goto finally
  41191. $async$goto = 4;
  41192. break;
  41193. }
  41194. // goto after switch
  41195. $async$goto = 10;
  41196. break;
  41197. case 10:
  41198. // after switch
  41199. // goto for condition
  41200. $async$goto = 6;
  41201. break;
  41202. case 7:
  41203. // after for
  41204. $async$next.push(5);
  41205. // goto finally
  41206. $async$goto = 4;
  41207. break;
  41208. case 3:
  41209. // uncaught
  41210. $async$next = [2];
  41211. case 4:
  41212. // finally
  41213. $async$handler = 2;
  41214. $async$goto = 17;
  41215. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  41216. case 17:
  41217. // returning from await.
  41218. // goto the next finally handler
  41219. $async$goto = $async$next.pop();
  41220. break;
  41221. case 5:
  41222. // after finally
  41223. case 1:
  41224. // return
  41225. return A._asyncReturn($async$returnValue, $async$completer);
  41226. case 2:
  41227. // rethrow
  41228. return A._asyncRethrow($async$currentError, $async$completer);
  41229. }
  41230. });
  41231. return A._asyncStartSync($async$watch$1, $async$completer);
  41232. },
  41233. _handleModify$1(path) {
  41234. return this._handleModify$body$_Watcher(path);
  41235. },
  41236. _handleModify$body$_Watcher(path) {
  41237. var $async$goto = 0,
  41238. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41239. $async$returnValue, $async$self = this, t1, t2, t0, url, node;
  41240. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41241. if ($async$errorCode === 1)
  41242. return A._asyncRethrow($async$result, $async$completer);
  41243. while (true)
  41244. switch ($async$goto) {
  41245. case 0:
  41246. // Function start
  41247. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  41248. t1 = $.$get$context();
  41249. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
  41250. t0 = t2;
  41251. t2 = t1;
  41252. t1 = t0;
  41253. } else {
  41254. t1 = $.$get$context();
  41255. t2 = t1.canonicalize$1(0, path);
  41256. t0 = t2;
  41257. t2 = t1;
  41258. t1 = t0;
  41259. }
  41260. url = t2.toUri$1(t1);
  41261. t1 = $async$self._graph;
  41262. node = t1._nodes.$index(0, url);
  41263. if (node == null) {
  41264. $async$returnValue = $async$self._handleAdd$1(path);
  41265. // goto return
  41266. $async$goto = 1;
  41267. break;
  41268. }
  41269. t1.reload$1(url);
  41270. $async$goto = 3;
  41271. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  41272. case 3:
  41273. // returning from await.
  41274. $async$returnValue = $async$result;
  41275. // goto return
  41276. $async$goto = 1;
  41277. break;
  41278. case 1:
  41279. // return
  41280. return A._asyncReturn($async$returnValue, $async$completer);
  41281. }
  41282. });
  41283. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  41284. },
  41285. _handleAdd$1(path) {
  41286. return this._handleAdd$body$_Watcher(path);
  41287. },
  41288. _handleAdd$body$_Watcher(path) {
  41289. var $async$goto = 0,
  41290. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41291. $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
  41292. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41293. if ($async$errorCode === 1)
  41294. return A._asyncRethrow($async$result, $async$completer);
  41295. while (true)
  41296. switch ($async$goto) {
  41297. case 0:
  41298. // Function start
  41299. destination = $async$self._destinationFor$1(path);
  41300. $async$temp1 = destination == null;
  41301. if ($async$temp1)
  41302. $async$result = $async$temp1;
  41303. else {
  41304. // goto then
  41305. $async$goto = 3;
  41306. break;
  41307. }
  41308. // goto join
  41309. $async$goto = 4;
  41310. break;
  41311. case 3:
  41312. // then
  41313. $async$goto = 5;
  41314. return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
  41315. case 5:
  41316. // returning from await.
  41317. case 4:
  41318. // join
  41319. success = $async$result;
  41320. t1 = $.$get$context();
  41321. t2 = t1.absolute$7(".", null, null, null, null, null, null);
  41322. $async$goto = 6;
  41323. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path))), $async$_handleAdd$1);
  41324. case 6:
  41325. // returning from await.
  41326. $async$returnValue = $async$result && success;
  41327. // goto return
  41328. $async$goto = 1;
  41329. break;
  41330. case 1:
  41331. // return
  41332. return A._asyncReturn($async$returnValue, $async$completer);
  41333. }
  41334. });
  41335. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  41336. },
  41337. _handleRemove$1(path) {
  41338. return this._handleRemove$body$_Watcher(path);
  41339. },
  41340. _handleRemove$body$_Watcher(path) {
  41341. var $async$goto = 0,
  41342. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41343. $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
  41344. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41345. if ($async$errorCode === 1)
  41346. return A._asyncRethrow($async$result, $async$completer);
  41347. while (true)
  41348. switch ($async$goto) {
  41349. case 0:
  41350. // Function start
  41351. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  41352. t1 = $.$get$context();
  41353. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
  41354. t0 = t2;
  41355. t2 = t1;
  41356. t1 = t0;
  41357. } else {
  41358. t1 = $.$get$context();
  41359. t2 = t1.canonicalize$1(0, path);
  41360. t0 = t2;
  41361. t2 = t1;
  41362. t1 = t0;
  41363. }
  41364. url = t2.toUri$1(t1);
  41365. t1 = $async$self._graph;
  41366. t3 = t1._nodes;
  41367. if (t3.containsKey$1(url)) {
  41368. destination = $async$self._destinationFor$1(path);
  41369. if (destination != null)
  41370. $async$self._delete$1(destination);
  41371. }
  41372. t2 = t2.absolute$7(".", null, null, null, null, null, null);
  41373. node = t3.remove$1(0, url);
  41374. t3 = node != null;
  41375. if (t3) {
  41376. t1._transitiveModificationTimes.clear$0(0);
  41377. t1.importCache.clearImport$1(url);
  41378. node._stylesheet_graph$_remove$0();
  41379. }
  41380. toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
  41381. if (t3)
  41382. toRecompile.addAll$1(0, node._downstream);
  41383. $async$goto = 3;
  41384. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  41385. case 3:
  41386. // returning from await.
  41387. $async$returnValue = $async$result;
  41388. // goto return
  41389. $async$goto = 1;
  41390. break;
  41391. case 1:
  41392. // return
  41393. return A._asyncReturn($async$returnValue, $async$completer);
  41394. }
  41395. });
  41396. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  41397. },
  41398. _debounceEvents$1(events) {
  41399. var t1 = type$.WatchEvent;
  41400. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  41401. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  41402. },
  41403. _recompileDownstream$1(nodes) {
  41404. return this._recompileDownstream$body$_Watcher(nodes);
  41405. },
  41406. _recompileDownstream$body$_Watcher(nodes) {
  41407. var $async$goto = 0,
  41408. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41409. $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
  41410. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41411. if ($async$errorCode === 1)
  41412. return A._asyncRethrow($async$result, $async$completer);
  41413. while (true)
  41414. switch ($async$goto) {
  41415. case 0:
  41416. // Function start
  41417. t1 = type$.StylesheetNode;
  41418. seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  41419. toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
  41420. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
  41421. case 3:
  41422. // for condition
  41423. if (!!toRecompile.get$isEmpty(toRecompile)) {
  41424. // goto after for
  41425. $async$goto = 4;
  41426. break;
  41427. }
  41428. node = toRecompile.removeFirst$0();
  41429. if (!seen.add$1(0, node)) {
  41430. // goto for condition
  41431. $async$goto = 3;
  41432. break;
  41433. }
  41434. $async$goto = 5;
  41435. return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
  41436. case 5:
  41437. // returning from await.
  41438. success = $async$result;
  41439. allSucceeded = allSucceeded && success;
  41440. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  41441. $async$returnValue = false;
  41442. // goto return
  41443. $async$goto = 1;
  41444. break;
  41445. }
  41446. toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
  41447. // goto for condition
  41448. $async$goto = 3;
  41449. break;
  41450. case 4:
  41451. // after for
  41452. $async$returnValue = allSucceeded;
  41453. // goto return
  41454. $async$goto = 1;
  41455. break;
  41456. case 1:
  41457. // return
  41458. return A._asyncReturn($async$returnValue, $async$completer);
  41459. }
  41460. });
  41461. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  41462. },
  41463. _compileIfEntrypoint$1(url) {
  41464. return this._compileIfEntrypoint$body$_Watcher(url);
  41465. },
  41466. _compileIfEntrypoint$body$_Watcher(url) {
  41467. var $async$goto = 0,
  41468. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41469. $async$returnValue, $async$self = this, source, destination;
  41470. var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41471. if ($async$errorCode === 1)
  41472. return A._asyncRethrow($async$result, $async$completer);
  41473. while (true)
  41474. switch ($async$goto) {
  41475. case 0:
  41476. // Function start
  41477. if (url.get$scheme() !== "file") {
  41478. $async$returnValue = true;
  41479. // goto return
  41480. $async$goto = 1;
  41481. break;
  41482. }
  41483. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  41484. destination = $async$self._destinationFor$1(source);
  41485. if (destination == null) {
  41486. $async$returnValue = true;
  41487. // goto return
  41488. $async$goto = 1;
  41489. break;
  41490. }
  41491. $async$goto = 3;
  41492. return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
  41493. case 3:
  41494. // returning from await.
  41495. $async$returnValue = $async$result;
  41496. // goto return
  41497. $async$goto = 1;
  41498. break;
  41499. case 1:
  41500. // return
  41501. return A._asyncReturn($async$returnValue, $async$completer);
  41502. }
  41503. });
  41504. return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
  41505. },
  41506. _destinationFor$1(source) {
  41507. var t2, destination, t3, t4, t5, t6, parts,
  41508. t1 = this._watch$_options;
  41509. t1._ensureSources$0();
  41510. t2 = type$.String;
  41511. destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  41512. if (destination != null)
  41513. return destination;
  41514. t3 = $.$get$context();
  41515. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  41516. return null;
  41517. t1._ensureSources$0();
  41518. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  41519. t1 === $ && A.throwUnnamedLateFieldNI();
  41520. t2 = t1.cast$2$0(0, t2, t2);
  41521. t2 = t2.get$entries(t2);
  41522. t2 = t2.get$iterator(t2);
  41523. t1 = type$.JSArray_nullable_String;
  41524. t4 = type$.WhereTypeIterable_String;
  41525. for (; t2.moveNext$0();) {
  41526. t5 = t2.get$current(t2);
  41527. t6 = t5.key;
  41528. if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
  41529. continue;
  41530. parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t1);
  41531. A._validateArgList("join", parts);
  41532. destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
  41533. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  41534. return destination;
  41535. }
  41536. return null;
  41537. }
  41538. };
  41539. A._Watcher__debounceEvents_closure.prototype = {
  41540. call$1(buffer) {
  41541. var t2, t3, t4, oldType,
  41542. t1 = A.PathMap__create(null, type$.ChangeType);
  41543. for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
  41544. t3 = t2.get$current(t2);
  41545. t4 = t3.path;
  41546. oldType = t1.$index(0, t4);
  41547. if (oldType == null)
  41548. t1.$indexSet(0, t4, t3.type);
  41549. else if (t3.type === B.ChangeType_remove)
  41550. t1.$indexSet(0, t4, B.ChangeType_remove);
  41551. else if (oldType !== B.ChangeType_add)
  41552. t1.$indexSet(0, t4, B.ChangeType_modify);
  41553. }
  41554. t2 = A._setArrayType([], type$.JSArray_WatchEvent);
  41555. for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  41556. t3 = t1.get$current(t1);
  41557. t4 = t3.value;
  41558. t3 = t3.key;
  41559. t3.toString;
  41560. t2.push(new A.WatchEvent(t4, t3));
  41561. }
  41562. return t2;
  41563. },
  41564. $signature: 348
  41565. };
  41566. A.EmptyExtensionStore.prototype = {
  41567. get$isEmpty(_) {
  41568. return true;
  41569. },
  41570. get$simpleSelectors() {
  41571. return B.C_EmptyUnmodifiableSet;
  41572. },
  41573. extensionsWhereTarget$1(callback) {
  41574. return B.List_empty5;
  41575. },
  41576. addSelector$3(selector, span, mediaContext) {
  41577. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  41578. },
  41579. addExtension$4(extender, target, extend, mediaContext) {
  41580. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  41581. },
  41582. addExtensions$1(extenders) {
  41583. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  41584. },
  41585. clone$0() {
  41586. return B.Tuple2_EmptyExtensionStore_Map_empty;
  41587. },
  41588. $isExtensionStore: 1
  41589. };
  41590. A.Extension.prototype = {
  41591. toString$0(_) {
  41592. var t1 = this.extender.toString$0(0),
  41593. t2 = this.target.toString$0(0),
  41594. t3 = this.isOptional ? " !optional" : "";
  41595. return t1 + " {@extend " + t2 + t3 + "}";
  41596. }
  41597. };
  41598. A.Extender.prototype = {
  41599. assertCompatibleMediaContext$1(mediaContext) {
  41600. var expectedMediaContext,
  41601. extension = this._extension;
  41602. if (extension == null)
  41603. return;
  41604. expectedMediaContext = extension.mediaContext;
  41605. if (expectedMediaContext == null)
  41606. return;
  41607. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  41608. return;
  41609. throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
  41610. },
  41611. toString$0(_) {
  41612. return A.serializeSelector(this.selector, true);
  41613. }
  41614. };
  41615. A.ExtensionStore.prototype = {
  41616. get$isEmpty(_) {
  41617. return this._extensions.__js_helper$_length === 0;
  41618. },
  41619. get$simpleSelectors() {
  41620. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  41621. },
  41622. extensionsWhereTarget$1($async$callback) {
  41623. var $async$self = this;
  41624. return A._makeSyncStarIterable(function() {
  41625. var callback = $async$callback;
  41626. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  41627. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  41628. if ($async$errorCode === 1) {
  41629. $async$currentError = $async$result;
  41630. $async$goto = $async$handler;
  41631. }
  41632. while (true)
  41633. switch ($async$goto) {
  41634. case 0:
  41635. // Function start
  41636. t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  41637. case 2:
  41638. // for condition
  41639. if (!t1.moveNext$0()) {
  41640. // goto after for
  41641. $async$goto = 3;
  41642. break;
  41643. }
  41644. t2 = t1.get$current(t1);
  41645. if (!callback.call$1(t2.key)) {
  41646. // goto for condition
  41647. $async$goto = 2;
  41648. break;
  41649. }
  41650. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  41651. case 4:
  41652. // for condition
  41653. if (!t2.moveNext$0()) {
  41654. // goto after for
  41655. $async$goto = 5;
  41656. break;
  41657. }
  41658. t3 = t2.get$current(t2);
  41659. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  41660. break;
  41661. case 6:
  41662. // then
  41663. t3 = t3.unmerge$0();
  41664. $async$goto = 9;
  41665. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  41666. case 9:
  41667. // after yield
  41668. // goto join
  41669. $async$goto = 7;
  41670. break;
  41671. case 8:
  41672. // else
  41673. $async$goto = !t3.isOptional ? 10 : 11;
  41674. break;
  41675. case 10:
  41676. // then
  41677. $async$goto = 12;
  41678. return t3;
  41679. case 12:
  41680. // after yield
  41681. case 11:
  41682. // join
  41683. case 7:
  41684. // join
  41685. // goto for condition
  41686. $async$goto = 4;
  41687. break;
  41688. case 5:
  41689. // after for
  41690. // goto for condition
  41691. $async$goto = 2;
  41692. break;
  41693. case 3:
  41694. // after for
  41695. // implicit return
  41696. return A._IterationMarker_endOfIteration();
  41697. case 1:
  41698. // rethrow
  41699. return A._IterationMarker_uncaughtError($async$currentError);
  41700. }
  41701. };
  41702. }, type$.Extension);
  41703. },
  41704. addSelector$3(selector, selectorSpan, mediaContext) {
  41705. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  41706. selector = selector;
  41707. originalSelector = selector;
  41708. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  41709. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
  41710. t3.add$1(0, t1[_i]);
  41711. t1 = _this._extensions;
  41712. if (t1.__js_helper$_length !== 0)
  41713. try {
  41714. selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
  41715. } catch (exception) {
  41716. t1 = A.unwrapException(exception);
  41717. if (t1 instanceof A.SassException) {
  41718. error = t1;
  41719. stackTrace = A.getTraceFromException(exception);
  41720. t1 = error;
  41721. t2 = J.getInterceptor$z(t1);
  41722. t3 = error;
  41723. t4 = J.getInterceptor$z(t3);
  41724. A.throwWithTrace(new A.SassException("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  41725. } else
  41726. throw exception;
  41727. }
  41728. modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
  41729. if (mediaContext != null)
  41730. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  41731. _this._registerSelector$2(selector, modifiableSelector);
  41732. return modifiableSelector;
  41733. },
  41734. _registerSelector$2(list, selector) {
  41735. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  41736. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
  41737. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  41738. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  41739. simple = t6[_i1];
  41740. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  41741. if (!(simple instanceof A.PseudoSelector))
  41742. continue;
  41743. selectorInPseudo = simple.selector;
  41744. if (selectorInPseudo != null)
  41745. this._registerSelector$2(selectorInPseudo, selector);
  41746. }
  41747. },
  41748. addExtension$4(extender, target, extend, mediaContext) {
  41749. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
  41750. selectors = _this._selectors.$index(0, target),
  41751. t1 = _this._extensionsByExtender,
  41752. existingExtensions = t1.$index(0, target),
  41753. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  41754. for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector, t11 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
  41755. complex = t2[_i];
  41756. if (complex.accept$1(B.C__IsUselessVisitor))
  41757. continue;
  41758. complex.get$specificity();
  41759. t12 = new A.Extender(complex, false, t6);
  41760. extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
  41761. existingExtension = sources.$index(0, complex);
  41762. if (existingExtension != null) {
  41763. sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
  41764. continue;
  41765. }
  41766. sources.$indexSet(0, complex, extension);
  41767. for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
  41768. t13 = t12.get$current(t12);
  41769. J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
  41770. t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
  41771. }
  41772. if (!t4 || t9) {
  41773. if (newExtensions == null)
  41774. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
  41775. newExtensions.$indexSet(0, complex, extension);
  41776. }
  41777. }
  41778. if (newExtensions == null)
  41779. return;
  41780. t1 = type$.SimpleSelector;
  41781. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  41782. if (t9) {
  41783. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  41784. if (additionalExtensions != null)
  41785. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
  41786. }
  41787. if (!t4)
  41788. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  41789. },
  41790. _simpleSelectors$1(complex) {
  41791. return this._simpleSelectors$body$ExtensionStore(complex);
  41792. },
  41793. _simpleSelectors$body$ExtensionStore($async$complex) {
  41794. var $async$self = this;
  41795. return A._makeSyncStarIterable(function() {
  41796. var complex = $async$complex;
  41797. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  41798. return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
  41799. if ($async$errorCode === 1) {
  41800. $async$currentError = $async$result;
  41801. $async$goto = $async$handler;
  41802. }
  41803. while (true)
  41804. switch ($async$goto) {
  41805. case 0:
  41806. // Function start
  41807. t1 = complex.components, t2 = t1.length, _i = 0;
  41808. case 2:
  41809. // for condition
  41810. if (!(_i < t2)) {
  41811. // goto after for
  41812. $async$goto = 4;
  41813. break;
  41814. }
  41815. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  41816. case 5:
  41817. // for condition
  41818. if (!(_i0 < t4)) {
  41819. // goto after for
  41820. $async$goto = 7;
  41821. break;
  41822. }
  41823. simple = t3[_i0];
  41824. $async$goto = 8;
  41825. return simple;
  41826. case 8:
  41827. // after yield
  41828. if (!(simple instanceof A.PseudoSelector)) {
  41829. // goto for update
  41830. $async$goto = 6;
  41831. break;
  41832. }
  41833. selector = simple.selector;
  41834. if (selector == null) {
  41835. // goto for update
  41836. $async$goto = 6;
  41837. break;
  41838. }
  41839. t5 = selector.components, t6 = t5.length, _i1 = 0;
  41840. case 9:
  41841. // for condition
  41842. if (!(_i1 < t6)) {
  41843. // goto after for
  41844. $async$goto = 11;
  41845. break;
  41846. }
  41847. $async$goto = 12;
  41848. return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
  41849. case 12:
  41850. // after yield
  41851. case 10:
  41852. // for update
  41853. ++_i1;
  41854. // goto for condition
  41855. $async$goto = 9;
  41856. break;
  41857. case 11:
  41858. // after for
  41859. case 6:
  41860. // for update
  41861. ++_i0;
  41862. // goto for condition
  41863. $async$goto = 5;
  41864. break;
  41865. case 7:
  41866. // after for
  41867. case 3:
  41868. // for update
  41869. ++_i;
  41870. // goto for condition
  41871. $async$goto = 2;
  41872. break;
  41873. case 4:
  41874. // after for
  41875. // implicit return
  41876. return A._IterationMarker_endOfIteration();
  41877. case 1:
  41878. // rethrow
  41879. return A._IterationMarker_uncaughtError($async$currentError);
  41880. }
  41881. };
  41882. }, type$.SimpleSelector);
  41883. },
  41884. _extendExistingExtensions$2(extensions, newExtensions) {
  41885. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, _i2;
  41886. for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extensionsByExtender, t4 = type$.SimpleSelector, t5 = type$.Map_ComplexSelector_Extension, t6 = this._extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  41887. extension = t1[_i];
  41888. t7 = t6.$index(0, extension.target);
  41889. t7.toString;
  41890. selectors = null;
  41891. try {
  41892. selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
  41893. if (selectors == null)
  41894. continue;
  41895. } catch (exception) {
  41896. t8 = A.unwrapException(exception);
  41897. if (t8 instanceof A.SassException) {
  41898. error = t8;
  41899. stackTrace = A.getTraceFromException(exception);
  41900. t8 = error;
  41901. t9 = J.getInterceptor$z(t8);
  41902. A.throwWithTrace(new A.SassException("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
  41903. } else
  41904. throw exception;
  41905. }
  41906. t8 = J.get$first$ax(selectors);
  41907. t9 = extension.extender.selector;
  41908. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  41909. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  41910. complex = t8[_i0];
  41911. if (containsExtension && first) {
  41912. first = false;
  41913. continue;
  41914. }
  41915. t10 = extension;
  41916. t11 = t10.extender;
  41917. t12 = t10.target;
  41918. t13 = t10.span;
  41919. t14 = t10.mediaContext;
  41920. t10 = t10.isOptional;
  41921. complex.get$specificity();
  41922. t11 = new A.Extender(complex, false, t11.span);
  41923. withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
  41924. existingExtension = t7.$index(0, complex);
  41925. if (existingExtension != null)
  41926. t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
  41927. else {
  41928. t7.$indexSet(0, complex, withExtender);
  41929. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  41930. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  41931. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  41932. if (newExtensions.containsKey$1(extension.target)) {
  41933. if (additionalExtensions == null)
  41934. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  41935. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
  41936. }
  41937. }
  41938. }
  41939. if (!containsExtension)
  41940. t7.remove$1(0, extension.extender);
  41941. }
  41942. return additionalExtensions;
  41943. },
  41944. _extendExistingSelectors$2(selectors, newExtensions) {
  41945. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  41946. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  41947. selector = t1.get$current(t1);
  41948. oldValue = selector.value;
  41949. try {
  41950. selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
  41951. } catch (exception) {
  41952. t3 = A.unwrapException(exception);
  41953. if (t3 instanceof A.SassException) {
  41954. error = t3;
  41955. stackTrace = A.getTraceFromException(exception);
  41956. t3 = error;
  41957. t4 = J.getInterceptor$z(t3);
  41958. A.throwWithTrace(new A.SassException("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  41959. } else
  41960. throw exception;
  41961. }
  41962. if (oldValue === selector.value)
  41963. continue;
  41964. this._registerSelector$2(selector.value, selector);
  41965. }
  41966. },
  41967. addExtensions$1(extensionStores) {
  41968. var t1, t2, t3, _box_0 = {};
  41969. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  41970. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
  41971. t3 = t1.get$current(t1);
  41972. if (t3.get$isEmpty(t3))
  41973. continue;
  41974. t2.addAll$1(0, t3.get$_sourceSpecificity());
  41975. t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
  41976. }
  41977. A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
  41978. },
  41979. _extendList$4(list, listSpan, extensions, mediaQueryContext) {
  41980. var t1, t2, t3, extended, i, complex, result, t4;
  41981. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  41982. complex = t1[i];
  41983. result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
  41984. if (result == null) {
  41985. if (extended != null)
  41986. extended.push(complex);
  41987. } else {
  41988. if (extended == null)
  41989. if (i === 0)
  41990. extended = A._setArrayType([], t3);
  41991. else {
  41992. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  41993. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  41994. }
  41995. B.JSArray_methods.addAll$1(extended, result);
  41996. }
  41997. }
  41998. if (extended == null)
  41999. return list;
  42000. t1 = this._originals;
  42001. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
  42002. },
  42003. _extendList$3(list, listSpan, extensions) {
  42004. return this._extendList$4(list, listSpan, extensions, null);
  42005. },
  42006. _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
  42007. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, t11, extendedNotExpanded, i, component, extended, t12, result, t13, t14, t15, t16, _null = null,
  42008. _s56_ = string$.leadin,
  42009. _box_0 = {},
  42010. t1 = complex.leadingCombinators,
  42011. t2 = t1.length;
  42012. if (t2 > 1)
  42013. return _null;
  42014. isOriginal = this._originals.contains$1(0, complex);
  42015. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector, t6 = type$.Combinator, t7 = type$.ComplexSelectorComponent, t8 = complex.lineBreak, t9 = !t8, t10 = type$.JSArray_ComplexSelector, t2 = t2 === 0, t11 = type$.JSArray_ComplexSelectorComponent, extendedNotExpanded = _null, i = 0; i < t4; ++i) {
  42016. component = t3[i];
  42017. extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
  42018. if (extended == null) {
  42019. if (extendedNotExpanded != null) {
  42020. t12 = A._setArrayType([component], t11);
  42021. result = A.List_List$from(B.List_empty0, false, t6);
  42022. result.fixed$length = Array;
  42023. result.immutable$list = Array;
  42024. t13 = result;
  42025. result = A.List_List$from(t12, false, t7);
  42026. result.fixed$length = Array;
  42027. result.immutable$list = Array;
  42028. t12 = result;
  42029. if (t13.length === 0 && t12.length === 0)
  42030. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42031. extendedNotExpanded.push(A._setArrayType([new A.ComplexSelector(t13, t12, t8)], t10));
  42032. }
  42033. } else if (extendedNotExpanded != null)
  42034. extendedNotExpanded.push(extended);
  42035. else if (i !== 0) {
  42036. t12 = A._arrayInstanceType(t3);
  42037. t13 = new A.SubListIterable(t3, 0, i, t12._eval$1("SubListIterable<1>"));
  42038. t13.SubListIterable$3(t3, 0, i, t12._precomputed1);
  42039. result = A.List_List$from(t1, false, t6);
  42040. result.fixed$length = Array;
  42041. result.immutable$list = Array;
  42042. t12 = result;
  42043. result = A.List_List$from(t13, false, t7);
  42044. result.fixed$length = Array;
  42045. result.immutable$list = Array;
  42046. t13 = result;
  42047. if (t12.length === 0 && t13.length === 0)
  42048. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42049. extendedNotExpanded = A._setArrayType([A._setArrayType([new A.ComplexSelector(t12, t13, t8)], t10), extended], t5);
  42050. } else if (t2)
  42051. extendedNotExpanded = A._setArrayType([extended], t5);
  42052. else {
  42053. t12 = A._setArrayType([], t10);
  42054. for (t13 = J.get$iterator$ax(extended); t13.moveNext$0();) {
  42055. t14 = t13.get$current(t13);
  42056. t15 = t14.leadingCombinators;
  42057. if (t15.length === 0 || B.C_ListEquality.equals$2(0, t1, t15)) {
  42058. t15 = t14.components;
  42059. t14 = !t9 || t14.lineBreak;
  42060. result = A.List_List$from(t1, false, t6);
  42061. result.fixed$length = Array;
  42062. result.immutable$list = Array;
  42063. t16 = result;
  42064. result = A.List_List$from(t15, false, t7);
  42065. result.fixed$length = Array;
  42066. result.immutable$list = Array;
  42067. t15 = result;
  42068. if (t16.length === 0 && t15.length === 0)
  42069. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42070. t12.push(new A.ComplexSelector(t16, t15, t14));
  42071. }
  42072. }
  42073. extendedNotExpanded = A._setArrayType([t12], t5);
  42074. }
  42075. }
  42076. if (extendedNotExpanded == null)
  42077. return _null;
  42078. _box_0.first = true;
  42079. t1 = type$.ComplexSelector;
  42080. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  42081. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  42082. },
  42083. _extendCompound$5$inOriginal(component, componentSpan, extensions, mediaQueryContext, inOriginal) {
  42084. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, options, i, simple, extended, result, t13, t14, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  42085. _s28_ = "components may not be empty.",
  42086. _s56_ = string$.leadin,
  42087. t1 = _this._mode,
  42088. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  42089. simples = component.selector.components;
  42090. for (t2 = simples.length, t3 = type$.JSArray_List_Extender, t4 = type$.JSArray_Extender, t5 = type$.Combinator, t6 = type$.JSArray_ComplexSelectorComponent, t7 = type$.ComplexSelectorComponent, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = type$.SimpleSelector, t11 = _this._sourceSpecificity, t12 = type$.JSArray_SimpleSelector, options = _null, i = 0; i < t2; ++i) {
  42091. simple = simples[i];
  42092. extended = _this._extendSimple$5(simple, componentSpan, extensions, mediaQueryContext, targetsUsed);
  42093. if (extended == null) {
  42094. if (options != null) {
  42095. result = A.List_List$from(A._setArrayType([simple], t12), false, t10);
  42096. result.fixed$length = Array;
  42097. result.immutable$list = Array;
  42098. t13 = result;
  42099. if (t13.length === 0)
  42100. A.throwExpression(A.ArgumentError$(_s28_, _null));
  42101. result = A.List_List$from(B.List_empty0, false, t5);
  42102. result.fixed$length = Array;
  42103. result.immutable$list = Array;
  42104. t13 = A._setArrayType([new A.ComplexSelectorComponent(new A.CompoundSelector(t13), result)], t6);
  42105. result = A.List_List$from(B.List_empty0, false, t5);
  42106. result.fixed$length = Array;
  42107. result.immutable$list = Array;
  42108. t14 = result;
  42109. result = A.List_List$from(t13, false, t7);
  42110. result.fixed$length = Array;
  42111. result.immutable$list = Array;
  42112. t13 = result;
  42113. if (t14.length === 0 && t13.length === 0)
  42114. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42115. t11.$index(0, simple);
  42116. options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t14, t13, false), true, componentSpan)], t4));
  42117. }
  42118. } else {
  42119. if (options == null) {
  42120. options = A._setArrayType([], t3);
  42121. if (i !== 0) {
  42122. t13 = new A.SubListIterable(simples, 0, i, t8);
  42123. t13.SubListIterable$3(simples, 0, i, t9);
  42124. result = A.List_List$from(t13, false, t10);
  42125. result.fixed$length = Array;
  42126. result.immutable$list = Array;
  42127. t13 = result;
  42128. compound = new A.CompoundSelector(t13);
  42129. if (t13.length === 0)
  42130. A.throwExpression(A.ArgumentError$(_s28_, _null));
  42131. result = A.List_List$from(B.List_empty0, false, t5);
  42132. result.fixed$length = Array;
  42133. result.immutable$list = Array;
  42134. t13 = A._setArrayType([new A.ComplexSelectorComponent(compound, result)], t6);
  42135. result = A.List_List$from(B.List_empty0, false, t5);
  42136. result.fixed$length = Array;
  42137. result.immutable$list = Array;
  42138. t14 = result;
  42139. result = A.List_List$from(t13, false, t7);
  42140. result.fixed$length = Array;
  42141. result.immutable$list = Array;
  42142. t13 = result;
  42143. if (t14.length === 0 && t13.length === 0)
  42144. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42145. _this._sourceSpecificityFor$1(compound);
  42146. options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t14, t13, false), true, componentSpan)], t4));
  42147. }
  42148. }
  42149. B.JSArray_methods.addAll$1(options, extended);
  42150. }
  42151. }
  42152. if (options == null)
  42153. return _null;
  42154. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  42155. return _null;
  42156. if (options.length === 1) {
  42157. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  42158. t4 = t1.get$current(t1);
  42159. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  42160. complex = t4.selector.withAdditionalCombinators$1(t2);
  42161. if (complex.accept$1(B.C__IsUselessVisitor))
  42162. continue;
  42163. if (result == null)
  42164. result = A._setArrayType([], t3);
  42165. result.push(complex);
  42166. }
  42167. return result;
  42168. }
  42169. extenderPaths = A.paths(options, type$.Extender);
  42170. t2 = A._setArrayType([], type$.JSArray_ComplexSelector);
  42171. t1 = t1 === B.ExtendMode_replace_replace;
  42172. t3 = !t1;
  42173. if (t3)
  42174. t2.push(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t10)), A.List_List$unmodifiable(component.combinators, t5))], t6), false));
  42175. t4 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  42176. t4 = t4.get$iterator(t4);
  42177. t5 = component.combinators;
  42178. for (; t4.moveNext$0();) {
  42179. extended = _this._unifyExtenders$2(t4.get$current(t4), mediaQueryContext);
  42180. if (extended == null)
  42181. continue;
  42182. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  42183. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  42184. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  42185. t2.push(withCombinators);
  42186. }
  42187. }
  42188. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  42189. return _this._trim$2(t2, inOriginal && t3 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t2)) : isOriginal);
  42190. },
  42191. _unifyExtenders$2(extenders, mediaQueryContext) {
  42192. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  42193. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  42194. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  42195. t4 = t2.get$current(t2);
  42196. if (t4.isOriginal) {
  42197. if (originals == null)
  42198. originals = A._setArrayType([], t3);
  42199. t4 = t4.selector;
  42200. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  42201. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  42202. } else {
  42203. t4 = t4.selector;
  42204. if (t4.accept$1(B.C__IsUselessVisitor))
  42205. return _null;
  42206. else
  42207. toUnify._queue_list$_add$1(t4);
  42208. }
  42209. }
  42210. if (originals != null)
  42211. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals), A.List_List$unmodifiable(B.List_empty0, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), originalsLineBreak));
  42212. complexes = A.unifyComplex(toUnify);
  42213. if (complexes == null)
  42214. return _null;
  42215. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  42216. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  42217. return complexes;
  42218. },
  42219. _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
  42220. var extended,
  42221. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
  42222. if (simple instanceof A.PseudoSelector && simple.selector != null) {
  42223. extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
  42224. if (extended != null)
  42225. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
  42226. }
  42227. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  42228. },
  42229. _extenderForSimple$2(simple, span) {
  42230. var t1 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector)), A.List_List$unmodifiable(B.List_empty0, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), false);
  42231. this._sourceSpecificity.$index(0, simple);
  42232. return new A.Extender(t1, true, span);
  42233. },
  42234. _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
  42235. var extended, complexes, t1, result,
  42236. selector = pseudo.selector;
  42237. if (selector == null)
  42238. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  42239. extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
  42240. if (extended === selector)
  42241. return null;
  42242. complexes = extended.components;
  42243. t1 = pseudo.normalizedName === "not";
  42244. if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure0()))
  42245. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  42246. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  42247. if (t1 && selector.components.length === 1) {
  42248. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  42249. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  42250. return result.length === 0 ? null : result;
  42251. } else
  42252. return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
  42253. },
  42254. _trim$2(selectors, isOriginal) {
  42255. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  42256. if (selectors.length > 100)
  42257. return selectors;
  42258. result = A.QueueList$(null, type$.ComplexSelector);
  42259. $label0$0:
  42260. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  42261. _box_0 = {};
  42262. complex1 = selectors[i];
  42263. if (isOriginal.call$1(complex1)) {
  42264. for (j = 0; j < numOriginals; ++j)
  42265. if (J.$eq$(result.$index(0, j), complex1)) {
  42266. A.rotateSlice(result, 0, j + 1);
  42267. continue $label0$0;
  42268. }
  42269. ++numOriginals;
  42270. result.addFirst$1(complex1);
  42271. continue $label0$0;
  42272. }
  42273. _box_0.maxSpecificity = 0;
  42274. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  42275. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  42276. _box_0.maxSpecificity = maxSpecificity;
  42277. }
  42278. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  42279. continue $label0$0;
  42280. t3 = new A.SubListIterable(selectors, 0, i, t1);
  42281. t3.SubListIterable$3(selectors, 0, i, t2);
  42282. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  42283. continue $label0$0;
  42284. result.addFirst$1(complex1);
  42285. }
  42286. return result;
  42287. },
  42288. _sourceSpecificityFor$1(compound) {
  42289. var t1, t2, t3, specificity, _i, t4;
  42290. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  42291. t4 = t3.$index(0, t1[_i]);
  42292. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  42293. }
  42294. return specificity;
  42295. },
  42296. clone$0() {
  42297. var t3, t4, _this = this,
  42298. t1 = type$.SimpleSelector,
  42299. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
  42300. t2 = type$.ModifiableCssValue_SelectorList,
  42301. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
  42302. oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
  42303. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  42304. t2 = type$.Extension;
  42305. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  42306. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  42307. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
  42308. t1.addAll$1(0, _this._sourceSpecificity);
  42309. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  42310. t4.addAll$1(0, _this._originals);
  42311. return new A.Tuple2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
  42312. },
  42313. get$_extensions() {
  42314. return this._extensions;
  42315. },
  42316. get$_sourceSpecificity() {
  42317. return this._sourceSpecificity;
  42318. }
  42319. };
  42320. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  42321. call$1(extension) {
  42322. return !extension.isOptional;
  42323. },
  42324. $signature: 358
  42325. };
  42326. A.ExtensionStore__registerSelector_closure.prototype = {
  42327. call$0() {
  42328. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
  42329. },
  42330. $signature: 364
  42331. };
  42332. A.ExtensionStore_addExtension_closure.prototype = {
  42333. call$0() {
  42334. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42335. },
  42336. $signature: 122
  42337. };
  42338. A.ExtensionStore_addExtension_closure0.prototype = {
  42339. call$0() {
  42340. return A._setArrayType([], type$.JSArray_Extension);
  42341. },
  42342. $signature: 160
  42343. };
  42344. A.ExtensionStore_addExtension_closure1.prototype = {
  42345. call$0() {
  42346. return this.complex.get$specificity();
  42347. },
  42348. $signature: 12
  42349. };
  42350. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  42351. call$0() {
  42352. return A._setArrayType([], type$.JSArray_Extension);
  42353. },
  42354. $signature: 160
  42355. };
  42356. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  42357. call$0() {
  42358. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42359. },
  42360. $signature: 122
  42361. };
  42362. A.ExtensionStore_addExtensions_closure.prototype = {
  42363. call$2(target, newSources) {
  42364. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  42365. if (target instanceof A.PlaceholderSelector) {
  42366. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  42367. t1 = first === 45 || first === 95;
  42368. } else
  42369. t1 = false;
  42370. if (t1)
  42371. return;
  42372. t1 = _this.$this;
  42373. extensionsForTarget = t1._extensionsByExtender.$index(0, target);
  42374. t2 = extensionsForTarget == null;
  42375. if (!t2) {
  42376. t3 = _this._box_0;
  42377. t4 = t3.extensionsToExtend;
  42378. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
  42379. }
  42380. selectorsForTarget = t1._selectors.$index(0, target);
  42381. t3 = selectorsForTarget != null;
  42382. if (t3) {
  42383. t4 = _this._box_0;
  42384. t5 = t4.selectorsToExtend;
  42385. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
  42386. }
  42387. t1 = t1._extensions;
  42388. existingSources = t1.$index(0, target);
  42389. if (existingSources == null) {
  42390. t4 = type$.ComplexSelector;
  42391. t5 = type$.Extension;
  42392. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  42393. if (!t2 || t3) {
  42394. t1 = _this._box_0;
  42395. t2 = t1.newExtensions;
  42396. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  42397. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  42398. }
  42399. } else
  42400. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  42401. },
  42402. $signature: 370
  42403. };
  42404. A.ExtensionStore_addExtensions__closure1.prototype = {
  42405. call$2(extender, extension) {
  42406. var t2, _this = this,
  42407. t1 = _this.existingSources;
  42408. if (t1.containsKey$1(extender)) {
  42409. t2 = t1.$index(0, extender);
  42410. extension = A.MergedExtension_merge(t2, extension);
  42411. t1.$indexSet(0, extender, extension);
  42412. } else
  42413. t1.$indexSet(0, extender, extension);
  42414. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  42415. t1 = _this._box_0;
  42416. t2 = t1.newExtensions;
  42417. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  42418. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
  42419. }
  42420. },
  42421. $signature: 372
  42422. };
  42423. A.ExtensionStore_addExtensions___closure.prototype = {
  42424. call$0() {
  42425. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42426. },
  42427. $signature: 122
  42428. };
  42429. A.ExtensionStore_addExtensions_closure0.prototype = {
  42430. call$1(newExtensions) {
  42431. var t1 = this._box_0,
  42432. t2 = this.$this;
  42433. A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
  42434. A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
  42435. },
  42436. $signature: 375
  42437. };
  42438. A.ExtensionStore_addExtensions__closure.prototype = {
  42439. call$1(extensionsToExtend) {
  42440. return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  42441. },
  42442. $signature: 385
  42443. };
  42444. A.ExtensionStore_addExtensions__closure0.prototype = {
  42445. call$1(selectorsToExtend) {
  42446. return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  42447. },
  42448. $signature: 386
  42449. };
  42450. A.ExtensionStore__extendComplex_closure.prototype = {
  42451. call$1(path) {
  42452. var t1 = this.complex;
  42453. return J.map$1$1$ax(A.weave(path, t1.lineBreak), new A.ExtensionStore__extendComplex__closure(this._box_0, this.$this, t1), type$.ComplexSelector);
  42454. },
  42455. $signature: 390
  42456. };
  42457. A.ExtensionStore__extendComplex__closure.prototype = {
  42458. call$1(outputComplex) {
  42459. var _this = this,
  42460. t1 = _this._box_0;
  42461. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  42462. _this.$this._originals.add$1(0, outputComplex);
  42463. t1.first = false;
  42464. return outputComplex;
  42465. },
  42466. $signature: 72
  42467. };
  42468. A.ExtensionStore__extendCompound_closure.prototype = {
  42469. call$1(extender) {
  42470. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  42471. },
  42472. $signature: 393
  42473. };
  42474. A.ExtensionStore__extendCompound_closure0.prototype = {
  42475. call$1(_) {
  42476. return false;
  42477. },
  42478. $signature: 16
  42479. };
  42480. A.ExtensionStore__extendCompound_closure1.prototype = {
  42481. call$1(complex) {
  42482. return complex.$eq(0, this.original);
  42483. },
  42484. $signature: 16
  42485. };
  42486. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  42487. call$1(simple) {
  42488. var t1, t2, _this = this,
  42489. extensionsForSimple = _this.extensions.$index(0, simple);
  42490. if (extensionsForSimple == null)
  42491. return null;
  42492. t1 = _this.targetsUsed;
  42493. if (t1 != null)
  42494. t1.add$1(0, simple);
  42495. t1 = A._setArrayType([], type$.JSArray_Extender);
  42496. t2 = _this.$this;
  42497. if (t2._mode !== B.ExtendMode_replace_replace)
  42498. t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
  42499. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  42500. t1.push(t2.get$current(t2).extender);
  42501. return t1;
  42502. },
  42503. $signature: 399
  42504. };
  42505. A.ExtensionStore__extendSimple_closure.prototype = {
  42506. call$1(pseudo) {
  42507. var t1 = this.withoutPseudo.call$1(pseudo);
  42508. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
  42509. },
  42510. $signature: 402
  42511. };
  42512. A.ExtensionStore__extendSimple_closure0.prototype = {
  42513. call$1(result) {
  42514. return A._setArrayType([result], type$.JSArray_List_Extender);
  42515. },
  42516. $signature: 405
  42517. };
  42518. A.ExtensionStore__extendPseudo_closure.prototype = {
  42519. call$1(complex) {
  42520. return complex.components.length > 1;
  42521. },
  42522. $signature: 16
  42523. };
  42524. A.ExtensionStore__extendPseudo_closure0.prototype = {
  42525. call$1(complex) {
  42526. return complex.components.length === 1;
  42527. },
  42528. $signature: 16
  42529. };
  42530. A.ExtensionStore__extendPseudo_closure1.prototype = {
  42531. call$1(complex) {
  42532. return complex.components.length <= 1;
  42533. },
  42534. $signature: 16
  42535. };
  42536. A.ExtensionStore__extendPseudo_closure2.prototype = {
  42537. call$1(complex) {
  42538. var innerPseudo, innerSelector,
  42539. t1 = complex.get$singleCompound();
  42540. if (t1 == null)
  42541. innerPseudo = null;
  42542. else {
  42543. t1 = t1.components;
  42544. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  42545. }
  42546. if (!(innerPseudo instanceof A.PseudoSelector))
  42547. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42548. innerSelector = innerPseudo.selector;
  42549. if (innerSelector == null)
  42550. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42551. t1 = this.pseudo;
  42552. switch (t1.normalizedName) {
  42553. case "not":
  42554. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  42555. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42556. return innerSelector.components;
  42557. case "is":
  42558. case "matches":
  42559. case "where":
  42560. case "any":
  42561. case "current":
  42562. case "nth-child":
  42563. case "nth-last-child":
  42564. if (innerPseudo.name !== t1.name)
  42565. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42566. if (innerPseudo.argument != t1.argument)
  42567. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42568. return innerSelector.components;
  42569. case "has":
  42570. case "host":
  42571. case "host-context":
  42572. case "slotted":
  42573. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42574. default:
  42575. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42576. }
  42577. },
  42578. $signature: 409
  42579. };
  42580. A.ExtensionStore__extendPseudo_closure3.prototype = {
  42581. call$1(complex) {
  42582. var t1 = this.pseudo;
  42583. return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
  42584. },
  42585. $signature: 417
  42586. };
  42587. A.ExtensionStore__trim_closure.prototype = {
  42588. call$1(complex2) {
  42589. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  42590. },
  42591. $signature: 16
  42592. };
  42593. A.ExtensionStore__trim_closure0.prototype = {
  42594. call$1(complex2) {
  42595. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  42596. },
  42597. $signature: 16
  42598. };
  42599. A.ExtensionStore_clone_closure.prototype = {
  42600. call$2(simple, selectors) {
  42601. var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
  42602. t1 = type$.ModifiableCssValue_SelectorList,
  42603. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  42604. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  42605. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
  42606. t6 = t2.get$current(t2);
  42607. newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
  42608. newSelectorSet.add$1(0, newSelector);
  42609. t3.$indexSet(0, t6, newSelector);
  42610. mediaContext = t4.$index(0, t6);
  42611. if (mediaContext != null)
  42612. t5.$indexSet(0, newSelector, mediaContext);
  42613. }
  42614. },
  42615. $signature: 429
  42616. };
  42617. A.unifyComplex_closure.prototype = {
  42618. call$1(complex) {
  42619. return complex.lineBreak;
  42620. },
  42621. $signature: 16
  42622. };
  42623. A._weaveParents_closure.prototype = {
  42624. call$2(group1, group2) {
  42625. var unified, t1;
  42626. if (B.C_ListEquality.equals$2(0, group1, group2))
  42627. return group1;
  42628. if (A._complexIsParentSuperselector(group1, group2))
  42629. return group2;
  42630. if (A._complexIsParentSuperselector(group2, group1))
  42631. return group1;
  42632. if (!A._mustUnify(group1, group2))
  42633. return null;
  42634. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty0, group1, false), A.ComplexSelector$(B.List_empty0, group2, false)], type$.JSArray_ComplexSelector));
  42635. if (unified == null)
  42636. return null;
  42637. t1 = J.getInterceptor$asx(unified);
  42638. if (t1.get$length(unified) > 1)
  42639. return null;
  42640. return t1.get$first(unified).components;
  42641. },
  42642. $signature: 434
  42643. };
  42644. A._weaveParents_closure0.prototype = {
  42645. call$1(sequence) {
  42646. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  42647. },
  42648. $signature: 445
  42649. };
  42650. A._weaveParents_closure1.prototype = {
  42651. call$1(sequence) {
  42652. return sequence.get$length(sequence) === 0;
  42653. },
  42654. $signature: 162
  42655. };
  42656. A._weaveParents_closure2.prototype = {
  42657. call$1(choice) {
  42658. return J.get$isNotEmpty$asx(choice);
  42659. },
  42660. $signature: 459
  42661. };
  42662. A._mustUnify_closure.prototype = {
  42663. call$1(component) {
  42664. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  42665. },
  42666. $signature: 45
  42667. };
  42668. A._mustUnify__closure.prototype = {
  42669. call$1(simple) {
  42670. var t1;
  42671. if (!(simple instanceof A.IDSelector))
  42672. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  42673. else
  42674. t1 = true;
  42675. return t1 && this.uniqueSelectors.contains$1(0, simple);
  42676. },
  42677. $signature: 14
  42678. };
  42679. A.paths_closure.prototype = {
  42680. call$2(paths, choice) {
  42681. var t1 = this.T;
  42682. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  42683. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  42684. },
  42685. $signature() {
  42686. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  42687. }
  42688. };
  42689. A.paths__closure.prototype = {
  42690. call$1(option) {
  42691. var t1 = this.T;
  42692. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  42693. },
  42694. $signature() {
  42695. return this.T._eval$1("Iterable<List<0>>(0)");
  42696. }
  42697. };
  42698. A.paths___closure.prototype = {
  42699. call$1(path) {
  42700. var t1 = A.List_List$of(path, true, this.T);
  42701. t1.push(this.option);
  42702. return t1;
  42703. },
  42704. $signature() {
  42705. return this.T._eval$1("List<0>(List<0>)");
  42706. }
  42707. };
  42708. A.listIsSuperselector_closure.prototype = {
  42709. call$1(complex1) {
  42710. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  42711. },
  42712. $signature: 16
  42713. };
  42714. A.listIsSuperselector__closure.prototype = {
  42715. call$1(complex2) {
  42716. return complex2.isSuperselector$1(this.complex1);
  42717. },
  42718. $signature: 16
  42719. };
  42720. A.complexIsSuperselector_closure.prototype = {
  42721. call$1($parent) {
  42722. return $parent.combinators.length > 1;
  42723. },
  42724. $signature: 45
  42725. };
  42726. A.complexIsSuperselector_closure0.prototype = {
  42727. call$1(component) {
  42728. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  42729. },
  42730. $signature: 45
  42731. };
  42732. A._selectorPseudoIsSuperselector_closure.prototype = {
  42733. call$1(selector2) {
  42734. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42735. },
  42736. $signature: 67
  42737. };
  42738. A._selectorPseudoIsSuperselector_closure0.prototype = {
  42739. call$1(complex1) {
  42740. var t1, t2, t3;
  42741. if (complex1.leadingCombinators.length === 0) {
  42742. t1 = complex1.components;
  42743. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  42744. t3 = this.parents;
  42745. if (t3 != null)
  42746. B.JSArray_methods.addAll$1(t2, t3);
  42747. t2.push(new A.ComplexSelectorComponent(this.compound2, A.List_List$unmodifiable(B.List_empty0, type$.Combinator)));
  42748. t1 = A.complexIsSuperselector(t1, t2);
  42749. } else
  42750. t1 = false;
  42751. return t1;
  42752. },
  42753. $signature: 16
  42754. };
  42755. A._selectorPseudoIsSuperselector_closure1.prototype = {
  42756. call$1(selector2) {
  42757. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42758. },
  42759. $signature: 67
  42760. };
  42761. A._selectorPseudoIsSuperselector_closure2.prototype = {
  42762. call$1(selector2) {
  42763. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42764. },
  42765. $signature: 67
  42766. };
  42767. A._selectorPseudoIsSuperselector_closure3.prototype = {
  42768. call$1(complex) {
  42769. if (complex.accept$1(B._IsBogusVisitor_true))
  42770. return false;
  42771. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  42772. },
  42773. $signature: 16
  42774. };
  42775. A._selectorPseudoIsSuperselector__closure.prototype = {
  42776. call$1(simple2) {
  42777. var selector2, _this = this;
  42778. if (simple2 instanceof A.TypeSelector)
  42779. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  42780. else if (simple2 instanceof A.IDSelector)
  42781. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  42782. else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
  42783. selector2 = simple2.selector;
  42784. if (selector2 == null)
  42785. return false;
  42786. return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  42787. } else
  42788. return false;
  42789. },
  42790. $signature: 14
  42791. };
  42792. A._selectorPseudoIsSuperselector___closure.prototype = {
  42793. call$1(simple1) {
  42794. var t1;
  42795. if (simple1 instanceof A.TypeSelector) {
  42796. t1 = this.simple2.name.$eq(0, simple1.name);
  42797. t1 = !t1;
  42798. } else
  42799. t1 = false;
  42800. return t1;
  42801. },
  42802. $signature: 14
  42803. };
  42804. A._selectorPseudoIsSuperselector___closure0.prototype = {
  42805. call$1(simple1) {
  42806. var t1;
  42807. if (simple1 instanceof A.IDSelector) {
  42808. t1 = simple1.name;
  42809. t1 = this.simple2.name !== t1;
  42810. } else
  42811. t1 = false;
  42812. return t1;
  42813. },
  42814. $signature: 14
  42815. };
  42816. A._selectorPseudoIsSuperselector_closure4.prototype = {
  42817. call$1(selector2) {
  42818. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  42819. return t1;
  42820. },
  42821. $signature: 67
  42822. };
  42823. A._selectorPseudoIsSuperselector_closure5.prototype = {
  42824. call$1(pseudo2) {
  42825. var t1, selector2;
  42826. if (!(pseudo2 instanceof A.PseudoSelector))
  42827. return false;
  42828. t1 = this.pseudo1;
  42829. if (pseudo2.name !== t1.name)
  42830. return false;
  42831. if (pseudo2.argument != t1.argument)
  42832. return false;
  42833. selector2 = pseudo2.selector;
  42834. if (selector2 == null)
  42835. return false;
  42836. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42837. },
  42838. $signature: 14
  42839. };
  42840. A._selectorPseudoArgs_closure.prototype = {
  42841. call$1(pseudo) {
  42842. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  42843. },
  42844. $signature: 465
  42845. };
  42846. A._selectorPseudoArgs_closure0.prototype = {
  42847. call$1(pseudo) {
  42848. return pseudo.selector;
  42849. },
  42850. $signature: 467
  42851. };
  42852. A.MergedExtension.prototype = {
  42853. unmerge$0() {
  42854. var $async$self = this;
  42855. return A._makeSyncStarIterable(function() {
  42856. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  42857. return function $async$unmerge$0($async$errorCode, $async$result) {
  42858. if ($async$errorCode === 1) {
  42859. $async$currentError = $async$result;
  42860. $async$goto = $async$handler;
  42861. }
  42862. while (true)
  42863. switch ($async$goto) {
  42864. case 0:
  42865. // Function start
  42866. left = $async$self.left;
  42867. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  42868. break;
  42869. case 2:
  42870. // then
  42871. $async$goto = 5;
  42872. return A._IterationMarker_yieldStar(left.unmerge$0());
  42873. case 5:
  42874. // after yield
  42875. // goto join
  42876. $async$goto = 3;
  42877. break;
  42878. case 4:
  42879. // else
  42880. $async$goto = 6;
  42881. return left;
  42882. case 6:
  42883. // after yield
  42884. case 3:
  42885. // join
  42886. right = $async$self.right;
  42887. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  42888. break;
  42889. case 7:
  42890. // then
  42891. $async$goto = 10;
  42892. return A._IterationMarker_yieldStar(right.unmerge$0());
  42893. case 10:
  42894. // after yield
  42895. // goto join
  42896. $async$goto = 8;
  42897. break;
  42898. case 9:
  42899. // else
  42900. $async$goto = 11;
  42901. return right;
  42902. case 11:
  42903. // after yield
  42904. case 8:
  42905. // join
  42906. // implicit return
  42907. return A._IterationMarker_endOfIteration();
  42908. case 1:
  42909. // rethrow
  42910. return A._IterationMarker_uncaughtError($async$currentError);
  42911. }
  42912. };
  42913. }, type$.Extension);
  42914. }
  42915. };
  42916. A.ExtendMode.prototype = {
  42917. toString$0(_) {
  42918. return this.name;
  42919. }
  42920. };
  42921. A.globalFunctions_closure.prototype = {
  42922. call$1($arguments) {
  42923. var t1 = J.getInterceptor$asx($arguments);
  42924. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  42925. },
  42926. $signature: 4
  42927. };
  42928. A.global_closure.prototype = {
  42929. call$1($arguments) {
  42930. return A._rgb("rgb", $arguments);
  42931. },
  42932. $signature: 4
  42933. };
  42934. A.global_closure0.prototype = {
  42935. call$1($arguments) {
  42936. return A._rgb("rgb", $arguments);
  42937. },
  42938. $signature: 4
  42939. };
  42940. A.global_closure1.prototype = {
  42941. call$1($arguments) {
  42942. return A._rgbTwoArg("rgb", $arguments);
  42943. },
  42944. $signature: 4
  42945. };
  42946. A.global_closure2.prototype = {
  42947. call$1($arguments) {
  42948. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  42949. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  42950. },
  42951. $signature: 4
  42952. };
  42953. A.global_closure3.prototype = {
  42954. call$1($arguments) {
  42955. return A._rgb("rgba", $arguments);
  42956. },
  42957. $signature: 4
  42958. };
  42959. A.global_closure4.prototype = {
  42960. call$1($arguments) {
  42961. return A._rgb("rgba", $arguments);
  42962. },
  42963. $signature: 4
  42964. };
  42965. A.global_closure5.prototype = {
  42966. call$1($arguments) {
  42967. return A._rgbTwoArg("rgba", $arguments);
  42968. },
  42969. $signature: 4
  42970. };
  42971. A.global_closure6.prototype = {
  42972. call$1($arguments) {
  42973. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  42974. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  42975. },
  42976. $signature: 4
  42977. };
  42978. A.global_closure7.prototype = {
  42979. call$1($arguments) {
  42980. var color, t2,
  42981. t1 = J.getInterceptor$asx($arguments),
  42982. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  42983. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  42984. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  42985. throw A.wrapException(string$.Only_oa);
  42986. return A._functionString("invert", t1.take$1($arguments, 1));
  42987. }
  42988. color = t1.$index($arguments, 0).assertColor$1("color");
  42989. t1 = color.get$red(color);
  42990. t2 = color.get$green(color);
  42991. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  42992. },
  42993. $signature: 4
  42994. };
  42995. A.global_closure8.prototype = {
  42996. call$1($arguments) {
  42997. return A._hsl("hsl", $arguments);
  42998. },
  42999. $signature: 4
  43000. };
  43001. A.global_closure9.prototype = {
  43002. call$1($arguments) {
  43003. return A._hsl("hsl", $arguments);
  43004. },
  43005. $signature: 4
  43006. };
  43007. A.global_closure10.prototype = {
  43008. call$1($arguments) {
  43009. var t1 = J.getInterceptor$asx($arguments);
  43010. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  43011. return A._functionString("hsl", $arguments);
  43012. else
  43013. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  43014. },
  43015. $signature: 18
  43016. };
  43017. A.global_closure11.prototype = {
  43018. call$1($arguments) {
  43019. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  43020. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  43021. },
  43022. $signature: 4
  43023. };
  43024. A.global_closure12.prototype = {
  43025. call$1($arguments) {
  43026. return A._hsl("hsla", $arguments);
  43027. },
  43028. $signature: 4
  43029. };
  43030. A.global_closure13.prototype = {
  43031. call$1($arguments) {
  43032. return A._hsl("hsla", $arguments);
  43033. },
  43034. $signature: 4
  43035. };
  43036. A.global_closure14.prototype = {
  43037. call$1($arguments) {
  43038. var t1 = J.getInterceptor$asx($arguments);
  43039. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  43040. return A._functionString("hsla", $arguments);
  43041. else
  43042. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  43043. },
  43044. $signature: 18
  43045. };
  43046. A.global_closure15.prototype = {
  43047. call$1($arguments) {
  43048. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  43049. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  43050. },
  43051. $signature: 4
  43052. };
  43053. A.global_closure16.prototype = {
  43054. call$1($arguments) {
  43055. var t1 = J.getInterceptor$asx($arguments);
  43056. if (t1.$index($arguments, 0) instanceof A.SassNumber)
  43057. return A._functionString("grayscale", $arguments);
  43058. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  43059. },
  43060. $signature: 4
  43061. };
  43062. A.global_closure17.prototype = {
  43063. call$1($arguments) {
  43064. var t1 = J.getInterceptor$asx($arguments),
  43065. color = t1.$index($arguments, 0).assertColor$1("color"),
  43066. degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
  43067. A._checkAngle(degrees, "degrees");
  43068. return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
  43069. },
  43070. $signature: 23
  43071. };
  43072. A.global_closure18.prototype = {
  43073. call$1($arguments) {
  43074. var t1 = J.getInterceptor$asx($arguments),
  43075. color = t1.$index($arguments, 0).assertColor$1("color"),
  43076. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43077. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43078. },
  43079. $signature: 23
  43080. };
  43081. A.global_closure19.prototype = {
  43082. call$1($arguments) {
  43083. var t1 = J.getInterceptor$asx($arguments),
  43084. color = t1.$index($arguments, 0).assertColor$1("color"),
  43085. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43086. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43087. },
  43088. $signature: 23
  43089. };
  43090. A.global_closure20.prototype = {
  43091. call$1($arguments) {
  43092. return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  43093. },
  43094. $signature: 18
  43095. };
  43096. A.global_closure21.prototype = {
  43097. call$1($arguments) {
  43098. var t1 = J.getInterceptor$asx($arguments),
  43099. color = t1.$index($arguments, 0).assertColor$1("color"),
  43100. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43101. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43102. },
  43103. $signature: 23
  43104. };
  43105. A.global_closure22.prototype = {
  43106. call$1($arguments) {
  43107. var t1 = J.getInterceptor$asx($arguments),
  43108. color = t1.$index($arguments, 0).assertColor$1("color"),
  43109. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43110. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43111. },
  43112. $signature: 23
  43113. };
  43114. A.global_closure23.prototype = {
  43115. call$1($arguments) {
  43116. var argument = J.$index$asx($arguments, 0);
  43117. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  43118. return A._functionString("alpha", $arguments);
  43119. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  43120. },
  43121. $signature: 4
  43122. };
  43123. A.global_closure24.prototype = {
  43124. call$1($arguments) {
  43125. var t1,
  43126. argList = J.$index$asx($arguments, 0).get$asList();
  43127. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  43128. return A._functionString("alpha", $arguments);
  43129. t1 = argList.length;
  43130. if (t1 === 0)
  43131. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  43132. else
  43133. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  43134. },
  43135. $signature: 18
  43136. };
  43137. A.global__closure.prototype = {
  43138. call$1(argument) {
  43139. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  43140. },
  43141. $signature: 62
  43142. };
  43143. A.global_closure25.prototype = {
  43144. call$1($arguments) {
  43145. var t1 = J.getInterceptor$asx($arguments);
  43146. if (t1.$index($arguments, 0) instanceof A.SassNumber)
  43147. return A._functionString("opacity", $arguments);
  43148. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  43149. },
  43150. $signature: 4
  43151. };
  43152. A.module_closure.prototype = {
  43153. call$1($arguments) {
  43154. var result, t2, color,
  43155. t1 = J.getInterceptor$asx($arguments),
  43156. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  43157. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43158. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  43159. throw A.wrapException(string$.Only_oa);
  43160. result = A._functionString("invert", t1.take$1($arguments, 1));
  43161. t1 = A.S(t1.$index($arguments, 0));
  43162. t2 = result.toString$0(0);
  43163. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
  43164. return result;
  43165. }
  43166. color = t1.$index($arguments, 0).assertColor$1("color");
  43167. t1 = color.get$red(color);
  43168. t2 = color.get$green(color);
  43169. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  43170. },
  43171. $signature: 4
  43172. };
  43173. A.module_closure0.prototype = {
  43174. call$1($arguments) {
  43175. var result, t2,
  43176. t1 = J.getInterceptor$asx($arguments);
  43177. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43178. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  43179. t1 = A.S(t1.$index($arguments, 0));
  43180. t2 = result.toString$0(0);
  43181. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
  43182. return result;
  43183. }
  43184. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  43185. },
  43186. $signature: 4
  43187. };
  43188. A.module_closure1.prototype = {
  43189. call$1($arguments) {
  43190. return A._hwb($arguments);
  43191. },
  43192. $signature: 4
  43193. };
  43194. A.module_closure2.prototype = {
  43195. call$1($arguments) {
  43196. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  43197. if (parsed instanceof A.SassString)
  43198. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  43199. else
  43200. return A._hwb(type$.List_Value._as(parsed));
  43201. },
  43202. $signature: 4
  43203. };
  43204. A.module_closure3.prototype = {
  43205. call$1($arguments) {
  43206. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43207. return A.SassNumber_SassNumber(t1.get$whiteness(t1), "%");
  43208. },
  43209. $signature: 10
  43210. };
  43211. A.module_closure4.prototype = {
  43212. call$1($arguments) {
  43213. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43214. return A.SassNumber_SassNumber(t1.get$blackness(t1), "%");
  43215. },
  43216. $signature: 10
  43217. };
  43218. A.module_closure5.prototype = {
  43219. call$1($arguments) {
  43220. var result, t1,
  43221. argument = J.$index$asx($arguments, 0);
  43222. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  43223. result = A._functionString("alpha", $arguments);
  43224. t1 = result.toString$0(0);
  43225. A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
  43226. return result;
  43227. }
  43228. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  43229. },
  43230. $signature: 4
  43231. };
  43232. A.module_closure6.prototype = {
  43233. call$1($arguments) {
  43234. var result,
  43235. t1 = J.getInterceptor$asx($arguments);
  43236. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
  43237. result = A._functionString("alpha", $arguments);
  43238. t1 = result.toString$0(0);
  43239. A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
  43240. return result;
  43241. }
  43242. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  43243. },
  43244. $signature: 18
  43245. };
  43246. A.module__closure.prototype = {
  43247. call$1(argument) {
  43248. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  43249. },
  43250. $signature: 62
  43251. };
  43252. A.module_closure7.prototype = {
  43253. call$1($arguments) {
  43254. var result, t2,
  43255. t1 = J.getInterceptor$asx($arguments);
  43256. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43257. result = A._functionString("opacity", $arguments);
  43258. t1 = A.S(t1.$index($arguments, 0));
  43259. t2 = result.toString$0(0);
  43260. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
  43261. return result;
  43262. }
  43263. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  43264. },
  43265. $signature: 4
  43266. };
  43267. A._red_closure.prototype = {
  43268. call$1($arguments) {
  43269. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43270. return A.SassNumber_SassNumber(t1.get$red(t1), null);
  43271. },
  43272. $signature: 10
  43273. };
  43274. A._green_closure.prototype = {
  43275. call$1($arguments) {
  43276. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43277. return A.SassNumber_SassNumber(t1.get$green(t1), null);
  43278. },
  43279. $signature: 10
  43280. };
  43281. A._blue_closure.prototype = {
  43282. call$1($arguments) {
  43283. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43284. return A.SassNumber_SassNumber(t1.get$blue(t1), null);
  43285. },
  43286. $signature: 10
  43287. };
  43288. A._mix_closure.prototype = {
  43289. call$1($arguments) {
  43290. var t1 = J.getInterceptor$asx($arguments);
  43291. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  43292. },
  43293. $signature: 23
  43294. };
  43295. A._hue_closure.prototype = {
  43296. call$1($arguments) {
  43297. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43298. return A.SassNumber_SassNumber(t1.get$hue(t1), "deg");
  43299. },
  43300. $signature: 10
  43301. };
  43302. A._saturation_closure.prototype = {
  43303. call$1($arguments) {
  43304. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43305. return A.SassNumber_SassNumber(t1.get$saturation(t1), "%");
  43306. },
  43307. $signature: 10
  43308. };
  43309. A._lightness_closure.prototype = {
  43310. call$1($arguments) {
  43311. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43312. return A.SassNumber_SassNumber(t1.get$lightness(t1), "%");
  43313. },
  43314. $signature: 10
  43315. };
  43316. A._complement_closure.prototype = {
  43317. call$1($arguments) {
  43318. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  43319. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  43320. },
  43321. $signature: 23
  43322. };
  43323. A._adjust_closure.prototype = {
  43324. call$1($arguments) {
  43325. return A._updateComponents($arguments, true, false, false);
  43326. },
  43327. $signature: 23
  43328. };
  43329. A._scale_closure.prototype = {
  43330. call$1($arguments) {
  43331. return A._updateComponents($arguments, false, false, true);
  43332. },
  43333. $signature: 23
  43334. };
  43335. A._change_closure.prototype = {
  43336. call$1($arguments) {
  43337. return A._updateComponents($arguments, false, true, false);
  43338. },
  43339. $signature: 23
  43340. };
  43341. A._ieHexStr_closure.prototype = {
  43342. call$1($arguments) {
  43343. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  43344. t1 = new A._ieHexStr_closure_hexString();
  43345. return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
  43346. },
  43347. $signature: 18
  43348. };
  43349. A._ieHexStr_closure_hexString.prototype = {
  43350. call$1(component) {
  43351. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  43352. },
  43353. $signature: 174
  43354. };
  43355. A._updateComponents_getParam.prototype = {
  43356. call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
  43357. var t2, _this = this,
  43358. t1 = _this.keywords.remove$1(0, $name),
  43359. number = t1 == null ? null : t1.assertNumber$1($name);
  43360. if (number == null)
  43361. return null;
  43362. t1 = _this.scale;
  43363. t2 = !t1;
  43364. if (t2 && checkPercent)
  43365. A._checkPercent(number, $name);
  43366. if (!t2 || assertPercent)
  43367. number.assertUnit$2("%", $name);
  43368. if (t1)
  43369. max = 100;
  43370. if (!t2 || assertPercent)
  43371. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  43372. else {
  43373. t1 = _this.change ? 0 : -max;
  43374. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  43375. }
  43376. return t1;
  43377. },
  43378. call$2($name, max) {
  43379. return this.call$4$assertPercent$checkPercent($name, max, false, false);
  43380. },
  43381. call$3$checkPercent($name, max, checkPercent) {
  43382. return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
  43383. },
  43384. call$3$assertPercent($name, max, assertPercent) {
  43385. return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
  43386. },
  43387. $signature: 176
  43388. };
  43389. A._updateComponents_closure.prototype = {
  43390. call$1($name) {
  43391. return "$" + $name;
  43392. },
  43393. $signature: 5
  43394. };
  43395. A._updateComponents_updateValue.prototype = {
  43396. call$3(current, param, max) {
  43397. var t1;
  43398. if (param == null)
  43399. return current;
  43400. if (this.change)
  43401. return param;
  43402. if (this.adjust)
  43403. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  43404. t1 = param > 0 ? max - current : current;
  43405. return current + t1 * (param / 100);
  43406. },
  43407. $signature: 181
  43408. };
  43409. A._updateComponents_updateRgb.prototype = {
  43410. call$2(current, param) {
  43411. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  43412. },
  43413. $signature: 185
  43414. };
  43415. A._functionString_closure.prototype = {
  43416. call$1(argument) {
  43417. return A.serializeValue(argument, false, true);
  43418. },
  43419. $signature: 506
  43420. };
  43421. A._removedColorFunction_closure.prototype = {
  43422. call$1($arguments) {
  43423. var t1 = this.name,
  43424. t2 = J.getInterceptor$asx($arguments),
  43425. t3 = A.S(t2.$index($arguments, 0)),
  43426. t4 = this.negative ? "-" : "";
  43427. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1, null));
  43428. },
  43429. $signature: 508
  43430. };
  43431. A._rgb_closure.prototype = {
  43432. call$1(alpha) {
  43433. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43434. },
  43435. $signature: 121
  43436. };
  43437. A._hsl_closure.prototype = {
  43438. call$1(alpha) {
  43439. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43440. },
  43441. $signature: 121
  43442. };
  43443. A._removeUnits_closure.prototype = {
  43444. call$1(unit) {
  43445. return " * 1" + unit;
  43446. },
  43447. $signature: 5
  43448. };
  43449. A._removeUnits_closure0.prototype = {
  43450. call$1(unit) {
  43451. return " / 1" + unit;
  43452. },
  43453. $signature: 5
  43454. };
  43455. A._hwb_closure.prototype = {
  43456. call$1(alpha) {
  43457. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43458. },
  43459. $signature: 121
  43460. };
  43461. A._parseChannels_closure.prototype = {
  43462. call$1(value) {
  43463. return value.get$isVar();
  43464. },
  43465. $signature: 62
  43466. };
  43467. A._length_closure0.prototype = {
  43468. call$1($arguments) {
  43469. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  43470. },
  43471. $signature: 10
  43472. };
  43473. A._nth_closure.prototype = {
  43474. call$1($arguments) {
  43475. var t1 = J.getInterceptor$asx($arguments),
  43476. list = t1.$index($arguments, 0),
  43477. index = t1.$index($arguments, 1);
  43478. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  43479. },
  43480. $signature: 4
  43481. };
  43482. A._setNth_closure.prototype = {
  43483. call$1($arguments) {
  43484. var t1 = J.getInterceptor$asx($arguments),
  43485. list = t1.$index($arguments, 0),
  43486. index = t1.$index($arguments, 1),
  43487. value = t1.$index($arguments, 2),
  43488. t2 = list.get$asList(),
  43489. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  43490. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  43491. return t1.$index($arguments, 0).withListContents$1(newList);
  43492. },
  43493. $signature: 21
  43494. };
  43495. A._join_closure.prototype = {
  43496. call$1($arguments) {
  43497. var separator, bracketed,
  43498. t1 = J.getInterceptor$asx($arguments),
  43499. list1 = t1.$index($arguments, 0),
  43500. list2 = t1.$index($arguments, 1),
  43501. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  43502. bracketedParam = t1.$index($arguments, 3);
  43503. t1 = separatorParam._string$_text;
  43504. if (t1 === "auto")
  43505. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided)
  43506. separator = list1.get$separator(list1);
  43507. else
  43508. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided ? list2.get$separator(list2) : B.ListSeparator_EVt;
  43509. else if (t1 === "space")
  43510. separator = B.ListSeparator_EVt;
  43511. else if (t1 === "comma")
  43512. separator = B.ListSeparator_rXA;
  43513. else {
  43514. if (t1 !== "slash")
  43515. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  43516. separator = B.ListSeparator_zg9;
  43517. }
  43518. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  43519. t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
  43520. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  43521. return A.SassList$(t1, separator, bracketed);
  43522. },
  43523. $signature: 21
  43524. };
  43525. A._append_closure0.prototype = {
  43526. call$1($arguments) {
  43527. var separator,
  43528. t1 = J.getInterceptor$asx($arguments),
  43529. list = t1.$index($arguments, 0),
  43530. value = t1.$index($arguments, 1);
  43531. t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  43532. if (t1 === "auto")
  43533. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  43534. else if (t1 === "space")
  43535. separator = B.ListSeparator_EVt;
  43536. else if (t1 === "comma")
  43537. separator = B.ListSeparator_rXA;
  43538. else {
  43539. if (t1 !== "slash")
  43540. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  43541. separator = B.ListSeparator_zg9;
  43542. }
  43543. t1 = A.List_List$of(list.get$asList(), true, type$.Value);
  43544. t1.push(value);
  43545. return list.withListContents$2$separator(t1, separator);
  43546. },
  43547. $signature: 21
  43548. };
  43549. A._zip_closure.prototype = {
  43550. call$1($arguments) {
  43551. var results, result, _box_0 = {},
  43552. t1 = J.$index$asx($arguments, 0).get$asList(),
  43553. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  43554. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  43555. if (lists.length === 0)
  43556. return B.SassList_Sof;
  43557. _box_0.i = 0;
  43558. results = A._setArrayType([], type$.JSArray_SassList);
  43559. for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value>"), t2 = type$.Value; B.JSArray_methods.every$1(lists, new A._zip__closure0(_box_0));) {
  43560. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  43561. result.fixed$length = Array;
  43562. result.immutable$list = Array;
  43563. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  43564. ++_box_0.i;
  43565. }
  43566. return A.SassList$(results, B.ListSeparator_rXA, false);
  43567. },
  43568. $signature: 21
  43569. };
  43570. A._zip__closure.prototype = {
  43571. call$1(list) {
  43572. return list.get$asList();
  43573. },
  43574. $signature: 528
  43575. };
  43576. A._zip__closure0.prototype = {
  43577. call$1(list) {
  43578. return this._box_0.i !== J.get$length$asx(list);
  43579. },
  43580. $signature: 554
  43581. };
  43582. A._zip__closure1.prototype = {
  43583. call$1(list) {
  43584. return J.$index$asx(list, this._box_0.i);
  43585. },
  43586. $signature: 4
  43587. };
  43588. A._index_closure0.prototype = {
  43589. call$1($arguments) {
  43590. var t1 = J.getInterceptor$asx($arguments),
  43591. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  43592. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  43593. },
  43594. $signature: 4
  43595. };
  43596. A._separator_closure.prototype = {
  43597. call$1($arguments) {
  43598. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  43599. case B.ListSeparator_rXA:
  43600. return new A.SassString("comma", false);
  43601. case B.ListSeparator_zg9:
  43602. return new A.SassString("slash", false);
  43603. default:
  43604. return new A.SassString("space", false);
  43605. }
  43606. },
  43607. $signature: 18
  43608. };
  43609. A._isBracketed_closure.prototype = {
  43610. call$1($arguments) {
  43611. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  43612. },
  43613. $signature: 20
  43614. };
  43615. A._slash_closure.prototype = {
  43616. call$1($arguments) {
  43617. var list = J.$index$asx($arguments, 0).get$asList();
  43618. if (list.length < 2)
  43619. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  43620. return A.SassList$(list, B.ListSeparator_zg9, false);
  43621. },
  43622. $signature: 21
  43623. };
  43624. A._get_closure.prototype = {
  43625. call$1($arguments) {
  43626. var value,
  43627. t1 = J.getInterceptor$asx($arguments),
  43628. map = t1.$index($arguments, 0).assertMap$1("map"),
  43629. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43630. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43631. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  43632. value = map._map$_contents.$index(0, t1.get$current(t1));
  43633. if (!(value instanceof A.SassMap))
  43634. return B.C__SassNull;
  43635. }
  43636. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  43637. return t1 == null ? B.C__SassNull : t1;
  43638. },
  43639. $signature: 4
  43640. };
  43641. A._set_closure.prototype = {
  43642. call$1($arguments) {
  43643. var t1 = J.getInterceptor$asx($arguments);
  43644. return A._modify(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value), new A._set__closure0($arguments), true);
  43645. },
  43646. $signature: 4
  43647. };
  43648. A._set__closure0.prototype = {
  43649. call$1(_) {
  43650. return J.$index$asx(this.$arguments, 2);
  43651. },
  43652. $signature: 36
  43653. };
  43654. A._set_closure0.prototype = {
  43655. call$1($arguments) {
  43656. var t1 = J.getInterceptor$asx($arguments),
  43657. map = t1.$index($arguments, 0).assertMap$1("map"),
  43658. args = t1.$index($arguments, 1).get$asList();
  43659. t1 = args.length;
  43660. if (t1 === 0)
  43661. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  43662. else if (t1 === 1)
  43663. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  43664. return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
  43665. },
  43666. $signature: 4
  43667. };
  43668. A._set__closure.prototype = {
  43669. call$1(_) {
  43670. return B.JSArray_methods.get$last(this.args);
  43671. },
  43672. $signature: 36
  43673. };
  43674. A._merge_closure.prototype = {
  43675. call$1($arguments) {
  43676. var t2,
  43677. t1 = J.getInterceptor$asx($arguments),
  43678. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  43679. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  43680. t1 = type$.Value;
  43681. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  43682. t2.addAll$1(0, map2._map$_contents);
  43683. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43684. },
  43685. $signature: 37
  43686. };
  43687. A._merge_closure0.prototype = {
  43688. call$1($arguments) {
  43689. var map2,
  43690. t1 = J.getInterceptor$asx($arguments),
  43691. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  43692. args = t1.$index($arguments, 1).get$asList();
  43693. t1 = args.length;
  43694. if (t1 === 0)
  43695. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  43696. else if (t1 === 1)
  43697. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", null));
  43698. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  43699. return A._modify(map1, A.IterableExtension_get_exceptLast(args), new A._merge__closure(map2), true);
  43700. },
  43701. $signature: 4
  43702. };
  43703. A._merge__closure.prototype = {
  43704. call$1(oldValue) {
  43705. var t1, t2,
  43706. nestedMap = oldValue.tryMap$0();
  43707. if (nestedMap == null)
  43708. return this.map2;
  43709. t1 = type$.Value;
  43710. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  43711. t2.addAll$1(0, this.map2._map$_contents);
  43712. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43713. },
  43714. $signature: 270
  43715. };
  43716. A._deepMerge_closure.prototype = {
  43717. call$1($arguments) {
  43718. var t1 = J.getInterceptor$asx($arguments);
  43719. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  43720. },
  43721. $signature: 37
  43722. };
  43723. A._deepRemove_closure.prototype = {
  43724. call$1($arguments) {
  43725. var t1 = J.getInterceptor$asx($arguments),
  43726. map = t1.$index($arguments, 0).assertMap$1("map"),
  43727. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43728. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43729. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  43730. },
  43731. $signature: 4
  43732. };
  43733. A._deepRemove__closure.prototype = {
  43734. call$1(value) {
  43735. var t1, t2,
  43736. nestedMap = value.tryMap$0();
  43737. if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  43738. t1 = type$.Value;
  43739. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  43740. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  43741. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43742. }
  43743. return value;
  43744. },
  43745. $signature: 36
  43746. };
  43747. A._remove_closure.prototype = {
  43748. call$1($arguments) {
  43749. return J.$index$asx($arguments, 0).assertMap$1("map");
  43750. },
  43751. $signature: 37
  43752. };
  43753. A._remove_closure0.prototype = {
  43754. call$1($arguments) {
  43755. var mutableMap, t3, _i,
  43756. t1 = J.getInterceptor$asx($arguments),
  43757. map = t1.$index($arguments, 0).assertMap$1("map"),
  43758. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43759. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43760. t1 = type$.Value;
  43761. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  43762. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  43763. mutableMap.remove$1(0, t2[_i]);
  43764. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43765. },
  43766. $signature: 37
  43767. };
  43768. A._keys_closure.prototype = {
  43769. call$1($arguments) {
  43770. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  43771. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  43772. },
  43773. $signature: 21
  43774. };
  43775. A._values_closure.prototype = {
  43776. call$1($arguments) {
  43777. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  43778. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  43779. },
  43780. $signature: 21
  43781. };
  43782. A._hasKey_closure.prototype = {
  43783. call$1($arguments) {
  43784. var value,
  43785. t1 = J.getInterceptor$asx($arguments),
  43786. map = t1.$index($arguments, 0).assertMap$1("map"),
  43787. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43788. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43789. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  43790. value = map._map$_contents.$index(0, t1.get$current(t1));
  43791. if (!(value instanceof A.SassMap))
  43792. return B.SassBoolean_false;
  43793. }
  43794. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  43795. },
  43796. $signature: 20
  43797. };
  43798. A._modify_modifyNestedMap.prototype = {
  43799. call$1(map) {
  43800. var nestedMap, _this = this,
  43801. t1 = type$.Value,
  43802. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  43803. t2 = _this.keyIterator,
  43804. key = t2.get$current(t2);
  43805. if (!t2.moveNext$0()) {
  43806. t2 = mutableMap.$index(0, key);
  43807. if (t2 == null)
  43808. t2 = B.C__SassNull;
  43809. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  43810. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43811. }
  43812. t2 = mutableMap.$index(0, key);
  43813. nestedMap = t2 == null ? null : t2.tryMap$0();
  43814. t2 = nestedMap == null;
  43815. if (t2 && !_this.addNesting)
  43816. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43817. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  43818. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43819. },
  43820. $signature: 276
  43821. };
  43822. A._deepMergeImpl_closure.prototype = {
  43823. call$2(key, value) {
  43824. var valueMap, merged,
  43825. t1 = this.result,
  43826. t2 = t1.$index(0, key),
  43827. resultMap = t2 == null ? null : t2.tryMap$0();
  43828. if (resultMap == null)
  43829. t1.$indexSet(0, key, value);
  43830. else {
  43831. valueMap = value.tryMap$0();
  43832. if (valueMap != null) {
  43833. merged = A._deepMergeImpl(resultMap, valueMap);
  43834. if (merged === resultMap)
  43835. return;
  43836. t1.$indexSet(0, key, merged);
  43837. } else
  43838. t1.$indexSet(0, key, value);
  43839. }
  43840. },
  43841. $signature: 60
  43842. };
  43843. A._ceil_closure.prototype = {
  43844. call$1(value) {
  43845. return B.JSNumber_methods.ceil$0(value);
  43846. },
  43847. $signature: 29
  43848. };
  43849. A._clamp_closure.prototype = {
  43850. call$1($arguments) {
  43851. var t1 = J.getInterceptor$asx($arguments),
  43852. min = t1.$index($arguments, 0).assertNumber$1("min"),
  43853. number = t1.$index($arguments, 1).assertNumber$1("number"),
  43854. max = t1.$index($arguments, 2).assertNumber$1("max");
  43855. number.convertValueToMatch$3(min, "number", "min");
  43856. max.convertValueToMatch$3(min, "max", "min");
  43857. if (min.greaterThanOrEquals$1(max).value)
  43858. return min;
  43859. if (min.greaterThanOrEquals$1(number).value)
  43860. return min;
  43861. if (number.greaterThanOrEquals$1(max).value)
  43862. return max;
  43863. return number;
  43864. },
  43865. $signature: 10
  43866. };
  43867. A._floor_closure.prototype = {
  43868. call$1(value) {
  43869. return B.JSNumber_methods.floor$0(value);
  43870. },
  43871. $signature: 29
  43872. };
  43873. A._max_closure.prototype = {
  43874. call$1($arguments) {
  43875. var t1, t2, max, _i, number;
  43876. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  43877. number = t1[_i].assertNumber$0();
  43878. if (max == null || max.lessThan$1(number).value)
  43879. max = number;
  43880. }
  43881. if (max != null)
  43882. return max;
  43883. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43884. },
  43885. $signature: 10
  43886. };
  43887. A._min_closure.prototype = {
  43888. call$1($arguments) {
  43889. var t1, t2, min, _i, number;
  43890. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  43891. number = t1[_i].assertNumber$0();
  43892. if (min == null || min.greaterThan$1(number).value)
  43893. min = number;
  43894. }
  43895. if (min != null)
  43896. return min;
  43897. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43898. },
  43899. $signature: 10
  43900. };
  43901. A._round_closure.prototype = {
  43902. call$1(number) {
  43903. return B.JSNumber_methods.round$0(number);
  43904. },
  43905. $signature: 29
  43906. };
  43907. A._abs_closure.prototype = {
  43908. call$1(value) {
  43909. return Math.abs(value);
  43910. },
  43911. $signature: 29
  43912. };
  43913. A._hypot_closure.prototype = {
  43914. call$1($arguments) {
  43915. var subtotal, i, i0, t3, t4,
  43916. t1 = J.$index$asx($arguments, 0).get$asList(),
  43917. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  43918. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  43919. t1 = numbers.length;
  43920. if (t1 === 0)
  43921. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43922. for (subtotal = 0, i = 0; i < t1; i = i0) {
  43923. i0 = i + 1;
  43924. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  43925. }
  43926. t1 = Math.sqrt(subtotal);
  43927. t2 = numbers[0];
  43928. t3 = J.getInterceptor$x(t2);
  43929. t4 = t3.get$numeratorUnits(t2);
  43930. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  43931. },
  43932. $signature: 10
  43933. };
  43934. A._hypot__closure.prototype = {
  43935. call$1(argument) {
  43936. return argument.assertNumber$0();
  43937. },
  43938. $signature: 282
  43939. };
  43940. A._log_closure.prototype = {
  43941. call$1($arguments) {
  43942. var base,
  43943. _s18_ = " to have no units.",
  43944. _null = null,
  43945. t1 = J.getInterceptor$asx($arguments),
  43946. number = t1.$index($arguments, 0).assertNumber$1("number");
  43947. if (number.get$hasUnits())
  43948. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  43949. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  43950. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  43951. base = t1.$index($arguments, 1).assertNumber$1("base");
  43952. if (base.get$hasUnits())
  43953. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  43954. else
  43955. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  43956. },
  43957. $signature: 10
  43958. };
  43959. A._pow_closure.prototype = {
  43960. call$1($arguments) {
  43961. var _s18_ = " to have no units.",
  43962. t1 = J.getInterceptor$asx($arguments),
  43963. base = t1.$index($arguments, 0).assertNumber$1("base"),
  43964. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  43965. if (base.get$hasUnits())
  43966. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, null));
  43967. else if (exponent.get$hasUnits())
  43968. throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  43969. else
  43970. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  43971. },
  43972. $signature: 10
  43973. };
  43974. A._sqrt_closure.prototype = {
  43975. call$1($arguments) {
  43976. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43977. if (number.get$hasUnits())
  43978. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43979. else
  43980. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  43981. },
  43982. $signature: 10
  43983. };
  43984. A._acos_closure.prototype = {
  43985. call$1($arguments) {
  43986. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43987. if (number.get$hasUnits())
  43988. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43989. else
  43990. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  43991. },
  43992. $signature: 10
  43993. };
  43994. A._asin_closure.prototype = {
  43995. call$1($arguments) {
  43996. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43997. if (number.get$hasUnits())
  43998. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43999. else
  44000. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44001. },
  44002. $signature: 10
  44003. };
  44004. A._atan_closure.prototype = {
  44005. call$1($arguments) {
  44006. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44007. if (number.get$hasUnits())
  44008. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44009. else
  44010. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44011. },
  44012. $signature: 10
  44013. };
  44014. A._atan2_closure.prototype = {
  44015. call$1($arguments) {
  44016. var t1 = J.getInterceptor$asx($arguments),
  44017. y = t1.$index($arguments, 0).assertNumber$1("y");
  44018. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44019. },
  44020. $signature: 10
  44021. };
  44022. A._cos_closure.prototype = {
  44023. call$1($arguments) {
  44024. return A.SassNumber_SassNumber(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44025. },
  44026. $signature: 10
  44027. };
  44028. A._sin_closure.prototype = {
  44029. call$1($arguments) {
  44030. return A.SassNumber_SassNumber(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44031. },
  44032. $signature: 10
  44033. };
  44034. A._tan_closure.prototype = {
  44035. call$1($arguments) {
  44036. return A.SassNumber_SassNumber(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44037. },
  44038. $signature: 10
  44039. };
  44040. A._compatible_closure.prototype = {
  44041. call$1($arguments) {
  44042. var t1 = J.getInterceptor$asx($arguments);
  44043. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  44044. },
  44045. $signature: 20
  44046. };
  44047. A._isUnitless_closure.prototype = {
  44048. call$1($arguments) {
  44049. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  44050. },
  44051. $signature: 20
  44052. };
  44053. A._unit_closure.prototype = {
  44054. call$1($arguments) {
  44055. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  44056. },
  44057. $signature: 18
  44058. };
  44059. A._percentage_closure.prototype = {
  44060. call$1($arguments) {
  44061. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44062. number.assertNoUnits$1("number");
  44063. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  44064. },
  44065. $signature: 10
  44066. };
  44067. A._randomFunction_closure.prototype = {
  44068. call$1($arguments) {
  44069. var limit, t2, t3, t4, limitScalar,
  44070. t1 = J.getInterceptor$asx($arguments);
  44071. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  44072. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  44073. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  44074. if (limit.get$hasUnits()) {
  44075. t1 = limit.toString$0(0);
  44076. t2 = limit.get$unitString();
  44077. t3 = limit.get$unitString();
  44078. t4 = limit.get$unitString();
  44079. A.EvaluationContext_current().warn$2$deprecation(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, false);
  44080. }
  44081. limitScalar = limit.assertInt$1("limit");
  44082. if (limitScalar < 1)
  44083. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  44084. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  44085. },
  44086. $signature: 10
  44087. };
  44088. A._div_closure.prototype = {
  44089. call$1($arguments) {
  44090. var t1 = J.getInterceptor$asx($arguments),
  44091. number1 = t1.$index($arguments, 0),
  44092. number2 = t1.$index($arguments, 1);
  44093. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  44094. A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
  44095. return number1.dividedBy$1(number2);
  44096. },
  44097. $signature: 4
  44098. };
  44099. A._numberFunction_closure.prototype = {
  44100. call$1($arguments) {
  44101. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  44102. t1 = this.transform.call$1(number._number$_value),
  44103. t2 = number.get$numeratorUnits(number);
  44104. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  44105. },
  44106. $signature: 10
  44107. };
  44108. A.global_closure26.prototype = {
  44109. call$1($arguments) {
  44110. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  44111. },
  44112. $signature: 20
  44113. };
  44114. A.global_closure27.prototype = {
  44115. call$1($arguments) {
  44116. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  44117. },
  44118. $signature: 18
  44119. };
  44120. A.global_closure28.prototype = {
  44121. call$1($arguments) {
  44122. var value = J.$index$asx($arguments, 0);
  44123. if (value instanceof A.SassArgumentList)
  44124. return new A.SassString("arglist", false);
  44125. if (value instanceof A.SassBoolean)
  44126. return new A.SassString("bool", false);
  44127. if (value instanceof A.SassColor)
  44128. return new A.SassString("color", false);
  44129. if (value instanceof A.SassList)
  44130. return new A.SassString("list", false);
  44131. if (value instanceof A.SassMap)
  44132. return new A.SassString("map", false);
  44133. if (value.$eq(0, B.C__SassNull))
  44134. return new A.SassString("null", false);
  44135. if (value instanceof A.SassNumber)
  44136. return new A.SassString("number", false);
  44137. if (value instanceof A.SassFunction)
  44138. return new A.SassString("function", false);
  44139. if (value instanceof A.SassCalculation)
  44140. return new A.SassString("calculation", false);
  44141. return new A.SassString("string", false);
  44142. },
  44143. $signature: 18
  44144. };
  44145. A.global_closure29.prototype = {
  44146. call$1($arguments) {
  44147. var t1, t2, t3, t4,
  44148. argumentList = J.$index$asx($arguments, 0);
  44149. if (argumentList instanceof A.SassArgumentList) {
  44150. t1 = type$.Value;
  44151. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  44152. for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  44153. t4 = t3.get$current(t3);
  44154. t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
  44155. }
  44156. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  44157. } else
  44158. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  44159. },
  44160. $signature: 37
  44161. };
  44162. A.local_closure.prototype = {
  44163. call$1($arguments) {
  44164. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  44165. },
  44166. $signature: 18
  44167. };
  44168. A.local_closure0.prototype = {
  44169. call$1($arguments) {
  44170. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  44171. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  44172. },
  44173. $signature: 21
  44174. };
  44175. A.local__closure.prototype = {
  44176. call$1(argument) {
  44177. if (argument instanceof A.Value)
  44178. return argument;
  44179. return new A.SassString(J.toString$0$(argument), false);
  44180. },
  44181. $signature: 284
  44182. };
  44183. A._nest_closure.prototype = {
  44184. call$1($arguments) {
  44185. var t1 = {},
  44186. selectors = J.$index$asx($arguments, 0).get$asList();
  44187. if (selectors.length === 0)
  44188. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  44189. t1.first = true;
  44190. return new A.MappedListIterable(selectors, new A._nest__closure(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._nest__closure0()).get$asSassList();
  44191. },
  44192. $signature: 21
  44193. };
  44194. A._nest__closure.prototype = {
  44195. call$1(selector) {
  44196. var t1 = this._box_0,
  44197. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  44198. t1.first = false;
  44199. return result;
  44200. },
  44201. $signature: 205
  44202. };
  44203. A._nest__closure0.prototype = {
  44204. call$2($parent, child) {
  44205. return child.resolveParentSelectors$1($parent);
  44206. },
  44207. $signature: 209
  44208. };
  44209. A._append_closure.prototype = {
  44210. call$1($arguments) {
  44211. var selectors = J.$index$asx($arguments, 0).get$asList();
  44212. if (selectors.length === 0)
  44213. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  44214. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0()).get$asSassList();
  44215. },
  44216. $signature: 21
  44217. };
  44218. A._append__closure.prototype = {
  44219. call$1(selector) {
  44220. return A.SassApiValue_assertSelector(selector, false, null);
  44221. },
  44222. $signature: 205
  44223. };
  44224. A._append__closure0.prototype = {
  44225. call$2($parent, child) {
  44226. var t1 = child.components;
  44227. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
  44228. },
  44229. $signature: 209
  44230. };
  44231. A._append___closure.prototype = {
  44232. call$1(complex) {
  44233. var t1, component, newCompound, t2;
  44234. if (complex.leadingCombinators.length !== 0)
  44235. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  44236. t1 = complex.components;
  44237. component = B.JSArray_methods.get$first(t1);
  44238. newCompound = A._prependParent(component.selector);
  44239. if (newCompound == null)
  44240. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  44241. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.Combinator))], type$.JSArray_ComplexSelectorComponent);
  44242. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  44243. return A.ComplexSelector$(B.List_empty0, t2, false);
  44244. },
  44245. $signature: 72
  44246. };
  44247. A._extend_closure.prototype = {
  44248. call$1($arguments) {
  44249. var target, source,
  44250. _s8_ = "selector",
  44251. _s8_0 = "extendee",
  44252. _s8_1 = "extender",
  44253. t1 = J.getInterceptor$asx($arguments),
  44254. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  44255. selector.assertNotBogus$1$name(_s8_);
  44256. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  44257. target.assertNotBogus$1$name(_s8_0);
  44258. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  44259. source.assertNotBogus$1$name(_s8_1);
  44260. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  44261. },
  44262. $signature: 21
  44263. };
  44264. A._replace_closure.prototype = {
  44265. call$1($arguments) {
  44266. var target, source,
  44267. _s8_ = "selector",
  44268. _s8_0 = "original",
  44269. _s11_ = "replacement",
  44270. t1 = J.getInterceptor$asx($arguments),
  44271. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  44272. selector.assertNotBogus$1$name(_s8_);
  44273. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  44274. target.assertNotBogus$1$name(_s8_0);
  44275. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  44276. source.assertNotBogus$1$name(_s11_);
  44277. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  44278. },
  44279. $signature: 21
  44280. };
  44281. A._unify_closure.prototype = {
  44282. call$1($arguments) {
  44283. var selector2, result,
  44284. _s9_ = "selector1",
  44285. _s9_0 = "selector2",
  44286. t1 = J.getInterceptor$asx($arguments),
  44287. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  44288. selector1.assertNotBogus$1$name(_s9_);
  44289. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  44290. selector2.assertNotBogus$1$name(_s9_0);
  44291. result = selector1.unify$1(selector2);
  44292. return result == null ? B.C__SassNull : result.get$asSassList();
  44293. },
  44294. $signature: 4
  44295. };
  44296. A._isSuperselector_closure.prototype = {
  44297. call$1($arguments) {
  44298. var selector2,
  44299. t1 = J.getInterceptor$asx($arguments),
  44300. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  44301. selector1.assertNotBogus$1$name("super");
  44302. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  44303. selector2.assertNotBogus$1$name("sub");
  44304. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  44305. },
  44306. $signature: 20
  44307. };
  44308. A._simpleSelectors_closure.prototype = {
  44309. call$1($arguments) {
  44310. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  44311. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  44312. },
  44313. $signature: 21
  44314. };
  44315. A._simpleSelectors__closure.prototype = {
  44316. call$1(simple) {
  44317. return new A.SassString(A.serializeSelector(simple, true), false);
  44318. },
  44319. $signature: 288
  44320. };
  44321. A._parse_closure.prototype = {
  44322. call$1($arguments) {
  44323. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  44324. },
  44325. $signature: 21
  44326. };
  44327. A._unquote_closure.prototype = {
  44328. call$1($arguments) {
  44329. var string = J.$index$asx($arguments, 0).assertString$1("string");
  44330. if (!string._hasQuotes)
  44331. return string;
  44332. return new A.SassString(string._string$_text, false);
  44333. },
  44334. $signature: 18
  44335. };
  44336. A._quote_closure.prototype = {
  44337. call$1($arguments) {
  44338. var string = J.$index$asx($arguments, 0).assertString$1("string");
  44339. if (string._hasQuotes)
  44340. return string;
  44341. return new A.SassString(string._string$_text, true);
  44342. },
  44343. $signature: 18
  44344. };
  44345. A._length_closure.prototype = {
  44346. call$1($arguments) {
  44347. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  44348. },
  44349. $signature: 10
  44350. };
  44351. A._insert_closure.prototype = {
  44352. call$1($arguments) {
  44353. var indexInt, codeUnitIndex, _s5_ = "index",
  44354. t1 = J.getInterceptor$asx($arguments),
  44355. string = t1.$index($arguments, 0).assertString$1("string"),
  44356. insert = t1.$index($arguments, 1).assertString$1("insert"),
  44357. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  44358. index.assertNoUnits$1(_s5_);
  44359. indexInt = index.assertInt$1(_s5_);
  44360. if (indexInt < 0)
  44361. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  44362. t1 = string._string$_text;
  44363. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  44364. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  44365. },
  44366. $signature: 18
  44367. };
  44368. A._index_closure.prototype = {
  44369. call$1($arguments) {
  44370. var t1 = J.getInterceptor$asx($arguments),
  44371. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  44372. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  44373. if (codeUnitIndex === -1)
  44374. return B.C__SassNull;
  44375. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  44376. },
  44377. $signature: 4
  44378. };
  44379. A._slice_closure.prototype = {
  44380. call$1($arguments) {
  44381. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  44382. _s8_ = "start-at",
  44383. t1 = J.getInterceptor$asx($arguments),
  44384. string = t1.$index($arguments, 0).assertString$1("string"),
  44385. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  44386. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  44387. start.assertNoUnits$1(_s8_);
  44388. end.assertNoUnits$1("end-at");
  44389. lengthInCodepoints = string.get$_sassLength();
  44390. endInt = end.assertInt$0();
  44391. if (endInt === 0)
  44392. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  44393. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  44394. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  44395. if (endCodepoint === lengthInCodepoints)
  44396. --endCodepoint;
  44397. if (endCodepoint < startCodepoint)
  44398. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  44399. t1 = string._string$_text;
  44400. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  44401. },
  44402. $signature: 18
  44403. };
  44404. A._toUpperCase_closure.prototype = {
  44405. call$1($arguments) {
  44406. var t1, t2, i, t3, t4,
  44407. string = J.$index$asx($arguments, 0).assertString$1("string");
  44408. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  44409. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  44410. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  44411. }
  44412. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  44413. },
  44414. $signature: 18
  44415. };
  44416. A._toLowerCase_closure.prototype = {
  44417. call$1($arguments) {
  44418. var t1, t2, i, t3, t4,
  44419. string = J.$index$asx($arguments, 0).assertString$1("string");
  44420. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  44421. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  44422. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  44423. }
  44424. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  44425. },
  44426. $signature: 18
  44427. };
  44428. A._uniqueId_closure.prototype = {
  44429. call$1($arguments) {
  44430. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  44431. $._previousUniqueId = t1;
  44432. if (t1 > Math.pow(36, 6))
  44433. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  44434. return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
  44435. },
  44436. $signature: 18
  44437. };
  44438. A.ImportCache.prototype = {
  44439. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  44440. var relativeResult, _this = this;
  44441. if (baseImporter != null) {
  44442. relativeResult = _this._relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri), new A.ImportCache_canonicalize_closure(_this, baseUrl, url, baseImporter, forImport));
  44443. if (relativeResult != null)
  44444. return relativeResult;
  44445. }
  44446. return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
  44447. },
  44448. canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
  44449. return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
  44450. },
  44451. _canonicalize$3(importer, url, forImport) {
  44452. var t1, result;
  44453. if (forImport) {
  44454. t1 = type$.nullable_Object;
  44455. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  44456. } else
  44457. result = importer.canonicalize$1(0, url);
  44458. if ((result == null ? null : result.get$scheme()) === "")
  44459. this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  44460. return result;
  44461. },
  44462. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  44463. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  44464. },
  44465. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  44466. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  44467. },
  44468. importCanonical$2(importer, canonicalUrl) {
  44469. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  44470. },
  44471. humanize$1(canonicalUrl) {
  44472. var t2, url,
  44473. t1 = this._canonicalizeCache;
  44474. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
  44475. t2 = t1.$ti;
  44476. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1());
  44477. if (url == null)
  44478. return canonicalUrl;
  44479. t1 = $.$get$url();
  44480. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  44481. },
  44482. sourceMapUrl$1(_, canonicalUrl) {
  44483. var t1 = this._resultsCache.$index(0, canonicalUrl);
  44484. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  44485. return t1 == null ? canonicalUrl : t1;
  44486. },
  44487. clearCanonicalize$1(url) {
  44488. var t3, t4, _i,
  44489. t1 = this._canonicalizeCache,
  44490. t2 = type$.Tuple2_Uri_bool;
  44491. t1.remove$1(0, new A.Tuple2(url, false, t2));
  44492. t1.remove$1(0, new A.Tuple2(url, true, t2));
  44493. t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
  44494. for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
  44495. t4 = t3.__js_helper$_current;
  44496. if (t4.item1.$eq(0, url))
  44497. t2.push(t4);
  44498. }
  44499. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  44500. t1.remove$1(0, t2[_i]);
  44501. },
  44502. clearImport$1(canonicalUrl) {
  44503. this._resultsCache.remove$1(0, canonicalUrl);
  44504. this._importCache.remove$1(0, canonicalUrl);
  44505. }
  44506. };
  44507. A.ImportCache_canonicalize_closure.prototype = {
  44508. call$0() {
  44509. var canonicalUrl, _this = this,
  44510. t1 = _this.baseUrl,
  44511. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  44512. if (resolvedUrl == null)
  44513. resolvedUrl = _this.url;
  44514. t1 = _this.baseImporter;
  44515. canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
  44516. if (canonicalUrl == null)
  44517. return null;
  44518. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
  44519. },
  44520. $signature: 100
  44521. };
  44522. A.ImportCache_canonicalize_closure0.prototype = {
  44523. call$0() {
  44524. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  44525. for (t1 = this.$this, t2 = t1._importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  44526. importer = t2[_i];
  44527. canonicalUrl = t1._canonicalize$3(importer, t4, t5);
  44528. if (canonicalUrl != null)
  44529. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
  44530. }
  44531. return null;
  44532. },
  44533. $signature: 100
  44534. };
  44535. A.ImportCache__canonicalize_closure.prototype = {
  44536. call$0() {
  44537. return this.importer.canonicalize$1(0, this.url);
  44538. },
  44539. $signature: 216
  44540. };
  44541. A.ImportCache_importCanonical_closure.prototype = {
  44542. call$0() {
  44543. var t3, _this = this,
  44544. t1 = _this.canonicalUrl,
  44545. result = _this.importer.load$1(0, t1),
  44546. t2 = _this.$this;
  44547. t2._resultsCache.$indexSet(0, t1, result);
  44548. t3 = _this.originalUrl;
  44549. t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
  44550. t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
  44551. return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
  44552. },
  44553. $signature: 90
  44554. };
  44555. A.ImportCache_humanize_closure.prototype = {
  44556. call$1(tuple) {
  44557. return tuple.item2.$eq(0, this.canonicalUrl);
  44558. },
  44559. $signature: 295
  44560. };
  44561. A.ImportCache_humanize_closure0.prototype = {
  44562. call$1(tuple) {
  44563. return tuple.item3;
  44564. },
  44565. $signature: 296
  44566. };
  44567. A.ImportCache_humanize_closure1.prototype = {
  44568. call$1(url) {
  44569. return url.get$path(url).length;
  44570. },
  44571. $signature: 91
  44572. };
  44573. A.Importer.prototype = {
  44574. modificationTime$1(url) {
  44575. return new A.DateTime(Date.now(), false);
  44576. },
  44577. couldCanonicalize$2(url, canonicalUrl) {
  44578. return true;
  44579. }
  44580. };
  44581. A.AsyncImporter.prototype = {};
  44582. A.FilesystemImporter.prototype = {
  44583. canonicalize$1(_, url) {
  44584. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  44585. return null;
  44586. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  44587. },
  44588. load$1(_, url) {
  44589. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  44590. t1 = A.readFile(path),
  44591. t2 = A.Syntax_forPath(path),
  44592. t3 = url.get$scheme();
  44593. if (t3 === "")
  44594. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  44595. return new A.ImporterResult(t1, url, t2);
  44596. },
  44597. modificationTime$1(url) {
  44598. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  44599. },
  44600. couldCanonicalize$2(url, canonicalUrl) {
  44601. var t1, t2, t3, basename, canonicalBasename;
  44602. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  44603. return false;
  44604. if (canonicalUrl.get$scheme() !== "file")
  44605. return false;
  44606. t1 = $.$get$url();
  44607. t2 = url.get$path(url);
  44608. t3 = t1.style;
  44609. basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
  44610. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
  44611. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  44612. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  44613. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  44614. },
  44615. toString$0(_) {
  44616. return this._loadPath;
  44617. }
  44618. };
  44619. A.FilesystemImporter_canonicalize_closure.prototype = {
  44620. call$1(resolved) {
  44621. var t1, t2, t0, _null = null;
  44622. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  44623. t1 = $.$get$context();
  44624. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
  44625. t0 = t2;
  44626. t2 = t1;
  44627. t1 = t0;
  44628. } else {
  44629. t1 = $.$get$context();
  44630. t2 = t1.canonicalize$1(0, resolved);
  44631. t0 = t2;
  44632. t2 = t1;
  44633. t1 = t0;
  44634. }
  44635. return t2.toUri$1(t1);
  44636. },
  44637. $signature: 219
  44638. };
  44639. A.ImporterResult.prototype = {
  44640. get$sourceMapUrl(_) {
  44641. return this._sourceMapUrl;
  44642. }
  44643. };
  44644. A.resolveImportPath_closure.prototype = {
  44645. call$0() {
  44646. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  44647. },
  44648. $signature: 42
  44649. };
  44650. A.resolveImportPath_closure0.prototype = {
  44651. call$0() {
  44652. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  44653. },
  44654. $signature: 42
  44655. };
  44656. A._tryPathAsDirectory_closure.prototype = {
  44657. call$0() {
  44658. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  44659. },
  44660. $signature: 42
  44661. };
  44662. A._exactlyOne_closure.prototype = {
  44663. call$1(path) {
  44664. var t1 = $.$get$context();
  44665. return " " + t1.prettyUri$1(t1.toUri$1(path));
  44666. },
  44667. $signature: 5
  44668. };
  44669. A.InterpolationBuffer.prototype = {
  44670. writeCharCode$1(character) {
  44671. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  44672. return null;
  44673. },
  44674. add$1(_, expression) {
  44675. this._flushText$0();
  44676. this._interpolation_buffer$_contents.push(expression);
  44677. },
  44678. addInterpolation$1(interpolation) {
  44679. var first, t1, _this = this,
  44680. toAdd = interpolation.contents;
  44681. if (toAdd.length === 0)
  44682. return;
  44683. first = B.JSArray_methods.get$first(toAdd);
  44684. if (typeof first == "string") {
  44685. _this._interpolation_buffer$_text._contents += first;
  44686. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  44687. }
  44688. _this._flushText$0();
  44689. t1 = _this._interpolation_buffer$_contents;
  44690. B.JSArray_methods.addAll$1(t1, toAdd);
  44691. if (typeof B.JSArray_methods.get$last(t1) == "string")
  44692. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  44693. },
  44694. _flushText$0() {
  44695. var t1 = this._interpolation_buffer$_text,
  44696. t2 = t1._contents;
  44697. if (t2.length === 0)
  44698. return;
  44699. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  44700. t1._contents = "";
  44701. },
  44702. interpolation$1(span) {
  44703. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  44704. t2 = this._interpolation_buffer$_text._contents;
  44705. if (t2.length !== 0)
  44706. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  44707. return A.Interpolation$(t1, span);
  44708. },
  44709. toString$0(_) {
  44710. var t1, t2, _i, t3, element;
  44711. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  44712. element = t1[_i];
  44713. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  44714. }
  44715. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  44716. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44717. }
  44718. };
  44719. A._realCasePath_helper.prototype = {
  44720. call$1(path) {
  44721. var dirname = $.$get$context().dirname$1(path);
  44722. if (dirname === path)
  44723. return path;
  44724. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  44725. },
  44726. $signature: 5
  44727. };
  44728. A._realCasePath_helper_closure.prototype = {
  44729. call$0() {
  44730. var matches, t2, exception,
  44731. realDirname = this.helper.call$1(this.dirname),
  44732. t1 = this.path,
  44733. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  44734. try {
  44735. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  44736. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  44737. return t2;
  44738. } catch (exception) {
  44739. if (A.unwrapException(exception) instanceof A.FileSystemException)
  44740. return t1;
  44741. else
  44742. throw exception;
  44743. }
  44744. },
  44745. $signature: 30
  44746. };
  44747. A._realCasePath_helper__closure.prototype = {
  44748. call$1(realPath) {
  44749. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  44750. },
  44751. $signature: 8
  44752. };
  44753. A.FileSystemException.prototype = {
  44754. toString$0(_) {
  44755. var t1 = $.$get$context();
  44756. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  44757. },
  44758. get$message(receiver) {
  44759. return this.message;
  44760. }
  44761. };
  44762. A.Stderr.prototype = {
  44763. writeln$1(object) {
  44764. J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
  44765. },
  44766. writeln$0() {
  44767. return this.writeln$1(null);
  44768. }
  44769. };
  44770. A._readFile_closure.prototype = {
  44771. call$0() {
  44772. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  44773. },
  44774. $signature: 92
  44775. };
  44776. A.writeFile_closure.prototype = {
  44777. call$0() {
  44778. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  44779. },
  44780. $signature: 0
  44781. };
  44782. A.deleteFile_closure.prototype = {
  44783. call$0() {
  44784. return J.unlinkSync$1$x(A.fs(), this.path);
  44785. },
  44786. $signature: 0
  44787. };
  44788. A.readStdin_closure.prototype = {
  44789. call$1(result) {
  44790. this._box_0.contents = result;
  44791. this.completer.complete$1(result);
  44792. },
  44793. $signature: 119
  44794. };
  44795. A.readStdin_closure0.prototype = {
  44796. call$1(chunk) {
  44797. this.sink.add$1(0, type$.List_int._as(chunk));
  44798. },
  44799. call$0() {
  44800. return this.call$1(null);
  44801. },
  44802. "call*": "call$1",
  44803. $requiredArgCount: 0,
  44804. $defaultValues() {
  44805. return [null];
  44806. },
  44807. $signature: 97
  44808. };
  44809. A.readStdin_closure1.prototype = {
  44810. call$1(_) {
  44811. this.sink.close$0(0);
  44812. },
  44813. call$0() {
  44814. return this.call$1(null);
  44815. },
  44816. "call*": "call$1",
  44817. $requiredArgCount: 0,
  44818. $defaultValues() {
  44819. return [null];
  44820. },
  44821. $signature: 97
  44822. };
  44823. A.readStdin_closure2.prototype = {
  44824. call$1(e) {
  44825. var t1 = $.$get$stderr();
  44826. t1.writeln$1("Failed to read from stdin");
  44827. t1.writeln$1(e);
  44828. e.toString;
  44829. this.completer.completeError$1(e);
  44830. },
  44831. call$0() {
  44832. return this.call$1(null);
  44833. },
  44834. "call*": "call$1",
  44835. $requiredArgCount: 0,
  44836. $defaultValues() {
  44837. return [null];
  44838. },
  44839. $signature: 97
  44840. };
  44841. A.fileExists_closure.prototype = {
  44842. call$0() {
  44843. var error, systemError, exception,
  44844. t1 = this.path;
  44845. if (!J.existsSync$1$x(A.fs(), t1))
  44846. return false;
  44847. try {
  44848. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  44849. return t1;
  44850. } catch (exception) {
  44851. error = A.unwrapException(exception);
  44852. systemError = type$.JsSystemError._as(error);
  44853. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44854. return false;
  44855. throw exception;
  44856. }
  44857. },
  44858. $signature: 28
  44859. };
  44860. A.dirExists_closure.prototype = {
  44861. call$0() {
  44862. var error, systemError, exception,
  44863. t1 = this.path;
  44864. if (!J.existsSync$1$x(A.fs(), t1))
  44865. return false;
  44866. try {
  44867. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  44868. return t1;
  44869. } catch (exception) {
  44870. error = A.unwrapException(exception);
  44871. systemError = type$.JsSystemError._as(error);
  44872. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44873. return false;
  44874. throw exception;
  44875. }
  44876. },
  44877. $signature: 28
  44878. };
  44879. A.ensureDir_closure.prototype = {
  44880. call$0() {
  44881. var error, systemError, exception, t1;
  44882. try {
  44883. J.mkdirSync$1$x(A.fs(), this.path);
  44884. } catch (exception) {
  44885. error = A.unwrapException(exception);
  44886. systemError = type$.JsSystemError._as(error);
  44887. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  44888. return;
  44889. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44890. throw exception;
  44891. t1 = this.path;
  44892. A.ensureDir($.$get$context().dirname$1(t1));
  44893. J.mkdirSync$1$x(A.fs(), t1);
  44894. }
  44895. },
  44896. $signature: 0
  44897. };
  44898. A.listDir_closure.prototype = {
  44899. call$0() {
  44900. var t1 = this.path;
  44901. if (!this.recursive)
  44902. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).where$1(0, new A.listDir__closure0());
  44903. else
  44904. return new A.listDir_closure_list().call$1(t1);
  44905. },
  44906. $signature: 141
  44907. };
  44908. A.listDir__closure.prototype = {
  44909. call$1(child) {
  44910. return A.join(this.path, A._asString(child), null);
  44911. },
  44912. $signature: 86
  44913. };
  44914. A.listDir__closure0.prototype = {
  44915. call$1(child) {
  44916. return !A.dirExists(child);
  44917. },
  44918. $signature: 8
  44919. };
  44920. A.listDir_closure_list.prototype = {
  44921. call$1($parent) {
  44922. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  44923. },
  44924. $signature: 143
  44925. };
  44926. A.listDir__list_closure.prototype = {
  44927. call$1(child) {
  44928. var path = A.join(this.parent, A._asString(child), null);
  44929. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  44930. },
  44931. $signature: 147
  44932. };
  44933. A.modificationTime_closure.prototype = {
  44934. call$0() {
  44935. var t2,
  44936. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  44937. if (Math.abs(t1) <= 864e13)
  44938. t2 = false;
  44939. else
  44940. t2 = true;
  44941. if (t2)
  44942. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  44943. A.checkNotNullable(false, "isUtc", type$.bool);
  44944. return new A.DateTime(t1, false);
  44945. },
  44946. $signature: 149
  44947. };
  44948. A.watchDir_closure.prototype = {
  44949. call$2(path, _) {
  44950. var t1 = this._box_0.controller;
  44951. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  44952. },
  44953. call$1(path) {
  44954. return this.call$2(path, null);
  44955. },
  44956. "call*": "call$2",
  44957. $requiredArgCount: 1,
  44958. $defaultValues() {
  44959. return [null];
  44960. },
  44961. $signature: 151
  44962. };
  44963. A.watchDir_closure0.prototype = {
  44964. call$2(path, _) {
  44965. var t1 = this._box_0.controller;
  44966. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  44967. },
  44968. call$1(path) {
  44969. return this.call$2(path, null);
  44970. },
  44971. "call*": "call$2",
  44972. $requiredArgCount: 1,
  44973. $defaultValues() {
  44974. return [null];
  44975. },
  44976. $signature: 151
  44977. };
  44978. A.watchDir_closure1.prototype = {
  44979. call$1(path) {
  44980. var t1 = this._box_0.controller;
  44981. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  44982. },
  44983. $signature: 119
  44984. };
  44985. A.watchDir_closure2.prototype = {
  44986. call$1(error) {
  44987. var t1 = this._box_0.controller;
  44988. return t1 == null ? null : t1.addError$1(error);
  44989. },
  44990. $signature: 118
  44991. };
  44992. A.watchDir_closure3.prototype = {
  44993. call$0() {
  44994. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  44995. this._box_0.controller = controller;
  44996. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  44997. },
  44998. $signature: 1
  44999. };
  45000. A.watchDir__closure.prototype = {
  45001. call$0() {
  45002. J.close$0$x(this.watcher);
  45003. },
  45004. $signature: 1
  45005. };
  45006. A._QuietLogger.prototype = {
  45007. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45008. },
  45009. warn$1($receiver, message) {
  45010. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  45011. },
  45012. warn$2$deprecation($receiver, message, deprecation) {
  45013. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45014. },
  45015. warn$2$span($receiver, message, span) {
  45016. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45017. },
  45018. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45019. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45020. },
  45021. warn$2$trace($receiver, message, trace) {
  45022. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45023. },
  45024. debug$2(_, message, span) {
  45025. }
  45026. };
  45027. A.StderrLogger.prototype = {
  45028. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45029. var t2, t3, t4,
  45030. t1 = this.color;
  45031. if (t1) {
  45032. t2 = $.$get$stderr();
  45033. t3 = t2._stderr;
  45034. t4 = J.getInterceptor$x(t3);
  45035. t4.write$1(t3, "\x1b[33m\x1b[1m");
  45036. if (deprecation)
  45037. t4.write$1(t3, "Deprecation ");
  45038. t4.write$1(t3, "Warning\x1b[0m");
  45039. } else {
  45040. if (deprecation)
  45041. J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
  45042. t2 = $.$get$stderr();
  45043. J.write$1$x(t2._stderr, "WARNING");
  45044. }
  45045. if (span == null)
  45046. t2.writeln$1(": " + message);
  45047. else if (trace != null)
  45048. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  45049. else
  45050. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  45051. if (trace != null)
  45052. t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  45053. t2.writeln$0();
  45054. },
  45055. warn$1($receiver, message) {
  45056. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  45057. },
  45058. warn$2$deprecation($receiver, message, deprecation) {
  45059. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45060. },
  45061. warn$2$span($receiver, message, span) {
  45062. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45063. },
  45064. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45065. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45066. },
  45067. warn$2$trace($receiver, message, trace) {
  45068. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45069. },
  45070. debug$2(_, message, span) {
  45071. var url, t3, t4,
  45072. t1 = span.file,
  45073. t2 = span._file$_start;
  45074. if (A.FileLocation$_(t1, t2).file.url == null)
  45075. url = "-";
  45076. else {
  45077. t3 = A.FileLocation$_(t1, t2);
  45078. url = $.$get$context().prettyUri$1(t3.file.url);
  45079. }
  45080. t3 = $.$get$stderr();
  45081. t2 = A.FileLocation$_(t1, t2);
  45082. t2 = t2.file.getLine$1(t2.offset);
  45083. t1 = t3._stderr;
  45084. t4 = J.getInterceptor$x(t1);
  45085. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  45086. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  45087. t3.writeln$1(": " + message);
  45088. }
  45089. };
  45090. A.TerseLogger.prototype = {
  45091. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45092. var firstParagraph, t1, t2, count;
  45093. if (deprecation) {
  45094. firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
  45095. t1 = this._warningCounts;
  45096. t2 = t1.$index(0, firstParagraph);
  45097. count = (t2 == null ? 0 : t2) + 1;
  45098. t1.$indexSet(0, firstParagraph, count);
  45099. if (count > 5)
  45100. return;
  45101. }
  45102. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  45103. },
  45104. warn$2$deprecation($receiver, message, deprecation) {
  45105. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45106. },
  45107. warn$2$span($receiver, message, span) {
  45108. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45109. },
  45110. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45111. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45112. },
  45113. warn$2$trace($receiver, message, trace) {
  45114. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45115. },
  45116. debug$2(_, message, span) {
  45117. return this._inner.debug$2(0, message, span);
  45118. },
  45119. summarize$1$node(node) {
  45120. var t2, total,
  45121. t1 = this._warningCounts;
  45122. t1 = t1.get$values(t1);
  45123. t2 = A._instanceType(t1);
  45124. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  45125. if (total > 0) {
  45126. t1 = node ? "" : string$.x0aRun_i;
  45127. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  45128. }
  45129. }
  45130. };
  45131. A.TerseLogger_summarize_closure.prototype = {
  45132. call$1(count) {
  45133. return count > 5;
  45134. },
  45135. $signature: 54
  45136. };
  45137. A.TerseLogger_summarize_closure0.prototype = {
  45138. call$1(count) {
  45139. return count - 5;
  45140. },
  45141. $signature: 154
  45142. };
  45143. A.TrackingLogger.prototype = {
  45144. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45145. this._emittedWarning = true;
  45146. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  45147. },
  45148. warn$2$deprecation($receiver, message, deprecation) {
  45149. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45150. },
  45151. warn$2$span($receiver, message, span) {
  45152. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45153. },
  45154. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45155. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45156. },
  45157. warn$2$trace($receiver, message, trace) {
  45158. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45159. },
  45160. debug$2(_, message, span) {
  45161. this._emittedDebug = true;
  45162. this._tracking$_logger.debug$2(0, message, span);
  45163. }
  45164. };
  45165. A.BuiltInModule.prototype = {
  45166. get$upstream() {
  45167. return B.List_empty6;
  45168. },
  45169. get$variableNodes() {
  45170. return B.Map_empty0;
  45171. },
  45172. get$extensionStore() {
  45173. return B.C_EmptyExtensionStore;
  45174. },
  45175. get$css(_) {
  45176. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  45177. },
  45178. get$transitivelyContainsCss() {
  45179. return false;
  45180. },
  45181. get$transitivelyContainsExtensions() {
  45182. return false;
  45183. },
  45184. setVariable$3($name, value, nodeWithSpan) {
  45185. if (!this.variables.containsKey$1($name))
  45186. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  45187. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  45188. },
  45189. variableIdentity$1($name) {
  45190. return this;
  45191. },
  45192. cloneCss$0() {
  45193. return this;
  45194. },
  45195. $isModule: 1,
  45196. get$url(receiver) {
  45197. return this.url;
  45198. },
  45199. get$functions(receiver) {
  45200. return this.functions;
  45201. },
  45202. get$mixins() {
  45203. return this.mixins;
  45204. },
  45205. get$variables() {
  45206. return this.variables;
  45207. }
  45208. };
  45209. A.ForwardedModuleView.prototype = {
  45210. get$url(_) {
  45211. var t1 = this._forwarded_view$_inner;
  45212. return t1.get$url(t1);
  45213. },
  45214. get$upstream() {
  45215. return this._forwarded_view$_inner.get$upstream();
  45216. },
  45217. get$extensionStore() {
  45218. return this._forwarded_view$_inner.get$extensionStore();
  45219. },
  45220. get$css(_) {
  45221. var t1 = this._forwarded_view$_inner;
  45222. return t1.get$css(t1);
  45223. },
  45224. get$transitivelyContainsCss() {
  45225. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  45226. },
  45227. get$transitivelyContainsExtensions() {
  45228. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  45229. },
  45230. setVariable$3($name, value, nodeWithSpan) {
  45231. var prefix,
  45232. _s19_ = "Undefined variable.",
  45233. t1 = this._rule,
  45234. shownVariables = t1.shownVariables,
  45235. hiddenVariables = t1.hiddenVariables;
  45236. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  45237. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45238. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  45239. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45240. prefix = t1.prefix;
  45241. if (prefix != null) {
  45242. if (!B.JSString_methods.startsWith$1($name, prefix))
  45243. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45244. $name = B.JSString_methods.substring$1($name, prefix.length);
  45245. }
  45246. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  45247. },
  45248. variableIdentity$1($name) {
  45249. var prefix = this._rule.prefix;
  45250. if (prefix != null)
  45251. $name = B.JSString_methods.substring$1($name, prefix.length);
  45252. return this._forwarded_view$_inner.variableIdentity$1($name);
  45253. },
  45254. $eq(_, other) {
  45255. if (other == null)
  45256. return false;
  45257. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  45258. },
  45259. get$hashCode(_) {
  45260. var t1 = this._forwarded_view$_inner;
  45261. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  45262. },
  45263. cloneCss$0() {
  45264. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  45265. },
  45266. toString$0(_) {
  45267. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  45268. },
  45269. $isModule: 1,
  45270. get$variables() {
  45271. return this.variables;
  45272. },
  45273. get$variableNodes() {
  45274. return this.variableNodes;
  45275. },
  45276. get$functions(receiver) {
  45277. return this.functions;
  45278. },
  45279. get$mixins() {
  45280. return this.mixins;
  45281. }
  45282. };
  45283. A.ShadowedModuleView.prototype = {
  45284. get$url(_) {
  45285. var t1 = this._shadowed_view$_inner;
  45286. return t1.get$url(t1);
  45287. },
  45288. get$upstream() {
  45289. return this._shadowed_view$_inner.get$upstream();
  45290. },
  45291. get$extensionStore() {
  45292. return this._shadowed_view$_inner.get$extensionStore();
  45293. },
  45294. get$css(_) {
  45295. var t1 = this._shadowed_view$_inner;
  45296. return t1.get$css(t1);
  45297. },
  45298. get$transitivelyContainsCss() {
  45299. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  45300. },
  45301. get$transitivelyContainsExtensions() {
  45302. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  45303. },
  45304. setVariable$3($name, value, nodeWithSpan) {
  45305. if (!this.variables.containsKey$1($name))
  45306. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  45307. else
  45308. return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  45309. },
  45310. variableIdentity$1($name) {
  45311. return this._shadowed_view$_inner.variableIdentity$1($name);
  45312. },
  45313. $eq(_, other) {
  45314. var t1, t2, _this = this;
  45315. if (other == null)
  45316. return false;
  45317. if (other instanceof A.ShadowedModuleView)
  45318. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  45319. t1 = _this.variables;
  45320. t1 = t1.get$keys(t1);
  45321. t2 = other.variables;
  45322. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  45323. t1 = _this.functions;
  45324. t1 = t1.get$keys(t1);
  45325. t2 = other.functions;
  45326. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  45327. t1 = _this.mixins;
  45328. t1 = t1.get$keys(t1);
  45329. t2 = other.mixins;
  45330. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  45331. t1 = t2;
  45332. } else
  45333. t1 = false;
  45334. } else
  45335. t1 = false;
  45336. } else
  45337. t1 = false;
  45338. else
  45339. t1 = false;
  45340. return t1;
  45341. },
  45342. get$hashCode(_) {
  45343. var t1 = this._shadowed_view$_inner;
  45344. return t1.get$hashCode(t1);
  45345. },
  45346. cloneCss$0() {
  45347. var _this = this;
  45348. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  45349. },
  45350. toString$0(_) {
  45351. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  45352. },
  45353. $isModule: 1,
  45354. get$variables() {
  45355. return this.variables;
  45356. },
  45357. get$variableNodes() {
  45358. return this.variableNodes;
  45359. },
  45360. get$functions(receiver) {
  45361. return this.functions;
  45362. },
  45363. get$mixins() {
  45364. return this.mixins;
  45365. }
  45366. };
  45367. A.JSArray0.prototype = {};
  45368. A.Chokidar.prototype = {};
  45369. A.ChokidarOptions.prototype = {};
  45370. A.ChokidarWatcher.prototype = {};
  45371. A.JSFunction.prototype = {};
  45372. A.NodeImporterResult.prototype = {};
  45373. A.RenderContext.prototype = {};
  45374. A.RenderContextOptions.prototype = {};
  45375. A.RenderContextResult.prototype = {};
  45376. A.RenderContextResultStats.prototype = {};
  45377. A.JSClass.prototype = {};
  45378. A.JSUrl.prototype = {};
  45379. A._PropertyDescriptor.prototype = {};
  45380. A.AtRootQueryParser.prototype = {
  45381. parse$0() {
  45382. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  45383. }
  45384. };
  45385. A.AtRootQueryParser_parse_closure.prototype = {
  45386. call$0() {
  45387. var include, atRules,
  45388. t1 = this.$this,
  45389. t2 = t1.scanner;
  45390. t2.expectChar$1(40);
  45391. t1.whitespace$0();
  45392. include = t1.scanIdentifier$1("with");
  45393. if (!include)
  45394. t1.expectIdentifier$2$name("without", '"with" or "without"');
  45395. t1.whitespace$0();
  45396. t2.expectChar$1(58);
  45397. t1.whitespace$0();
  45398. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  45399. do {
  45400. atRules.add$1(0, t1.identifier$0().toLowerCase());
  45401. t1.whitespace$0();
  45402. } while (t1.lookingAtIdentifier$0());
  45403. t2.expectChar$1(41);
  45404. t2.expectDone$0();
  45405. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  45406. },
  45407. $signature: 117
  45408. };
  45409. A._disallowedFunctionNames_closure.prototype = {
  45410. call$1($function) {
  45411. return $function.name;
  45412. },
  45413. $signature: 320
  45414. };
  45415. A.CssParser.prototype = {
  45416. get$plainCss() {
  45417. return true;
  45418. },
  45419. silentComment$0() {
  45420. var t1 = this.scanner,
  45421. t2 = t1._string_scanner$_position;
  45422. this.super$Parser$silentComment();
  45423. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  45424. },
  45425. atRule$2$root(child, root) {
  45426. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  45427. t1 = _this.scanner,
  45428. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45429. t1.expectChar$1(64);
  45430. $name = _this.interpolatedIdentifier$0();
  45431. _this.whitespace$0();
  45432. switch ($name.get$asPlain()) {
  45433. case "at-root":
  45434. case "content":
  45435. case "debug":
  45436. case "each":
  45437. case "error":
  45438. case "extend":
  45439. case "for":
  45440. case "function":
  45441. case "if":
  45442. case "include":
  45443. case "mixin":
  45444. case "return":
  45445. case "warn":
  45446. case "while":
  45447. _this.almostAnyValue$0();
  45448. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  45449. break;
  45450. case "import":
  45451. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45452. next = t1.peekChar$0();
  45453. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  45454. urlSpan = t1.spanFrom$1(urlStart);
  45455. _this.whitespace$0();
  45456. modifiers = _this.tryImportModifiers$0();
  45457. _this.expectStatementSeparator$1("@import rule");
  45458. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  45459. t1 = t1.spanFrom$1(start);
  45460. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  45461. case "media":
  45462. return _this.mediaRule$1(start);
  45463. case "-moz-document":
  45464. return _this.mozDocumentRule$2(start, $name);
  45465. case "supports":
  45466. return _this.supportsRule$1(start);
  45467. default:
  45468. return _this.unknownAtRule$2(start, $name);
  45469. }
  45470. },
  45471. identifierLike$0() {
  45472. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  45473. t1 = _this.scanner,
  45474. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  45475. identifier = _this.interpolatedIdentifier$0(),
  45476. plain = identifier.get$asPlain(),
  45477. lower = plain.toLowerCase(),
  45478. specialFunction = _this.trySpecialFunction$2(lower, start);
  45479. if (specialFunction != null)
  45480. return specialFunction;
  45481. t2 = t1._string_scanner$_position;
  45482. if (!t1.scanChar$1(40))
  45483. return new A.StringExpression(identifier, false);
  45484. allowEmptySecondArg = lower === "var";
  45485. $arguments = A._setArrayType([], type$.JSArray_Expression);
  45486. if (!t1.scanChar$1(41)) {
  45487. do {
  45488. _this.whitespace$0();
  45489. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  45490. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  45491. t4 = t3.offset;
  45492. t4 = A._FileSpan$(t3.file, t4, t4);
  45493. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  45494. break;
  45495. }
  45496. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  45497. _this.whitespace$0();
  45498. } while (t1.scanChar$1(44));
  45499. t1.expectChar$1(41);
  45500. }
  45501. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  45502. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  45503. t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
  45504. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  45505. t4 = type$.Expression;
  45506. return new A.InterpolatedFunctionExpression(t3, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty2, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
  45507. },
  45508. namespacedExpression$2(namespace, start) {
  45509. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  45510. this.error$2(0, string$.Modulen, expression.get$span(expression));
  45511. }
  45512. };
  45513. A.KeyframeSelectorParser.prototype = {
  45514. parse$0() {
  45515. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  45516. },
  45517. _percentage$0() {
  45518. var t3, next,
  45519. t1 = this.scanner,
  45520. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  45521. second = t1.peekChar$0();
  45522. if (!A.isDigit(second) && second !== 46)
  45523. t1.error$1(0, "Expected number.");
  45524. while (true) {
  45525. t3 = t1.peekChar$0();
  45526. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45527. break;
  45528. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45529. }
  45530. if (t1.peekChar$0() === 46) {
  45531. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45532. while (true) {
  45533. t3 = t1.peekChar$0();
  45534. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45535. break;
  45536. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45537. }
  45538. }
  45539. if (this.scanIdentChar$1(101)) {
  45540. t2 += A.Primitives_stringFromCharCode(101);
  45541. next = t1.peekChar$0();
  45542. if (next === 43 || next === 45)
  45543. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45544. if (!A.isDigit(t1.peekChar$0()))
  45545. t1.error$1(0, "Expected digit.");
  45546. while (true) {
  45547. t3 = t1.peekChar$0();
  45548. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45549. break;
  45550. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45551. }
  45552. }
  45553. t1.expectChar$1(37);
  45554. t2 += A.Primitives_stringFromCharCode(37);
  45555. return t2.charCodeAt(0) == 0 ? t2 : t2;
  45556. }
  45557. };
  45558. A.KeyframeSelectorParser_parse_closure.prototype = {
  45559. call$0() {
  45560. var selectors = A._setArrayType([], type$.JSArray_String),
  45561. t1 = this.$this,
  45562. t2 = t1.scanner;
  45563. do {
  45564. t1.whitespace$0();
  45565. if (t1.lookingAtIdentifier$0())
  45566. if (t1.scanIdentifier$1("from"))
  45567. selectors.push("from");
  45568. else {
  45569. t1.expectIdentifier$2$name("to", '"to" or "from"');
  45570. selectors.push("to");
  45571. }
  45572. else
  45573. selectors.push(t1._percentage$0());
  45574. t1.whitespace$0();
  45575. } while (t2.scanChar$1(44));
  45576. t2.expectDone$0();
  45577. return selectors;
  45578. },
  45579. $signature: 48
  45580. };
  45581. A.MediaQueryParser.prototype = {
  45582. parse$0() {
  45583. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  45584. },
  45585. _mediaQuery$0() {
  45586. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  45587. if (_this.scanner.peekChar$0() === 40) {
  45588. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  45589. _this.whitespace$0();
  45590. if (_this.scanIdentifier$1(_s3_)) {
  45591. _this.expectWhitespace$0();
  45592. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  45593. conjunction = true;
  45594. } else if (_this.scanIdentifier$1("or")) {
  45595. _this.expectWhitespace$0();
  45596. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  45597. conjunction = false;
  45598. } else
  45599. conjunction = true;
  45600. return A.CssMediaQuery$condition(conditions, conjunction);
  45601. }
  45602. identifier1 = _this.identifier$0();
  45603. if (A.equalsIgnoreCase(identifier1, "not")) {
  45604. _this.expectWhitespace$0();
  45605. if (!_this.lookingAtIdentifier$0())
  45606. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  45607. }
  45608. _this.whitespace$0();
  45609. if (!_this.lookingAtIdentifier$0())
  45610. return A.CssMediaQuery$type(identifier1, _null, _null);
  45611. identifier2 = _this.identifier$0();
  45612. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  45613. _this.expectWhitespace$0();
  45614. type = identifier1;
  45615. modifier = _null;
  45616. } else {
  45617. _this.whitespace$0();
  45618. if (_this.scanIdentifier$1(_s3_))
  45619. _this.expectWhitespace$0();
  45620. else
  45621. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  45622. type = identifier2;
  45623. modifier = identifier1;
  45624. }
  45625. if (_this.scanIdentifier$1("not")) {
  45626. _this.expectWhitespace$0();
  45627. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  45628. }
  45629. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  45630. },
  45631. _mediaLogicSequence$1(operator) {
  45632. var t1, t2, _this = this,
  45633. result = A._setArrayType([], type$.JSArray_String);
  45634. for (t1 = _this.scanner; true;) {
  45635. t1.expectChar$2$name(40, "media condition in parentheses");
  45636. t2 = _this.declarationValue$0();
  45637. t1.expectChar$1(41);
  45638. result.push("(" + t2 + ")");
  45639. _this.whitespace$0();
  45640. if (!_this.scanIdentifier$1(operator))
  45641. return result;
  45642. _this.expectWhitespace$0();
  45643. }
  45644. },
  45645. _mediaInParens$0() {
  45646. var t2,
  45647. t1 = this.scanner;
  45648. t1.expectChar$2$name(40, "media condition in parentheses");
  45649. t2 = this.declarationValue$0();
  45650. t1.expectChar$1(41);
  45651. return "(" + t2 + ")";
  45652. }
  45653. };
  45654. A.MediaQueryParser_parse_closure.prototype = {
  45655. call$0() {
  45656. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  45657. t1 = this.$this,
  45658. t2 = t1.scanner;
  45659. do {
  45660. t1.whitespace$0();
  45661. queries.push(t1._mediaQuery$0());
  45662. t1.whitespace$0();
  45663. } while (t2.scanChar$1(44));
  45664. t2.expectDone$0();
  45665. return queries;
  45666. },
  45667. $signature: 116
  45668. };
  45669. A.Parser.prototype = {
  45670. _parseIdentifier$0() {
  45671. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  45672. },
  45673. _isVariableDeclarationLike$0() {
  45674. var _this = this,
  45675. t1 = _this.scanner;
  45676. if (!t1.scanChar$1(36))
  45677. return false;
  45678. if (!_this.lookingAtIdentifier$0())
  45679. return false;
  45680. _this.identifier$0();
  45681. _this.whitespace$0();
  45682. return t1.scanChar$1(58);
  45683. },
  45684. whitespace$0() {
  45685. do
  45686. this.whitespaceWithoutComments$0();
  45687. while (this.scanComment$0());
  45688. },
  45689. whitespaceWithoutComments$0() {
  45690. var t3,
  45691. t1 = this.scanner,
  45692. t2 = t1.string.length;
  45693. while (true) {
  45694. if (t1._string_scanner$_position !== t2) {
  45695. t3 = t1.peekChar$0();
  45696. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  45697. } else
  45698. t3 = false;
  45699. if (!t3)
  45700. break;
  45701. t1.readChar$0();
  45702. }
  45703. },
  45704. spaces$0() {
  45705. var t3,
  45706. t1 = this.scanner,
  45707. t2 = t1.string.length;
  45708. while (true) {
  45709. if (t1._string_scanner$_position !== t2) {
  45710. t3 = t1.peekChar$0();
  45711. t3 = t3 === 32 || t3 === 9;
  45712. } else
  45713. t3 = false;
  45714. if (!t3)
  45715. break;
  45716. t1.readChar$0();
  45717. }
  45718. },
  45719. scanComment$0() {
  45720. var next,
  45721. t1 = this.scanner;
  45722. if (t1.peekChar$0() !== 47)
  45723. return false;
  45724. next = t1.peekChar$1(1);
  45725. if (next === 47) {
  45726. this.silentComment$0();
  45727. return true;
  45728. } else if (next === 42) {
  45729. this.loudComment$0();
  45730. return true;
  45731. } else
  45732. return false;
  45733. },
  45734. expectWhitespace$0() {
  45735. var t2, t3,
  45736. t1 = this.scanner;
  45737. if (t1._string_scanner$_position !== t1.string.length) {
  45738. t2 = t1.peekChar$0();
  45739. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  45740. t2 = t3;
  45741. } else
  45742. t2 = true;
  45743. if (t2)
  45744. t1.error$1(0, "Expected whitespace.");
  45745. this.whitespace$0();
  45746. },
  45747. silentComment$0() {
  45748. var t2, t3,
  45749. t1 = this.scanner;
  45750. t1.expect$1("//");
  45751. t2 = t1.string.length;
  45752. while (true) {
  45753. if (t1._string_scanner$_position !== t2) {
  45754. t3 = t1.peekChar$0();
  45755. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  45756. } else
  45757. t3 = false;
  45758. if (!t3)
  45759. break;
  45760. t1.readChar$0();
  45761. }
  45762. },
  45763. loudComment$0() {
  45764. var next,
  45765. t1 = this.scanner;
  45766. t1.expect$1("/*");
  45767. for (; true;) {
  45768. if (t1.readChar$0() !== 42)
  45769. continue;
  45770. do
  45771. next = t1.readChar$0();
  45772. while (next === 42);
  45773. if (next === 47)
  45774. break;
  45775. }
  45776. },
  45777. identifier$2$normalize$unit(normalize, unit) {
  45778. var t2, first, _this = this,
  45779. _s20_ = "Expected identifier.",
  45780. text = new A.StringBuffer(""),
  45781. t1 = _this.scanner;
  45782. if (t1.scanChar$1(45)) {
  45783. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  45784. if (t1.scanChar$1(45)) {
  45785. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  45786. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  45787. t1 = text._contents;
  45788. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45789. }
  45790. } else
  45791. t2 = "";
  45792. first = t1.peekChar$0();
  45793. if (first == null)
  45794. t1.error$1(0, _s20_);
  45795. else if (normalize && first === 95) {
  45796. t1.readChar$0();
  45797. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  45798. } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  45799. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  45800. else if (first === 92)
  45801. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  45802. else
  45803. t1.error$1(0, _s20_);
  45804. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  45805. t1 = text._contents;
  45806. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45807. },
  45808. identifier$0() {
  45809. return this.identifier$2$normalize$unit(false, false);
  45810. },
  45811. identifier$1$normalize(normalize) {
  45812. return this.identifier$2$normalize$unit(normalize, false);
  45813. },
  45814. identifier$1$unit(unit) {
  45815. return this.identifier$2$normalize$unit(false, unit);
  45816. },
  45817. _identifierBody$3$normalize$unit(text, normalize, unit) {
  45818. var t1, next, second, t2;
  45819. for (t1 = this.scanner; true;) {
  45820. next = t1.peekChar$0();
  45821. if (next == null)
  45822. break;
  45823. else if (unit && next === 45) {
  45824. second = t1.peekChar$1(1);
  45825. if (second != null)
  45826. if (second !== 46)
  45827. t2 = second >= 48 && second <= 57;
  45828. else
  45829. t2 = true;
  45830. else
  45831. t2 = false;
  45832. if (t2)
  45833. break;
  45834. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45835. } else if (normalize && next === 95) {
  45836. t1.readChar$0();
  45837. text._contents += A.Primitives_stringFromCharCode(45);
  45838. } else {
  45839. if (next !== 95) {
  45840. if (!(next >= 97 && next <= 122))
  45841. t2 = next >= 65 && next <= 90;
  45842. else
  45843. t2 = true;
  45844. t2 = t2 || next >= 128;
  45845. } else
  45846. t2 = true;
  45847. if (!t2)
  45848. t2 = next >= 48 && next <= 57 || next === 45;
  45849. else
  45850. t2 = true;
  45851. if (t2)
  45852. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45853. else if (next === 92)
  45854. text._contents += A.S(this.escape$0());
  45855. else
  45856. break;
  45857. }
  45858. }
  45859. },
  45860. _identifierBody$1(text) {
  45861. return this._identifierBody$3$normalize$unit(text, false, false);
  45862. },
  45863. string$0() {
  45864. var buffer, next, t2,
  45865. t1 = this.scanner,
  45866. quote = t1.readChar$0();
  45867. if (quote !== 39 && quote !== 34)
  45868. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  45869. buffer = new A.StringBuffer("");
  45870. for (; true;) {
  45871. next = t1.peekChar$0();
  45872. if (next === quote) {
  45873. t1.readChar$0();
  45874. break;
  45875. } else if (next == null || next === 10 || next === 13 || next === 12)
  45876. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  45877. else if (next === 92) {
  45878. t2 = t1.peekChar$1(1);
  45879. if (t2 === 10 || t2 === 13 || t2 === 12) {
  45880. t1.readChar$0();
  45881. t1.readChar$0();
  45882. } else
  45883. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  45884. } else
  45885. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45886. }
  45887. t1 = buffer._contents;
  45888. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45889. },
  45890. declarationValue$1$allowEmpty(allowEmpty) {
  45891. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  45892. buffer = new A.StringBuffer(""),
  45893. brackets = A._setArrayType([], type$.JSArray_int);
  45894. $label0$1:
  45895. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  45896. next = t1.peekChar$0();
  45897. switch (next) {
  45898. case 92:
  45899. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  45900. wroteNewline = false;
  45901. break;
  45902. case 34:
  45903. case 39:
  45904. start = t1._string_scanner$_position;
  45905. t2.call$0();
  45906. end = t1._string_scanner$_position;
  45907. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  45908. wroteNewline = false;
  45909. break;
  45910. case 47:
  45911. if (t1.peekChar$1(1) === 42) {
  45912. t3 = _this.get$loudComment();
  45913. start = t1._string_scanner$_position;
  45914. t3.call$0();
  45915. end = t1._string_scanner$_position;
  45916. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  45917. } else
  45918. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45919. wroteNewline = false;
  45920. break;
  45921. case 32:
  45922. case 9:
  45923. if (!wroteNewline) {
  45924. t3 = t1.peekChar$1(1);
  45925. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  45926. } else
  45927. t3 = true;
  45928. if (t3)
  45929. buffer._contents += A.Primitives_stringFromCharCode(32);
  45930. t1.readChar$0();
  45931. break;
  45932. case 10:
  45933. case 13:
  45934. case 12:
  45935. t3 = t1.peekChar$1(-1);
  45936. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  45937. buffer._contents += "\n";
  45938. t1.readChar$0();
  45939. wroteNewline = true;
  45940. break;
  45941. case 40:
  45942. case 123:
  45943. case 91:
  45944. next.toString;
  45945. buffer._contents += A.Primitives_stringFromCharCode(next);
  45946. brackets.push(A.opposite(t1.readChar$0()));
  45947. wroteNewline = false;
  45948. break;
  45949. case 41:
  45950. case 125:
  45951. case 93:
  45952. if (brackets.length === 0)
  45953. break $label0$1;
  45954. next.toString;
  45955. buffer._contents += A.Primitives_stringFromCharCode(next);
  45956. t1.expectChar$1(brackets.pop());
  45957. wroteNewline = false;
  45958. break;
  45959. case 59:
  45960. if (brackets.length === 0)
  45961. break $label0$1;
  45962. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45963. break;
  45964. case 117:
  45965. case 85:
  45966. url = _this.tryUrl$0();
  45967. if (url != null)
  45968. buffer._contents += url;
  45969. else
  45970. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45971. wroteNewline = false;
  45972. break;
  45973. default:
  45974. if (next == null)
  45975. break $label0$1;
  45976. if (_this.lookingAtIdentifier$0())
  45977. buffer._contents += _this.identifier$0();
  45978. else
  45979. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45980. wroteNewline = false;
  45981. break;
  45982. }
  45983. }
  45984. if (brackets.length !== 0)
  45985. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  45986. if (!allowEmpty && buffer._contents.length === 0)
  45987. t1.error$1(0, "Expected token.");
  45988. t1 = buffer._contents;
  45989. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45990. },
  45991. declarationValue$0() {
  45992. return this.declarationValue$1$allowEmpty(false);
  45993. },
  45994. tryUrl$0() {
  45995. var buffer, next, t2, _this = this,
  45996. t1 = _this.scanner,
  45997. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45998. if (!_this.scanIdentifier$1("url"))
  45999. return null;
  46000. if (!t1.scanChar$1(40)) {
  46001. t1.set$state(start);
  46002. return null;
  46003. }
  46004. _this.whitespace$0();
  46005. buffer = new A.StringBuffer("");
  46006. buffer._contents = "" + "url(";
  46007. for (; true;) {
  46008. next = t1.peekChar$0();
  46009. if (next == null)
  46010. break;
  46011. else if (next === 92)
  46012. buffer._contents += A.S(_this.escape$0());
  46013. else {
  46014. if (next !== 37)
  46015. if (next !== 38)
  46016. if (next !== 35)
  46017. t2 = next >= 42 && next <= 126 || next >= 128;
  46018. else
  46019. t2 = true;
  46020. else
  46021. t2 = true;
  46022. else
  46023. t2 = true;
  46024. if (t2)
  46025. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46026. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  46027. _this.whitespace$0();
  46028. if (t1.peekChar$0() !== 41)
  46029. break;
  46030. } else if (next === 41) {
  46031. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46032. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46033. } else
  46034. break;
  46035. }
  46036. }
  46037. t1.set$state(start);
  46038. return null;
  46039. },
  46040. variableName$0() {
  46041. this.scanner.expectChar$1(36);
  46042. return this.identifier$1$normalize(true);
  46043. },
  46044. escape$1$identifierStart(identifierStart) {
  46045. var value, first, i, next, t2, exception,
  46046. _s25_ = "Expected escape sequence.",
  46047. t1 = this.scanner,
  46048. start = t1._string_scanner$_position;
  46049. t1.expectChar$1(92);
  46050. value = 0;
  46051. first = t1.peekChar$0();
  46052. if (first == null)
  46053. t1.error$1(0, _s25_);
  46054. else if (first === 10 || first === 13 || first === 12)
  46055. t1.error$1(0, _s25_);
  46056. else if (A.isHex(first)) {
  46057. for (i = 0; i < 6; ++i) {
  46058. next = t1.peekChar$0();
  46059. if (next == null || !A.isHex(next))
  46060. break;
  46061. value *= 16;
  46062. value += A.asHex(t1.readChar$0());
  46063. }
  46064. this.scanCharIf$1(A.character__isWhitespace$closure());
  46065. } else
  46066. value = t1.readChar$0();
  46067. if (identifierStart) {
  46068. t2 = value;
  46069. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
  46070. } else {
  46071. t2 = value;
  46072. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
  46073. }
  46074. if (t2)
  46075. try {
  46076. t2 = A.Primitives_stringFromCharCode(value);
  46077. return t2;
  46078. } catch (exception) {
  46079. if (type$.RangeError._is(A.unwrapException(exception)))
  46080. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  46081. else
  46082. throw exception;
  46083. }
  46084. else {
  46085. if (!(value <= 31))
  46086. if (!J.$eq$(value, 127))
  46087. t1 = identifierStart && A.isDigit(value);
  46088. else
  46089. t1 = true;
  46090. else
  46091. t1 = true;
  46092. if (t1) {
  46093. t1 = "" + A.Primitives_stringFromCharCode(92);
  46094. if (value > 15)
  46095. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  46096. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  46097. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46098. } else
  46099. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  46100. }
  46101. },
  46102. escape$0() {
  46103. return this.escape$1$identifierStart(false);
  46104. },
  46105. scanCharIf$1(condition) {
  46106. var t1 = this.scanner;
  46107. if (!condition.call$1(t1.peekChar$0()))
  46108. return false;
  46109. t1.readChar$0();
  46110. return true;
  46111. },
  46112. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  46113. var t3,
  46114. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  46115. t2 = this.scanner,
  46116. next = t2.peekChar$0();
  46117. if (next != null && t1.call$1(next)) {
  46118. t2.readChar$0();
  46119. return true;
  46120. } else if (next === 92) {
  46121. t3 = t2._string_scanner$_position;
  46122. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  46123. return true;
  46124. t2.set$state(new A._SpanScannerState(t2, t3));
  46125. }
  46126. return false;
  46127. },
  46128. scanIdentChar$1(char) {
  46129. return this.scanIdentChar$2$caseSensitive(char, false);
  46130. },
  46131. expectIdentChar$1(letter) {
  46132. var t1;
  46133. if (this.scanIdentChar$2$caseSensitive(letter, false))
  46134. return;
  46135. t1 = this.scanner;
  46136. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  46137. },
  46138. lookingAtIdentifier$1($forward) {
  46139. var t1, first, second;
  46140. if ($forward == null)
  46141. $forward = 0;
  46142. t1 = this.scanner;
  46143. first = t1.peekChar$1($forward);
  46144. if (first == null)
  46145. return false;
  46146. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  46147. return true;
  46148. if (first !== 45)
  46149. return false;
  46150. second = t1.peekChar$1($forward + 1);
  46151. if (second == null)
  46152. return false;
  46153. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  46154. },
  46155. lookingAtIdentifier$0() {
  46156. return this.lookingAtIdentifier$1(null);
  46157. },
  46158. lookingAtIdentifierBody$0() {
  46159. var t1,
  46160. next = this.scanner.peekChar$0();
  46161. if (next != null)
  46162. t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
  46163. else
  46164. t1 = false;
  46165. return t1;
  46166. },
  46167. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  46168. var t1, t2, _this = this;
  46169. if (!_this.lookingAtIdentifier$0())
  46170. return false;
  46171. t1 = _this.scanner;
  46172. t2 = t1._string_scanner$_position;
  46173. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  46174. return true;
  46175. else {
  46176. t1.set$state(new A._SpanScannerState(t1, t2));
  46177. return false;
  46178. }
  46179. },
  46180. scanIdentifier$1(text) {
  46181. return this.scanIdentifier$2$caseSensitive(text, false);
  46182. },
  46183. matchesIdentifier$1(text) {
  46184. var t1, t2, result, _this = this;
  46185. if (!_this.lookingAtIdentifier$0())
  46186. return false;
  46187. t1 = _this.scanner;
  46188. t2 = t1._string_scanner$_position;
  46189. result = _this._consumeIdentifier$2(text, false) && !_this.lookingAtIdentifierBody$0();
  46190. t1.set$state(new A._SpanScannerState(t1, t2));
  46191. return result;
  46192. },
  46193. _consumeIdentifier$2(text, caseSensitive) {
  46194. var t1, t2, t3;
  46195. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  46196. t3 = t1.__internal$_current;
  46197. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  46198. return false;
  46199. }
  46200. return true;
  46201. },
  46202. expectIdentifier$2$name(text, $name) {
  46203. var t1, start, t2, t3, t4, t5, t6;
  46204. if ($name == null)
  46205. $name = '"' + text + '"';
  46206. t1 = this.scanner;
  46207. start = t1._string_scanner$_position;
  46208. for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  46209. t6 = t2.__internal$_current;
  46210. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  46211. continue;
  46212. t1.error$2$position(0, t4, start);
  46213. }
  46214. if (!this.lookingAtIdentifierBody$0())
  46215. return;
  46216. t1.error$2$position(0, t3, start);
  46217. },
  46218. expectIdentifier$1(text) {
  46219. return this.expectIdentifier$2$name(text, null);
  46220. },
  46221. rawText$1(consumer) {
  46222. var t1 = this.scanner,
  46223. start = t1._string_scanner$_position;
  46224. consumer.call$0();
  46225. return t1.substring$1(0, start);
  46226. },
  46227. error$3(_, message, span, trace) {
  46228. var exception = new A.StringScannerException(this.scanner.string, message, span);
  46229. if (trace == null)
  46230. throw A.wrapException(exception);
  46231. else
  46232. A.throwWithTrace(exception, trace);
  46233. },
  46234. error$2($receiver, message, span) {
  46235. return this.error$3($receiver, message, span, null);
  46236. },
  46237. withErrorMessage$1$2(message, callback) {
  46238. var error, stackTrace, t1, exception;
  46239. try {
  46240. t1 = callback.call$0();
  46241. return t1;
  46242. } catch (exception) {
  46243. t1 = A.unwrapException(exception);
  46244. if (type$.SourceSpanFormatException._is(t1)) {
  46245. error = t1;
  46246. stackTrace = A.getTraceFromException(exception);
  46247. t1 = J.get$span$z(error);
  46248. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  46249. } else
  46250. throw exception;
  46251. }
  46252. },
  46253. withErrorMessage$2(message, callback) {
  46254. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  46255. },
  46256. wrapSpanFormatException$1$1(callback) {
  46257. var error, stackTrace, span, startPosition, t1, exception;
  46258. try {
  46259. t1 = callback.call$0();
  46260. return t1;
  46261. } catch (exception) {
  46262. t1 = A.unwrapException(exception);
  46263. if (type$.SourceSpanFormatException._is(t1)) {
  46264. error = t1;
  46265. stackTrace = A.getTraceFromException(exception);
  46266. span = J.get$span$z(error);
  46267. if (A.startsWithIgnoreCase(error._span_exception$_message, "expected") && J.get$length$asx(span) === 0) {
  46268. startPosition = this._firstNewlineBefore$1(J.get$start$z(span).offset);
  46269. if (!J.$eq$(startPosition, J.get$start$z(span).offset))
  46270. span = J.get$file$x(span).span$2(0, startPosition, startPosition);
  46271. }
  46272. A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
  46273. } else
  46274. throw exception;
  46275. }
  46276. },
  46277. wrapSpanFormatException$1(callback) {
  46278. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  46279. },
  46280. _firstNewlineBefore$1(position) {
  46281. var t1, lastNewline, codeUnit,
  46282. index = position - 1;
  46283. for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
  46284. codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
  46285. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  46286. return lastNewline == null ? position : lastNewline;
  46287. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  46288. lastNewline = index;
  46289. --index;
  46290. }
  46291. return position;
  46292. }
  46293. };
  46294. A.Parser__parseIdentifier_closure.prototype = {
  46295. call$0() {
  46296. var t1 = this.$this,
  46297. result = t1.identifier$0();
  46298. t1.scanner.expectDone$0();
  46299. return result;
  46300. },
  46301. $signature: 30
  46302. };
  46303. A.Parser_scanIdentChar_matches.prototype = {
  46304. call$1(actual) {
  46305. var t1 = this.char;
  46306. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  46307. },
  46308. $signature: 54
  46309. };
  46310. A.SassParser.prototype = {
  46311. get$currentIndentation() {
  46312. return this._currentIndentation;
  46313. },
  46314. get$indented() {
  46315. return true;
  46316. },
  46317. styleRuleSelector$0() {
  46318. var t4,
  46319. t1 = this.scanner,
  46320. t2 = t1._string_scanner$_position,
  46321. t3 = new A.StringBuffer(""),
  46322. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  46323. do {
  46324. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  46325. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  46326. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
  46327. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  46328. },
  46329. expectStatementSeparator$1($name) {
  46330. var t1, _this = this;
  46331. if (!_this.atEndOfStatement$0())
  46332. _this._expectNewline$0();
  46333. if (_this._peekIndentation$0() <= _this._currentIndentation)
  46334. return;
  46335. t1 = $name == null ? "here" : "beneath a " + $name;
  46336. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  46337. },
  46338. expectStatementSeparator$0() {
  46339. return this.expectStatementSeparator$1(null);
  46340. },
  46341. atEndOfStatement$0() {
  46342. var next = this.scanner.peekChar$0();
  46343. return next == null || next === 10 || next === 13 || next === 12;
  46344. },
  46345. lookingAtChildren$0() {
  46346. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  46347. },
  46348. importArgument$0() {
  46349. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  46350. t1 = _this.scanner;
  46351. switch (t1.peekChar$0()) {
  46352. case 117:
  46353. case 85:
  46354. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46355. if (_this.scanIdentifier$1("url"))
  46356. if (t1.scanChar$1(40)) {
  46357. t1.set$state(start);
  46358. return _this.super$StylesheetParser$importArgument();
  46359. } else
  46360. t1.set$state(start);
  46361. break;
  46362. case 39:
  46363. case 34:
  46364. return _this.super$StylesheetParser$importArgument();
  46365. }
  46366. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46367. next = t1.peekChar$0();
  46368. while (true) {
  46369. if (next != null)
  46370. if (next !== 44)
  46371. if (next !== 59)
  46372. t2 = !(next === 10 || next === 13 || next === 12);
  46373. else
  46374. t2 = false;
  46375. else
  46376. t2 = false;
  46377. else
  46378. t2 = false;
  46379. if (!t2)
  46380. break;
  46381. t1.readChar$0();
  46382. next = t1.peekChar$0();
  46383. }
  46384. url = t1.substring$1(0, start.position);
  46385. span = t1.spanFrom$1(start);
  46386. if (_this.isPlainImportUrl$1(url))
  46387. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  46388. else
  46389. try {
  46390. t1 = _this.parseImportUrl$1(url);
  46391. return new A.DynamicImport(t1, span);
  46392. } catch (exception) {
  46393. t1 = A.unwrapException(exception);
  46394. if (type$.FormatException._is(t1)) {
  46395. innerError = t1;
  46396. stackTrace = A.getTraceFromException(exception);
  46397. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  46398. } else
  46399. throw exception;
  46400. }
  46401. },
  46402. scanElse$1(ifIndentation) {
  46403. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  46404. if (_this._peekIndentation$0() !== ifIndentation)
  46405. return false;
  46406. t1 = _this.scanner;
  46407. t2 = t1._string_scanner$_position;
  46408. startIndentation = _this._currentIndentation;
  46409. startNextIndentation = _this._nextIndentation;
  46410. startNextIndentationEnd = _this._nextIndentationEnd;
  46411. _this._readIndentation$0();
  46412. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  46413. return true;
  46414. t1.set$state(new A._SpanScannerState(t1, t2));
  46415. _this._currentIndentation = startIndentation;
  46416. _this._nextIndentation = startNextIndentation;
  46417. _this._nextIndentationEnd = startNextIndentationEnd;
  46418. return false;
  46419. },
  46420. children$1(_, child) {
  46421. var children = A._setArrayType([], type$.JSArray_Statement);
  46422. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  46423. return children;
  46424. },
  46425. statements$1(statement) {
  46426. var statements, t2, child,
  46427. t1 = this.scanner,
  46428. first = t1.peekChar$0();
  46429. if (first === 9 || first === 32)
  46430. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  46431. statements = A._setArrayType([], type$.JSArray_Statement);
  46432. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  46433. child = this._child$1(statement);
  46434. if (child != null)
  46435. statements.push(child);
  46436. this._readIndentation$0();
  46437. }
  46438. return statements;
  46439. },
  46440. _child$1(child) {
  46441. var _this = this,
  46442. t1 = _this.scanner;
  46443. switch (t1.peekChar$0()) {
  46444. case 13:
  46445. case 10:
  46446. case 12:
  46447. return null;
  46448. case 36:
  46449. return _this.variableDeclarationWithoutNamespace$0();
  46450. case 47:
  46451. switch (t1.peekChar$1(1)) {
  46452. case 47:
  46453. return _this._silentComment$0();
  46454. case 42:
  46455. return _this._loudComment$0();
  46456. default:
  46457. return child.call$0();
  46458. }
  46459. default:
  46460. return child.call$0();
  46461. }
  46462. },
  46463. _silentComment$0() {
  46464. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  46465. t1 = _this.scanner,
  46466. t2 = t1._string_scanner$_position;
  46467. t1.expect$1("//");
  46468. buffer = new A.StringBuffer("");
  46469. parentIndentation = _this._currentIndentation;
  46470. t3 = t1.string.length;
  46471. t4 = 1 + parentIndentation;
  46472. t5 = 2 + parentIndentation;
  46473. $label0$0:
  46474. do {
  46475. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  46476. for (i = commentPrefix.length; true;) {
  46477. t6 = buffer._contents += commentPrefix;
  46478. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  46479. t6 += A.Primitives_stringFromCharCode(32);
  46480. buffer._contents = t6;
  46481. }
  46482. while (true) {
  46483. if (t1._string_scanner$_position !== t3) {
  46484. t7 = t1.peekChar$0();
  46485. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  46486. } else
  46487. t7 = false;
  46488. if (!t7)
  46489. break;
  46490. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46491. buffer._contents = t6;
  46492. }
  46493. buffer._contents = t6 + "\n";
  46494. if (_this._peekIndentation$0() < parentIndentation)
  46495. break $label0$0;
  46496. if (_this._peekIndentation$0() === parentIndentation) {
  46497. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  46498. _this._readIndentation$0();
  46499. break;
  46500. }
  46501. _this._readIndentation$0();
  46502. }
  46503. } while (t1.scan$1("//"));
  46504. t3 = buffer._contents;
  46505. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  46506. },
  46507. _loudComment$0() {
  46508. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  46509. t1 = _this.scanner,
  46510. t2 = t1._string_scanner$_position;
  46511. t1.expect$1("/*");
  46512. t3 = new A.StringBuffer("");
  46513. t4 = A._setArrayType([], type$.JSArray_Object);
  46514. buffer = new A.InterpolationBuffer(t3, t4);
  46515. t3._contents = "" + "/*";
  46516. parentIndentation = _this._currentIndentation;
  46517. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  46518. if (first) {
  46519. beginningOfComment = t1._string_scanner$_position;
  46520. _this.spaces$0();
  46521. t7 = t1.peekChar$0();
  46522. if (t7 === 10 || t7 === 13 || t7 === 12) {
  46523. _this._readIndentation$0();
  46524. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  46525. } else {
  46526. end = t1._string_scanner$_position;
  46527. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  46528. }
  46529. } else {
  46530. t7 = t3._contents += "\n";
  46531. t7 += " * ";
  46532. t3._contents = t7;
  46533. }
  46534. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  46535. t7 += A.Primitives_stringFromCharCode(32);
  46536. t3._contents = t7;
  46537. }
  46538. $label0$1:
  46539. for (; t1._string_scanner$_position !== t6;)
  46540. switch (t1.peekChar$0()) {
  46541. case 10:
  46542. case 13:
  46543. case 12:
  46544. break $label0$1;
  46545. case 35:
  46546. if (t1.peekChar$1(1) === 123) {
  46547. t7 = _this.singleInterpolation$0();
  46548. buffer._flushText$0();
  46549. t4.push(t7);
  46550. } else
  46551. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46552. break;
  46553. default:
  46554. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46555. break;
  46556. }
  46557. if (_this._peekIndentation$0() <= parentIndentation)
  46558. break;
  46559. for (; _this._lookingAtDoubleNewline$0();) {
  46560. _this._expectNewline$0();
  46561. t7 = t3._contents += "\n";
  46562. t3._contents = t7 + " *";
  46563. }
  46564. _this._readIndentation$0();
  46565. }
  46566. t4 = t3._contents;
  46567. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  46568. t3._contents += " */";
  46569. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  46570. },
  46571. whitespaceWithoutComments$0() {
  46572. var t1, t2, next;
  46573. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  46574. next = t1.peekChar$0();
  46575. if (next !== 9 && next !== 32)
  46576. break;
  46577. t1.readChar$0();
  46578. }
  46579. },
  46580. loudComment$0() {
  46581. var next,
  46582. t1 = this.scanner;
  46583. t1.expect$1("/*");
  46584. for (; true;) {
  46585. next = t1.readChar$0();
  46586. if (next === 10 || next === 13 || next === 12)
  46587. t1.error$1(0, "expected */.");
  46588. if (next !== 42)
  46589. continue;
  46590. do
  46591. next = t1.readChar$0();
  46592. while (next === 42);
  46593. if (next === 47)
  46594. break;
  46595. }
  46596. },
  46597. _expectNewline$0() {
  46598. var t1 = this.scanner;
  46599. switch (t1.peekChar$0()) {
  46600. case 59:
  46601. t1.error$1(0, string$.semico);
  46602. break;
  46603. case 13:
  46604. t1.readChar$0();
  46605. if (t1.peekChar$0() === 10)
  46606. t1.readChar$0();
  46607. return;
  46608. case 10:
  46609. case 12:
  46610. t1.readChar$0();
  46611. return;
  46612. default:
  46613. t1.error$1(0, "expected newline.");
  46614. }
  46615. },
  46616. _lookingAtDoubleNewline$0() {
  46617. var nextChar,
  46618. t1 = this.scanner;
  46619. switch (t1.peekChar$0()) {
  46620. case 13:
  46621. nextChar = t1.peekChar$1(1);
  46622. if (nextChar === 10) {
  46623. t1 = t1.peekChar$1(2);
  46624. return t1 === 10 || t1 === 13 || t1 === 12;
  46625. }
  46626. return nextChar === 13 || nextChar === 12;
  46627. case 10:
  46628. case 12:
  46629. t1 = t1.peekChar$1(1);
  46630. return t1 === 10 || t1 === 13 || t1 === 12;
  46631. default:
  46632. return false;
  46633. }
  46634. },
  46635. _whileIndentedLower$1(body) {
  46636. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  46637. parentIndentation = _this._currentIndentation;
  46638. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  46639. indentation = _this._readIndentation$0();
  46640. if (childIndentation == null)
  46641. childIndentation = indentation;
  46642. if (childIndentation !== indentation) {
  46643. t3 = t1._string_scanner$_position;
  46644. t4 = t2.getColumn$1(t3);
  46645. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  46646. }
  46647. body.call$0();
  46648. }
  46649. },
  46650. _readIndentation$0() {
  46651. var t1, _this = this,
  46652. currentIndentation = _this._nextIndentation;
  46653. if (currentIndentation == null)
  46654. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  46655. _this._currentIndentation = currentIndentation;
  46656. t1 = _this._nextIndentationEnd;
  46657. t1.toString;
  46658. _this.scanner.set$state(t1);
  46659. _this._nextIndentationEnd = _this._nextIndentation = null;
  46660. return currentIndentation;
  46661. },
  46662. _peekIndentation$0() {
  46663. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  46664. cached = _this._nextIndentation;
  46665. if (cached != null)
  46666. return cached;
  46667. t1 = _this.scanner;
  46668. t2 = t1._string_scanner$_position;
  46669. t3 = t1.string.length;
  46670. if (t2 === t3) {
  46671. _this._nextIndentation = 0;
  46672. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  46673. return 0;
  46674. }
  46675. start = new A._SpanScannerState(t1, t2);
  46676. if (!_this.scanCharIf$1(A.character__isNewline$closure()))
  46677. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  46678. containsTab = A._Cell$();
  46679. containsSpace = A._Cell$();
  46680. nextIndentation = A._Cell$();
  46681. t2 = nextIndentation.__late_helper$_name;
  46682. do {
  46683. containsSpace._value = containsTab._value = false;
  46684. nextIndentation._value = 0;
  46685. for (; true;) {
  46686. next = t1.peekChar$0();
  46687. if (next === 32)
  46688. containsSpace._value = true;
  46689. else if (next === 9)
  46690. containsTab._value = true;
  46691. else
  46692. break;
  46693. t4 = nextIndentation._value;
  46694. if (t4 === nextIndentation)
  46695. A.throwExpression(A.LateError$localNI(t2));
  46696. nextIndentation._value = t4 + 1;
  46697. t1.readChar$0();
  46698. }
  46699. t4 = t1._string_scanner$_position;
  46700. if (t4 === t3) {
  46701. _this._nextIndentation = 0;
  46702. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  46703. t1.set$state(start);
  46704. return 0;
  46705. }
  46706. } while (_this.scanCharIf$1(A.character__isNewline$closure()));
  46707. t2 = containsTab._readLocal$0();
  46708. t3 = containsSpace._readLocal$0();
  46709. if (t2) {
  46710. if (t3) {
  46711. t2 = t1._string_scanner$_position;
  46712. t3 = t1._sourceFile;
  46713. t4 = t3.getColumn$1(t2);
  46714. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46715. } else if (_this._spaces === true) {
  46716. t2 = t1._string_scanner$_position;
  46717. t3 = t1._sourceFile;
  46718. t4 = t3.getColumn$1(t2);
  46719. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46720. }
  46721. } else if (t3 && _this._spaces === false) {
  46722. t2 = t1._string_scanner$_position;
  46723. t3 = t1._sourceFile;
  46724. t4 = t3.getColumn$1(t2);
  46725. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46726. }
  46727. _this._nextIndentation = nextIndentation._readLocal$0();
  46728. if (nextIndentation._readLocal$0() > 0)
  46729. if (_this._spaces == null)
  46730. _this._spaces = containsSpace._readLocal$0();
  46731. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46732. t1.set$state(start);
  46733. return nextIndentation._readLocal$0();
  46734. }
  46735. };
  46736. A.SassParser_children_closure.prototype = {
  46737. call$0() {
  46738. var parsedChild = this.$this._child$1(this.child);
  46739. if (parsedChild != null)
  46740. this.children.push(parsedChild);
  46741. },
  46742. $signature: 0
  46743. };
  46744. A.ScssParser.prototype = {
  46745. get$indented() {
  46746. return false;
  46747. },
  46748. get$currentIndentation() {
  46749. return 0;
  46750. },
  46751. styleRuleSelector$0() {
  46752. return this.almostAnyValue$0();
  46753. },
  46754. expectStatementSeparator$1($name) {
  46755. var t1, next;
  46756. this.whitespaceWithoutComments$0();
  46757. t1 = this.scanner;
  46758. if (t1._string_scanner$_position === t1.string.length)
  46759. return;
  46760. next = t1.peekChar$0();
  46761. if (next === 59 || next === 125)
  46762. return;
  46763. t1.expectChar$1(59);
  46764. },
  46765. expectStatementSeparator$0() {
  46766. return this.expectStatementSeparator$1(null);
  46767. },
  46768. atEndOfStatement$0() {
  46769. var next = this.scanner.peekChar$0();
  46770. return next == null || next === 59 || next === 125 || next === 123;
  46771. },
  46772. lookingAtChildren$0() {
  46773. return this.scanner.peekChar$0() === 123;
  46774. },
  46775. scanElse$1(ifIndentation) {
  46776. var t3, _this = this,
  46777. t1 = _this.scanner,
  46778. t2 = t1._string_scanner$_position;
  46779. _this.whitespace$0();
  46780. t3 = t1._string_scanner$_position;
  46781. if (t1.scanChar$1(64)) {
  46782. if (_this.scanIdentifier$2$caseSensitive("else", true))
  46783. return true;
  46784. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  46785. _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  46786. t1.set$position(t1._string_scanner$_position - 2);
  46787. return true;
  46788. }
  46789. }
  46790. t1.set$state(new A._SpanScannerState(t1, t2));
  46791. return false;
  46792. },
  46793. children$1(_, child) {
  46794. var children, _this = this,
  46795. t1 = _this.scanner;
  46796. t1.expectChar$1(123);
  46797. _this.whitespaceWithoutComments$0();
  46798. children = A._setArrayType([], type$.JSArray_Statement);
  46799. for (; true;)
  46800. switch (t1.peekChar$0()) {
  46801. case 36:
  46802. children.push(_this.variableDeclarationWithoutNamespace$0());
  46803. break;
  46804. case 47:
  46805. switch (t1.peekChar$1(1)) {
  46806. case 47:
  46807. children.push(_this._scss$_silentComment$0());
  46808. _this.whitespaceWithoutComments$0();
  46809. break;
  46810. case 42:
  46811. children.push(_this._scss$_loudComment$0());
  46812. _this.whitespaceWithoutComments$0();
  46813. break;
  46814. default:
  46815. children.push(child.call$0());
  46816. break;
  46817. }
  46818. break;
  46819. case 59:
  46820. t1.readChar$0();
  46821. _this.whitespaceWithoutComments$0();
  46822. break;
  46823. case 125:
  46824. t1.expectChar$1(125);
  46825. return children;
  46826. default:
  46827. children.push(child.call$0());
  46828. break;
  46829. }
  46830. },
  46831. statements$1(statement) {
  46832. var t1, t2, child, _this = this,
  46833. statements = A._setArrayType([], type$.JSArray_Statement);
  46834. _this.whitespaceWithoutComments$0();
  46835. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  46836. switch (t1.peekChar$0()) {
  46837. case 36:
  46838. statements.push(_this.variableDeclarationWithoutNamespace$0());
  46839. break;
  46840. case 47:
  46841. switch (t1.peekChar$1(1)) {
  46842. case 47:
  46843. statements.push(_this._scss$_silentComment$0());
  46844. _this.whitespaceWithoutComments$0();
  46845. break;
  46846. case 42:
  46847. statements.push(_this._scss$_loudComment$0());
  46848. _this.whitespaceWithoutComments$0();
  46849. break;
  46850. default:
  46851. child = statement.call$0();
  46852. if (child != null)
  46853. statements.push(child);
  46854. break;
  46855. }
  46856. break;
  46857. case 59:
  46858. t1.readChar$0();
  46859. _this.whitespaceWithoutComments$0();
  46860. break;
  46861. default:
  46862. child = statement.call$0();
  46863. if (child != null)
  46864. statements.push(child);
  46865. break;
  46866. }
  46867. return statements;
  46868. },
  46869. _scss$_silentComment$0() {
  46870. var t2, t3, _this = this,
  46871. t1 = _this.scanner,
  46872. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46873. t1.expect$1("//");
  46874. t2 = t1.string.length;
  46875. do {
  46876. while (true) {
  46877. if (t1._string_scanner$_position !== t2) {
  46878. t3 = t1.readChar$0();
  46879. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  46880. } else
  46881. t3 = false;
  46882. if (!t3)
  46883. break;
  46884. }
  46885. if (t1._string_scanner$_position === t2)
  46886. break;
  46887. _this.whitespaceWithoutComments$0();
  46888. } while (t1.scan$1("//"));
  46889. if (_this.get$plainCss())
  46890. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  46891. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  46892. },
  46893. _scss$_loudComment$0() {
  46894. var t3, t4, buffer, t5, endPosition, t6, result,
  46895. t1 = this.scanner,
  46896. t2 = t1._string_scanner$_position;
  46897. t1.expect$1("/*");
  46898. t3 = new A.StringBuffer("");
  46899. t4 = A._setArrayType([], type$.JSArray_Object);
  46900. buffer = new A.InterpolationBuffer(t3, t4);
  46901. t3._contents = "" + "/*";
  46902. for (; true;)
  46903. switch (t1.peekChar$0()) {
  46904. case 35:
  46905. if (t1.peekChar$1(1) === 123) {
  46906. t5 = this.singleInterpolation$0();
  46907. buffer._flushText$0();
  46908. t4.push(t5);
  46909. } else
  46910. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46911. break;
  46912. case 42:
  46913. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46914. if (t1.peekChar$0() !== 47)
  46915. break;
  46916. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46917. endPosition = t1._string_scanner$_position;
  46918. t5 = t1._sourceFile;
  46919. t6 = new A._SpanScannerState(t1, t2).position;
  46920. t1 = new A._FileSpan(t5, t6, endPosition);
  46921. t1._FileSpan$3(t5, t6, endPosition);
  46922. t6 = type$.Object;
  46923. t5 = A.List_List$of(t4, true, t6);
  46924. t2 = t3._contents;
  46925. if (t2.length !== 0)
  46926. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  46927. result = A.List_List$from(t5, false, t6);
  46928. result.fixed$length = Array;
  46929. result.immutable$list = Array;
  46930. t2 = new A.Interpolation(result, t1);
  46931. t2.Interpolation$2(t5, t1);
  46932. return new A.LoudComment(t2);
  46933. case 13:
  46934. t1.readChar$0();
  46935. if (t1.peekChar$0() !== 10)
  46936. t3._contents += A.Primitives_stringFromCharCode(10);
  46937. break;
  46938. case 12:
  46939. t1.readChar$0();
  46940. t3._contents += A.Primitives_stringFromCharCode(10);
  46941. break;
  46942. default:
  46943. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46944. break;
  46945. }
  46946. }
  46947. };
  46948. A.SelectorParser.prototype = {
  46949. parse$0() {
  46950. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  46951. },
  46952. parseCompoundSelector$0() {
  46953. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  46954. },
  46955. _selectorList$0() {
  46956. var t3, t4, lineBreak, _this = this,
  46957. t1 = _this.scanner,
  46958. t2 = t1._sourceFile,
  46959. previousLine = t2.getLine$1(t1._string_scanner$_position),
  46960. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  46961. _this.whitespace$0();
  46962. for (t3 = t1.string.length; t1.scanChar$1(44);) {
  46963. _this.whitespace$0();
  46964. if (t1.peekChar$0() === 44)
  46965. continue;
  46966. t4 = t1._string_scanner$_position;
  46967. if (t4 === t3)
  46968. break;
  46969. lineBreak = t2.getLine$1(t4) !== previousLine;
  46970. if (lineBreak)
  46971. previousLine = t2.getLine$1(t1._string_scanner$_position);
  46972. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  46973. }
  46974. return A.SelectorList$(components);
  46975. },
  46976. _complexSelector$1$lineBreak(lineBreak) {
  46977. var t2, t3, t4, lastCompound, initialCombinators, next, t5, result, _this = this,
  46978. t1 = type$.JSArray_Combinator,
  46979. combinators = A._setArrayType([], t1),
  46980. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  46981. $label0$1:
  46982. for (t2 = _this.scanner, t3 = B.Set_2Vk2._map, t4 = type$.Combinator, lastCompound = null, initialCombinators = null; true;) {
  46983. _this.whitespace$0();
  46984. next = t2.peekChar$0();
  46985. switch (next) {
  46986. case 43:
  46987. t2.readChar$0();
  46988. combinators.push(B.Combinator_4QF);
  46989. break;
  46990. case 62:
  46991. t2.readChar$0();
  46992. combinators.push(B.Combinator_Cht);
  46993. break;
  46994. case 126:
  46995. t2.readChar$0();
  46996. combinators.push(B.Combinator_Htt);
  46997. break;
  46998. default:
  46999. if (next != null)
  47000. t5 = !t3.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  47001. else
  47002. t5 = true;
  47003. if (t5)
  47004. break $label0$1;
  47005. if (lastCompound != null) {
  47006. result = A.List_List$from(combinators, false, t4);
  47007. result.fixed$length = Array;
  47008. result.immutable$list = Array;
  47009. components.push(new A.ComplexSelectorComponent(lastCompound, result));
  47010. } else if (combinators.length !== 0)
  47011. initialCombinators = combinators;
  47012. lastCompound = _this._compoundSelector$0();
  47013. combinators = A._setArrayType([], t1);
  47014. if (t2.peekChar$0() === 38)
  47015. t2.error$1(0, string$.x22x26__ma);
  47016. break;
  47017. }
  47018. }
  47019. if (lastCompound != null)
  47020. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4)));
  47021. else if (combinators.length !== 0)
  47022. initialCombinators = combinators;
  47023. else
  47024. t2.error$1(0, "expected selector.");
  47025. return A.ComplexSelector$(initialCombinators == null ? B.List_empty0 : initialCombinators, components, lineBreak);
  47026. },
  47027. _complexSelector$0() {
  47028. return this._complexSelector$1$lineBreak(false);
  47029. },
  47030. _compoundSelector$0() {
  47031. var t2,
  47032. components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
  47033. t1 = this.scanner;
  47034. while (true) {
  47035. t2 = t1.peekChar$0();
  47036. if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
  47037. break;
  47038. components.push(this._simpleSelector$1$allowParent(false));
  47039. }
  47040. return A.CompoundSelector$(components);
  47041. },
  47042. _simpleSelector$1$allowParent(allowParent) {
  47043. var $name, text, t2, suffix, _this = this,
  47044. t1 = _this.scanner,
  47045. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47046. if (allowParent == null)
  47047. allowParent = _this._allowParent;
  47048. switch (t1.peekChar$0()) {
  47049. case 91:
  47050. return _this._attributeSelector$0();
  47051. case 46:
  47052. t1.expectChar$1(46);
  47053. return new A.ClassSelector(_this.identifier$0());
  47054. case 35:
  47055. t1.expectChar$1(35);
  47056. return new A.IDSelector(_this.identifier$0());
  47057. case 37:
  47058. t1.expectChar$1(37);
  47059. $name = _this.identifier$0();
  47060. if (!_this._allowPlaceholder)
  47061. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  47062. return new A.PlaceholderSelector($name);
  47063. case 58:
  47064. return _this._pseudoSelector$0();
  47065. case 38:
  47066. t1.expectChar$1(38);
  47067. if (_this.lookingAtIdentifierBody$0()) {
  47068. text = new A.StringBuffer("");
  47069. _this._identifierBody$1(text);
  47070. if (text._contents.length === 0)
  47071. t1.error$1(0, "Expected identifier body.");
  47072. t2 = text._contents;
  47073. suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
  47074. } else
  47075. suffix = null;
  47076. if (!allowParent)
  47077. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  47078. return new A.ParentSelector(suffix);
  47079. default:
  47080. return _this._typeOrUniversalSelector$0();
  47081. }
  47082. },
  47083. _simpleSelector$0() {
  47084. return this._simpleSelector$1$allowParent(null);
  47085. },
  47086. _attributeSelector$0() {
  47087. var $name, operator, next, value, modifier, _this = this, _null = null,
  47088. t1 = _this.scanner;
  47089. t1.expectChar$1(91);
  47090. _this.whitespace$0();
  47091. $name = _this._attributeName$0();
  47092. _this.whitespace$0();
  47093. if (t1.scanChar$1(93))
  47094. return new A.AttributeSelector($name, _null, _null, _null);
  47095. operator = _this._attributeOperator$0();
  47096. _this.whitespace$0();
  47097. next = t1.peekChar$0();
  47098. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  47099. _this.whitespace$0();
  47100. next = t1.peekChar$0();
  47101. modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  47102. t1.expectChar$1(93);
  47103. return new A.AttributeSelector($name, operator, value, modifier);
  47104. },
  47105. _attributeName$0() {
  47106. var nameOrNamespace, _this = this,
  47107. t1 = _this.scanner;
  47108. if (t1.scanChar$1(42)) {
  47109. t1.expectChar$1(124);
  47110. return new A.QualifiedName(_this.identifier$0(), "*");
  47111. }
  47112. if (t1.scanChar$1(124))
  47113. return new A.QualifiedName(_this.identifier$0(), "");
  47114. nameOrNamespace = _this.identifier$0();
  47115. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  47116. return new A.QualifiedName(nameOrNamespace, null);
  47117. t1.readChar$0();
  47118. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  47119. },
  47120. _attributeOperator$0() {
  47121. var t1 = this.scanner,
  47122. t2 = t1._string_scanner$_position;
  47123. switch (t1.readChar$0()) {
  47124. case 61:
  47125. return B.AttributeOperator_ES6;
  47126. case 126:
  47127. t1.expectChar$1(61);
  47128. return B.AttributeOperator_r60;
  47129. case 124:
  47130. t1.expectChar$1(61);
  47131. return B.AttributeOperator_ivT;
  47132. case 94:
  47133. t1.expectChar$1(61);
  47134. return B.AttributeOperator_eot;
  47135. case 36:
  47136. t1.expectChar$1(61);
  47137. return B.AttributeOperator_BGd;
  47138. case 42:
  47139. t1.expectChar$1(61);
  47140. return B.AttributeOperator_8aB;
  47141. default:
  47142. t1.error$2$position(0, 'Expected "]".', t2);
  47143. }
  47144. },
  47145. _pseudoSelector$0() {
  47146. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  47147. t1 = _this.scanner;
  47148. t1.expectChar$1(58);
  47149. element = t1.scanChar$1(58);
  47150. $name = _this.identifier$0();
  47151. if (!t1.scanChar$1(40))
  47152. return A.PseudoSelector$($name, _null, element, _null);
  47153. _this.whitespace$0();
  47154. unvendored = A.unvendor($name);
  47155. if (element)
  47156. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  47157. selector = _this._selectorList$0();
  47158. argument = _null;
  47159. } else {
  47160. argument = _this.declarationValue$1$allowEmpty(true);
  47161. selector = _null;
  47162. }
  47163. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  47164. selector = _this._selectorList$0();
  47165. argument = _null;
  47166. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  47167. argument = _this._aNPlusB$0();
  47168. _this.whitespace$0();
  47169. t2 = t1.peekChar$1(-1);
  47170. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  47171. _this.expectIdentifier$1("of");
  47172. argument += " of";
  47173. _this.whitespace$0();
  47174. selector = _this._selectorList$0();
  47175. } else
  47176. selector = _null;
  47177. } else {
  47178. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  47179. selector = _null;
  47180. }
  47181. t1.expectChar$1(41);
  47182. return A.PseudoSelector$($name, argument, element, selector);
  47183. },
  47184. _aNPlusB$0() {
  47185. var t2, first, t3, next, last, _this = this,
  47186. t1 = _this.scanner;
  47187. switch (t1.peekChar$0()) {
  47188. case 101:
  47189. case 69:
  47190. _this.expectIdentifier$1("even");
  47191. return "even";
  47192. case 111:
  47193. case 79:
  47194. _this.expectIdentifier$1("odd");
  47195. return "odd";
  47196. case 43:
  47197. case 45:
  47198. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  47199. break;
  47200. default:
  47201. t2 = "";
  47202. }
  47203. first = t1.peekChar$0();
  47204. if (first != null && A.isDigit(first)) {
  47205. while (true) {
  47206. t3 = t1.peekChar$0();
  47207. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47208. break;
  47209. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47210. }
  47211. _this.whitespace$0();
  47212. if (!_this.scanIdentChar$1(110))
  47213. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47214. } else
  47215. _this.expectIdentChar$1(110);
  47216. t2 += A.Primitives_stringFromCharCode(110);
  47217. _this.whitespace$0();
  47218. next = t1.peekChar$0();
  47219. if (next !== 43 && next !== 45)
  47220. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47221. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47222. _this.whitespace$0();
  47223. last = t1.peekChar$0();
  47224. if (last == null || !A.isDigit(last))
  47225. t1.error$1(0, "Expected a number.");
  47226. while (true) {
  47227. t3 = t1.peekChar$0();
  47228. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47229. break;
  47230. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47231. }
  47232. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47233. },
  47234. _typeOrUniversalSelector$0() {
  47235. var nameOrNamespace, _this = this,
  47236. t1 = _this.scanner,
  47237. first = t1.peekChar$0();
  47238. if (first === 42) {
  47239. t1.readChar$0();
  47240. if (!t1.scanChar$1(124))
  47241. return new A.UniversalSelector(null);
  47242. if (t1.scanChar$1(42))
  47243. return new A.UniversalSelector("*");
  47244. else
  47245. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
  47246. } else if (first === 124) {
  47247. t1.readChar$0();
  47248. if (t1.scanChar$1(42))
  47249. return new A.UniversalSelector("");
  47250. else
  47251. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
  47252. }
  47253. nameOrNamespace = _this.identifier$0();
  47254. if (!t1.scanChar$1(124))
  47255. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
  47256. else if (t1.scanChar$1(42))
  47257. return new A.UniversalSelector(nameOrNamespace);
  47258. else
  47259. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
  47260. }
  47261. };
  47262. A.SelectorParser_parse_closure.prototype = {
  47263. call$0() {
  47264. var t1 = this.$this,
  47265. selector = t1._selectorList$0();
  47266. t1 = t1.scanner;
  47267. if (t1._string_scanner$_position !== t1.string.length)
  47268. t1.error$1(0, "expected selector.");
  47269. return selector;
  47270. },
  47271. $signature: 47
  47272. };
  47273. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  47274. call$0() {
  47275. var t1 = this.$this,
  47276. compound = t1._compoundSelector$0();
  47277. t1 = t1.scanner;
  47278. if (t1._string_scanner$_position !== t1.string.length)
  47279. t1.error$1(0, "expected selector.");
  47280. return compound;
  47281. },
  47282. $signature: 325
  47283. };
  47284. A.StylesheetParser.prototype = {
  47285. parse$0() {
  47286. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  47287. },
  47288. parseArgumentDeclaration$0() {
  47289. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  47290. },
  47291. parseVariableDeclaration$0() {
  47292. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  47293. },
  47294. parseUseRule$0() {
  47295. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  47296. },
  47297. _parseSingleProduction$1$1(production, $T) {
  47298. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  47299. },
  47300. _statement$1$root(root) {
  47301. var t2, _this = this,
  47302. t1 = _this.scanner;
  47303. switch (t1.peekChar$0()) {
  47304. case 64:
  47305. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  47306. case 43:
  47307. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  47308. return _this._styleRule$0();
  47309. _this._isUseAllowed = false;
  47310. t2 = t1._string_scanner$_position;
  47311. t1.readChar$0();
  47312. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  47313. case 61:
  47314. if (!_this.get$indented())
  47315. return _this._styleRule$0();
  47316. _this._isUseAllowed = false;
  47317. t2 = t1._string_scanner$_position;
  47318. t1.readChar$0();
  47319. _this.whitespace$0();
  47320. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  47321. case 125:
  47322. t1.error$2$length(0, 'unmatched "}".', 1);
  47323. break;
  47324. default:
  47325. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  47326. }
  47327. },
  47328. _statement$0() {
  47329. return this._statement$1$root(false);
  47330. },
  47331. _variableDeclarationWithNamespace$0() {
  47332. var t1 = this.scanner,
  47333. t2 = t1._string_scanner$_position,
  47334. namespace = this.identifier$0();
  47335. t1.expectChar$1(46);
  47336. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  47337. },
  47338. variableDeclarationWithoutNamespace$2(namespace, start_) {
  47339. var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
  47340. precedingComment = _this.lastSilentComment;
  47341. _this.lastSilentComment = null;
  47342. if (start_ == null) {
  47343. t1 = _this.scanner;
  47344. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47345. } else
  47346. start = start_;
  47347. $name = _this.variableName$0();
  47348. t1 = namespace != null;
  47349. if (t1)
  47350. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  47351. if (_this.get$plainCss())
  47352. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  47353. _this.whitespace$0();
  47354. t2 = _this.scanner;
  47355. t2.expectChar$1(58);
  47356. _this.whitespace$0();
  47357. value = _this._expression$0();
  47358. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47359. for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
  47360. flag = _this.identifier$0();
  47361. if (flag === "default")
  47362. guarded = true;
  47363. else if (flag === "global") {
  47364. if (t1) {
  47365. endPosition = t2._string_scanner$_position;
  47366. t4 = t2._sourceFile;
  47367. t5 = flagStart.position;
  47368. t6 = new A._FileSpan(t4, t5, endPosition);
  47369. t6._FileSpan$3(t4, t5, endPosition);
  47370. A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
  47371. }
  47372. global = true;
  47373. } else {
  47374. endPosition = t2._string_scanner$_position;
  47375. t4 = t2._sourceFile;
  47376. t5 = flagStart.position;
  47377. t6 = new A._FileSpan(t4, t5, endPosition);
  47378. t6._FileSpan$3(t4, t5, endPosition);
  47379. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  47380. }
  47381. _this.whitespace$0();
  47382. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47383. }
  47384. _this.expectStatementSeparator$1("variable declaration");
  47385. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  47386. if (global)
  47387. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  47388. return declaration;
  47389. },
  47390. variableDeclarationWithoutNamespace$0() {
  47391. return this.variableDeclarationWithoutNamespace$2(null, null);
  47392. },
  47393. _variableDeclarationOrStyleRule$0() {
  47394. var t1, t2, variableOrInterpolation, t3, _this = this;
  47395. if (_this.get$plainCss())
  47396. return _this._styleRule$0();
  47397. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  47398. return _this._styleRule$0();
  47399. if (!_this.lookingAtIdentifier$0())
  47400. return _this._styleRule$0();
  47401. t1 = _this.scanner;
  47402. t2 = t1._string_scanner$_position;
  47403. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  47404. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47405. return variableOrInterpolation;
  47406. else {
  47407. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  47408. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  47409. return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  47410. }
  47411. },
  47412. _declarationOrStyleRule$0() {
  47413. var t1, t2, declarationOrBuffer, _this = this;
  47414. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  47415. return _this._propertyOrVariableDeclaration$0();
  47416. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  47417. return _this._styleRule$0();
  47418. t1 = _this.scanner;
  47419. t2 = t1._string_scanner$_position;
  47420. declarationOrBuffer = _this._declarationOrBuffer$0();
  47421. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  47422. },
  47423. _declarationOrBuffer$0() {
  47424. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  47425. t2 = _this.scanner,
  47426. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  47427. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  47428. first = t2.peekChar$0();
  47429. if (first !== 58)
  47430. if (first !== 42)
  47431. if (first !== 46)
  47432. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  47433. else
  47434. t3 = true;
  47435. else
  47436. t3 = true;
  47437. else
  47438. t3 = true;
  47439. if (t3) {
  47440. t3 = t2.readChar$0();
  47441. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  47442. t3 = _this.rawText$1(_this.get$whitespace());
  47443. nameBuffer._interpolation_buffer$_text._contents += t3;
  47444. startsWithPunctuation = true;
  47445. } else
  47446. startsWithPunctuation = false;
  47447. if (!_this._lookingAtInterpolatedIdentifier$0())
  47448. return nameBuffer;
  47449. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  47450. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47451. return variableOrInterpolation;
  47452. else
  47453. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  47454. _this._isUseAllowed = false;
  47455. if (t2.matches$1("/*")) {
  47456. t3 = _this.rawText$1(_this.get$loudComment());
  47457. nameBuffer._interpolation_buffer$_text._contents += t3;
  47458. }
  47459. midBuffer = new A.StringBuffer("");
  47460. t3 = _this.get$whitespace();
  47461. midBuffer._contents += _this.rawText$1(t3);
  47462. t4 = t2._string_scanner$_position;
  47463. if (!t2.scanChar$1(58)) {
  47464. if (midBuffer._contents.length !== 0)
  47465. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  47466. return nameBuffer;
  47467. }
  47468. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  47469. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  47470. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  47471. t1 = _this._interpolatedDeclarationValue$0();
  47472. _this.expectStatementSeparator$1("custom property");
  47473. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  47474. }
  47475. if (t2.scanChar$1(58)) {
  47476. t1 = nameBuffer;
  47477. t2 = t1._interpolation_buffer$_text;
  47478. t3 = t2._contents += A.S(midBuffer);
  47479. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  47480. return t1;
  47481. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  47482. t1 = nameBuffer;
  47483. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  47484. return t1;
  47485. }
  47486. postColonWhitespace = _this.rawText$1(t3);
  47487. if (_this.lookingAtChildren$0())
  47488. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  47489. midBuffer._contents += postColonWhitespace;
  47490. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  47491. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47492. t3 = t1.value = null;
  47493. try {
  47494. t3 = t1.value = _this._expression$0();
  47495. if (_this.lookingAtChildren$0()) {
  47496. if (couldBeSelector)
  47497. _this.expectStatementSeparator$0();
  47498. } else if (!_this.atEndOfStatement$0())
  47499. _this.expectStatementSeparator$0();
  47500. } catch (exception) {
  47501. if (type$.FormatException._is(A.unwrapException(exception))) {
  47502. if (!couldBeSelector)
  47503. throw exception;
  47504. t2.set$state(beforeDeclaration);
  47505. additional = _this.almostAnyValue$0();
  47506. if (!_this.get$indented() && t2.peekChar$0() === 59)
  47507. throw exception;
  47508. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  47509. nameBuffer.addInterpolation$1(additional);
  47510. return nameBuffer;
  47511. } else
  47512. throw exception;
  47513. }
  47514. if (_this.lookingAtChildren$0())
  47515. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  47516. else {
  47517. _this.expectStatementSeparator$0();
  47518. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  47519. }
  47520. },
  47521. _variableDeclarationOrInterpolation$0() {
  47522. var t1, start, identifier, t2, buffer, _this = this;
  47523. if (!_this.lookingAtIdentifier$0())
  47524. return _this.interpolatedIdentifier$0();
  47525. t1 = _this.scanner;
  47526. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47527. identifier = _this.identifier$0();
  47528. if (t1.matches$1(".$")) {
  47529. t1.readChar$0();
  47530. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  47531. } else {
  47532. t2 = new A.StringBuffer("");
  47533. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  47534. t2._contents = "" + identifier;
  47535. if (_this._lookingAtInterpolatedIdentifierBody$0())
  47536. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  47537. return buffer.interpolation$1(t1.spanFrom$1(start));
  47538. }
  47539. },
  47540. _styleRule$2(buffer, start_) {
  47541. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  47542. _this._isUseAllowed = false;
  47543. if (start_ == null) {
  47544. t2 = _this.scanner;
  47545. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47546. } else
  47547. start = start_;
  47548. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  47549. if (buffer != null) {
  47550. buffer.addInterpolation$1(interpolation);
  47551. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  47552. } else
  47553. t2 = interpolation;
  47554. if (t2.contents.length === 0)
  47555. _this.scanner.error$1(0, 'expected "}".');
  47556. wasInStyleRule = _this._inStyleRule;
  47557. _this._inStyleRule = true;
  47558. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  47559. },
  47560. _styleRule$0() {
  47561. return this._styleRule$2(null, null);
  47562. },
  47563. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  47564. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  47565. _s48_ = string$.Nested,
  47566. t1 = {},
  47567. t2 = _this.scanner,
  47568. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47569. t1.name = null;
  47570. first = t2.peekChar$0();
  47571. if (first !== 58)
  47572. if (first !== 42)
  47573. if (first !== 46)
  47574. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  47575. else
  47576. t3 = true;
  47577. else
  47578. t3 = true;
  47579. else
  47580. t3 = true;
  47581. if (t3) {
  47582. t3 = new A.StringBuffer("");
  47583. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  47584. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  47585. t3._contents += _this.rawText$1(_this.get$whitespace());
  47586. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  47587. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  47588. } else if (!_this.get$plainCss()) {
  47589. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  47590. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47591. return variableOrInterpolation;
  47592. else {
  47593. type$.Interpolation._as(variableOrInterpolation);
  47594. t1.name = variableOrInterpolation;
  47595. }
  47596. t3 = variableOrInterpolation;
  47597. } else {
  47598. $name = _this.interpolatedIdentifier$0();
  47599. t1.name = $name;
  47600. t3 = $name;
  47601. }
  47602. _this.whitespace$0();
  47603. t2.expectChar$1(58);
  47604. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  47605. t1 = _this._interpolatedDeclarationValue$0();
  47606. _this.expectStatementSeparator$1("custom property");
  47607. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  47608. }
  47609. _this.whitespace$0();
  47610. if (_this.lookingAtChildren$0()) {
  47611. if (_this.get$plainCss())
  47612. t2.error$1(0, _s48_);
  47613. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  47614. }
  47615. value = _this._expression$0();
  47616. if (_this.lookingAtChildren$0()) {
  47617. if (_this.get$plainCss())
  47618. t2.error$1(0, _s48_);
  47619. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  47620. } else {
  47621. _this.expectStatementSeparator$0();
  47622. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  47623. }
  47624. },
  47625. _propertyOrVariableDeclaration$0() {
  47626. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  47627. },
  47628. _declarationChild$0() {
  47629. if (this.scanner.peekChar$0() === 64)
  47630. return this._declarationAtRule$0();
  47631. return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  47632. },
  47633. atRule$2$root(child, root) {
  47634. var $name, wasUseAllowed, value, optional, _this = this,
  47635. t1 = _this.scanner,
  47636. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47637. t1.expectChar$2$name(64, "@-rule");
  47638. $name = _this.interpolatedIdentifier$0();
  47639. _this.whitespace$0();
  47640. wasUseAllowed = _this._isUseAllowed;
  47641. _this._isUseAllowed = false;
  47642. switch ($name.get$asPlain()) {
  47643. case "at-root":
  47644. return _this._atRootRule$1(start);
  47645. case "content":
  47646. return _this._contentRule$1(start);
  47647. case "debug":
  47648. return _this._debugRule$1(start);
  47649. case "each":
  47650. return _this._eachRule$2(start, child);
  47651. case "else":
  47652. return _this._disallowedAtRule$1(start);
  47653. case "error":
  47654. return _this._errorRule$1(start);
  47655. case "extend":
  47656. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  47657. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  47658. value = _this.almostAnyValue$0();
  47659. optional = t1.scanChar$1(33);
  47660. if (optional)
  47661. _this.expectIdentifier$1("optional");
  47662. _this.expectStatementSeparator$1("@extend rule");
  47663. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  47664. case "for":
  47665. return _this._forRule$2(start, child);
  47666. case "forward":
  47667. _this._isUseAllowed = wasUseAllowed;
  47668. if (!root)
  47669. _this._disallowedAtRule$1(start);
  47670. return _this._forwardRule$1(start);
  47671. case "function":
  47672. return _this._functionRule$1(start);
  47673. case "if":
  47674. return _this._ifRule$2(start, child);
  47675. case "import":
  47676. return _this._importRule$1(start);
  47677. case "include":
  47678. return _this._includeRule$1(start);
  47679. case "media":
  47680. return _this.mediaRule$1(start);
  47681. case "mixin":
  47682. return _this._mixinRule$1(start);
  47683. case "-moz-document":
  47684. return _this.mozDocumentRule$2(start, $name);
  47685. case "return":
  47686. return _this._disallowedAtRule$1(start);
  47687. case "supports":
  47688. return _this.supportsRule$1(start);
  47689. case "use":
  47690. _this._isUseAllowed = wasUseAllowed;
  47691. if (!root)
  47692. _this._disallowedAtRule$1(start);
  47693. return _this._useRule$1(start);
  47694. case "warn":
  47695. return _this._warnRule$1(start);
  47696. case "while":
  47697. return _this._whileRule$2(start, child);
  47698. default:
  47699. return _this.unknownAtRule$2(start, $name);
  47700. }
  47701. },
  47702. _declarationAtRule$0() {
  47703. var _this = this,
  47704. t1 = _this.scanner,
  47705. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47706. switch (_this._plainAtRuleName$0()) {
  47707. case "content":
  47708. return _this._contentRule$1(start);
  47709. case "debug":
  47710. return _this._debugRule$1(start);
  47711. case "each":
  47712. return _this._eachRule$2(start, _this.get$_declarationChild());
  47713. case "else":
  47714. return _this._disallowedAtRule$1(start);
  47715. case "error":
  47716. return _this._errorRule$1(start);
  47717. case "for":
  47718. return _this._forRule$2(start, _this.get$_declarationChild());
  47719. case "if":
  47720. return _this._ifRule$2(start, _this.get$_declarationChild());
  47721. case "include":
  47722. return _this._includeRule$1(start);
  47723. case "warn":
  47724. return _this._warnRule$1(start);
  47725. case "while":
  47726. return _this._whileRule$2(start, _this.get$_declarationChild());
  47727. default:
  47728. return _this._disallowedAtRule$1(start);
  47729. }
  47730. },
  47731. _functionChild$0() {
  47732. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
  47733. t1 = _this.scanner;
  47734. if (t1.peekChar$0() !== 64) {
  47735. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47736. try {
  47737. t2 = _this._variableDeclarationWithNamespace$0();
  47738. return t2;
  47739. } catch (exception) {
  47740. t2 = A.unwrapException(exception);
  47741. t3 = type$.SourceSpanFormatException;
  47742. if (t3._is(t2)) {
  47743. variableDeclarationError = t2;
  47744. stackTrace = A.getTraceFromException(exception);
  47745. t1.set$state(state);
  47746. statement = null;
  47747. try {
  47748. statement = _this._declarationOrStyleRule$0();
  47749. } catch (exception) {
  47750. if (t3._is(A.unwrapException(exception)))
  47751. throw A.wrapException(variableDeclarationError);
  47752. else
  47753. throw exception;
  47754. }
  47755. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  47756. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  47757. } else
  47758. throw exception;
  47759. }
  47760. }
  47761. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47762. switch (_this._plainAtRuleName$0()) {
  47763. case "debug":
  47764. return _this._debugRule$1(start);
  47765. case "each":
  47766. return _this._eachRule$2(start, _this.get$_functionChild());
  47767. case "else":
  47768. return _this._disallowedAtRule$1(start);
  47769. case "error":
  47770. return _this._errorRule$1(start);
  47771. case "for":
  47772. return _this._forRule$2(start, _this.get$_functionChild());
  47773. case "if":
  47774. return _this._ifRule$2(start, _this.get$_functionChild());
  47775. case "return":
  47776. value = _this._expression$0();
  47777. _this.expectStatementSeparator$1("@return rule");
  47778. return new A.ReturnRule(value, t1.spanFrom$1(start));
  47779. case "warn":
  47780. return _this._warnRule$1(start);
  47781. case "while":
  47782. return _this._whileRule$2(start, _this.get$_functionChild());
  47783. default:
  47784. return _this._disallowedAtRule$1(start);
  47785. }
  47786. },
  47787. _plainAtRuleName$0() {
  47788. this.scanner.expectChar$2$name(64, "@-rule");
  47789. var $name = this.identifier$0();
  47790. this.whitespace$0();
  47791. return $name;
  47792. },
  47793. _atRootRule$1(start) {
  47794. var query, _this = this,
  47795. t1 = _this.scanner;
  47796. if (t1.peekChar$0() === 40) {
  47797. query = _this._atRootQuery$0();
  47798. _this.whitespace$0();
  47799. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  47800. } else if (_this.lookingAtChildren$0())
  47801. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  47802. else
  47803. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  47804. },
  47805. _atRootQuery$0() {
  47806. var interpolation, t2, t3, t4, buffer, t5, _this = this,
  47807. t1 = _this.scanner;
  47808. if (t1.peekChar$0() === 35) {
  47809. interpolation = _this.singleInterpolation$0();
  47810. return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
  47811. }
  47812. t2 = t1._string_scanner$_position;
  47813. t3 = new A.StringBuffer("");
  47814. t4 = A._setArrayType([], type$.JSArray_Object);
  47815. buffer = new A.InterpolationBuffer(t3, t4);
  47816. t1.expectChar$1(40);
  47817. t3._contents += A.Primitives_stringFromCharCode(40);
  47818. _this.whitespace$0();
  47819. t5 = _this._expression$0();
  47820. buffer._flushText$0();
  47821. t4.push(t5);
  47822. if (t1.scanChar$1(58)) {
  47823. _this.whitespace$0();
  47824. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  47825. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  47826. t5 = _this._expression$0();
  47827. buffer._flushText$0();
  47828. t4.push(t5);
  47829. }
  47830. t1.expectChar$1(41);
  47831. _this.whitespace$0();
  47832. t3._contents += A.Primitives_stringFromCharCode(41);
  47833. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  47834. },
  47835. _contentRule$1(start) {
  47836. var t1, $arguments, t2, t3, _this = this;
  47837. if (!_this._stylesheet$_inMixin)
  47838. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  47839. _this.whitespace$0();
  47840. t1 = _this.scanner;
  47841. if (t1.peekChar$0() === 40)
  47842. $arguments = _this._argumentInvocation$1$mixin(true);
  47843. else {
  47844. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  47845. t3 = t2.offset;
  47846. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  47847. }
  47848. _this.expectStatementSeparator$1("@content rule");
  47849. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  47850. },
  47851. _debugRule$1(start) {
  47852. var value = this._expression$0();
  47853. this.expectStatementSeparator$1("@debug rule");
  47854. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  47855. },
  47856. _eachRule$2(start, child) {
  47857. var variables, t1, _this = this,
  47858. wasInControlDirective = _this._inControlDirective;
  47859. _this._inControlDirective = true;
  47860. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  47861. _this.whitespace$0();
  47862. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  47863. _this.whitespace$0();
  47864. t1.expectChar$1(36);
  47865. variables.push(_this.identifier$1$normalize(true));
  47866. _this.whitespace$0();
  47867. }
  47868. _this.expectIdentifier$1("in");
  47869. _this.whitespace$0();
  47870. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  47871. },
  47872. _errorRule$1(start) {
  47873. var value = this._expression$0();
  47874. this.expectStatementSeparator$1("@error rule");
  47875. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  47876. },
  47877. _functionRule$1(start) {
  47878. var $name, $arguments, _this = this,
  47879. precedingComment = _this.lastSilentComment;
  47880. _this.lastSilentComment = null;
  47881. $name = _this.identifier$1$normalize(true);
  47882. _this.whitespace$0();
  47883. $arguments = _this._argumentDeclaration$0();
  47884. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  47885. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  47886. else if (_this._inControlDirective)
  47887. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  47888. switch (A.unvendor($name)) {
  47889. case "calc":
  47890. case "element":
  47891. case "expression":
  47892. case "url":
  47893. case "and":
  47894. case "or":
  47895. case "not":
  47896. case "clamp":
  47897. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  47898. break;
  47899. }
  47900. _this.whitespace$0();
  47901. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  47902. },
  47903. _forRule$2(start, child) {
  47904. var variable, from, _this = this, t1 = {},
  47905. wasInControlDirective = _this._inControlDirective;
  47906. _this._inControlDirective = true;
  47907. variable = _this.variableName$0();
  47908. _this.whitespace$0();
  47909. _this.expectIdentifier$1("from");
  47910. _this.whitespace$0();
  47911. t1.exclusive = null;
  47912. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  47913. if (t1.exclusive == null)
  47914. _this.scanner.error$1(0, 'Expected "to" or "through".');
  47915. _this.whitespace$0();
  47916. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  47917. },
  47918. _forwardRule$1(start) {
  47919. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  47920. url = _this._urlString$0();
  47921. _this.whitespace$0();
  47922. if (_this.scanIdentifier$1("as")) {
  47923. _this.whitespace$0();
  47924. prefix = _this.identifier$1$normalize(true);
  47925. _this.scanner.expectChar$1(42);
  47926. _this.whitespace$0();
  47927. } else
  47928. prefix = _null;
  47929. if (_this.scanIdentifier$1("show")) {
  47930. members = _this._memberList$0();
  47931. shownMixinsAndFunctions = members.item1;
  47932. shownVariables = members.item2;
  47933. hiddenVariables = _null;
  47934. hiddenMixinsAndFunctions = hiddenVariables;
  47935. } else {
  47936. if (_this.scanIdentifier$1("hide")) {
  47937. members = _this._memberList$0();
  47938. hiddenMixinsAndFunctions = members.item1;
  47939. hiddenVariables = members.item2;
  47940. } else {
  47941. hiddenVariables = _null;
  47942. hiddenMixinsAndFunctions = hiddenVariables;
  47943. }
  47944. shownVariables = _null;
  47945. shownMixinsAndFunctions = shownVariables;
  47946. }
  47947. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  47948. _this.expectStatementSeparator$1("@forward rule");
  47949. span = _this.scanner.spanFrom$1(start);
  47950. if (!_this._isUseAllowed)
  47951. _this.error$2(0, string$.x40forwa, span);
  47952. if (shownMixinsAndFunctions != null) {
  47953. shownVariables.toString;
  47954. t1 = type$.String;
  47955. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  47956. t3 = type$.UnmodifiableSetView_String;
  47957. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  47958. t4 = configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  47959. return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  47960. } else if (hiddenMixinsAndFunctions != null) {
  47961. hiddenVariables.toString;
  47962. t1 = type$.String;
  47963. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  47964. t3 = type$.UnmodifiableSetView_String;
  47965. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  47966. t4 = configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  47967. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  47968. } else
  47969. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  47970. },
  47971. _memberList$0() {
  47972. var _this = this,
  47973. t1 = type$.String,
  47974. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  47975. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  47976. t1 = _this.scanner;
  47977. do {
  47978. _this.whitespace$0();
  47979. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  47980. _this.whitespace$0();
  47981. } while (t1.scanChar$1(44));
  47982. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  47983. },
  47984. _ifRule$2(start, child) {
  47985. var condition, children, clauses, lastClause, span, _this = this,
  47986. ifIndentation = _this.get$currentIndentation(),
  47987. wasInControlDirective = _this._inControlDirective;
  47988. _this._inControlDirective = true;
  47989. condition = _this._expression$0();
  47990. children = _this.children$1(0, child);
  47991. _this.whitespaceWithoutComments$0();
  47992. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  47993. while (true) {
  47994. if (!_this.scanElse$1(ifIndentation)) {
  47995. lastClause = null;
  47996. break;
  47997. }
  47998. _this.whitespace$0();
  47999. if (_this.scanIdentifier$1("if")) {
  48000. _this.whitespace$0();
  48001. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  48002. } else {
  48003. lastClause = A.ElseClause$(_this.children$1(0, child));
  48004. break;
  48005. }
  48006. }
  48007. _this._inControlDirective = wasInControlDirective;
  48008. span = _this.scanner.spanFrom$1(start);
  48009. _this.whitespaceWithoutComments$0();
  48010. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  48011. },
  48012. _importRule$1(start) {
  48013. var argument, _this = this,
  48014. imports = A._setArrayType([], type$.JSArray_Import),
  48015. t1 = _this.scanner;
  48016. do {
  48017. _this.whitespace$0();
  48018. argument = _this.importArgument$0();
  48019. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
  48020. _this._disallowedAtRule$1(start);
  48021. imports.push(argument);
  48022. _this.whitespace$0();
  48023. } while (t1.scanChar$1(44));
  48024. _this.expectStatementSeparator$1("@import rule");
  48025. t1 = t1.spanFrom$1(start);
  48026. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  48027. },
  48028. importArgument$0() {
  48029. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  48030. t1 = _this.scanner,
  48031. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  48032. next = t1.peekChar$0();
  48033. if (next === 117 || next === 85) {
  48034. url = _this.dynamicUrl$0();
  48035. _this.whitespace$0();
  48036. modifiers = _this.tryImportModifiers$0();
  48037. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  48038. }
  48039. url = _this.string$0();
  48040. urlSpan = t1.spanFrom$1(start);
  48041. _this.whitespace$0();
  48042. modifiers = _this.tryImportModifiers$0();
  48043. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  48044. t2 = urlSpan;
  48045. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(start));
  48046. } else
  48047. try {
  48048. t1 = _this.parseImportUrl$1(url);
  48049. return new A.DynamicImport(t1, urlSpan);
  48050. } catch (exception) {
  48051. t1 = A.unwrapException(exception);
  48052. if (type$.FormatException._is(t1)) {
  48053. innerError = t1;
  48054. stackTrace = A.getTraceFromException(exception);
  48055. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  48056. } else
  48057. throw exception;
  48058. }
  48059. },
  48060. parseImportUrl$1(url) {
  48061. var t1 = $.$get$windows();
  48062. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  48063. return t1.toUri$1(url).toString$0(0);
  48064. A.Uri_parse(url);
  48065. return url;
  48066. },
  48067. isPlainImportUrl$1(url) {
  48068. var first;
  48069. if (url.length < 5)
  48070. return false;
  48071. if (B.JSString_methods.endsWith$1(url, ".css"))
  48072. return true;
  48073. first = B.JSString_methods._codeUnitAt$1(url, 0);
  48074. if (first === 47)
  48075. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  48076. if (first !== 104)
  48077. return false;
  48078. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  48079. },
  48080. tryImportModifiers$0() {
  48081. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  48082. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  48083. return null;
  48084. t1 = _this.scanner;
  48085. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48086. t2 = new A.StringBuffer("");
  48087. t3 = A._setArrayType([], type$.JSArray_Object);
  48088. buffer = new A.InterpolationBuffer(t2, t3);
  48089. for (; true;)
  48090. if (_this._lookingAtInterpolatedIdentifier$0()) {
  48091. if (!(t3.length === 0 && t2._contents.length === 0))
  48092. t2._contents += A.Primitives_stringFromCharCode(32);
  48093. identifier = _this.interpolatedIdentifier$0();
  48094. buffer.addInterpolation$1(identifier);
  48095. t4 = identifier.get$asPlain();
  48096. $name = t4 == null ? null : t4.toLowerCase();
  48097. if ($name !== "and" && t1.scanChar$1(40)) {
  48098. if ($name === "supports") {
  48099. query = _this._importSupportsQuery$0();
  48100. t4 = !(query instanceof A.SupportsDeclaration);
  48101. if (t4)
  48102. t2._contents += A.Primitives_stringFromCharCode(40);
  48103. buffer._flushText$0();
  48104. t3.push(new A.SupportsExpression(query));
  48105. if (t4)
  48106. t2._contents += A.Primitives_stringFromCharCode(41);
  48107. } else {
  48108. t2._contents += A.Primitives_stringFromCharCode(40);
  48109. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  48110. t2._contents += A.Primitives_stringFromCharCode(41);
  48111. }
  48112. t1.expectChar$1(41);
  48113. _this.whitespace$0();
  48114. } else {
  48115. _this.whitespace$0();
  48116. if (t1.scanChar$1(44)) {
  48117. t2._contents += ", ";
  48118. buffer.addInterpolation$1(_this._mediaQueryList$0());
  48119. endPosition = t1._string_scanner$_position;
  48120. t4 = t1._sourceFile;
  48121. t5 = start.position;
  48122. t1 = new A._FileSpan(t4, t5, endPosition);
  48123. t1._FileSpan$3(t4, t5, endPosition);
  48124. t5 = type$.Object;
  48125. t4 = A.List_List$of(t3, true, t5);
  48126. t3 = t2._contents;
  48127. if (t3.length !== 0)
  48128. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  48129. result = A.List_List$from(t4, false, t5);
  48130. result.fixed$length = Array;
  48131. result.immutable$list = Array;
  48132. t2 = new A.Interpolation(result, t1);
  48133. t2.Interpolation$2(t4, t1);
  48134. return t2;
  48135. }
  48136. }
  48137. } else if (t1.peekChar$0() === 40) {
  48138. if (!(t3.length === 0 && t2._contents.length === 0))
  48139. t2._contents += A.Primitives_stringFromCharCode(32);
  48140. buffer.addInterpolation$1(_this._mediaQueryList$0());
  48141. endPosition = t1._string_scanner$_position;
  48142. t1 = t1._sourceFile;
  48143. t4 = start.position;
  48144. t5 = new A._FileSpan(t1, t4, endPosition);
  48145. t5._FileSpan$3(t1, t4, endPosition);
  48146. t4 = type$.Object;
  48147. t3 = A.List_List$of(t3, true, t4);
  48148. t1 = t2._contents;
  48149. if (t1.length !== 0)
  48150. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  48151. result = A.List_List$from(t3, false, t4);
  48152. result.fixed$length = Array;
  48153. result.immutable$list = Array;
  48154. t1 = new A.Interpolation(result, t5);
  48155. t1.Interpolation$2(t3, t5);
  48156. return t1;
  48157. } else {
  48158. endPosition = t1._string_scanner$_position;
  48159. t1 = t1._sourceFile;
  48160. t4 = start.position;
  48161. t5 = new A._FileSpan(t1, t4, endPosition);
  48162. t5._FileSpan$3(t1, t4, endPosition);
  48163. t4 = type$.Object;
  48164. t3 = A.List_List$of(t3, true, t4);
  48165. t1 = t2._contents;
  48166. if (t1.length !== 0)
  48167. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  48168. result = A.List_List$from(t3, false, t4);
  48169. result.fixed$length = Array;
  48170. result.immutable$list = Array;
  48171. t1 = new A.Interpolation(result, t5);
  48172. t1.Interpolation$2(t3, t5);
  48173. return t1;
  48174. }
  48175. },
  48176. _importSupportsQuery$0() {
  48177. var t1, t2, $function, $name, _this = this;
  48178. if (_this.scanIdentifier$1("not")) {
  48179. _this.whitespace$0();
  48180. t1 = _this.scanner;
  48181. t2 = t1._string_scanner$_position;
  48182. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48183. } else {
  48184. t1 = _this.scanner;
  48185. if (t1.peekChar$0() === 40)
  48186. return _this._supportsCondition$0();
  48187. else {
  48188. $function = _this._tryImportSupportsFunction$0();
  48189. if ($function != null)
  48190. return $function;
  48191. t2 = t1._string_scanner$_position;
  48192. $name = _this._expression$0();
  48193. t1.expectChar$1(58);
  48194. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  48195. }
  48196. }
  48197. },
  48198. _tryImportSupportsFunction$0() {
  48199. var t1, start, $name, value, _this = this;
  48200. if (!_this._lookingAtInterpolatedIdentifier$0())
  48201. return null;
  48202. t1 = _this.scanner;
  48203. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48204. $name = _this.interpolatedIdentifier$0();
  48205. if (!t1.scanChar$1(40)) {
  48206. t1.set$state(start);
  48207. return null;
  48208. }
  48209. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  48210. t1.expectChar$1(41);
  48211. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  48212. },
  48213. _includeRule$1(start) {
  48214. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  48215. $name = _this.identifier$0(),
  48216. t1 = _this.scanner;
  48217. if (t1.scanChar$1(46)) {
  48218. name0 = _this._publicIdentifier$0();
  48219. namespace = $name;
  48220. $name = name0;
  48221. } else {
  48222. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  48223. namespace = _null;
  48224. }
  48225. _this.whitespace$0();
  48226. if (t1.peekChar$0() === 40)
  48227. $arguments = _this._argumentInvocation$1$mixin(true);
  48228. else {
  48229. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48230. t3 = t2.offset;
  48231. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  48232. }
  48233. _this.whitespace$0();
  48234. if (_this.scanIdentifier$1("using")) {
  48235. _this.whitespace$0();
  48236. contentArguments = _this._argumentDeclaration$0();
  48237. _this.whitespace$0();
  48238. } else
  48239. contentArguments = _null;
  48240. t2 = contentArguments == null;
  48241. if (!t2 || _this.lookingAtChildren$0()) {
  48242. if (t2) {
  48243. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48244. t3 = t2.offset;
  48245. contentArguments_ = new A.ArgumentDeclaration(B.List_empty10, _null, A._FileSpan$(t2.file, t3, t3));
  48246. } else
  48247. contentArguments_ = contentArguments;
  48248. wasInContentBlock = _this._inContentBlock;
  48249. _this._inContentBlock = true;
  48250. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  48251. _this._inContentBlock = wasInContentBlock;
  48252. } else {
  48253. _this.expectStatementSeparator$0();
  48254. $content = _null;
  48255. }
  48256. t1 = t1.spanFrom$2(start, start);
  48257. t2 = $content == null ? $arguments : $content;
  48258. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  48259. },
  48260. mediaRule$1(start) {
  48261. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  48262. },
  48263. _mixinRule$1(start) {
  48264. var $name, t1, $arguments, t2, t3, _this = this,
  48265. precedingComment = _this.lastSilentComment;
  48266. _this.lastSilentComment = null;
  48267. $name = _this.identifier$1$normalize(true);
  48268. _this.whitespace$0();
  48269. t1 = _this.scanner;
  48270. if (t1.peekChar$0() === 40)
  48271. $arguments = _this._argumentDeclaration$0();
  48272. else {
  48273. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48274. t3 = t2.offset;
  48275. $arguments = new A.ArgumentDeclaration(B.List_empty10, null, A._FileSpan$(t2.file, t3, t3));
  48276. }
  48277. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  48278. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  48279. else if (_this._inControlDirective)
  48280. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  48281. _this.whitespace$0();
  48282. _this._stylesheet$_inMixin = true;
  48283. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  48284. },
  48285. mozDocumentRule$2(start, $name) {
  48286. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  48287. t1 = _this.scanner,
  48288. t2 = t1._string_scanner$_position,
  48289. t3 = new A.StringBuffer(""),
  48290. t4 = A._setArrayType([], type$.JSArray_Object),
  48291. buffer = new A.InterpolationBuffer(t3, t4);
  48292. _box_0.needsDeprecationWarning = false;
  48293. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  48294. if (t1.peekChar$0() === 35) {
  48295. t7 = _this.singleInterpolation$0();
  48296. buffer._flushText$0();
  48297. t4.push(t7);
  48298. _box_0.needsDeprecationWarning = true;
  48299. } else {
  48300. t7 = t1._string_scanner$_position;
  48301. identifier = _this.identifier$0();
  48302. switch (identifier) {
  48303. case "url":
  48304. case "url-prefix":
  48305. case "domain":
  48306. contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  48307. if (contents != null)
  48308. buffer.addInterpolation$1(contents);
  48309. else {
  48310. t1.expectChar$1(40);
  48311. _this.whitespace$0();
  48312. argument = _this.interpolatedString$0();
  48313. t1.expectChar$1(41);
  48314. t7 = t3._contents += identifier;
  48315. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  48316. buffer.addInterpolation$1(argument.asInterpolation$0());
  48317. t3._contents += A.Primitives_stringFromCharCode(41);
  48318. }
  48319. t7 = t3._contents;
  48320. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  48321. if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
  48322. _box_0.needsDeprecationWarning = true;
  48323. break;
  48324. case "regexp":
  48325. t3._contents += "regexp(";
  48326. t1.expectChar$1(40);
  48327. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  48328. t1.expectChar$1(41);
  48329. t3._contents += A.Primitives_stringFromCharCode(41);
  48330. _box_0.needsDeprecationWarning = true;
  48331. break;
  48332. default:
  48333. endPosition = t1._string_scanner$_position;
  48334. t8 = t1._sourceFile;
  48335. t9 = new A._FileSpan(t8, t7, endPosition);
  48336. t9._FileSpan$3(t8, t7, endPosition);
  48337. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  48338. }
  48339. }
  48340. _this.whitespace$0();
  48341. if (!t1.scanChar$1(44))
  48342. break;
  48343. t3._contents += A.Primitives_stringFromCharCode(44);
  48344. start0 = t1._string_scanner$_position;
  48345. t5.call$0();
  48346. end = t1._string_scanner$_position;
  48347. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  48348. }
  48349. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  48350. },
  48351. supportsRule$1(start) {
  48352. var _this = this,
  48353. condition = _this._supportsCondition$0();
  48354. _this.whitespace$0();
  48355. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  48356. },
  48357. _useRule$1(start) {
  48358. var namespace, configuration, span, t1, _this = this,
  48359. _s9_ = "@use rule",
  48360. url = _this._urlString$0();
  48361. _this.whitespace$0();
  48362. namespace = _this._useNamespace$2(url, start);
  48363. _this.whitespace$0();
  48364. configuration = _this._stylesheet$_configuration$0();
  48365. _this.expectStatementSeparator$1(_s9_);
  48366. span = _this.scanner.spanFrom$1(start);
  48367. if (!_this._isUseAllowed)
  48368. _this.error$2(0, string$.x40use_r, span);
  48369. _this.expectStatementSeparator$1(_s9_);
  48370. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  48371. t1.UseRule$4$configuration(url, namespace, span, configuration);
  48372. return t1;
  48373. },
  48374. _useNamespace$2(url, start) {
  48375. var namespace, basename, dot, t1, exception, _this = this;
  48376. if (_this.scanIdentifier$1("as")) {
  48377. _this.whitespace$0();
  48378. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  48379. }
  48380. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  48381. dot = B.JSString_methods.indexOf$1(basename, ".");
  48382. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  48383. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  48384. try {
  48385. t1 = A.SpanScanner$(namespace, null);
  48386. t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
  48387. return t1;
  48388. } catch (exception) {
  48389. if (A.unwrapException(exception) instanceof A.SassFormatException)
  48390. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  48391. else
  48392. throw exception;
  48393. }
  48394. },
  48395. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  48396. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  48397. if (!_this.scanIdentifier$1("with"))
  48398. return null;
  48399. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  48400. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  48401. _this.whitespace$0();
  48402. t1 = _this.scanner;
  48403. t1.expectChar$1(40);
  48404. for (t2 = t1.string; true;) {
  48405. _this.whitespace$0();
  48406. t3 = t1._string_scanner$_position;
  48407. t1.expectChar$1(36);
  48408. $name = _this.identifier$1$normalize(true);
  48409. _this.whitespace$0();
  48410. t1.expectChar$1(58);
  48411. _this.whitespace$0();
  48412. expression = _this.expressionUntilComma$0();
  48413. t4 = t1._string_scanner$_position;
  48414. if (allowGuarded && t1.scanChar$1(33))
  48415. if (_this.identifier$0() === "default") {
  48416. _this.whitespace$0();
  48417. guarded = true;
  48418. } else {
  48419. endPosition = t1._string_scanner$_position;
  48420. t5 = t1._sourceFile;
  48421. t6 = new A._FileSpan(t5, t4, endPosition);
  48422. t6._FileSpan$3(t5, t4, endPosition);
  48423. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  48424. guarded = false;
  48425. }
  48426. else
  48427. guarded = false;
  48428. endPosition = t1._string_scanner$_position;
  48429. t4 = t1._sourceFile;
  48430. span = new A._FileSpan(t4, t3, endPosition);
  48431. span._FileSpan$3(t4, t3, endPosition);
  48432. if (variableNames.contains$1(0, $name))
  48433. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  48434. variableNames.add$1(0, $name);
  48435. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  48436. if (!t1.scanChar$1(44))
  48437. break;
  48438. _this.whitespace$0();
  48439. if (!_this._lookingAtExpression$0())
  48440. break;
  48441. }
  48442. t1.expectChar$1(41);
  48443. return configuration;
  48444. },
  48445. _stylesheet$_configuration$0() {
  48446. return this._stylesheet$_configuration$1$allowGuarded(false);
  48447. },
  48448. _warnRule$1(start) {
  48449. var value = this._expression$0();
  48450. this.expectStatementSeparator$1("@warn rule");
  48451. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  48452. },
  48453. _whileRule$2(start, child) {
  48454. var _this = this,
  48455. wasInControlDirective = _this._inControlDirective;
  48456. _this._inControlDirective = true;
  48457. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  48458. },
  48459. unknownAtRule$2(start, $name) {
  48460. var t2, t3, rule, _this = this, t1 = {},
  48461. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  48462. _this._stylesheet$_inUnknownAtRule = true;
  48463. t1.value = null;
  48464. t2 = _this.scanner;
  48465. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  48466. if (_this.lookingAtChildren$0())
  48467. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  48468. else {
  48469. _this.expectStatementSeparator$0();
  48470. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  48471. }
  48472. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  48473. return rule;
  48474. },
  48475. _disallowedAtRule$1(start) {
  48476. this.almostAnyValue$0();
  48477. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  48478. },
  48479. _argumentDeclaration$0() {
  48480. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  48481. t1 = _this.scanner,
  48482. t2 = t1._string_scanner$_position;
  48483. t1.expectChar$1(40);
  48484. _this.whitespace$0();
  48485. $arguments = A._setArrayType([], type$.JSArray_Argument);
  48486. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  48487. t3 = t1.string;
  48488. while (true) {
  48489. if (!(t1.peekChar$0() === 36)) {
  48490. restArgument = null;
  48491. break;
  48492. }
  48493. t4 = t1._string_scanner$_position;
  48494. t1.expectChar$1(36);
  48495. $name = _this.identifier$1$normalize(true);
  48496. _this.whitespace$0();
  48497. if (t1.scanChar$1(58)) {
  48498. _this.whitespace$0();
  48499. defaultValue = _this.expressionUntilComma$0();
  48500. } else {
  48501. if (t1.scanChar$1(46)) {
  48502. t1.expectChar$1(46);
  48503. t1.expectChar$1(46);
  48504. _this.whitespace$0();
  48505. restArgument = $name;
  48506. break;
  48507. }
  48508. defaultValue = null;
  48509. }
  48510. endPosition = t1._string_scanner$_position;
  48511. t5 = t1._sourceFile;
  48512. t6 = new A._FileSpan(t5, t4, endPosition);
  48513. t6._FileSpan$3(t5, t4, endPosition);
  48514. $arguments.push(new A.Argument($name, defaultValue, t6));
  48515. if (!named.add$1(0, $name))
  48516. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  48517. if (!t1.scanChar$1(44)) {
  48518. restArgument = null;
  48519. break;
  48520. }
  48521. _this.whitespace$0();
  48522. }
  48523. t1.expectChar$1(41);
  48524. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  48525. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  48526. },
  48527. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  48528. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  48529. t1 = _this.scanner,
  48530. t2 = t1._string_scanner$_position;
  48531. t1.expectChar$1(40);
  48532. _this.whitespace$0();
  48533. positional = A._setArrayType([], type$.JSArray_Expression);
  48534. t3 = type$.String;
  48535. t4 = type$.Expression;
  48536. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  48537. t5 = !mixin;
  48538. t6 = t1.string;
  48539. rest = _null;
  48540. while (true) {
  48541. if (!_this._lookingAtExpression$0()) {
  48542. keywordRest = _null;
  48543. break;
  48544. }
  48545. expression = _this.expressionUntilComma$1$singleEquals(t5);
  48546. _this.whitespace$0();
  48547. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  48548. _this.whitespace$0();
  48549. t7 = expression.name;
  48550. if (named.containsKey$1(t7))
  48551. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  48552. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  48553. } else if (t1.scanChar$1(46)) {
  48554. t1.expectChar$1(46);
  48555. t1.expectChar$1(46);
  48556. if (rest != null) {
  48557. _this.whitespace$0();
  48558. keywordRest = expression;
  48559. break;
  48560. }
  48561. rest = expression;
  48562. } else if (named.__js_helper$_length !== 0)
  48563. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  48564. else
  48565. positional.push(expression);
  48566. _this.whitespace$0();
  48567. if (!t1.scanChar$1(44)) {
  48568. keywordRest = _null;
  48569. break;
  48570. }
  48571. _this.whitespace$0();
  48572. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  48573. t5 = t1._sourceFile;
  48574. t6 = t1._string_scanner$_position;
  48575. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  48576. t7 = new A._FileSpan(t5, t6, t6);
  48577. t7._FileSpan$3(t5, t6, t6);
  48578. t6 = A._setArrayType([""], type$.JSArray_Object);
  48579. result = A.List_List$from(t6, false, type$.Object);
  48580. result.fixed$length = Array;
  48581. result.immutable$list = Array;
  48582. t5 = new A.Interpolation(result, t7);
  48583. t5.Interpolation$2(t6, t7);
  48584. positional.push(new A.StringExpression(t5, false));
  48585. keywordRest = _null;
  48586. break;
  48587. }
  48588. }
  48589. t1.expectChar$1(41);
  48590. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  48591. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  48592. },
  48593. _argumentInvocation$0() {
  48594. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  48595. },
  48596. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  48597. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  48598. },
  48599. _argumentInvocation$1$mixin(mixin) {
  48600. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  48601. },
  48602. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  48603. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  48604. _s20_ = "Expected expression.",
  48605. _box_0 = {},
  48606. t1 = until != null;
  48607. if (t1 && until.call$0())
  48608. _this.scanner.error$1(0, _s20_);
  48609. if (bracketList) {
  48610. t2 = _this.scanner;
  48611. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48612. t2.expectChar$1(91);
  48613. _this.whitespace$0();
  48614. if (t2.scanChar$1(93)) {
  48615. t1 = A._setArrayType([], type$.JSArray_Expression);
  48616. t2 = t2.spanFrom$1(beforeBracket);
  48617. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  48618. }
  48619. } else
  48620. beforeBracket = null;
  48621. t2 = _this.scanner;
  48622. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48623. wasInParentheses = _this._inParentheses;
  48624. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  48625. _box_0.allowSlash = true;
  48626. _box_0.singleExpression_ = _this._singleExpression$0();
  48627. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  48628. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  48629. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  48630. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  48631. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  48632. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  48633. $label0$0:
  48634. for (t3 = type$.JSArray_Expression; true;) {
  48635. _this.whitespace$0();
  48636. if (t1 && until.call$0())
  48637. break $label0$0;
  48638. first = t2.peekChar$0();
  48639. switch (first) {
  48640. case 40:
  48641. addSingleExpression.call$1(_this._parentheses$0());
  48642. break;
  48643. case 91:
  48644. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  48645. break;
  48646. case 36:
  48647. addSingleExpression.call$1(_this._variable$0());
  48648. break;
  48649. case 38:
  48650. addSingleExpression.call$1(_this._selector$0());
  48651. break;
  48652. case 39:
  48653. case 34:
  48654. addSingleExpression.call$1(_this.interpolatedString$0());
  48655. break;
  48656. case 35:
  48657. addSingleExpression.call$1(_this._hashExpression$0());
  48658. break;
  48659. case 61:
  48660. t2.readChar$0();
  48661. if (singleEquals && t2.peekChar$0() !== 61)
  48662. addOperator.call$1(B.BinaryOperator_axY);
  48663. else {
  48664. t2.expectChar$1(61);
  48665. addOperator.call$1(B.BinaryOperator_nZh);
  48666. }
  48667. break;
  48668. case 33:
  48669. next = t2.peekChar$1(1);
  48670. if (next === 61) {
  48671. t2.readChar$0();
  48672. t2.readChar$0();
  48673. addOperator.call$1(B.BinaryOperator_Vr9);
  48674. } else {
  48675. if (next != null)
  48676. if ((next | 32) >>> 0 !== 105)
  48677. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  48678. else
  48679. t4 = true;
  48680. else
  48681. t4 = true;
  48682. if (t4)
  48683. addSingleExpression.call$1(_this._importantExpression$0());
  48684. else
  48685. break $label0$0;
  48686. }
  48687. break;
  48688. case 60:
  48689. t2.readChar$0();
  48690. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oqF : B.BinaryOperator_apg);
  48691. break;
  48692. case 62:
  48693. t2.readChar$0();
  48694. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_Wma : B.BinaryOperator_cw1);
  48695. break;
  48696. case 42:
  48697. t2.readChar$0();
  48698. addOperator.call$1(B.BinaryOperator_6pl);
  48699. break;
  48700. case 43:
  48701. if (_box_0.singleExpression_ == null)
  48702. addSingleExpression.call$1(_this._unaryOperation$0());
  48703. else {
  48704. t2.readChar$0();
  48705. addOperator.call$1(B.BinaryOperator_qbf);
  48706. }
  48707. break;
  48708. case 45:
  48709. next = t2.peekChar$1(1);
  48710. if (next != null && next >= 48 && next <= 57 || next === 46)
  48711. if (_box_0.singleExpression_ != null) {
  48712. t4 = t2.peekChar$1(-1);
  48713. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  48714. } else
  48715. t4 = true;
  48716. else
  48717. t4 = false;
  48718. if (t4)
  48719. addSingleExpression.call$1(_this._number$0());
  48720. else if (_this._lookingAtInterpolatedIdentifier$0())
  48721. addSingleExpression.call$1(_this.identifierLike$0());
  48722. else if (_box_0.singleExpression_ == null)
  48723. addSingleExpression.call$1(_this._unaryOperation$0());
  48724. else {
  48725. t2.readChar$0();
  48726. addOperator.call$1(B.BinaryOperator_KlB);
  48727. }
  48728. break;
  48729. case 47:
  48730. if (_box_0.singleExpression_ == null)
  48731. addSingleExpression.call$1(_this._unaryOperation$0());
  48732. else {
  48733. t2.readChar$0();
  48734. addOperator.call$1(B.BinaryOperator_qpm);
  48735. }
  48736. break;
  48737. case 37:
  48738. t2.readChar$0();
  48739. addOperator.call$1(B.BinaryOperator_PHH);
  48740. break;
  48741. case 48:
  48742. case 49:
  48743. case 50:
  48744. case 51:
  48745. case 52:
  48746. case 53:
  48747. case 54:
  48748. case 55:
  48749. case 56:
  48750. case 57:
  48751. addSingleExpression.call$1(_this._number$0());
  48752. break;
  48753. case 46:
  48754. if (t2.peekChar$1(1) === 46)
  48755. break $label0$0;
  48756. addSingleExpression.call$1(_this._number$0());
  48757. break;
  48758. case 97:
  48759. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  48760. addOperator.call$1(B.BinaryOperator_and_and_2_and);
  48761. else
  48762. addSingleExpression.call$1(_this.identifierLike$0());
  48763. break;
  48764. case 111:
  48765. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  48766. addOperator.call$1(B.BinaryOperator_or_or_1_or);
  48767. else
  48768. addSingleExpression.call$1(_this.identifierLike$0());
  48769. break;
  48770. case 117:
  48771. case 85:
  48772. if (t2.peekChar$1(1) === 43)
  48773. addSingleExpression.call$1(_this._unicodeRange$0());
  48774. else
  48775. addSingleExpression.call$1(_this.identifierLike$0());
  48776. break;
  48777. case 98:
  48778. case 99:
  48779. case 100:
  48780. case 101:
  48781. case 102:
  48782. case 103:
  48783. case 104:
  48784. case 105:
  48785. case 106:
  48786. case 107:
  48787. case 108:
  48788. case 109:
  48789. case 110:
  48790. case 112:
  48791. case 113:
  48792. case 114:
  48793. case 115:
  48794. case 116:
  48795. case 118:
  48796. case 119:
  48797. case 120:
  48798. case 121:
  48799. case 122:
  48800. case 65:
  48801. case 66:
  48802. case 67:
  48803. case 68:
  48804. case 69:
  48805. case 70:
  48806. case 71:
  48807. case 72:
  48808. case 73:
  48809. case 74:
  48810. case 75:
  48811. case 76:
  48812. case 77:
  48813. case 78:
  48814. case 79:
  48815. case 80:
  48816. case 81:
  48817. case 82:
  48818. case 83:
  48819. case 84:
  48820. case 86:
  48821. case 87:
  48822. case 88:
  48823. case 89:
  48824. case 90:
  48825. case 95:
  48826. case 92:
  48827. addSingleExpression.call$1(_this.identifierLike$0());
  48828. break;
  48829. case 44:
  48830. if (_this._inParentheses) {
  48831. _this._inParentheses = false;
  48832. if (_box_0.allowSlash) {
  48833. resetState.call$0();
  48834. break;
  48835. }
  48836. }
  48837. commaExpressions = _box_0.commaExpressions_;
  48838. if (commaExpressions == null)
  48839. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  48840. if (_box_0.singleExpression_ == null)
  48841. t2.error$1(0, _s20_);
  48842. resolveSpaceExpressions.call$0();
  48843. t4 = _box_0.singleExpression_;
  48844. t4.toString;
  48845. commaExpressions.push(t4);
  48846. t2.readChar$0();
  48847. _box_0.allowSlash = true;
  48848. _box_0.singleExpression_ = null;
  48849. break;
  48850. default:
  48851. if (first != null && first >= 128) {
  48852. addSingleExpression.call$1(_this.identifierLike$0());
  48853. break;
  48854. } else
  48855. break $label0$0;
  48856. }
  48857. }
  48858. if (bracketList)
  48859. t2.expectChar$1(93);
  48860. commaExpressions = _box_0.commaExpressions_;
  48861. spaceExpressions = _box_0.spaceExpressions_;
  48862. if (commaExpressions != null) {
  48863. resolveSpaceExpressions.call$0();
  48864. _this._inParentheses = wasInParentheses;
  48865. singleExpression = _box_0.singleExpression_;
  48866. if (singleExpression != null)
  48867. commaExpressions.push(singleExpression);
  48868. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  48869. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  48870. } else if (bracketList && spaceExpressions != null) {
  48871. resolveOperations.call$0();
  48872. t1 = _box_0.singleExpression_;
  48873. t1.toString;
  48874. spaceExpressions.push(t1);
  48875. beforeBracket.toString;
  48876. t2 = t2.spanFrom$1(beforeBracket);
  48877. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  48878. } else {
  48879. resolveSpaceExpressions.call$0();
  48880. if (bracketList) {
  48881. t1 = _box_0.singleExpression_;
  48882. t1.toString;
  48883. t3 = A._setArrayType([t1], t3);
  48884. beforeBracket.toString;
  48885. t2 = t2.spanFrom$1(beforeBracket);
  48886. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  48887. }
  48888. t1 = _box_0.singleExpression_;
  48889. t1.toString;
  48890. return t1;
  48891. }
  48892. },
  48893. _expression$0() {
  48894. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  48895. },
  48896. _expression$2$singleEquals$until(singleEquals, until) {
  48897. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  48898. },
  48899. _expression$1$bracketList(bracketList) {
  48900. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  48901. },
  48902. _expression$1$until(until) {
  48903. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  48904. },
  48905. expressionUntilComma$1$singleEquals(singleEquals) {
  48906. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  48907. },
  48908. expressionUntilComma$0() {
  48909. return this.expressionUntilComma$1$singleEquals(false);
  48910. },
  48911. _isSlashOperand$1(expression) {
  48912. var t1;
  48913. if (!(expression instanceof A.NumberExpression))
  48914. if (!(expression instanceof A.CalculationExpression))
  48915. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  48916. else
  48917. t1 = true;
  48918. else
  48919. t1 = true;
  48920. return t1;
  48921. },
  48922. _singleExpression$0() {
  48923. var next, _this = this,
  48924. t1 = _this.scanner,
  48925. first = t1.peekChar$0();
  48926. switch (first) {
  48927. case 40:
  48928. return _this._parentheses$0();
  48929. case 47:
  48930. return _this._unaryOperation$0();
  48931. case 46:
  48932. return _this._number$0();
  48933. case 91:
  48934. return _this._expression$1$bracketList(true);
  48935. case 36:
  48936. return _this._variable$0();
  48937. case 38:
  48938. return _this._selector$0();
  48939. case 39:
  48940. case 34:
  48941. return _this.interpolatedString$0();
  48942. case 35:
  48943. return _this._hashExpression$0();
  48944. case 43:
  48945. next = t1.peekChar$1(1);
  48946. return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  48947. case 45:
  48948. return _this._minusExpression$0();
  48949. case 33:
  48950. return _this._importantExpression$0();
  48951. case 117:
  48952. case 85:
  48953. if (t1.peekChar$1(1) === 43)
  48954. return _this._unicodeRange$0();
  48955. else
  48956. return _this.identifierLike$0();
  48957. case 48:
  48958. case 49:
  48959. case 50:
  48960. case 51:
  48961. case 52:
  48962. case 53:
  48963. case 54:
  48964. case 55:
  48965. case 56:
  48966. case 57:
  48967. return _this._number$0();
  48968. case 97:
  48969. case 98:
  48970. case 99:
  48971. case 100:
  48972. case 101:
  48973. case 102:
  48974. case 103:
  48975. case 104:
  48976. case 105:
  48977. case 106:
  48978. case 107:
  48979. case 108:
  48980. case 109:
  48981. case 110:
  48982. case 111:
  48983. case 112:
  48984. case 113:
  48985. case 114:
  48986. case 115:
  48987. case 116:
  48988. case 118:
  48989. case 119:
  48990. case 120:
  48991. case 121:
  48992. case 122:
  48993. case 65:
  48994. case 66:
  48995. case 67:
  48996. case 68:
  48997. case 69:
  48998. case 70:
  48999. case 71:
  49000. case 72:
  49001. case 73:
  49002. case 74:
  49003. case 75:
  49004. case 76:
  49005. case 77:
  49006. case 78:
  49007. case 79:
  49008. case 80:
  49009. case 81:
  49010. case 82:
  49011. case 83:
  49012. case 84:
  49013. case 86:
  49014. case 87:
  49015. case 88:
  49016. case 89:
  49017. case 90:
  49018. case 95:
  49019. case 92:
  49020. return _this.identifierLike$0();
  49021. default:
  49022. if (first != null && first >= 128)
  49023. return _this.identifierLike$0();
  49024. t1.error$1(0, "Expected expression.");
  49025. }
  49026. },
  49027. _parentheses$0() {
  49028. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  49029. if (_this.get$plainCss())
  49030. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  49031. wasInParentheses = _this._inParentheses;
  49032. _this._inParentheses = true;
  49033. try {
  49034. t1 = _this.scanner;
  49035. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49036. t1.expectChar$1(40);
  49037. _this.whitespace$0();
  49038. if (!_this._lookingAtExpression$0()) {
  49039. t1.expectChar$1(41);
  49040. t2 = A._setArrayType([], type$.JSArray_Expression);
  49041. t1 = t1.spanFrom$1(start);
  49042. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  49043. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  49044. }
  49045. first = _this.expressionUntilComma$0();
  49046. if (t1.scanChar$1(58)) {
  49047. _this.whitespace$0();
  49048. t1 = _this._stylesheet$_map$2(first, start);
  49049. return t1;
  49050. }
  49051. if (!t1.scanChar$1(44)) {
  49052. t1.expectChar$1(41);
  49053. t1 = t1.spanFrom$1(start);
  49054. return new A.ParenthesizedExpression(first, t1);
  49055. }
  49056. _this.whitespace$0();
  49057. expressions = A._setArrayType([first], type$.JSArray_Expression);
  49058. for (; true;) {
  49059. if (!_this._lookingAtExpression$0())
  49060. break;
  49061. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  49062. if (!t1.scanChar$1(44))
  49063. break;
  49064. _this.whitespace$0();
  49065. }
  49066. t1.expectChar$1(41);
  49067. t1 = t1.spanFrom$1(start);
  49068. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  49069. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  49070. } finally {
  49071. _this._inParentheses = wasInParentheses;
  49072. }
  49073. },
  49074. _stylesheet$_map$2(first, start) {
  49075. var t2, key, _this = this,
  49076. t1 = type$.Tuple2_Expression_Expression,
  49077. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
  49078. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  49079. _this.whitespace$0();
  49080. if (!_this._lookingAtExpression$0())
  49081. break;
  49082. key = _this.expressionUntilComma$0();
  49083. t2.expectChar$1(58);
  49084. _this.whitespace$0();
  49085. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  49086. }
  49087. t2.expectChar$1(41);
  49088. t2 = t2.spanFrom$1(start);
  49089. return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
  49090. },
  49091. _hashExpression$0() {
  49092. var start, first, t2, identifier, buffer, _this = this,
  49093. t1 = _this.scanner;
  49094. if (t1.peekChar$1(1) === 123)
  49095. return _this.identifierLike$0();
  49096. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49097. t1.expectChar$1(35);
  49098. first = t1.peekChar$0();
  49099. if (first != null && A.isDigit(first))
  49100. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  49101. t2 = t1._string_scanner$_position;
  49102. identifier = _this.interpolatedIdentifier$0();
  49103. if (_this._isHexColor$1(identifier)) {
  49104. t1.set$state(new A._SpanScannerState(t1, t2));
  49105. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  49106. }
  49107. t2 = new A.StringBuffer("");
  49108. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49109. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  49110. buffer.addInterpolation$1(identifier);
  49111. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  49112. },
  49113. _hexColorContents$1(start) {
  49114. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  49115. digit1 = _this._hexDigit$0(),
  49116. digit2 = _this._hexDigit$0(),
  49117. digit3 = _this._hexDigit$0(),
  49118. t1 = _this.scanner;
  49119. if (!A.isHex(t1.peekChar$0())) {
  49120. red = (digit1 << 4 >>> 0) + digit1;
  49121. green = (digit2 << 4 >>> 0) + digit2;
  49122. blue = (digit3 << 4 >>> 0) + digit3;
  49123. alpha = null;
  49124. } else {
  49125. digit4 = _this._hexDigit$0();
  49126. t2 = digit1 << 4 >>> 0;
  49127. t3 = digit3 << 4 >>> 0;
  49128. if (!A.isHex(t1.peekChar$0())) {
  49129. red = t2 + digit1;
  49130. green = (digit2 << 4 >>> 0) + digit2;
  49131. blue = t3 + digit3;
  49132. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  49133. } else {
  49134. red = t2 + digit2;
  49135. green = t3 + digit4;
  49136. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  49137. alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  49138. }
  49139. }
  49140. return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  49141. },
  49142. _isHexColor$1(interpolation) {
  49143. var t1,
  49144. plain = interpolation.get$asPlain();
  49145. if (plain == null)
  49146. return false;
  49147. t1 = plain.length;
  49148. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  49149. return false;
  49150. t1 = new A.CodeUnits(plain);
  49151. return t1.every$1(t1, A.character__isHex$closure());
  49152. },
  49153. _hexDigit$0() {
  49154. var t1 = this.scanner,
  49155. char = t1.peekChar$0();
  49156. if (char == null || !A.isHex(char))
  49157. t1.error$1(0, "Expected hex digit.");
  49158. return A.asHex(t1.readChar$0());
  49159. },
  49160. _minusExpression$0() {
  49161. var _this = this,
  49162. next = _this.scanner.peekChar$1(1);
  49163. if (A.isDigit(next) || next === 46)
  49164. return _this._number$0();
  49165. if (_this._lookingAtInterpolatedIdentifier$0())
  49166. return _this.identifierLike$0();
  49167. return _this._unaryOperation$0();
  49168. },
  49169. _importantExpression$0() {
  49170. var t1 = this.scanner,
  49171. t2 = t1._string_scanner$_position;
  49172. t1.readChar$0();
  49173. this.whitespace$0();
  49174. this.expectIdentifier$1("important");
  49175. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  49176. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  49177. },
  49178. _unaryOperation$0() {
  49179. var _this = this,
  49180. t1 = _this.scanner,
  49181. t2 = t1._string_scanner$_position,
  49182. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  49183. if (operator == null)
  49184. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  49185. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  49186. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  49187. _this.whitespace$0();
  49188. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49189. },
  49190. _unaryOperatorFor$1(character) {
  49191. switch (character) {
  49192. case 43:
  49193. return B.UnaryOperator_gg4;
  49194. case 45:
  49195. return B.UnaryOperator_TLI;
  49196. case 47:
  49197. return B.UnaryOperator_Ix1;
  49198. default:
  49199. return null;
  49200. }
  49201. },
  49202. _number$0() {
  49203. var number, unit, t3, _this = this,
  49204. t1 = _this.scanner,
  49205. t2 = t1._string_scanner$_position,
  49206. first = t1.peekChar$0();
  49207. if (first === 43 || first === 45)
  49208. t1.readChar$0();
  49209. if (t1.peekChar$0() !== 46)
  49210. _this._consumeNaturalNumber$0();
  49211. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
  49212. _this._tryExponent$0();
  49213. number = A.double_parse(t1.substring$1(0, t2));
  49214. if (t1.scanChar$1(37))
  49215. unit = "%";
  49216. else {
  49217. if (_this.lookingAtIdentifier$0())
  49218. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  49219. else
  49220. t3 = false;
  49221. unit = t3 ? _this.identifier$1$unit(true) : null;
  49222. }
  49223. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49224. },
  49225. _consumeNaturalNumber$0() {
  49226. var t2,
  49227. t1 = this.scanner;
  49228. if (!A.isDigit(t1.readChar$0()))
  49229. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  49230. while (true) {
  49231. t2 = t1.peekChar$0();
  49232. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49233. break;
  49234. t1.readChar$0();
  49235. }
  49236. },
  49237. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  49238. var t2,
  49239. t1 = this.scanner;
  49240. if (t1.peekChar$0() !== 46)
  49241. return;
  49242. if (!A.isDigit(t1.peekChar$1(1))) {
  49243. if (allowTrailingDot)
  49244. return;
  49245. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  49246. }
  49247. t1.readChar$0();
  49248. while (true) {
  49249. t2 = t1.peekChar$0();
  49250. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49251. break;
  49252. t1.readChar$0();
  49253. }
  49254. },
  49255. _tryExponent$0() {
  49256. var next, t2,
  49257. t1 = this.scanner,
  49258. first = t1.peekChar$0();
  49259. if (first !== 101 && first !== 69)
  49260. return;
  49261. next = t1.peekChar$1(1);
  49262. if (!A.isDigit(next) && next !== 45 && next !== 43)
  49263. return;
  49264. t1.readChar$0();
  49265. if (next === 43 || next === 45)
  49266. t1.readChar$0();
  49267. if (!A.isDigit(t1.peekChar$0()))
  49268. t1.error$1(0, "Expected digit.");
  49269. while (true) {
  49270. t2 = t1.peekChar$0();
  49271. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49272. break;
  49273. t1.readChar$0();
  49274. }
  49275. },
  49276. _unicodeRange$0() {
  49277. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  49278. _s26_ = "Expected at most 6 digits.",
  49279. t1 = _this.scanner,
  49280. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49281. _this.expectIdentChar$1(117);
  49282. t1.expectChar$1(43);
  49283. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  49284. ++firstRangeLength;
  49285. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  49286. ++firstRangeLength;
  49287. if (firstRangeLength === 0)
  49288. t1.error$1(0, 'Expected hex digit or "?".');
  49289. else if (firstRangeLength > 6)
  49290. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  49291. else if (hasQuestionMark) {
  49292. t2 = t1.substring$1(0, start.position);
  49293. t1 = t1.spanFrom$1(start);
  49294. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  49295. }
  49296. if (t1.scanChar$1(45)) {
  49297. t2 = t1._string_scanner$_position;
  49298. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  49299. ++secondRangeLength;
  49300. if (secondRangeLength === 0)
  49301. t1.error$1(0, "Expected hex digit.");
  49302. else if (secondRangeLength > 6)
  49303. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49304. }
  49305. if (_this._lookingAtInterpolatedIdentifierBody$0())
  49306. t1.error$1(0, "Expected end of identifier.");
  49307. t2 = t1.substring$1(0, start.position);
  49308. t1 = t1.spanFrom$1(start);
  49309. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  49310. },
  49311. _variable$0() {
  49312. var _this = this,
  49313. t1 = _this.scanner,
  49314. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49315. $name = _this.variableName$0();
  49316. if (_this.get$plainCss())
  49317. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  49318. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  49319. },
  49320. _selector$0() {
  49321. var t1, start, _this = this;
  49322. if (_this.get$plainCss())
  49323. _this.scanner.error$2$length(0, string$.The_pa, 1);
  49324. t1 = _this.scanner;
  49325. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49326. t1.expectChar$1(38);
  49327. if (t1.scanChar$1(38)) {
  49328. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  49329. t1.set$position(t1._string_scanner$_position - 1);
  49330. }
  49331. return new A.SelectorExpression(t1.spanFrom$1(start));
  49332. },
  49333. interpolatedString$0() {
  49334. var t3, t4, buffer, next, second, t5,
  49335. t1 = this.scanner,
  49336. t2 = t1._string_scanner$_position,
  49337. quote = t1.readChar$0();
  49338. if (quote !== 39 && quote !== 34)
  49339. t1.error$2$position(0, "Expected string.", t2);
  49340. t3 = new A.StringBuffer("");
  49341. t4 = A._setArrayType([], type$.JSArray_Object);
  49342. buffer = new A.InterpolationBuffer(t3, t4);
  49343. for (; true;) {
  49344. next = t1.peekChar$0();
  49345. if (next === quote) {
  49346. t1.readChar$0();
  49347. break;
  49348. } else if (next == null || next === 10 || next === 13 || next === 12)
  49349. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  49350. else if (next === 92) {
  49351. second = t1.peekChar$1(1);
  49352. if (second === 10 || second === 13 || second === 12) {
  49353. t1.readChar$0();
  49354. t1.readChar$0();
  49355. if (second === 13)
  49356. t1.scanChar$1(10);
  49357. } else
  49358. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  49359. } else if (next === 35)
  49360. if (t1.peekChar$1(1) === 123) {
  49361. t5 = this.singleInterpolation$0();
  49362. buffer._flushText$0();
  49363. t4.push(t5);
  49364. } else
  49365. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49366. else
  49367. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49368. }
  49369. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  49370. },
  49371. identifierLike$0() {
  49372. var invocation, expression, color, specialFunction, _this = this,
  49373. t1 = _this.scanner,
  49374. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49375. identifier = _this.interpolatedIdentifier$0(),
  49376. plain = identifier.get$asPlain(),
  49377. lower = A._Cell$(),
  49378. t2 = plain == null,
  49379. t3 = !t2;
  49380. if (t3) {
  49381. if (plain === "if" && t1.peekChar$0() === 40) {
  49382. invocation = _this._argumentInvocation$0();
  49383. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  49384. } else if (plain === "not") {
  49385. _this.whitespace$0();
  49386. expression = _this._singleExpression$0();
  49387. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  49388. }
  49389. lower._value = plain.toLowerCase();
  49390. if (t1.peekChar$0() !== 40) {
  49391. switch (plain) {
  49392. case "false":
  49393. return new A.BooleanExpression(false, identifier.span);
  49394. case "null":
  49395. return new A.NullExpression(identifier.span);
  49396. case "true":
  49397. return new A.BooleanExpression(true, identifier.span);
  49398. }
  49399. color = $.$get$colorsByName().$index(0, lower._readLocal$0());
  49400. if (color != null) {
  49401. t1 = identifier.span;
  49402. return new A.ColorExpression(A.SassColor$rgbInternal(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, new A.SpanColorFormat(t1)), t1);
  49403. }
  49404. }
  49405. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  49406. if (specialFunction != null)
  49407. return specialFunction;
  49408. }
  49409. switch (t1.peekChar$0()) {
  49410. case 46:
  49411. if (t1.peekChar$1(1) === 46)
  49412. return new A.StringExpression(identifier, false);
  49413. t1.readChar$0();
  49414. if (t3)
  49415. return _this.namespacedExpression$2(plain, start);
  49416. _this.error$2(0, string$.Interpn, identifier.span);
  49417. break;
  49418. case 40:
  49419. if (t2)
  49420. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49421. else
  49422. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  49423. default:
  49424. return new A.StringExpression(identifier, false);
  49425. }
  49426. },
  49427. namespacedExpression$2(namespace, start) {
  49428. var $name, _this = this,
  49429. t1 = _this.scanner;
  49430. if (t1.peekChar$0() === 36) {
  49431. $name = _this.variableName$0();
  49432. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  49433. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  49434. }
  49435. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49436. },
  49437. trySpecialFunction$2($name, start) {
  49438. var t2, buffer, t3, next, _this = this, _null = null,
  49439. t1 = _this.scanner,
  49440. calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
  49441. if (calculation != null)
  49442. return calculation;
  49443. switch (A.unvendor($name)) {
  49444. case "calc":
  49445. case "element":
  49446. case "expression":
  49447. if (!t1.scanChar$1(40))
  49448. return _null;
  49449. t2 = new A.StringBuffer("");
  49450. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49451. t3 = "" + $name;
  49452. t2._contents = t3;
  49453. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  49454. break;
  49455. case "progid":
  49456. if (!t1.scanChar$1(58))
  49457. return _null;
  49458. t2 = new A.StringBuffer("");
  49459. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49460. t3 = "" + $name;
  49461. t2._contents = t3;
  49462. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  49463. next = t1.peekChar$0();
  49464. while (true) {
  49465. if (next != null) {
  49466. if (!(next >= 97 && next <= 122))
  49467. t3 = next >= 65 && next <= 90;
  49468. else
  49469. t3 = true;
  49470. t3 = t3 || next === 46;
  49471. } else
  49472. t3 = false;
  49473. if (!t3)
  49474. break;
  49475. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49476. next = t1.peekChar$0();
  49477. }
  49478. t1.expectChar$1(40);
  49479. t2._contents += A.Primitives_stringFromCharCode(40);
  49480. break;
  49481. case "url":
  49482. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  49483. default:
  49484. return _null;
  49485. }
  49486. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  49487. t1.expectChar$1(41);
  49488. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  49489. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  49490. },
  49491. _tryCalculation$2($name, start) {
  49492. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  49493. switch ($name) {
  49494. case "calc":
  49495. $arguments = _this._calculationArguments$1(1);
  49496. t1 = _this.scanner.spanFrom$1(start);
  49497. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  49498. case "min":
  49499. case "max":
  49500. t1 = _this.scanner;
  49501. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49502. $arguments = null;
  49503. try {
  49504. $arguments = _this._calculationArguments$0();
  49505. } catch (exception) {
  49506. if (type$.FormatException._is(A.unwrapException(exception))) {
  49507. t1.set$state(beforeArguments);
  49508. return null;
  49509. } else
  49510. throw exception;
  49511. }
  49512. t2 = $arguments;
  49513. t1 = t1.spanFrom$1(start);
  49514. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
  49515. case "clamp":
  49516. $arguments = _this._calculationArguments$1(3);
  49517. t1 = _this.scanner.spanFrom$1(start);
  49518. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  49519. default:
  49520. return null;
  49521. }
  49522. },
  49523. _calculationArguments$1(maxArgs) {
  49524. var interpolation, $arguments, t2, _this = this,
  49525. t1 = _this.scanner;
  49526. t1.expectChar$1(40);
  49527. interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  49528. if (interpolation != null) {
  49529. t1.expectChar$1(41);
  49530. return A._setArrayType([interpolation], type$.JSArray_Expression);
  49531. }
  49532. _this.whitespace$0();
  49533. $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
  49534. t2 = maxArgs != null;
  49535. while (true) {
  49536. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  49537. break;
  49538. _this.whitespace$0();
  49539. $arguments.push(_this._calculationSum$0());
  49540. }
  49541. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  49542. return $arguments;
  49543. },
  49544. _calculationArguments$0() {
  49545. return this._calculationArguments$1(null);
  49546. },
  49547. _calculationSum$0() {
  49548. var t1, next, t2, t3, _this = this,
  49549. sum = _this._calculationProduct$0();
  49550. for (t1 = _this.scanner; true;) {
  49551. next = t1.peekChar$0();
  49552. t2 = next === 43;
  49553. if (t2 || next === 45) {
  49554. t3 = t1.peekChar$1(-1);
  49555. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  49556. t3 = t1.peekChar$1(1);
  49557. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  49558. } else
  49559. t3 = true;
  49560. if (t3)
  49561. t1.error$1(0, string$.x22x2b__an);
  49562. t1.readChar$0();
  49563. _this.whitespace$0();
  49564. t2 = t2 ? B.BinaryOperator_qbf : B.BinaryOperator_KlB;
  49565. sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
  49566. } else
  49567. return sum;
  49568. }
  49569. },
  49570. _calculationProduct$0() {
  49571. var t1, next, t2, _this = this,
  49572. product = _this._calculationValue$0();
  49573. for (t1 = _this.scanner; true;) {
  49574. _this.whitespace$0();
  49575. next = t1.peekChar$0();
  49576. t2 = next === 42;
  49577. if (t2 || next === 47) {
  49578. t1.readChar$0();
  49579. _this.whitespace$0();
  49580. t2 = t2 ? B.BinaryOperator_6pl : B.BinaryOperator_qpm;
  49581. product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
  49582. } else
  49583. return product;
  49584. }
  49585. },
  49586. _calculationValue$0() {
  49587. var t2, value, start, ident, lowerCase, calculation, _this = this,
  49588. t1 = _this.scanner,
  49589. next = t1.peekChar$0();
  49590. if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
  49591. return _this._number$0();
  49592. else if (next === 36)
  49593. return _this._variable$0();
  49594. else if (next === 40) {
  49595. t2 = t1._string_scanner$_position;
  49596. t1.readChar$0();
  49597. value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  49598. if (value == null) {
  49599. _this.whitespace$0();
  49600. value = _this._calculationSum$0();
  49601. }
  49602. _this.whitespace$0();
  49603. t1.expectChar$1(41);
  49604. return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49605. } else if (!_this.lookingAtIdentifier$0())
  49606. t1.error$1(0, string$.Expectn);
  49607. else {
  49608. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49609. ident = _this.identifier$0();
  49610. if (t1.scanChar$1(46))
  49611. return _this.namespacedExpression$2(ident, start);
  49612. if (t1.peekChar$0() !== 40)
  49613. t1.error$1(0, 'Expected "(" or ".".');
  49614. lowerCase = ident.toLowerCase();
  49615. calculation = _this._tryCalculation$2(lowerCase, start);
  49616. if (calculation != null)
  49617. return calculation;
  49618. else if (lowerCase === "if")
  49619. return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
  49620. else
  49621. return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49622. }
  49623. },
  49624. _containsCalculationInterpolation$0() {
  49625. var t2, parens, next, target, t3, _null = null,
  49626. _s64_ = string$.The_gi,
  49627. _s17_ = "Invalid position ",
  49628. brackets = A._setArrayType([], type$.JSArray_int),
  49629. t1 = this.scanner,
  49630. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49631. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  49632. next = t1.peekChar$0();
  49633. switch (next) {
  49634. case 92:
  49635. target = 1;
  49636. break;
  49637. case 47:
  49638. target = 2;
  49639. break;
  49640. case 39:
  49641. case 34:
  49642. target = 3;
  49643. break;
  49644. case 35:
  49645. target = 4;
  49646. break;
  49647. case 40:
  49648. target = 5;
  49649. break;
  49650. case 123:
  49651. case 91:
  49652. target = 6;
  49653. break;
  49654. case 41:
  49655. target = 7;
  49656. break;
  49657. case 125:
  49658. case 93:
  49659. target = 8;
  49660. break;
  49661. default:
  49662. target = 9;
  49663. break;
  49664. }
  49665. c$0:
  49666. for (; true;)
  49667. switch (target) {
  49668. case 1:
  49669. t1.readChar$0();
  49670. t1.readChar$0();
  49671. break c$0;
  49672. case 2:
  49673. if (!this.scanComment$0())
  49674. t1.readChar$0();
  49675. break c$0;
  49676. case 3:
  49677. this.interpolatedString$0();
  49678. break c$0;
  49679. case 4:
  49680. if (parens === 0 && t1.peekChar$1(1) === 123) {
  49681. if (start._scanner !== t1)
  49682. A.throwExpression(A.ArgumentError$(_s64_, _null));
  49683. t3 = start.position;
  49684. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  49685. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  49686. t1._string_scanner$_position = t3;
  49687. t1._lastMatch = null;
  49688. return true;
  49689. }
  49690. t1.readChar$0();
  49691. break c$0;
  49692. case 5:
  49693. ++parens;
  49694. target = 6;
  49695. continue c$0;
  49696. case 6:
  49697. next.toString;
  49698. brackets.push(A.opposite(next));
  49699. t1.readChar$0();
  49700. break c$0;
  49701. case 7:
  49702. --parens;
  49703. target = 8;
  49704. continue c$0;
  49705. case 8:
  49706. if (brackets.length === 0 || brackets.pop() !== next) {
  49707. if (start._scanner !== t1)
  49708. A.throwExpression(A.ArgumentError$(_s64_, _null));
  49709. t3 = start.position;
  49710. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  49711. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  49712. t1._string_scanner$_position = t3;
  49713. t1._lastMatch = null;
  49714. return false;
  49715. }
  49716. t1.readChar$0();
  49717. break c$0;
  49718. case 9:
  49719. t1.readChar$0();
  49720. break c$0;
  49721. }
  49722. }
  49723. t1.set$state(start);
  49724. return false;
  49725. },
  49726. _tryUrlContents$2$name(start, $name) {
  49727. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  49728. t1 = _this.scanner,
  49729. t2 = t1._string_scanner$_position;
  49730. if (!t1.scanChar$1(40))
  49731. return null;
  49732. _this.whitespaceWithoutComments$0();
  49733. t3 = new A.StringBuffer("");
  49734. t4 = A._setArrayType([], type$.JSArray_Object);
  49735. buffer = new A.InterpolationBuffer(t3, t4);
  49736. t5 = "" + ($name == null ? "url" : $name);
  49737. t3._contents = t5;
  49738. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  49739. for (; true;) {
  49740. next = t1.peekChar$0();
  49741. if (next == null)
  49742. break;
  49743. else if (next === 92)
  49744. t3._contents += A.S(_this.escape$0());
  49745. else {
  49746. if (next !== 33)
  49747. if (next !== 37)
  49748. if (next !== 38)
  49749. t5 = next >= 42 && next <= 126 || next >= 128;
  49750. else
  49751. t5 = true;
  49752. else
  49753. t5 = true;
  49754. else
  49755. t5 = true;
  49756. if (t5)
  49757. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49758. else if (next === 35)
  49759. if (t1.peekChar$1(1) === 123) {
  49760. t5 = _this.singleInterpolation$0();
  49761. buffer._flushText$0();
  49762. t4.push(t5);
  49763. } else
  49764. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49765. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  49766. _this.whitespaceWithoutComments$0();
  49767. if (t1.peekChar$0() !== 41)
  49768. break;
  49769. } else if (next === 41) {
  49770. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49771. endPosition = t1._string_scanner$_position;
  49772. t2 = t1._sourceFile;
  49773. t5 = start.position;
  49774. t1 = new A._FileSpan(t2, t5, endPosition);
  49775. t1._FileSpan$3(t2, t5, endPosition);
  49776. t5 = type$.Object;
  49777. t2 = A.List_List$of(t4, true, t5);
  49778. t4 = t3._contents;
  49779. if (t4.length !== 0)
  49780. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  49781. result = A.List_List$from(t2, false, t5);
  49782. result.fixed$length = Array;
  49783. result.immutable$list = Array;
  49784. t3 = new A.Interpolation(result, t1);
  49785. t3.Interpolation$2(t2, t1);
  49786. return t3;
  49787. } else
  49788. break;
  49789. }
  49790. }
  49791. t1.set$state(new A._SpanScannerState(t1, t2));
  49792. return null;
  49793. },
  49794. _tryUrlContents$1(start) {
  49795. return this._tryUrlContents$2$name(start, null);
  49796. },
  49797. dynamicUrl$0() {
  49798. var contents, _this = this,
  49799. t1 = _this.scanner,
  49800. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49801. _this.expectIdentifier$1("url");
  49802. contents = _this._tryUrlContents$1(start);
  49803. if (contents != null)
  49804. return new A.StringExpression(contents, false);
  49805. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49806. },
  49807. almostAnyValue$1$omitComments(omitComments) {
  49808. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  49809. t1 = _this.scanner,
  49810. t2 = t1._string_scanner$_position,
  49811. t3 = new A.StringBuffer(""),
  49812. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  49813. $label0$1:
  49814. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  49815. next = t1.peekChar$0();
  49816. switch (next) {
  49817. case 92:
  49818. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49819. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49820. break;
  49821. case 34:
  49822. case 39:
  49823. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  49824. break;
  49825. case 47:
  49826. commentStart = t1._string_scanner$_position;
  49827. if (_this.scanComment$0()) {
  49828. if (t6) {
  49829. end = t1._string_scanner$_position;
  49830. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  49831. }
  49832. } else
  49833. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49834. break;
  49835. case 35:
  49836. if (t1.peekChar$1(1) === 123)
  49837. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49838. else
  49839. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49840. break;
  49841. case 13:
  49842. case 10:
  49843. case 12:
  49844. if (_this.get$indented())
  49845. break $label0$1;
  49846. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49847. break;
  49848. case 33:
  49849. case 59:
  49850. case 123:
  49851. case 125:
  49852. break $label0$1;
  49853. case 117:
  49854. case 85:
  49855. t7 = t1._string_scanner$_position;
  49856. if (!_this.scanIdentifier$1("url")) {
  49857. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49858. break;
  49859. }
  49860. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  49861. if (contents == null) {
  49862. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  49863. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  49864. t1._string_scanner$_position = t7;
  49865. t1._lastMatch = null;
  49866. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49867. } else
  49868. buffer.addInterpolation$1(contents);
  49869. break;
  49870. default:
  49871. if (next == null)
  49872. break $label0$1;
  49873. if (_this.lookingAtIdentifier$0())
  49874. t3._contents += _this.identifier$0();
  49875. else
  49876. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49877. break;
  49878. }
  49879. }
  49880. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49881. },
  49882. almostAnyValue$0() {
  49883. return this.almostAnyValue$1$omitComments(false);
  49884. },
  49885. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  49886. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  49887. t1 = _this.scanner,
  49888. t2 = t1._string_scanner$_position,
  49889. t3 = new A.StringBuffer(""),
  49890. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  49891. brackets = A._setArrayType([], type$.JSArray_int);
  49892. $label0$1:
  49893. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  49894. next = t1.peekChar$0();
  49895. switch (next) {
  49896. case 92:
  49897. t3._contents += A.S(_this.escape$1$identifierStart(true));
  49898. wroteNewline = false;
  49899. break;
  49900. case 34:
  49901. case 39:
  49902. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  49903. wroteNewline = false;
  49904. break;
  49905. case 47:
  49906. if (t1.peekChar$1(1) === 42) {
  49907. t8 = _this.get$loudComment();
  49908. start = t1._string_scanner$_position;
  49909. t8.call$0();
  49910. end = t1._string_scanner$_position;
  49911. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  49912. } else
  49913. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49914. wroteNewline = false;
  49915. break;
  49916. case 35:
  49917. if (t1.peekChar$1(1) === 123)
  49918. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49919. else
  49920. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49921. wroteNewline = false;
  49922. break;
  49923. case 32:
  49924. case 9:
  49925. if (!wroteNewline) {
  49926. t8 = t1.peekChar$1(1);
  49927. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  49928. } else
  49929. t8 = true;
  49930. if (t8)
  49931. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49932. else
  49933. t1.readChar$0();
  49934. break;
  49935. case 10:
  49936. case 13:
  49937. case 12:
  49938. if (_this.get$indented())
  49939. break $label0$1;
  49940. t8 = t1.peekChar$1(-1);
  49941. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  49942. t3._contents += "\n";
  49943. t1.readChar$0();
  49944. wroteNewline = true;
  49945. break;
  49946. case 40:
  49947. case 123:
  49948. case 91:
  49949. next.toString;
  49950. t3._contents += A.Primitives_stringFromCharCode(next);
  49951. brackets.push(A.opposite(t1.readChar$0()));
  49952. wroteNewline = false;
  49953. break;
  49954. case 41:
  49955. case 125:
  49956. case 93:
  49957. if (brackets.length === 0)
  49958. break $label0$1;
  49959. next.toString;
  49960. t3._contents += A.Primitives_stringFromCharCode(next);
  49961. t1.expectChar$1(brackets.pop());
  49962. wroteNewline = false;
  49963. break;
  49964. case 59:
  49965. if (t7 && brackets.length === 0)
  49966. break $label0$1;
  49967. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49968. wroteNewline = false;
  49969. break;
  49970. case 58:
  49971. if (t6 && brackets.length === 0)
  49972. break $label0$1;
  49973. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49974. wroteNewline = false;
  49975. break;
  49976. case 117:
  49977. case 85:
  49978. t8 = t1._string_scanner$_position;
  49979. if (!_this.scanIdentifier$1("url")) {
  49980. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49981. wroteNewline = false;
  49982. break;
  49983. }
  49984. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  49985. if (contents == null) {
  49986. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  49987. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  49988. t1._string_scanner$_position = t8;
  49989. t1._lastMatch = null;
  49990. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49991. } else
  49992. buffer.addInterpolation$1(contents);
  49993. wroteNewline = false;
  49994. break;
  49995. default:
  49996. if (next == null)
  49997. break $label0$1;
  49998. if (_this.lookingAtIdentifier$0())
  49999. t3._contents += _this.identifier$0();
  50000. else
  50001. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50002. wroteNewline = false;
  50003. break;
  50004. }
  50005. }
  50006. if (brackets.length !== 0)
  50007. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  50008. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  50009. t1.error$1(0, "Expected token.");
  50010. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50011. },
  50012. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  50013. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  50014. },
  50015. _interpolatedDeclarationValue$0() {
  50016. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  50017. },
  50018. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  50019. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  50020. },
  50021. interpolatedIdentifier$0() {
  50022. var first, _this = this,
  50023. _s20_ = "Expected identifier.",
  50024. t1 = _this.scanner,
  50025. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50026. t2 = new A.StringBuffer(""),
  50027. t3 = A._setArrayType([], type$.JSArray_Object),
  50028. buffer = new A.InterpolationBuffer(t2, t3);
  50029. if (t1.scanChar$1(45)) {
  50030. t2._contents += A.Primitives_stringFromCharCode(45);
  50031. if (t1.scanChar$1(45)) {
  50032. t2._contents += A.Primitives_stringFromCharCode(45);
  50033. _this._interpolatedIdentifierBody$1(buffer);
  50034. return buffer.interpolation$1(t1.spanFrom$1(start));
  50035. }
  50036. }
  50037. first = t1.peekChar$0();
  50038. if (first == null)
  50039. t1.error$1(0, _s20_);
  50040. else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  50041. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50042. else if (first === 92)
  50043. t2._contents += A.S(_this.escape$1$identifierStart(true));
  50044. else if (first === 35 && t1.peekChar$1(1) === 123) {
  50045. t2 = _this.singleInterpolation$0();
  50046. buffer._flushText$0();
  50047. t3.push(t2);
  50048. } else
  50049. t1.error$1(0, _s20_);
  50050. _this._interpolatedIdentifierBody$1(buffer);
  50051. return buffer.interpolation$1(t1.spanFrom$1(start));
  50052. },
  50053. _interpolatedIdentifierBody$1(buffer) {
  50054. var t1, t2, t3, next, t4;
  50055. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  50056. next = t2.peekChar$0();
  50057. if (next == null)
  50058. break;
  50059. else {
  50060. if (next !== 95)
  50061. if (next !== 45) {
  50062. if (!(next >= 97 && next <= 122))
  50063. t4 = next >= 65 && next <= 90;
  50064. else
  50065. t4 = true;
  50066. if (!t4)
  50067. t4 = next >= 48 && next <= 57;
  50068. else
  50069. t4 = true;
  50070. t4 = t4 || next >= 128;
  50071. } else
  50072. t4 = true;
  50073. else
  50074. t4 = true;
  50075. if (t4)
  50076. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  50077. else if (next === 92)
  50078. t3._contents += A.S(this.escape$0());
  50079. else if (next === 35 && t2.peekChar$1(1) === 123) {
  50080. t4 = this.singleInterpolation$0();
  50081. buffer._flushText$0();
  50082. t1.push(t4);
  50083. } else
  50084. break;
  50085. }
  50086. }
  50087. },
  50088. singleInterpolation$0() {
  50089. var contents, _this = this,
  50090. t1 = _this.scanner,
  50091. t2 = t1._string_scanner$_position;
  50092. t1.expect$1("#{");
  50093. _this.whitespace$0();
  50094. contents = _this._expression$0();
  50095. t1.expectChar$1(125);
  50096. if (_this.get$plainCss())
  50097. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50098. return contents;
  50099. },
  50100. _mediaQueryList$0() {
  50101. var t4, _this = this,
  50102. t1 = _this.scanner,
  50103. t2 = t1._string_scanner$_position,
  50104. t3 = new A.StringBuffer(""),
  50105. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  50106. for (; true;) {
  50107. _this.whitespace$0();
  50108. _this._stylesheet$_mediaQuery$1(buffer);
  50109. _this.whitespace$0();
  50110. if (!t1.scanChar$1(44))
  50111. break;
  50112. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  50113. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  50114. }
  50115. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50116. },
  50117. _stylesheet$_mediaQuery$1(buffer) {
  50118. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  50119. if (_this.scanner.peekChar$0() === 40) {
  50120. _this._stylesheet$_mediaInParens$1(buffer);
  50121. _this.whitespace$0();
  50122. if (_this.scanIdentifier$1(_s3_)) {
  50123. buffer._interpolation_buffer$_text._contents += " and ";
  50124. _this.expectWhitespace$0();
  50125. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  50126. } else if (_this.scanIdentifier$1("or")) {
  50127. buffer._interpolation_buffer$_text._contents += " or ";
  50128. _this.expectWhitespace$0();
  50129. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  50130. }
  50131. return;
  50132. }
  50133. identifier1 = _this.interpolatedIdentifier$0();
  50134. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  50135. _this.expectWhitespace$0();
  50136. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  50137. buffer._interpolation_buffer$_text._contents += "not ";
  50138. _this._mediaOrInterp$1(buffer);
  50139. return;
  50140. }
  50141. }
  50142. _this.whitespace$0();
  50143. buffer.addInterpolation$1(identifier1);
  50144. if (!_this._lookingAtInterpolatedIdentifier$0())
  50145. return;
  50146. t1 = buffer._interpolation_buffer$_text;
  50147. t1._contents += A.Primitives_stringFromCharCode(32);
  50148. identifier2 = _this.interpolatedIdentifier$0();
  50149. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  50150. _this.expectWhitespace$0();
  50151. t1._contents += " and ";
  50152. } else {
  50153. _this.whitespace$0();
  50154. buffer.addInterpolation$1(identifier2);
  50155. if (_this.scanIdentifier$1(_s3_)) {
  50156. _this.expectWhitespace$0();
  50157. t1._contents += " and ";
  50158. } else
  50159. return;
  50160. }
  50161. if (_this.scanIdentifier$1("not")) {
  50162. _this.expectWhitespace$0();
  50163. t1._contents += "not ";
  50164. _this._mediaOrInterp$1(buffer);
  50165. return;
  50166. }
  50167. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  50168. return;
  50169. },
  50170. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  50171. var t1, t2, _this = this;
  50172. for (t1 = buffer._interpolation_buffer$_text; true;) {
  50173. _this._mediaOrInterp$1(buffer);
  50174. _this.whitespace$0();
  50175. if (!_this.scanIdentifier$1(operator))
  50176. return;
  50177. _this.expectWhitespace$0();
  50178. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  50179. t2 += operator;
  50180. t1._contents = t2;
  50181. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  50182. }
  50183. },
  50184. _mediaOrInterp$1(buffer) {
  50185. var interpolation;
  50186. if (this.scanner.peekChar$0() === 35) {
  50187. interpolation = this.singleInterpolation$0();
  50188. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  50189. } else
  50190. this._stylesheet$_mediaInParens$1(buffer);
  50191. },
  50192. _stylesheet$_mediaInParens$1(buffer) {
  50193. var t2, needsParenDeprecation, needsNotDeprecation, expression, t3, t4, next, t5, _this = this,
  50194. t1 = _this.scanner;
  50195. t1.expectChar$2$name(40, "media condition in parentheses");
  50196. t2 = buffer._interpolation_buffer$_text;
  50197. t2._contents += A.Primitives_stringFromCharCode(40);
  50198. _this.whitespace$0();
  50199. needsParenDeprecation = t1.peekChar$0() === 40;
  50200. needsNotDeprecation = _this.matchesIdentifier$1("not");
  50201. expression = _this._expressionUntilComparison$0();
  50202. if (needsParenDeprecation || needsNotDeprecation) {
  50203. t3 = needsParenDeprecation ? "(" : "not";
  50204. _this.logger.warn$3$deprecation$span(0, 'Starting a @media query with "' + t3 + string$.x22x20is_d + expression.toString$0(0) + '}\nTo migrate to new behavior: #{"' + expression.toString$0(0) + string$.x22x7d__Fo, true, expression.get$span(expression));
  50205. }
  50206. buffer._flushText$0();
  50207. t3 = buffer._interpolation_buffer$_contents;
  50208. t3.push(expression);
  50209. if (t1.scanChar$1(58)) {
  50210. _this.whitespace$0();
  50211. t4 = t2._contents += A.Primitives_stringFromCharCode(58);
  50212. t2._contents = t4 + A.Primitives_stringFromCharCode(32);
  50213. t4 = _this._expression$0();
  50214. buffer._flushText$0();
  50215. t3.push(t4);
  50216. } else {
  50217. next = t1.peekChar$0();
  50218. t4 = next !== 60;
  50219. if (!t4 || next === 62 || next === 61) {
  50220. t2._contents += A.Primitives_stringFromCharCode(32);
  50221. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50222. if ((!t4 || next === 62) && t1.scanChar$1(61))
  50223. t2._contents += A.Primitives_stringFromCharCode(61);
  50224. t2._contents += A.Primitives_stringFromCharCode(32);
  50225. _this.whitespace$0();
  50226. t5 = _this._expressionUntilComparison$0();
  50227. buffer._flushText$0();
  50228. t3.push(t5);
  50229. if (!t4 || next === 62) {
  50230. next.toString;
  50231. t4 = t1.scanChar$1(next);
  50232. } else
  50233. t4 = false;
  50234. if (t4) {
  50235. t4 = t2._contents += A.Primitives_stringFromCharCode(32);
  50236. t2._contents = t4 + A.Primitives_stringFromCharCode(next);
  50237. if (t1.scanChar$1(61))
  50238. t2._contents += A.Primitives_stringFromCharCode(61);
  50239. t2._contents += A.Primitives_stringFromCharCode(32);
  50240. _this.whitespace$0();
  50241. t4 = _this._expressionUntilComparison$0();
  50242. buffer._flushText$0();
  50243. t3.push(t4);
  50244. }
  50245. }
  50246. }
  50247. t1.expectChar$1(41);
  50248. _this.whitespace$0();
  50249. t2._contents += A.Primitives_stringFromCharCode(41);
  50250. },
  50251. _expressionUntilComparison$0() {
  50252. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  50253. },
  50254. _supportsCondition$0() {
  50255. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  50256. t1 = _this.scanner,
  50257. t2 = t1._string_scanner$_position;
  50258. if (_this.scanIdentifier$1("not")) {
  50259. _this.whitespace$0();
  50260. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50261. }
  50262. condition = _this._supportsConditionInParens$0();
  50263. _this.whitespace$0();
  50264. for (operator = null; _this.lookingAtIdentifier$0();) {
  50265. if (operator != null)
  50266. _this.expectIdentifier$1(operator);
  50267. else if (_this.scanIdentifier$1("or"))
  50268. operator = "or";
  50269. else {
  50270. _this.expectIdentifier$1("and");
  50271. operator = "and";
  50272. }
  50273. _this.whitespace$0();
  50274. right = _this._supportsConditionInParens$0();
  50275. endPosition = t1._string_scanner$_position;
  50276. t3 = t1._sourceFile;
  50277. t4 = new A._FileSpan(t3, t2, endPosition);
  50278. t4._FileSpan$3(t3, t2, endPosition);
  50279. condition = new A.SupportsOperation(condition, right, operator, t4);
  50280. lowerOperator = operator.toLowerCase();
  50281. if (lowerOperator !== "and" && lowerOperator !== "or")
  50282. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  50283. _this.whitespace$0();
  50284. }
  50285. return condition;
  50286. },
  50287. _supportsConditionInParens$0() {
  50288. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  50289. t1 = _this.scanner,
  50290. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50291. if (_this._lookingAtInterpolatedIdentifier$0()) {
  50292. identifier0 = _this.interpolatedIdentifier$0();
  50293. t2 = identifier0.get$asPlain();
  50294. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  50295. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  50296. if (t1.scanChar$1(40)) {
  50297. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  50298. t1.expectChar$1(41);
  50299. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  50300. } else {
  50301. t2 = identifier0.contents;
  50302. if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
  50303. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  50304. else
  50305. return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  50306. }
  50307. }
  50308. t1.expectChar$1(40);
  50309. _this.whitespace$0();
  50310. if (_this.scanIdentifier$1("not")) {
  50311. _this.whitespace$0();
  50312. condition = _this._supportsConditionInParens$0();
  50313. t1.expectChar$1(41);
  50314. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  50315. } else if (t1.peekChar$0() === 40) {
  50316. condition = _this._supportsCondition$0();
  50317. t1.expectChar$1(41);
  50318. return condition;
  50319. }
  50320. $name = null;
  50321. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50322. wasInParentheses = _this._inParentheses;
  50323. try {
  50324. $name = _this._expression$0();
  50325. t1.expectChar$1(58);
  50326. } catch (exception) {
  50327. if (type$.FormatException._is(A.unwrapException(exception))) {
  50328. t1.set$state(nameStart);
  50329. _this._inParentheses = wasInParentheses;
  50330. identifier = _this.interpolatedIdentifier$0();
  50331. operation = _this._trySupportsOperation$2(identifier, nameStart);
  50332. if (operation != null) {
  50333. t1.expectChar$1(41);
  50334. return operation;
  50335. }
  50336. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  50337. t2.addInterpolation$1(identifier);
  50338. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  50339. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  50340. if (t1.peekChar$0() === 58)
  50341. throw exception;
  50342. t1.expectChar$1(41);
  50343. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  50344. } else
  50345. throw exception;
  50346. }
  50347. declaration = _this._supportsDeclarationValue$2($name, start);
  50348. t1.expectChar$1(41);
  50349. return declaration;
  50350. },
  50351. _supportsDeclarationValue$2($name, start) {
  50352. var value, _this = this;
  50353. if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  50354. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  50355. else {
  50356. _this.whitespace$0();
  50357. value = _this._expression$0();
  50358. }
  50359. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  50360. },
  50361. _trySupportsOperation$2(interpolation, start) {
  50362. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  50363. t1 = interpolation.contents;
  50364. if (t1.length !== 1)
  50365. return _null;
  50366. expression = B.JSArray_methods.get$first(t1);
  50367. if (!type$.Expression._is(expression))
  50368. return _null;
  50369. t1 = _this.scanner;
  50370. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50371. _this.whitespace$0();
  50372. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  50373. if (operator != null)
  50374. _this.expectIdentifier$1(operator);
  50375. else if (_this.scanIdentifier$1("and"))
  50376. operator = "and";
  50377. else {
  50378. if (!_this.scanIdentifier$1("or")) {
  50379. if (beforeWhitespace._scanner !== t1)
  50380. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  50381. t2 = beforeWhitespace.position;
  50382. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  50383. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  50384. t1._string_scanner$_position = t2;
  50385. return t1._lastMatch = null;
  50386. }
  50387. operator = "or";
  50388. }
  50389. _this.whitespace$0();
  50390. right = _this._supportsConditionInParens$0();
  50391. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  50392. endPosition = t1._string_scanner$_position;
  50393. t5 = t1._sourceFile;
  50394. t6 = new A._FileSpan(t5, t2, endPosition);
  50395. t6._FileSpan$3(t5, t2, endPosition);
  50396. operation = new A.SupportsOperation(t4, right, operator, t6);
  50397. lowerOperator = operator.toLowerCase();
  50398. if (lowerOperator !== "and" && lowerOperator !== "or")
  50399. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  50400. _this.whitespace$0();
  50401. }
  50402. return operation;
  50403. },
  50404. _lookingAtInterpolatedIdentifier$0() {
  50405. var second,
  50406. t1 = this.scanner,
  50407. first = t1.peekChar$0();
  50408. if (first == null)
  50409. return false;
  50410. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  50411. return true;
  50412. if (first === 35)
  50413. return t1.peekChar$1(1) === 123;
  50414. if (first !== 45)
  50415. return false;
  50416. second = t1.peekChar$1(1);
  50417. if (second == null)
  50418. return false;
  50419. if (second === 35)
  50420. return t1.peekChar$1(2) === 123;
  50421. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  50422. },
  50423. _lookingAtInterpolatedIdentifierBody$0() {
  50424. var t1 = this.scanner,
  50425. first = t1.peekChar$0();
  50426. if (first == null)
  50427. return false;
  50428. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
  50429. return true;
  50430. return first === 35 && t1.peekChar$1(1) === 123;
  50431. },
  50432. _lookingAtExpression$0() {
  50433. var next,
  50434. t1 = this.scanner,
  50435. character = t1.peekChar$0();
  50436. if (character == null)
  50437. return false;
  50438. if (character === 46)
  50439. return t1.peekChar$1(1) !== 46;
  50440. if (character === 33) {
  50441. next = t1.peekChar$1(1);
  50442. if (next != null)
  50443. if ((next | 32) >>> 0 !== 105)
  50444. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  50445. else
  50446. t1 = true;
  50447. else
  50448. t1 = true;
  50449. return t1;
  50450. }
  50451. if (character !== 40)
  50452. if (character !== 47)
  50453. if (character !== 91)
  50454. if (character !== 39)
  50455. if (character !== 34)
  50456. if (character !== 35)
  50457. if (character !== 43)
  50458. if (character !== 45)
  50459. if (character !== 92)
  50460. if (character !== 36)
  50461. if (character !== 38)
  50462. t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
  50463. else
  50464. t1 = true;
  50465. else
  50466. t1 = true;
  50467. else
  50468. t1 = true;
  50469. else
  50470. t1 = true;
  50471. else
  50472. t1 = true;
  50473. else
  50474. t1 = true;
  50475. else
  50476. t1 = true;
  50477. else
  50478. t1 = true;
  50479. else
  50480. t1 = true;
  50481. else
  50482. t1 = true;
  50483. else
  50484. t1 = true;
  50485. return t1;
  50486. },
  50487. _withChildren$1$3(child, start, create) {
  50488. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  50489. this.whitespaceWithoutComments$0();
  50490. return result;
  50491. },
  50492. _withChildren$3(child, start, create) {
  50493. return this._withChildren$1$3(child, start, create, type$.dynamic);
  50494. },
  50495. _urlString$0() {
  50496. var innerError, stackTrace, t2, exception,
  50497. t1 = this.scanner,
  50498. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50499. url = this.string$0();
  50500. try {
  50501. t2 = A.Uri_parse(url);
  50502. return t2;
  50503. } catch (exception) {
  50504. t2 = A.unwrapException(exception);
  50505. if (type$.FormatException._is(t2)) {
  50506. innerError = t2;
  50507. stackTrace = A.getTraceFromException(exception);
  50508. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  50509. } else
  50510. throw exception;
  50511. }
  50512. },
  50513. _publicIdentifier$0() {
  50514. var _this = this,
  50515. t1 = _this.scanner,
  50516. t2 = t1._string_scanner$_position,
  50517. result = _this.identifier$1$normalize(true);
  50518. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  50519. return result;
  50520. },
  50521. _assertPublic$2(identifier, span) {
  50522. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  50523. if (!(first === 45 || first === 95))
  50524. return;
  50525. this.error$2(0, string$.Privat, span.call$0());
  50526. },
  50527. get$plainCss() {
  50528. return false;
  50529. }
  50530. };
  50531. A.StylesheetParser_parse_closure.prototype = {
  50532. call$0() {
  50533. var statements, t4,
  50534. t1 = this.$this,
  50535. t2 = t1.scanner,
  50536. t3 = t2._string_scanner$_position;
  50537. t2.scanChar$1(65279);
  50538. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  50539. t2.expectDone$0();
  50540. t4 = t1._globalVariables;
  50541. t4 = t4.get$values(t4);
  50542. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  50543. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  50544. },
  50545. $signature: 330
  50546. };
  50547. A.StylesheetParser_parse__closure.prototype = {
  50548. call$0() {
  50549. var t1 = this.$this;
  50550. if (t1.scanner.scan$1("@charset")) {
  50551. t1.whitespace$0();
  50552. t1.string$0();
  50553. return null;
  50554. }
  50555. return t1._statement$1$root(true);
  50556. },
  50557. $signature: 331
  50558. };
  50559. A.StylesheetParser_parse__closure0.prototype = {
  50560. call$1(declaration) {
  50561. var t1 = declaration.name,
  50562. t2 = declaration.expression;
  50563. return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
  50564. },
  50565. $signature: 332
  50566. };
  50567. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  50568. call$0() {
  50569. var $arguments,
  50570. t1 = this.$this,
  50571. t2 = t1.scanner;
  50572. t2.expectChar$2$name(64, "@-rule");
  50573. t1.identifier$0();
  50574. t1.whitespace$0();
  50575. t1.identifier$0();
  50576. $arguments = t1._argumentDeclaration$0();
  50577. t1.whitespace$0();
  50578. t2.expectChar$1(123);
  50579. return $arguments;
  50580. },
  50581. $signature: 334
  50582. };
  50583. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  50584. call$0() {
  50585. var t1 = this.$this;
  50586. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  50587. },
  50588. $signature: 163
  50589. };
  50590. A.StylesheetParser_parseUseRule_closure.prototype = {
  50591. call$0() {
  50592. var t1 = this.$this,
  50593. t2 = t1.scanner,
  50594. t3 = t2._string_scanner$_position;
  50595. t2.expectChar$2$name(64, "@-rule");
  50596. t1.expectIdentifier$1("use");
  50597. t1.whitespace$0();
  50598. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  50599. },
  50600. $signature: 336
  50601. };
  50602. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  50603. call$0() {
  50604. var result = this.production.call$0();
  50605. this.$this.scanner.expectDone$0();
  50606. return result;
  50607. },
  50608. $signature() {
  50609. return this.T._eval$1("0()");
  50610. }
  50611. };
  50612. A.StylesheetParser__statement_closure.prototype = {
  50613. call$0() {
  50614. return this.$this._statement$0();
  50615. },
  50616. $signature: 115
  50617. };
  50618. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  50619. call$0() {
  50620. return this.$this.scanner.spanFrom$1(this.start);
  50621. },
  50622. $signature: 31
  50623. };
  50624. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  50625. call$0() {
  50626. return this.declaration;
  50627. },
  50628. $signature: 163
  50629. };
  50630. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  50631. call$2(children, span) {
  50632. return A.Declaration$nested(this.name, children, span, null);
  50633. },
  50634. $signature: 89
  50635. };
  50636. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  50637. call$2(children, span) {
  50638. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  50639. },
  50640. $signature: 89
  50641. };
  50642. A.StylesheetParser__styleRule_closure.prototype = {
  50643. call$2(children, span) {
  50644. var _this = this,
  50645. t1 = _this.$this;
  50646. if (t1.get$indented() && children.length === 0)
  50647. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  50648. t1._inStyleRule = _this.wasInStyleRule;
  50649. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  50650. },
  50651. $signature: 339
  50652. };
  50653. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  50654. call$2(children, span) {
  50655. return A.Declaration$nested(this._box_0.name, children, span, null);
  50656. },
  50657. $signature: 89
  50658. };
  50659. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  50660. call$2(children, span) {
  50661. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  50662. },
  50663. $signature: 89
  50664. };
  50665. A.StylesheetParser__atRootRule_closure.prototype = {
  50666. call$2(children, span) {
  50667. return A.AtRootRule$(children, span, this.query);
  50668. },
  50669. $signature: 168
  50670. };
  50671. A.StylesheetParser__atRootRule_closure0.prototype = {
  50672. call$2(children, span) {
  50673. return A.AtRootRule$(children, span, null);
  50674. },
  50675. $signature: 168
  50676. };
  50677. A.StylesheetParser__eachRule_closure.prototype = {
  50678. call$2(children, span) {
  50679. var _this = this;
  50680. _this.$this._inControlDirective = _this.wasInControlDirective;
  50681. return A.EachRule$(_this.variables, _this.list, children, span);
  50682. },
  50683. $signature: 342
  50684. };
  50685. A.StylesheetParser__functionRule_closure.prototype = {
  50686. call$2(children, span) {
  50687. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  50688. },
  50689. $signature: 343
  50690. };
  50691. A.StylesheetParser__forRule_closure.prototype = {
  50692. call$0() {
  50693. var t1 = this.$this;
  50694. if (!t1.lookingAtIdentifier$0())
  50695. return false;
  50696. if (t1.scanIdentifier$1("to"))
  50697. return this._box_0.exclusive = true;
  50698. else if (t1.scanIdentifier$1("through")) {
  50699. this._box_0.exclusive = false;
  50700. return true;
  50701. } else
  50702. return false;
  50703. },
  50704. $signature: 28
  50705. };
  50706. A.StylesheetParser__forRule_closure0.prototype = {
  50707. call$2(children, span) {
  50708. var t1, _this = this;
  50709. _this.$this._inControlDirective = _this.wasInControlDirective;
  50710. t1 = _this._box_0.exclusive;
  50711. t1.toString;
  50712. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  50713. },
  50714. $signature: 344
  50715. };
  50716. A.StylesheetParser__memberList_closure.prototype = {
  50717. call$0() {
  50718. var t1 = this.$this;
  50719. if (t1.scanner.peekChar$0() === 36)
  50720. this.variables.add$1(0, t1.variableName$0());
  50721. else
  50722. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  50723. },
  50724. $signature: 1
  50725. };
  50726. A.StylesheetParser__includeRule_closure.prototype = {
  50727. call$2(children, span) {
  50728. return A.ContentBlock$(this.contentArguments_, children, span);
  50729. },
  50730. $signature: 345
  50731. };
  50732. A.StylesheetParser_mediaRule_closure.prototype = {
  50733. call$2(children, span) {
  50734. return A.MediaRule$(this.query, children, span);
  50735. },
  50736. $signature: 346
  50737. };
  50738. A.StylesheetParser__mixinRule_closure.prototype = {
  50739. call$2(children, span) {
  50740. var _this = this;
  50741. _this.$this._stylesheet$_inMixin = false;
  50742. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  50743. },
  50744. $signature: 347
  50745. };
  50746. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  50747. call$2(children, span) {
  50748. var _this = this;
  50749. if (_this._box_0.needsDeprecationWarning)
  50750. _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
  50751. return A.AtRule$(_this.name, span, children, _this.value);
  50752. },
  50753. $signature: 170
  50754. };
  50755. A.StylesheetParser_supportsRule_closure.prototype = {
  50756. call$2(children, span) {
  50757. return A.SupportsRule$(this.condition, children, span);
  50758. },
  50759. $signature: 352
  50760. };
  50761. A.StylesheetParser__whileRule_closure.prototype = {
  50762. call$2(children, span) {
  50763. this.$this._inControlDirective = this.wasInControlDirective;
  50764. return A.WhileRule$(this.condition, children, span);
  50765. },
  50766. $signature: 256
  50767. };
  50768. A.StylesheetParser_unknownAtRule_closure.prototype = {
  50769. call$2(children, span) {
  50770. return A.AtRule$(this.name, span, children, this._box_0.value);
  50771. },
  50772. $signature: 170
  50773. };
  50774. A.StylesheetParser__expression_resetState.prototype = {
  50775. call$0() {
  50776. var t2,
  50777. t1 = this._box_0;
  50778. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  50779. t2 = this.$this;
  50780. t2.scanner.set$state(this.start);
  50781. t1.allowSlash = true;
  50782. t1.singleExpression_ = t2._singleExpression$0();
  50783. },
  50784. $signature: 0
  50785. };
  50786. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  50787. call$0() {
  50788. var t2, t3, t4, t5, t6, t7, _this = this,
  50789. t1 = _this._box_0,
  50790. operator = t1.operators_.pop(),
  50791. left = t1.operands_.pop(),
  50792. right = t1.singleExpression_;
  50793. if (right == null) {
  50794. t2 = _this.$this.scanner;
  50795. t3 = operator.operator.length;
  50796. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  50797. }
  50798. if (t1.allowSlash) {
  50799. t2 = _this.$this;
  50800. t2 = !t2._inParentheses && operator === B.BinaryOperator_qpm && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  50801. } else
  50802. t2 = false;
  50803. if (t2)
  50804. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_qpm, left, right, true);
  50805. else {
  50806. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  50807. t2 = t1.allowSlash = false;
  50808. if (operator === B.BinaryOperator_qbf || operator === B.BinaryOperator_KlB) {
  50809. t3 = _this.$this;
  50810. t4 = t3.scanner.string;
  50811. t5 = right.get$span(right);
  50812. t5 = t5.get$start(t5);
  50813. t6 = right.get$span(right);
  50814. t7 = operator.operator;
  50815. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  50816. t2 = left.get$span(left);
  50817. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  50818. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  50819. }
  50820. if (t2) {
  50821. t2 = left.toString$0(0);
  50822. t4 = right.toString$0(0);
  50823. t5 = left.toString$0(0);
  50824. t6 = right.toString$0(0);
  50825. t1 = t1.singleExpression_;
  50826. t3.logger.warn$3$deprecation$span(0, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, true, t1.get$span(t1));
  50827. }
  50828. }
  50829. }
  50830. },
  50831. $signature: 0
  50832. };
  50833. A.StylesheetParser__expression_resolveOperations.prototype = {
  50834. call$0() {
  50835. var t1,
  50836. operators = this._box_0.operators_;
  50837. if (operators == null)
  50838. return;
  50839. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  50840. t1.call$0();
  50841. },
  50842. $signature: 0
  50843. };
  50844. A.StylesheetParser__expression_addSingleExpression.prototype = {
  50845. call$1(expression) {
  50846. var t2, spaceExpressions, _this = this,
  50847. t1 = _this._box_0;
  50848. if (t1.singleExpression_ != null) {
  50849. t2 = _this.$this;
  50850. if (t2._inParentheses) {
  50851. t2._inParentheses = false;
  50852. if (t1.allowSlash) {
  50853. _this.resetState.call$0();
  50854. return;
  50855. }
  50856. }
  50857. spaceExpressions = t1.spaceExpressions_;
  50858. if (spaceExpressions == null)
  50859. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  50860. _this.resolveOperations.call$0();
  50861. t2 = t1.singleExpression_;
  50862. t2.toString;
  50863. spaceExpressions.push(t2);
  50864. t1.allowSlash = true;
  50865. }
  50866. t1.singleExpression_ = expression;
  50867. },
  50868. $signature: 356
  50869. };
  50870. A.StylesheetParser__expression_addOperator.prototype = {
  50871. call$1(operator) {
  50872. var t2, t3, operators, operands, t4, singleExpression,
  50873. t1 = this.$this;
  50874. if (t1.get$plainCss() && operator !== B.BinaryOperator_qpm && operator !== B.BinaryOperator_axY) {
  50875. t2 = t1.scanner;
  50876. t3 = operator.operator.length;
  50877. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  50878. }
  50879. t2 = this._box_0;
  50880. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_qpm;
  50881. operators = t2.operators_;
  50882. if (operators == null)
  50883. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  50884. operands = t2.operands_;
  50885. if (operands == null)
  50886. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  50887. t3 = this.resolveOneOperation;
  50888. t4 = operator.precedence;
  50889. while (true) {
  50890. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  50891. break;
  50892. t3.call$0();
  50893. }
  50894. operators.push(operator);
  50895. singleExpression = t2.singleExpression_;
  50896. if (singleExpression == null) {
  50897. t3 = t1.scanner;
  50898. t4 = operator.operator.length;
  50899. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  50900. }
  50901. operands.push(singleExpression);
  50902. t1.whitespace$0();
  50903. t2.singleExpression_ = t1._singleExpression$0();
  50904. },
  50905. $signature: 357
  50906. };
  50907. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  50908. call$0() {
  50909. var t1, spaceExpressions, singleExpression, t2;
  50910. this.resolveOperations.call$0();
  50911. t1 = this._box_0;
  50912. spaceExpressions = t1.spaceExpressions_;
  50913. if (spaceExpressions != null) {
  50914. singleExpression = t1.singleExpression_;
  50915. if (singleExpression == null)
  50916. this.$this.scanner.error$1(0, "Expected expression.");
  50917. spaceExpressions.push(singleExpression);
  50918. t2 = B.JSArray_methods.get$first(spaceExpressions);
  50919. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  50920. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  50921. t1.spaceExpressions_ = null;
  50922. }
  50923. },
  50924. $signature: 0
  50925. };
  50926. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  50927. call$0() {
  50928. return this.$this.scanner.peekChar$0() === 44;
  50929. },
  50930. $signature: 28
  50931. };
  50932. A.StylesheetParser__unicodeRange_closure.prototype = {
  50933. call$1(char) {
  50934. return char != null && A.isHex(char);
  50935. },
  50936. $signature: 32
  50937. };
  50938. A.StylesheetParser__unicodeRange_closure0.prototype = {
  50939. call$1(char) {
  50940. return char != null && A.isHex(char);
  50941. },
  50942. $signature: 32
  50943. };
  50944. A.StylesheetParser_namespacedExpression_closure.prototype = {
  50945. call$0() {
  50946. return this.$this.scanner.spanFrom$1(this.start);
  50947. },
  50948. $signature: 31
  50949. };
  50950. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  50951. call$1(contents) {
  50952. return new A.StringExpression(contents, false);
  50953. },
  50954. $signature: 359
  50955. };
  50956. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  50957. call$0() {
  50958. var t1 = this.$this.scanner,
  50959. next = t1.peekChar$0();
  50960. if (next === 61)
  50961. return t1.peekChar$1(1) !== 61;
  50962. return next === 60 || next === 62;
  50963. },
  50964. $signature: 28
  50965. };
  50966. A.StylesheetParser__publicIdentifier_closure.prototype = {
  50967. call$0() {
  50968. return this.$this.scanner.spanFrom$1(this.start);
  50969. },
  50970. $signature: 31
  50971. };
  50972. A.StylesheetGraph.prototype = {
  50973. modifiedSince$3(url, since, baseImporter) {
  50974. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  50975. if (node == null)
  50976. return true;
  50977. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
  50978. },
  50979. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  50980. var t1, t2, _this = this,
  50981. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  50982. if (tuple == null)
  50983. return null;
  50984. t1 = tuple.item1;
  50985. t2 = tuple.item2;
  50986. _this.addCanonical$3(t1, t2, tuple.item3);
  50987. return _this._nodes.$index(0, t2);
  50988. },
  50989. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  50990. var stylesheet, _this = this,
  50991. t1 = _this._nodes;
  50992. if (t1.$index(0, canonicalUrl) != null)
  50993. return B.Set_empty2;
  50994. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  50995. if (stylesheet == null)
  50996. return B.Set_empty2;
  50997. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  50998. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty2;
  50999. },
  51000. addCanonical$3(importer, canonicalUrl, originalUrl) {
  51001. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  51002. },
  51003. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  51004. var t4, t5, t6, t7,
  51005. t1 = type$.Uri,
  51006. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  51007. t2 = type$.JSArray_Uri,
  51008. t3 = A._setArrayType([], t2);
  51009. t2 = A._setArrayType([], t2);
  51010. new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
  51011. t4 = type$.nullable_StylesheetNode;
  51012. t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
  51013. for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
  51014. t7 = t6.get$current(t6);
  51015. t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
  51016. }
  51017. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
  51018. for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
  51019. t3 = t2.get$current(t2);
  51020. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  51021. }
  51022. return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
  51023. },
  51024. reload$1(canonicalUrl) {
  51025. var stylesheet, upstream, _this = this,
  51026. node = _this._nodes.$index(0, canonicalUrl);
  51027. if (node == null)
  51028. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  51029. _this._transitiveModificationTimes.clear$0(0);
  51030. _this.importCache.clearImport$1(canonicalUrl);
  51031. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  51032. if (stylesheet == null)
  51033. return false;
  51034. node._stylesheet = stylesheet;
  51035. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  51036. node._replaceUpstream$2(upstream.item1, upstream.item2);
  51037. return true;
  51038. },
  51039. _recanonicalizeImports$2(importer, canonicalUrl) {
  51040. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  51041. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  51042. for (t1 = _this._nodes, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
  51043. t5 = t1.get$current(t1);
  51044. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  51045. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  51046. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  51047. changed.add$1(0, t5);
  51048. t5._replaceUpstream$2(A.mergeMaps(new A.UnmodifiableMapView(t5._upstream, t2), newUpstream, t3, t4), A.mergeMaps(new A.UnmodifiableMapView(t5._upstreamImports, t2), newUpstreamImports, t3, t4));
  51049. }
  51050. }
  51051. if (changed._collection$_length !== 0)
  51052. _this._transitiveModificationTimes.clear$0(0);
  51053. return changed;
  51054. },
  51055. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  51056. var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  51057. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
  51058. newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
  51059. map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
  51060. return newMap;
  51061. },
  51062. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  51063. var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
  51064. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  51065. if (tuple == null)
  51066. return null;
  51067. importer = tuple.item1;
  51068. canonicalUrl = tuple.item2;
  51069. resolvedUrl = tuple.item3;
  51070. t1 = _this._nodes;
  51071. if (t1.containsKey$1(canonicalUrl))
  51072. return t1.$index(0, canonicalUrl);
  51073. if (active.contains$1(0, canonicalUrl))
  51074. return null;
  51075. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
  51076. if (stylesheet == null)
  51077. return null;
  51078. active.add$1(0, canonicalUrl);
  51079. node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
  51080. active.remove$1(0, canonicalUrl);
  51081. t1.$indexSet(0, canonicalUrl, node);
  51082. return node;
  51083. },
  51084. _nodeFor$4(url, baseImporter, baseUrl, active) {
  51085. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  51086. },
  51087. _ignoreErrors$1$1(callback) {
  51088. var t1, exception;
  51089. try {
  51090. t1 = callback.call$0();
  51091. return t1;
  51092. } catch (exception) {
  51093. return null;
  51094. }
  51095. },
  51096. _ignoreErrors$1(callback) {
  51097. return this._ignoreErrors$1$1(callback, type$.dynamic);
  51098. }
  51099. };
  51100. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  51101. call$1(node) {
  51102. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  51103. },
  51104. $signature: 360
  51105. };
  51106. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  51107. call$0() {
  51108. var t2, t3, upstreamTime,
  51109. t1 = this.node,
  51110. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  51111. for (t2 = t1._upstream, t2 = t2.get$values(t2), t1 = t1._upstreamImports, t1 = t2.followedBy$1(0, t1.get$values(t1)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  51112. t3 = t1._currentIterator;
  51113. t3 = t3.get$current(t3);
  51114. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  51115. if (upstreamTime._core$_value > latest._core$_value)
  51116. latest = upstreamTime;
  51117. }
  51118. return latest;
  51119. },
  51120. $signature: 149
  51121. };
  51122. A.StylesheetGraph__add_closure.prototype = {
  51123. call$0() {
  51124. var _this = this;
  51125. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  51126. },
  51127. $signature: 100
  51128. };
  51129. A.StylesheetGraph_addCanonical_closure.prototype = {
  51130. call$0() {
  51131. var _this = this;
  51132. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  51133. },
  51134. $signature: 90
  51135. };
  51136. A.StylesheetGraph_reload_closure.prototype = {
  51137. call$0() {
  51138. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  51139. },
  51140. $signature: 90
  51141. };
  51142. A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
  51143. call$2(url, upstream) {
  51144. var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
  51145. if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
  51146. return;
  51147. t1 = _this.$this;
  51148. t2 = t1.importCache;
  51149. t2.clearCanonicalize$1(url);
  51150. result = null;
  51151. try {
  51152. t3 = _this.node;
  51153. result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
  51154. } catch (exception) {
  51155. }
  51156. t2 = result;
  51157. newCanonicalUrl = t2 == null ? null : t2.item2;
  51158. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  51159. return;
  51160. t1 = result == null ? null : t1._nodes.$index(0, result.item2);
  51161. _this.newMap.$indexSet(0, url, t1);
  51162. },
  51163. $signature: 362
  51164. };
  51165. A.StylesheetGraph__nodeFor_closure.prototype = {
  51166. call$0() {
  51167. var _this = this;
  51168. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  51169. },
  51170. $signature: 100
  51171. };
  51172. A.StylesheetGraph__nodeFor_closure0.prototype = {
  51173. call$0() {
  51174. var _this = this;
  51175. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
  51176. },
  51177. $signature: 90
  51178. };
  51179. A.StylesheetNode.prototype = {
  51180. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  51181. var t1, t2;
  51182. for (t1 = this._upstream, t1 = t1.get$values(t1), t2 = this._upstreamImports, t2 = t1.followedBy$1(0, t2.get$values(t2)), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  51183. t1 = t2._currentIterator;
  51184. t1 = t1.get$current(t1);
  51185. if (t1 != null)
  51186. t1._downstream.add$1(0, this);
  51187. }
  51188. },
  51189. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  51190. var t3, oldUpstream, newUpstreamSet, _this = this,
  51191. t1 = _this._upstream,
  51192. t2 = type$.nullable_StylesheetNode;
  51193. t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), t2);
  51194. t3 = _this._upstreamImports;
  51195. t1.addAll$1(0, t3.get$values(t3));
  51196. t3 = type$.StylesheetNode;
  51197. oldUpstream = A.SetExtension_removeNull(t1, t3);
  51198. t2 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(newUpstream), t2);
  51199. t2.addAll$1(0, newUpstreamImports.get$values(newUpstreamImports));
  51200. newUpstreamSet = A.SetExtension_removeNull(t2, t3);
  51201. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  51202. t1.get$current(t1)._downstream.remove$1(0, _this);
  51203. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  51204. t1.get$current(t1)._downstream.add$1(0, _this);
  51205. _this._upstream = newUpstream;
  51206. _this._upstreamImports = newUpstreamImports;
  51207. },
  51208. _stylesheet_graph$_remove$0() {
  51209. var t1, t2, t3, t4, _i, url, _this = this;
  51210. for (t1 = _this._upstream, t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), type$.nullable_StylesheetNode), t2 = _this._upstreamImports, t1.addAll$1(0, t2.get$values(t2)), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  51211. t3 = t1._collection$_current;
  51212. if (t3 == null)
  51213. t3 = t2._as(t3);
  51214. if (t3 == null)
  51215. continue;
  51216. t3._downstream.remove$1(0, _this);
  51217. }
  51218. for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  51219. t2 = t1.get$current(t1);
  51220. for (t3 = t2._upstream, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  51221. url = t3[_i];
  51222. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  51223. t2._upstream.$indexSet(0, url, null);
  51224. break;
  51225. }
  51226. }
  51227. for (t3 = t2._upstreamImports, t3 = J.toList$0$ax(t3.get$keys(t3)), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  51228. url = t3[_i];
  51229. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  51230. t2._upstreamImports.$indexSet(0, url, null);
  51231. break;
  51232. }
  51233. }
  51234. }
  51235. },
  51236. toString$0(_) {
  51237. var t1 = this._stylesheet.span;
  51238. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  51239. return t1 == null ? "<unknown>" : t1;
  51240. }
  51241. };
  51242. A.Syntax.prototype = {
  51243. toString$0(_) {
  51244. return this._syntax$_name;
  51245. }
  51246. };
  51247. A.LimitedMapView.prototype = {
  51248. get$keys(_) {
  51249. return this._limited_map_view$_keys;
  51250. },
  51251. get$length(_) {
  51252. return this._limited_map_view$_keys._collection$_length;
  51253. },
  51254. get$isEmpty(_) {
  51255. return this._limited_map_view$_keys._collection$_length === 0;
  51256. },
  51257. get$isNotEmpty(_) {
  51258. return this._limited_map_view$_keys._collection$_length !== 0;
  51259. },
  51260. $index(_, key) {
  51261. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  51262. },
  51263. containsKey$1(key) {
  51264. return this._limited_map_view$_keys.contains$1(0, key);
  51265. },
  51266. remove$1(_, key) {
  51267. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  51268. }
  51269. };
  51270. A.MergedMapView.prototype = {
  51271. get$keys(_) {
  51272. var t1 = this._mapsByKey;
  51273. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  51274. },
  51275. get$length(_) {
  51276. return this._mapsByKey.__js_helper$_length;
  51277. },
  51278. get$isEmpty(_) {
  51279. return this._mapsByKey.__js_helper$_length === 0;
  51280. },
  51281. get$isNotEmpty(_) {
  51282. return this._mapsByKey.__js_helper$_length !== 0;
  51283. },
  51284. MergedMapView$1(maps, $K, $V) {
  51285. var t1, t2, t3, _i, map, t4, t5, t6;
  51286. for (t1 = maps.length, t2 = this._mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  51287. map = maps[_i];
  51288. if (t3._is(map))
  51289. for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
  51290. t6 = t4.__internal$_current;
  51291. if (t6 == null)
  51292. t6 = t5._as(t6);
  51293. A.setAll(t2, t6.get$keys(t6), t6);
  51294. }
  51295. else
  51296. A.setAll(t2, map.get$keys(map), map);
  51297. }
  51298. },
  51299. $index(_, key) {
  51300. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  51301. return t1 == null ? null : t1.$index(0, key);
  51302. },
  51303. $indexSet(_, key, value) {
  51304. var child = this._mapsByKey.$index(0, key);
  51305. if (child == null)
  51306. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  51307. child.$indexSet(0, key, value);
  51308. },
  51309. remove$1(_, key) {
  51310. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  51311. },
  51312. containsKey$1(key) {
  51313. return this._mapsByKey.containsKey$1(key);
  51314. }
  51315. };
  51316. A.MultiDirWatcher.prototype = {
  51317. watch$1(_, directory) {
  51318. var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
  51319. for (t1 = this._watchers._map, t2 = t1.get$entries(t1).toList$0(0), t3 = t2.length, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  51320. entry = t2[_i];
  51321. t5 = entry.key;
  51322. t5.toString;
  51323. existingWatcher = entry.value;
  51324. if (!isParentOfExistingDir) {
  51325. t6 = $.$get$context();
  51326. t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
  51327. } else
  51328. t6 = false;
  51329. if (t6) {
  51330. t1 = new A._Future($.Zone__current, type$._Future_void);
  51331. t1._asyncComplete$1(null);
  51332. return t1;
  51333. }
  51334. if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
  51335. t1.remove$1(0, t5);
  51336. t4.remove$1(0, existingWatcher);
  51337. isParentOfExistingDir = true;
  51338. }
  51339. }
  51340. future = A.watchDir(directory, this._poll);
  51341. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  51342. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  51343. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  51344. t1.$indexSet(0, directory, t2);
  51345. t4.add$1(0, t2);
  51346. return future;
  51347. }
  51348. };
  51349. A.MultiSpan.prototype = {
  51350. get$start(_) {
  51351. var t1 = this._multi_span$_primary;
  51352. return t1.get$start(t1);
  51353. },
  51354. get$end(_) {
  51355. var t1 = this._multi_span$_primary;
  51356. return t1.get$end(t1);
  51357. },
  51358. get$text() {
  51359. return this._multi_span$_primary.get$text();
  51360. },
  51361. get$context(_) {
  51362. var t1 = this._multi_span$_primary;
  51363. return t1.get$context(t1);
  51364. },
  51365. get$file(_) {
  51366. var t1 = this._multi_span$_primary;
  51367. return t1.get$file(t1);
  51368. },
  51369. get$length(_) {
  51370. var t1 = this._multi_span$_primary;
  51371. return t1.get$length(t1);
  51372. },
  51373. get$sourceUrl(_) {
  51374. var t1 = this._multi_span$_primary;
  51375. return t1.get$sourceUrl(t1);
  51376. },
  51377. compareTo$1(_, other) {
  51378. return this._multi_span$_primary.compareTo$1(0, other);
  51379. },
  51380. toString$0(_) {
  51381. return this._multi_span$_primary.toString$0(0);
  51382. },
  51383. expand$1(_, other) {
  51384. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  51385. },
  51386. highlight$1$color(color) {
  51387. var t1 = color === true || false;
  51388. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  51389. },
  51390. message$2$color(_, message, color) {
  51391. var t1 = J.$eq$(color, true) || typeof color == "string",
  51392. t2 = typeof color == "string" ? color : null;
  51393. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2);
  51394. },
  51395. message$1($receiver, message) {
  51396. return this.message$2$color($receiver, message, null);
  51397. },
  51398. $isComparable: 1,
  51399. $isFileSpan: 1,
  51400. $isSourceSpan: 1,
  51401. $isSourceSpanWithContext: 1
  51402. };
  51403. A.NoSourceMapBuffer.prototype = {
  51404. get$length(_) {
  51405. return this._no_source_map_buffer$_buffer._contents.length;
  51406. },
  51407. forSpan$1$2(span, callback) {
  51408. return callback.call$0();
  51409. },
  51410. forSpan$2(span, callback) {
  51411. return this.forSpan$1$2(span, callback, type$.dynamic);
  51412. },
  51413. write$1(_, object) {
  51414. this._no_source_map_buffer$_buffer._contents += A.S(object);
  51415. return null;
  51416. },
  51417. writeCharCode$1(charCode) {
  51418. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  51419. return null;
  51420. },
  51421. toString$0(_) {
  51422. var t1 = this._no_source_map_buffer$_buffer._contents;
  51423. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51424. },
  51425. buildSourceMap$1$prefix(prefix) {
  51426. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  51427. }
  51428. };
  51429. A.PrefixedMapView.prototype = {
  51430. get$keys(_) {
  51431. return new A._PrefixedKeys(this);
  51432. },
  51433. get$length(_) {
  51434. var t1 = this._prefixed_map_view$_map;
  51435. return t1.get$length(t1);
  51436. },
  51437. get$isEmpty(_) {
  51438. var t1 = this._prefixed_map_view$_map;
  51439. return t1.get$isEmpty(t1);
  51440. },
  51441. get$isNotEmpty(_) {
  51442. var t1 = this._prefixed_map_view$_map;
  51443. return t1.get$isNotEmpty(t1);
  51444. },
  51445. $index(_, key) {
  51446. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, J.substring$1$s(key, this._prefix.length)) : null;
  51447. },
  51448. containsKey$1(key) {
  51449. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(J.substring$1$s(key, this._prefix.length));
  51450. }
  51451. };
  51452. A._PrefixedKeys.prototype = {
  51453. get$length(_) {
  51454. var t1 = this._view._prefixed_map_view$_map;
  51455. return t1.get$length(t1);
  51456. },
  51457. get$iterator(_) {
  51458. var t1 = this._view._prefixed_map_view$_map;
  51459. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  51460. return t1.get$iterator(t1);
  51461. },
  51462. contains$1(_, key) {
  51463. return this._view.containsKey$1(key);
  51464. }
  51465. };
  51466. A._PrefixedKeys_iterator_closure.prototype = {
  51467. call$1(key) {
  51468. return this.$this._view._prefix + key;
  51469. },
  51470. $signature: 5
  51471. };
  51472. A.PublicMemberMapView.prototype = {
  51473. get$keys(_) {
  51474. var t1 = this._public_member_map_view$_inner;
  51475. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  51476. },
  51477. containsKey$1(key) {
  51478. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  51479. },
  51480. $index(_, key) {
  51481. if (typeof key == "string" && A.isPublic(key))
  51482. return this._public_member_map_view$_inner.$index(0, key);
  51483. return null;
  51484. }
  51485. };
  51486. A.SourceMapBuffer.prototype = {
  51487. get$_targetLocation() {
  51488. var t1 = this._source_map_buffer$_buffer._contents,
  51489. t2 = this._line;
  51490. return A.SourceLocation$(t1.length, this._column, t2, null);
  51491. },
  51492. get$length(_) {
  51493. return this._source_map_buffer$_buffer._contents.length;
  51494. },
  51495. forSpan$1$2(span, callback) {
  51496. var t1, _this = this,
  51497. wasInSpan = _this._inSpan;
  51498. _this._inSpan = true;
  51499. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  51500. try {
  51501. t1 = callback.call$0();
  51502. return t1;
  51503. } finally {
  51504. _this._inSpan = wasInSpan;
  51505. }
  51506. },
  51507. forSpan$2(span, callback) {
  51508. return this.forSpan$1$2(span, callback, type$.dynamic);
  51509. },
  51510. _addEntry$2(source, target) {
  51511. var entry, t2,
  51512. t1 = this._entries;
  51513. if (t1.length !== 0) {
  51514. entry = B.JSArray_methods.get$last(t1);
  51515. t2 = entry.source;
  51516. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  51517. return;
  51518. if (entry.target.offset === target.offset)
  51519. return;
  51520. }
  51521. t1.push(new A.Entry(source, target, null));
  51522. },
  51523. write$1(_, object) {
  51524. var t1, i,
  51525. string = J.toString$0$(object);
  51526. this._source_map_buffer$_buffer._contents += string;
  51527. for (t1 = string.length, i = 0; i < t1; ++i)
  51528. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  51529. this._source_map_buffer$_writeLine$0();
  51530. else
  51531. ++this._column;
  51532. },
  51533. writeCharCode$1(charCode) {
  51534. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  51535. if (charCode === 10)
  51536. this._source_map_buffer$_writeLine$0();
  51537. else
  51538. ++this._column;
  51539. },
  51540. _source_map_buffer$_writeLine$0() {
  51541. var _this = this,
  51542. t1 = _this._entries;
  51543. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  51544. t1.pop();
  51545. ++_this._line;
  51546. _this._column = 0;
  51547. if (_this._inSpan)
  51548. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  51549. },
  51550. toString$0(_) {
  51551. var t1 = this._source_map_buffer$_buffer._contents;
  51552. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51553. },
  51554. buildSourceMap$1$prefix(prefix) {
  51555. var i, t2, prefixColumn, _box_0 = {},
  51556. t1 = prefix.length;
  51557. if (t1 === 0)
  51558. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  51559. _box_0.prefixColumn = _box_0.prefixLines = 0;
  51560. for (i = 0, t2 = 0; i < t1; ++i)
  51561. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  51562. ++_box_0.prefixLines;
  51563. _box_0.prefixColumn = 0;
  51564. t2 = 0;
  51565. } else {
  51566. prefixColumn = t2 + 1;
  51567. _box_0.prefixColumn = prefixColumn;
  51568. t2 = prefixColumn;
  51569. }
  51570. t2 = this._entries;
  51571. return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
  51572. }
  51573. };
  51574. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  51575. call$1(entry) {
  51576. var t1 = entry.source,
  51577. t2 = entry.target,
  51578. t3 = t2.line,
  51579. t4 = this._box_0,
  51580. t5 = t4.prefixLines;
  51581. t4 = t3 === 0 ? t4.prefixColumn : 0;
  51582. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  51583. },
  51584. $signature: 175
  51585. };
  51586. A.UnprefixedMapView.prototype = {
  51587. get$keys(_) {
  51588. return new A._UnprefixedKeys(this);
  51589. },
  51590. $index(_, key) {
  51591. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  51592. },
  51593. containsKey$1(key) {
  51594. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  51595. },
  51596. remove$1(_, key) {
  51597. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  51598. }
  51599. };
  51600. A._UnprefixedKeys.prototype = {
  51601. get$iterator(_) {
  51602. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  51603. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
  51604. return t1.get$iterator(t1);
  51605. },
  51606. contains$1(_, key) {
  51607. return this._unprefixed_map_view$_view.containsKey$1(key);
  51608. }
  51609. };
  51610. A._UnprefixedKeys_iterator_closure.prototype = {
  51611. call$1(key) {
  51612. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  51613. },
  51614. $signature: 8
  51615. };
  51616. A._UnprefixedKeys_iterator_closure0.prototype = {
  51617. call$1(key) {
  51618. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  51619. },
  51620. $signature: 5
  51621. };
  51622. A.indent_closure.prototype = {
  51623. call$1(line) {
  51624. return B.JSString_methods.$mul(" ", this.indentation) + line;
  51625. },
  51626. $signature: 5
  51627. };
  51628. A.flattenVertically_closure.prototype = {
  51629. call$1(inner) {
  51630. return A.QueueList_QueueList$from(inner, this.T);
  51631. },
  51632. $signature() {
  51633. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  51634. }
  51635. };
  51636. A.flattenVertically_closure0.prototype = {
  51637. call$1(queue) {
  51638. this.result.push(queue.removeFirst$0());
  51639. return queue.get$length(queue) === 0;
  51640. },
  51641. $signature() {
  51642. return this.T._eval$1("bool(QueueList<0>)");
  51643. }
  51644. };
  51645. A.longestCommonSubsequence_backtrack.prototype = {
  51646. call$2(i, j) {
  51647. var selection, t1, _this = this;
  51648. if (i === -1 || j === -1)
  51649. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  51650. selection = _this.selections[i][j];
  51651. if (selection != null) {
  51652. t1 = _this.call$2(i - 1, j - 1);
  51653. J.add$1$ax(t1, selection);
  51654. return t1;
  51655. }
  51656. t1 = _this.lengths;
  51657. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  51658. },
  51659. $signature() {
  51660. return this.T._eval$1("List<0>(int,int)");
  51661. }
  51662. };
  51663. A.mapAddAll2_closure.prototype = {
  51664. call$2(key, inner) {
  51665. var t1 = this.destination,
  51666. innerDestination = t1.$index(0, key);
  51667. if (innerDestination != null)
  51668. innerDestination.addAll$1(0, inner);
  51669. else
  51670. t1.$indexSet(0, key, inner);
  51671. },
  51672. $signature() {
  51673. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  51674. }
  51675. };
  51676. A.Value.prototype = {
  51677. get$isTruthy() {
  51678. return true;
  51679. },
  51680. get$separator(_) {
  51681. return B.ListSeparator_undecided_null_undecided;
  51682. },
  51683. get$hasBrackets() {
  51684. return false;
  51685. },
  51686. get$asList() {
  51687. return A._setArrayType([this], type$.JSArray_Value);
  51688. },
  51689. get$lengthAsList() {
  51690. return 1;
  51691. },
  51692. get$isBlank() {
  51693. return false;
  51694. },
  51695. get$isSpecialNumber() {
  51696. return false;
  51697. },
  51698. get$isVar() {
  51699. return false;
  51700. },
  51701. get$realNull() {
  51702. return this;
  51703. },
  51704. sassIndexToListIndex$2(sassIndex, $name) {
  51705. var index = sassIndex.assertNumber$1($name).assertInt$1($name);
  51706. if (index === 0)
  51707. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  51708. if (Math.abs(index) > this.get$lengthAsList())
  51709. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  51710. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  51711. },
  51712. assertCalculation$1($name) {
  51713. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  51714. },
  51715. assertColor$1($name) {
  51716. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  51717. },
  51718. assertFunction$1($name) {
  51719. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  51720. },
  51721. assertMap$1($name) {
  51722. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  51723. },
  51724. tryMap$0() {
  51725. return null;
  51726. },
  51727. assertNumber$1($name) {
  51728. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  51729. },
  51730. assertNumber$0() {
  51731. return this.assertNumber$1(null);
  51732. },
  51733. assertString$1($name) {
  51734. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  51735. },
  51736. _selectorString$1($name) {
  51737. var string = this._selectorStringOrNull$0();
  51738. if (string != null)
  51739. return string;
  51740. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  51741. },
  51742. _selectorStringOrNull$0() {
  51743. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  51744. if (_this instanceof A.SassString)
  51745. return _this._string$_text;
  51746. if (!(_this instanceof A.SassList))
  51747. return _null;
  51748. t1 = _this._list$_contents;
  51749. t2 = t1.length;
  51750. if (t2 === 0)
  51751. return _null;
  51752. result = A._setArrayType([], type$.JSArray_String);
  51753. t3 = _this._separator;
  51754. switch (t3) {
  51755. case B.ListSeparator_rXA:
  51756. for (_i = 0; _i < t2; ++_i) {
  51757. complex = t1[_i];
  51758. if (complex instanceof A.SassString)
  51759. result.push(complex._string$_text);
  51760. else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_EVt) {
  51761. string = complex._selectorStringOrNull$0();
  51762. if (string == null)
  51763. return _null;
  51764. result.push(string);
  51765. } else
  51766. return _null;
  51767. }
  51768. break;
  51769. case B.ListSeparator_zg9:
  51770. return _null;
  51771. default:
  51772. for (_i = 0; _i < t2; ++_i) {
  51773. compound = t1[_i];
  51774. if (compound instanceof A.SassString)
  51775. result.push(compound._string$_text);
  51776. else
  51777. return _null;
  51778. }
  51779. break;
  51780. }
  51781. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA ? ", " : " ");
  51782. },
  51783. withListContents$2$separator(contents, separator) {
  51784. var t1 = separator == null ? this.get$separator(this) : separator,
  51785. t2 = this.get$hasBrackets();
  51786. return A.SassList$(contents, t1, t2);
  51787. },
  51788. withListContents$1(contents) {
  51789. return this.withListContents$2$separator(contents, null);
  51790. },
  51791. greaterThan$1(other) {
  51792. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  51793. },
  51794. greaterThanOrEquals$1(other) {
  51795. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  51796. },
  51797. lessThan$1(other) {
  51798. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  51799. },
  51800. lessThanOrEquals$1(other) {
  51801. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  51802. },
  51803. times$1(other) {
  51804. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  51805. },
  51806. modulo$1(other) {
  51807. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  51808. },
  51809. plus$1(other) {
  51810. if (other instanceof A.SassString)
  51811. return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  51812. else if (other instanceof A.SassCalculation)
  51813. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  51814. else
  51815. return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  51816. },
  51817. minus$1(other) {
  51818. if (other instanceof A.SassCalculation)
  51819. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  51820. else
  51821. return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  51822. },
  51823. dividedBy$1(other) {
  51824. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  51825. },
  51826. unaryPlus$0() {
  51827. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  51828. },
  51829. unaryMinus$0() {
  51830. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  51831. },
  51832. unaryNot$0() {
  51833. return B.SassBoolean_false;
  51834. },
  51835. withoutSlash$0() {
  51836. return this;
  51837. },
  51838. toString$0(_) {
  51839. return A.serializeValue(this, true, true);
  51840. }
  51841. };
  51842. A.SassArgumentList.prototype = {};
  51843. A.SassBoolean.prototype = {
  51844. get$isTruthy() {
  51845. return this.value;
  51846. },
  51847. accept$1$1(visitor) {
  51848. return visitor._serialize$_buffer.write$1(0, String(this.value));
  51849. },
  51850. accept$1(visitor) {
  51851. return this.accept$1$1(visitor, type$.dynamic);
  51852. },
  51853. unaryNot$0() {
  51854. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  51855. }
  51856. };
  51857. A.SassCalculation.prototype = {
  51858. get$isSpecialNumber() {
  51859. return true;
  51860. },
  51861. accept$1$1(visitor) {
  51862. var t2,
  51863. t1 = visitor._serialize$_buffer;
  51864. t1.write$1(0, this.name);
  51865. t1.writeCharCode$1(40);
  51866. t2 = visitor._style === B.OutputStyle_1 ? "," : ", ";
  51867. visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
  51868. t1.writeCharCode$1(41);
  51869. return null;
  51870. },
  51871. accept$1(visitor) {
  51872. return this.accept$1$1(visitor, type$.dynamic);
  51873. },
  51874. assertCalculation$1($name) {
  51875. return this;
  51876. },
  51877. plus$1(other) {
  51878. if (other instanceof A.SassString)
  51879. return this.super$Value$plus(other);
  51880. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  51881. },
  51882. minus$1(other) {
  51883. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  51884. },
  51885. unaryPlus$0() {
  51886. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  51887. },
  51888. unaryMinus$0() {
  51889. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  51890. },
  51891. $eq(_, other) {
  51892. if (other == null)
  51893. return false;
  51894. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  51895. },
  51896. get$hashCode(_) {
  51897. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  51898. }
  51899. };
  51900. A.SassCalculation__verifyLength_closure.prototype = {
  51901. call$1(arg) {
  51902. return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
  51903. },
  51904. $signature: 112
  51905. };
  51906. A.CalculationOperation.prototype = {
  51907. $eq(_, other) {
  51908. if (other == null)
  51909. return false;
  51910. return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  51911. },
  51912. get$hashCode(_) {
  51913. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  51914. },
  51915. toString$0(_) {
  51916. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  51917. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  51918. }
  51919. };
  51920. A.CalculationOperator.prototype = {
  51921. toString$0(_) {
  51922. return this.name;
  51923. }
  51924. };
  51925. A.CalculationInterpolation.prototype = {
  51926. $eq(_, other) {
  51927. if (other == null)
  51928. return false;
  51929. return other instanceof A.CalculationInterpolation && this.value === other.value;
  51930. },
  51931. get$hashCode(_) {
  51932. return B.JSString_methods.get$hashCode(this.value);
  51933. },
  51934. toString$0(_) {
  51935. return this.value;
  51936. }
  51937. };
  51938. A.SassColor.prototype = {
  51939. get$red(_) {
  51940. var t1;
  51941. if (this._red == null)
  51942. this._hslToRgb$0();
  51943. t1 = this._red;
  51944. t1.toString;
  51945. return t1;
  51946. },
  51947. get$green(_) {
  51948. var t1;
  51949. if (this._green == null)
  51950. this._hslToRgb$0();
  51951. t1 = this._green;
  51952. t1.toString;
  51953. return t1;
  51954. },
  51955. get$blue(_) {
  51956. var t1;
  51957. if (this._blue == null)
  51958. this._hslToRgb$0();
  51959. t1 = this._blue;
  51960. t1.toString;
  51961. return t1;
  51962. },
  51963. get$hue(_) {
  51964. var t1;
  51965. if (this._hue == null)
  51966. this._rgbToHsl$0();
  51967. t1 = this._hue;
  51968. t1.toString;
  51969. return t1;
  51970. },
  51971. get$saturation(_) {
  51972. var t1;
  51973. if (this._saturation == null)
  51974. this._rgbToHsl$0();
  51975. t1 = this._saturation;
  51976. t1.toString;
  51977. return t1;
  51978. },
  51979. get$lightness(_) {
  51980. var t1;
  51981. if (this._lightness == null)
  51982. this._rgbToHsl$0();
  51983. t1 = this._lightness;
  51984. t1.toString;
  51985. return t1;
  51986. },
  51987. get$whiteness(_) {
  51988. var _this = this;
  51989. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  51990. },
  51991. get$blackness(_) {
  51992. var _this = this;
  51993. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  51994. },
  51995. accept$1$1(visitor) {
  51996. var $name, hexLength, t1, format, t2, opaque, _this = this;
  51997. if (visitor._style === B.OutputStyle_1)
  51998. if (!A.fuzzyEquals(_this._alpha, 1))
  51999. visitor._writeRgb$1(_this);
  52000. else {
  52001. $name = $.$get$namesByColor().$index(0, _this);
  52002. hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
  52003. if ($name != null && $name.length <= hexLength)
  52004. visitor._serialize$_buffer.write$1(0, $name);
  52005. else {
  52006. t1 = visitor._serialize$_buffer;
  52007. if (visitor._canUseShortHex$1(_this)) {
  52008. t1.writeCharCode$1(35);
  52009. t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
  52010. t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
  52011. t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
  52012. } else {
  52013. t1.writeCharCode$1(35);
  52014. visitor._writeHexComponent$1(_this.get$red(_this));
  52015. visitor._writeHexComponent$1(_this.get$green(_this));
  52016. visitor._writeHexComponent$1(_this.get$blue(_this));
  52017. }
  52018. }
  52019. }
  52020. else {
  52021. format = _this.format;
  52022. if (format != null)
  52023. if (format === B._ColorFormatEnum_rgbFunction)
  52024. visitor._writeRgb$1(_this);
  52025. else {
  52026. t1 = visitor._serialize$_buffer;
  52027. if (format === B._ColorFormatEnum_hslFunction) {
  52028. t2 = _this._alpha;
  52029. opaque = A.fuzzyEquals(t2, 1);
  52030. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  52031. visitor._writeNumber$1(_this.get$hue(_this));
  52032. t1.write$1(0, "deg");
  52033. t1.write$1(0, ", ");
  52034. visitor._writeNumber$1(_this.get$saturation(_this));
  52035. t1.writeCharCode$1(37);
  52036. t1.write$1(0, ", ");
  52037. visitor._writeNumber$1(_this.get$lightness(_this));
  52038. t1.writeCharCode$1(37);
  52039. if (!opaque) {
  52040. t1.write$1(0, ", ");
  52041. visitor._writeNumber$1(t2);
  52042. }
  52043. t1.writeCharCode$1(41);
  52044. } else
  52045. t1.write$1(0, type$.SpanColorFormat._as(format)._color$_span.get$text());
  52046. }
  52047. else {
  52048. t1 = $.$get$namesByColor();
  52049. if (t1.containsKey$1(_this) && !A.fuzzyEquals(_this._alpha, 0))
  52050. visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
  52051. else if (A.fuzzyEquals(_this._alpha, 1)) {
  52052. visitor._serialize$_buffer.writeCharCode$1(35);
  52053. visitor._writeHexComponent$1(_this.get$red(_this));
  52054. visitor._writeHexComponent$1(_this.get$green(_this));
  52055. visitor._writeHexComponent$1(_this.get$blue(_this));
  52056. } else
  52057. visitor._writeRgb$1(_this);
  52058. }
  52059. }
  52060. return null;
  52061. },
  52062. accept$1(visitor) {
  52063. return this.accept$1$1(visitor, type$.dynamic);
  52064. },
  52065. assertColor$1($name) {
  52066. return this;
  52067. },
  52068. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  52069. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  52070. },
  52071. changeRgb$3$blue$green$red(blue, green, red) {
  52072. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  52073. },
  52074. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  52075. var _this = this, _null = null,
  52076. t1 = hue == null ? _this.get$hue(_this) : hue,
  52077. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  52078. t3 = lightness == null ? _this.get$lightness(_this) : lightness,
  52079. t4 = alpha == null ? _this._alpha : alpha;
  52080. t1 = B.JSNumber_methods.$mod(t1, 360);
  52081. t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
  52082. t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
  52083. t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
  52084. return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
  52085. },
  52086. changeHsl$1$saturation(saturation) {
  52087. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  52088. },
  52089. changeHsl$1$lightness(lightness) {
  52090. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  52091. },
  52092. changeHsl$1$hue(hue) {
  52093. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  52094. },
  52095. changeAlpha$1(alpha) {
  52096. var _this = this;
  52097. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  52098. },
  52099. plus$1(other) {
  52100. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52101. return this.super$Value$plus(other);
  52102. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  52103. },
  52104. minus$1(other) {
  52105. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52106. return this.super$Value$minus(other);
  52107. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  52108. },
  52109. dividedBy$1(other) {
  52110. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52111. return this.super$Value$dividedBy(other);
  52112. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  52113. },
  52114. $eq(_, other) {
  52115. var _this = this;
  52116. if (other == null)
  52117. return false;
  52118. return other instanceof A.SassColor && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._alpha === _this._alpha;
  52119. },
  52120. get$hashCode(_) {
  52121. var _this = this;
  52122. return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
  52123. },
  52124. _rgbToHsl$0() {
  52125. var t2, lightness, _this = this,
  52126. scaledRed = _this.get$red(_this) / 255,
  52127. scaledGreen = _this.get$green(_this) / 255,
  52128. scaledBlue = _this.get$blue(_this) / 255,
  52129. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  52130. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  52131. delta = max - min,
  52132. t1 = max === min;
  52133. if (t1)
  52134. _this._hue = 0;
  52135. else if (max === scaledRed)
  52136. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  52137. else if (max === scaledGreen)
  52138. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  52139. else if (max === scaledBlue)
  52140. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  52141. t2 = max + min;
  52142. lightness = 50 * t2;
  52143. _this._lightness = lightness;
  52144. if (t1)
  52145. _this._saturation = 0;
  52146. else {
  52147. t1 = 100 * delta;
  52148. if (lightness < 50)
  52149. _this._saturation = t1 / t2;
  52150. else
  52151. _this._saturation = t1 / (2 - max - min);
  52152. }
  52153. },
  52154. _hslToRgb$0() {
  52155. var _this = this,
  52156. scaledHue = _this.get$hue(_this) / 360,
  52157. scaledSaturation = _this.get$saturation(_this) / 100,
  52158. scaledLightness = _this.get$lightness(_this) / 100,
  52159. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  52160. m1 = scaledLightness * 2 - m2;
  52161. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  52162. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  52163. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  52164. }
  52165. };
  52166. A.SassColor_SassColor$hwb_toRgb.prototype = {
  52167. call$1(hue) {
  52168. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  52169. },
  52170. $signature: 178
  52171. };
  52172. A._ColorFormatEnum.prototype = {
  52173. toString$0(_) {
  52174. return this._color$_name;
  52175. }
  52176. };
  52177. A.SpanColorFormat.prototype = {};
  52178. A.SassFunction.prototype = {
  52179. accept$1$1(visitor) {
  52180. var t1, t2;
  52181. if (!visitor._inspect)
  52182. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  52183. t1 = visitor._serialize$_buffer;
  52184. t1.write$1(0, "get-function(");
  52185. t2 = this.callable;
  52186. visitor._visitQuotedString$1(t2.get$name(t2));
  52187. t1.writeCharCode$1(41);
  52188. return null;
  52189. },
  52190. accept$1(visitor) {
  52191. return this.accept$1$1(visitor, type$.dynamic);
  52192. },
  52193. assertFunction$1($name) {
  52194. return this;
  52195. },
  52196. $eq(_, other) {
  52197. if (other == null)
  52198. return false;
  52199. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  52200. },
  52201. get$hashCode(_) {
  52202. var t1 = this.callable;
  52203. return t1.get$hashCode(t1);
  52204. }
  52205. };
  52206. A.SassList.prototype = {
  52207. get$separator(_) {
  52208. return this._separator;
  52209. },
  52210. get$hasBrackets() {
  52211. return this._hasBrackets;
  52212. },
  52213. get$isBlank() {
  52214. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  52215. },
  52216. get$asList() {
  52217. return this._list$_contents;
  52218. },
  52219. get$lengthAsList() {
  52220. return this._list$_contents.length;
  52221. },
  52222. SassList$3$brackets(contents, _separator, brackets) {
  52223. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  52224. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  52225. },
  52226. accept$1$1(visitor) {
  52227. return visitor.visitList$1(this);
  52228. },
  52229. accept$1(visitor) {
  52230. return this.accept$1$1(visitor, type$.dynamic);
  52231. },
  52232. assertMap$1($name) {
  52233. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  52234. },
  52235. tryMap$0() {
  52236. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  52237. },
  52238. $eq(_, other) {
  52239. var t1, _this = this;
  52240. if (other == null)
  52241. return false;
  52242. if (!(other instanceof A.SassList && other._separator === _this._separator && other._hasBrackets === _this._hasBrackets && B.C_ListEquality.equals$2(0, other._list$_contents, _this._list$_contents)))
  52243. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  52244. else
  52245. t1 = true;
  52246. return t1;
  52247. },
  52248. get$hashCode(_) {
  52249. return B.C_ListEquality0.hash$1(this._list$_contents);
  52250. }
  52251. };
  52252. A.SassList_isBlank_closure.prototype = {
  52253. call$1(element) {
  52254. return element.get$isBlank();
  52255. },
  52256. $signature: 62
  52257. };
  52258. A.ListSeparator.prototype = {
  52259. toString$0(_) {
  52260. return this._list$_name;
  52261. }
  52262. };
  52263. A.SassMap.prototype = {
  52264. get$separator(_) {
  52265. var t1 = this._map$_contents;
  52266. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  52267. },
  52268. get$asList() {
  52269. var result = A._setArrayType([], type$.JSArray_Value);
  52270. this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
  52271. return result;
  52272. },
  52273. get$lengthAsList() {
  52274. var t1 = this._map$_contents;
  52275. return t1.get$length(t1);
  52276. },
  52277. accept$1$1(visitor) {
  52278. return visitor.visitMap$1(this);
  52279. },
  52280. accept$1(visitor) {
  52281. return this.accept$1$1(visitor, type$.dynamic);
  52282. },
  52283. assertMap$1($name) {
  52284. return this;
  52285. },
  52286. tryMap$0() {
  52287. return this;
  52288. },
  52289. $eq(_, other) {
  52290. var t1;
  52291. if (other == null)
  52292. return false;
  52293. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  52294. t1 = this._map$_contents;
  52295. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  52296. } else
  52297. t1 = true;
  52298. return t1;
  52299. },
  52300. get$hashCode(_) {
  52301. var t1 = this._map$_contents;
  52302. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty7) : B.C_MapEquality.hash$1(t1);
  52303. }
  52304. };
  52305. A.SassMap_asList_closure.prototype = {
  52306. call$2(key, value) {
  52307. this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_EVt, false));
  52308. },
  52309. $signature: 60
  52310. };
  52311. A._SassNull.prototype = {
  52312. get$isTruthy() {
  52313. return false;
  52314. },
  52315. get$isBlank() {
  52316. return true;
  52317. },
  52318. get$realNull() {
  52319. return null;
  52320. },
  52321. accept$1$1(visitor) {
  52322. if (visitor._inspect)
  52323. visitor._serialize$_buffer.write$1(0, "null");
  52324. return null;
  52325. },
  52326. accept$1(visitor) {
  52327. return this.accept$1$1(visitor, type$.dynamic);
  52328. },
  52329. unaryNot$0() {
  52330. return B.SassBoolean_true;
  52331. }
  52332. };
  52333. A.SassNumber.prototype = {
  52334. get$unitString() {
  52335. var _this = this;
  52336. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  52337. },
  52338. accept$1$1(visitor) {
  52339. return visitor.visitNumber$1(this);
  52340. },
  52341. accept$1(visitor) {
  52342. return this.accept$1$1(visitor, type$.dynamic);
  52343. },
  52344. withoutSlash$0() {
  52345. var _this = this;
  52346. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  52347. },
  52348. assertNumber$1($name) {
  52349. return this;
  52350. },
  52351. assertNumber$0() {
  52352. return this.assertNumber$1(null);
  52353. },
  52354. assertInt$1($name) {
  52355. var integer = A.fuzzyAsInt(this._number$_value);
  52356. if (integer != null)
  52357. return integer;
  52358. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  52359. },
  52360. assertInt$0() {
  52361. return this.assertInt$1(null);
  52362. },
  52363. valueInRange$3(min, max, $name) {
  52364. var _this = this,
  52365. result = A.fuzzyCheckRange(_this._number$_value, min, max);
  52366. if (result != null)
  52367. return result;
  52368. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  52369. },
  52370. valueInRangeWithUnit$4(min, max, $name, unit) {
  52371. var result = A.fuzzyCheckRange(this._number$_value, min, max);
  52372. if (result != null)
  52373. return result;
  52374. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  52375. },
  52376. hasCompatibleUnits$1(other) {
  52377. var _this = this;
  52378. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  52379. return false;
  52380. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  52381. return false;
  52382. return _this.isComparableTo$1(other);
  52383. },
  52384. assertUnit$2(unit, $name) {
  52385. if (this.hasUnit$1(unit))
  52386. return;
  52387. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  52388. },
  52389. assertNoUnits$1($name) {
  52390. if (!this.get$hasUnits())
  52391. return;
  52392. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  52393. },
  52394. convertValueToMatch$3(other, $name, otherName) {
  52395. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  52396. },
  52397. coerce$3(newNumerators, newDenominators, $name) {
  52398. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  52399. },
  52400. coerce$2(newNumerators, newDenominators) {
  52401. return this.coerce$3(newNumerators, newDenominators, null);
  52402. },
  52403. coerceValue$3(newNumerators, newDenominators, $name) {
  52404. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  52405. },
  52406. coerceValueToUnit$2(unit, $name) {
  52407. var t1 = type$.JSArray_String;
  52408. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  52409. },
  52410. coerceValueToMatch$3(other, $name, otherName) {
  52411. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  52412. },
  52413. coerceValueToMatch$1(other) {
  52414. return this.coerceValueToMatch$3(other, null, null);
  52415. },
  52416. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  52417. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  52418. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  52419. return _this._number$_value;
  52420. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  52421. if (coerceUnitless)
  52422. t1 = !_this.get$hasUnits() || !otherHasUnits;
  52423. else
  52424. t1 = false;
  52425. if (t1)
  52426. return _this._number$_value;
  52427. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  52428. _box_0.value = _this._number$_value;
  52429. t1 = _this.get$numeratorUnits(_this);
  52430. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52431. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  52432. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  52433. t1 = _this.get$denominatorUnits(_this);
  52434. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52435. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  52436. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  52437. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  52438. throw A.wrapException(compatibilityException.call$0());
  52439. return _box_0.value;
  52440. },
  52441. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  52442. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  52443. },
  52444. isComparableTo$1(other) {
  52445. var exception;
  52446. if (!this.get$hasUnits() || !other.get$hasUnits())
  52447. return true;
  52448. try {
  52449. this.greaterThan$1(other);
  52450. return true;
  52451. } catch (exception) {
  52452. if (A.unwrapException(exception) instanceof A.SassScriptException)
  52453. return false;
  52454. else
  52455. throw exception;
  52456. }
  52457. },
  52458. greaterThan$1(other) {
  52459. if (other instanceof A.SassNumber)
  52460. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52461. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  52462. },
  52463. greaterThanOrEquals$1(other) {
  52464. if (other instanceof A.SassNumber)
  52465. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52466. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  52467. },
  52468. lessThan$1(other) {
  52469. if (other instanceof A.SassNumber)
  52470. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52471. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  52472. },
  52473. lessThanOrEquals$1(other) {
  52474. if (other instanceof A.SassNumber)
  52475. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52476. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  52477. },
  52478. modulo$1(other) {
  52479. if (other instanceof A.SassNumber)
  52480. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  52481. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  52482. },
  52483. plus$1(other) {
  52484. var _this = this;
  52485. if (other instanceof A.SassNumber)
  52486. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  52487. if (!(other instanceof A.SassColor))
  52488. return _this.super$Value$plus(other);
  52489. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  52490. },
  52491. minus$1(other) {
  52492. var _this = this;
  52493. if (other instanceof A.SassNumber)
  52494. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  52495. if (!(other instanceof A.SassColor))
  52496. return _this.super$Value$minus(other);
  52497. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  52498. },
  52499. times$1(other) {
  52500. var _this = this;
  52501. if (other instanceof A.SassNumber) {
  52502. if (!other.get$hasUnits())
  52503. return _this.withValue$1(_this._number$_value * other._number$_value);
  52504. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  52505. }
  52506. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  52507. },
  52508. dividedBy$1(other) {
  52509. var _this = this;
  52510. if (other instanceof A.SassNumber) {
  52511. if (!other.get$hasUnits())
  52512. return _this.withValue$1(_this._number$_value / other._number$_value);
  52513. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  52514. }
  52515. return _this.super$Value$dividedBy(other);
  52516. },
  52517. unaryPlus$0() {
  52518. return this;
  52519. },
  52520. _coerceUnits$1$2(other, operation) {
  52521. var t1, exception;
  52522. try {
  52523. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  52524. return t1;
  52525. } catch (exception) {
  52526. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  52527. this.coerceValueToMatch$1(other);
  52528. throw exception;
  52529. } else
  52530. throw exception;
  52531. }
  52532. },
  52533. _coerceUnits$2(other, operation) {
  52534. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  52535. },
  52536. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  52537. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  52538. _box_0.value = value;
  52539. if (_this.get$numeratorUnits(_this).length === 0) {
  52540. if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  52541. return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
  52542. else if (_this.get$denominatorUnits(_this).length === 0)
  52543. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
  52544. } else if (otherNumerators.length === 0)
  52545. if (otherDenominators.length === 0)
  52546. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  52547. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  52548. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  52549. newNumerators = A._setArrayType([], type$.JSArray_String);
  52550. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  52551. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  52552. numerator = t1[_i];
  52553. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  52554. }
  52555. t1 = _this.get$denominatorUnits(_this);
  52556. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52557. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  52558. numerator = otherNumerators[_i];
  52559. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  52560. }
  52561. t1 = _box_0.value;
  52562. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  52563. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  52564. },
  52565. _areAnyConvertible$2(units1, units2) {
  52566. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  52567. },
  52568. _unitString$2(numerators, denominators) {
  52569. var t1;
  52570. if (numerators.length === 0) {
  52571. t1 = denominators.length;
  52572. if (t1 === 0)
  52573. return "no units";
  52574. if (t1 === 1)
  52575. return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
  52576. return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  52577. }
  52578. if (denominators.length === 0)
  52579. return B.JSArray_methods.join$1(numerators, "*");
  52580. return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  52581. },
  52582. $eq(_, other) {
  52583. var _this = this;
  52584. if (other == null)
  52585. return false;
  52586. if (other instanceof A.SassNumber) {
  52587. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  52588. return false;
  52589. if (!_this.get$hasUnits())
  52590. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  52591. if (!B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._canonicalizeUnitList$1(other.get$denominatorUnits(other))))
  52592. return false;
  52593. return A.fuzzyEquals(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this)), other._number$_value * _this._canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._canonicalMultiplier$1(other.get$denominatorUnits(other)));
  52594. } else
  52595. return false;
  52596. },
  52597. get$hashCode(_) {
  52598. var _this = this,
  52599. t1 = _this.hashCache;
  52600. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this._canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
  52601. },
  52602. _canonicalizeUnitList$1(units) {
  52603. var type,
  52604. t1 = units.length;
  52605. if (t1 === 0)
  52606. return units;
  52607. if (t1 === 1) {
  52608. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  52609. if (type == null)
  52610. t1 = units;
  52611. else {
  52612. t1 = B.Map_U8AHF.$index(0, type);
  52613. t1.toString;
  52614. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  52615. }
  52616. return t1;
  52617. }
  52618. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  52619. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  52620. B.JSArray_methods.sort$0(t1);
  52621. return t1;
  52622. },
  52623. _canonicalMultiplier$1(units) {
  52624. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  52625. },
  52626. canonicalMultiplierForUnit$1(unit) {
  52627. var t1,
  52628. innerMap = B.Map_K2BWj.$index(0, unit);
  52629. if (innerMap == null)
  52630. t1 = 1;
  52631. else {
  52632. t1 = innerMap.get$values(innerMap);
  52633. t1 = 1 / t1.get$first(t1);
  52634. }
  52635. return t1;
  52636. }
  52637. };
  52638. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  52639. call$0() {
  52640. var t2, t3, message, t4, type, unit, _this = this,
  52641. t1 = _this.other;
  52642. if (t1 != null) {
  52643. t2 = _this.$this;
  52644. t3 = t2.toString$0(0) + " and";
  52645. message = new A.StringBuffer(t3);
  52646. t4 = _this.otherName;
  52647. if (t4 != null)
  52648. t3 = message._contents = t3 + (" $" + t4 + ":");
  52649. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  52650. message._contents = t1;
  52651. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  52652. message._contents = t1 + " (one has units and the other doesn't)";
  52653. t1 = message.toString$0(0) + ".";
  52654. t2 = _this.name;
  52655. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  52656. } else if (!_this.otherHasUnits) {
  52657. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  52658. t2 = _this.name;
  52659. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  52660. } else {
  52661. t1 = _this.newNumerators;
  52662. if (t1.length === 1 && _this.newDenominators.length === 0) {
  52663. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  52664. if (type != null) {
  52665. t1 = _this.$this.toString$0(0);
  52666. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type;
  52667. t3 = B.Map_U8AHF.$index(0, type);
  52668. t3.toString;
  52669. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  52670. t2 = _this.name;
  52671. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  52672. }
  52673. }
  52674. t2 = _this.newDenominators;
  52675. unit = A.pluralize("unit", t1.length + t2.length, null);
  52676. t3 = _this.$this;
  52677. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  52678. t1 = _this.name;
  52679. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  52680. }
  52681. },
  52682. $signature: 371
  52683. };
  52684. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  52685. call$1(oldNumerator) {
  52686. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  52687. if (factor == null)
  52688. return false;
  52689. this._box_0.value *= factor;
  52690. return true;
  52691. },
  52692. $signature: 8
  52693. };
  52694. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  52695. call$0() {
  52696. return A.throwExpression(this.compatibilityException.call$0());
  52697. },
  52698. $signature: 0
  52699. };
  52700. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  52701. call$1(oldDenominator) {
  52702. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  52703. if (factor == null)
  52704. return false;
  52705. this._box_0.value /= factor;
  52706. return true;
  52707. },
  52708. $signature: 8
  52709. };
  52710. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  52711. call$0() {
  52712. return A.throwExpression(this.compatibilityException.call$0());
  52713. },
  52714. $signature: 0
  52715. };
  52716. A.SassNumber_plus_closure.prototype = {
  52717. call$2(num1, num2) {
  52718. return num1 + num2;
  52719. },
  52720. $signature: 57
  52721. };
  52722. A.SassNumber_minus_closure.prototype = {
  52723. call$2(num1, num2) {
  52724. return num1 - num2;
  52725. },
  52726. $signature: 57
  52727. };
  52728. A.SassNumber_multiplyUnits_closure.prototype = {
  52729. call$1(denominator) {
  52730. var factor = A.conversionFactor(this.numerator, denominator);
  52731. if (factor == null)
  52732. return false;
  52733. this._box_0.value /= factor;
  52734. return true;
  52735. },
  52736. $signature: 8
  52737. };
  52738. A.SassNumber_multiplyUnits_closure0.prototype = {
  52739. call$0() {
  52740. return this.newNumerators.push(this.numerator);
  52741. },
  52742. $signature: 0
  52743. };
  52744. A.SassNumber_multiplyUnits_closure1.prototype = {
  52745. call$1(denominator) {
  52746. var factor = A.conversionFactor(this.numerator, denominator);
  52747. if (factor == null)
  52748. return false;
  52749. this._box_0.value /= factor;
  52750. return true;
  52751. },
  52752. $signature: 8
  52753. };
  52754. A.SassNumber_multiplyUnits_closure2.prototype = {
  52755. call$0() {
  52756. return this.newNumerators.push(this.numerator);
  52757. },
  52758. $signature: 0
  52759. };
  52760. A.SassNumber__areAnyConvertible_closure.prototype = {
  52761. call$1(unit1) {
  52762. var innerMap = B.Map_K2BWj.$index(0, unit1);
  52763. if (innerMap == null)
  52764. return B.JSArray_methods.contains$1(this.units2, unit1);
  52765. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  52766. },
  52767. $signature: 8
  52768. };
  52769. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  52770. call$1(unit) {
  52771. var t1,
  52772. type = $.$get$_typesByUnit().$index(0, unit);
  52773. if (type == null)
  52774. t1 = unit;
  52775. else {
  52776. t1 = B.Map_U8AHF.$index(0, type);
  52777. t1.toString;
  52778. t1 = B.JSArray_methods.get$first(t1);
  52779. }
  52780. return t1;
  52781. },
  52782. $signature: 5
  52783. };
  52784. A.SassNumber__canonicalMultiplier_closure.prototype = {
  52785. call$2(multiplier, unit) {
  52786. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  52787. },
  52788. $signature: 182
  52789. };
  52790. A.ComplexSassNumber.prototype = {
  52791. get$numeratorUnits(_) {
  52792. return this._numeratorUnits;
  52793. },
  52794. get$denominatorUnits(_) {
  52795. return this._denominatorUnits;
  52796. },
  52797. get$hasUnits() {
  52798. return true;
  52799. },
  52800. hasUnit$1(unit) {
  52801. return false;
  52802. },
  52803. compatibleWithUnit$1(unit) {
  52804. return false;
  52805. },
  52806. hasPossiblyCompatibleUnits$1(other) {
  52807. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  52808. },
  52809. withValue$1(value) {
  52810. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  52811. },
  52812. withSlash$2(numerator, denominator) {
  52813. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52814. }
  52815. };
  52816. A.SingleUnitSassNumber.prototype = {
  52817. get$numeratorUnits(_) {
  52818. return A.List_List$unmodifiable([this._unit], type$.String);
  52819. },
  52820. get$denominatorUnits(_) {
  52821. return B.List_empty;
  52822. },
  52823. get$hasUnits() {
  52824. return true;
  52825. },
  52826. withValue$1(value) {
  52827. return new A.SingleUnitSassNumber(this._unit, value, null);
  52828. },
  52829. withSlash$2(numerator, denominator) {
  52830. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52831. },
  52832. hasUnit$1(unit) {
  52833. return unit === this._unit;
  52834. },
  52835. hasCompatibleUnits$1(other) {
  52836. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  52837. },
  52838. hasPossiblyCompatibleUnits$1(other) {
  52839. var t1, knownCompatibilities, otherUnit;
  52840. if (!(other instanceof A.SingleUnitSassNumber))
  52841. return false;
  52842. t1 = $.$get$_knownCompatibilitiesByUnit();
  52843. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  52844. if (knownCompatibilities == null)
  52845. return true;
  52846. otherUnit = other._unit.toLowerCase();
  52847. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  52848. },
  52849. compatibleWithUnit$1(unit) {
  52850. return A.conversionFactor(this._unit, unit) != null;
  52851. },
  52852. coerceValueToMatch$1(other) {
  52853. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  52854. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
  52855. },
  52856. convertValueToMatch$3(other, $name, otherName) {
  52857. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  52858. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  52859. },
  52860. coerce$2(newNumerators, newDenominators) {
  52861. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  52862. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  52863. },
  52864. coerceValue$3(newNumerators, newDenominators, $name) {
  52865. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  52866. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  52867. },
  52868. coerceValueToUnit$2(unit, $name) {
  52869. var t1 = this._coerceValueToUnit$1(unit);
  52870. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  52871. },
  52872. _coerceToUnit$1(unit) {
  52873. var t1 = this._unit;
  52874. if (t1 === unit)
  52875. return this;
  52876. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  52877. },
  52878. _coerceValueToUnit$1(unit) {
  52879. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  52880. },
  52881. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  52882. var mutableOtherDenominators, t1 = {};
  52883. t1.value = value;
  52884. t1.newNumerators = otherNumerators;
  52885. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  52886. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  52887. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  52888. },
  52889. unaryMinus$0() {
  52890. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  52891. },
  52892. $eq(_, other) {
  52893. var factor;
  52894. if (other == null)
  52895. return false;
  52896. if (other instanceof A.SingleUnitSassNumber) {
  52897. factor = A.conversionFactor(other._unit, this._unit);
  52898. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  52899. } else
  52900. return false;
  52901. },
  52902. get$hashCode(_) {
  52903. var _this = this,
  52904. t1 = _this.hashCache;
  52905. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  52906. }
  52907. };
  52908. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  52909. call$1(factor) {
  52910. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  52911. },
  52912. $signature: 381
  52913. };
  52914. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  52915. call$1(factor) {
  52916. return this.$this._number$_value * factor;
  52917. },
  52918. $signature: 29
  52919. };
  52920. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  52921. call$1(denominator) {
  52922. var factor = A.conversionFactor(denominator, this.$this._unit);
  52923. if (factor == null)
  52924. return false;
  52925. this._box_0.value *= factor;
  52926. return true;
  52927. },
  52928. $signature: 8
  52929. };
  52930. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  52931. call$0() {
  52932. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  52933. t2 = this._box_0;
  52934. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  52935. t2.newNumerators = t1;
  52936. },
  52937. $signature: 0
  52938. };
  52939. A.UnitlessSassNumber.prototype = {
  52940. get$numeratorUnits(_) {
  52941. return B.List_empty;
  52942. },
  52943. get$denominatorUnits(_) {
  52944. return B.List_empty;
  52945. },
  52946. get$hasUnits() {
  52947. return false;
  52948. },
  52949. withValue$1(value) {
  52950. return new A.UnitlessSassNumber(value, null);
  52951. },
  52952. withSlash$2(numerator, denominator) {
  52953. return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52954. },
  52955. hasUnit$1(unit) {
  52956. return false;
  52957. },
  52958. hasCompatibleUnits$1(other) {
  52959. return other instanceof A.UnitlessSassNumber;
  52960. },
  52961. hasPossiblyCompatibleUnits$1(other) {
  52962. return other instanceof A.UnitlessSassNumber;
  52963. },
  52964. compatibleWithUnit$1(unit) {
  52965. return true;
  52966. },
  52967. coerceValueToMatch$1(other) {
  52968. return this._number$_value;
  52969. },
  52970. convertValueToMatch$3(other, $name, otherName) {
  52971. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  52972. },
  52973. coerce$2(newNumerators, newDenominators) {
  52974. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  52975. },
  52976. coerceValue$3(newNumerators, newDenominators, $name) {
  52977. return this._number$_value;
  52978. },
  52979. coerceValueToUnit$2(unit, $name) {
  52980. return this._number$_value;
  52981. },
  52982. greaterThan$1(other) {
  52983. var t1, t2;
  52984. if (other instanceof A.SassNumber) {
  52985. t1 = this._number$_value;
  52986. t2 = other._number$_value;
  52987. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  52988. }
  52989. return this.super$SassNumber$greaterThan(other);
  52990. },
  52991. greaterThanOrEquals$1(other) {
  52992. var t1, t2;
  52993. if (other instanceof A.SassNumber) {
  52994. t1 = this._number$_value;
  52995. t2 = other._number$_value;
  52996. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  52997. }
  52998. return this.super$SassNumber$greaterThanOrEquals(other);
  52999. },
  53000. lessThan$1(other) {
  53001. var t1, t2;
  53002. if (other instanceof A.SassNumber) {
  53003. t1 = this._number$_value;
  53004. t2 = other._number$_value;
  53005. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53006. }
  53007. return this.super$SassNumber$lessThan(other);
  53008. },
  53009. lessThanOrEquals$1(other) {
  53010. var t1, t2;
  53011. if (other instanceof A.SassNumber) {
  53012. t1 = this._number$_value;
  53013. t2 = other._number$_value;
  53014. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53015. }
  53016. return this.super$SassNumber$lessThanOrEquals(other);
  53017. },
  53018. modulo$1(other) {
  53019. if (other instanceof A.SassNumber)
  53020. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  53021. return this.super$SassNumber$modulo(other);
  53022. },
  53023. plus$1(other) {
  53024. if (other instanceof A.SassNumber)
  53025. return other.withValue$1(this._number$_value + other._number$_value);
  53026. return this.super$SassNumber$plus(other);
  53027. },
  53028. minus$1(other) {
  53029. if (other instanceof A.SassNumber)
  53030. return other.withValue$1(this._number$_value - other._number$_value);
  53031. return this.super$SassNumber$minus(other);
  53032. },
  53033. times$1(other) {
  53034. if (other instanceof A.SassNumber)
  53035. return other.withValue$1(this._number$_value * other._number$_value);
  53036. return this.super$SassNumber$times(other);
  53037. },
  53038. dividedBy$1(other) {
  53039. var t1, t2;
  53040. if (other instanceof A.SassNumber) {
  53041. t1 = this._number$_value / other._number$_value;
  53042. if (other.get$hasUnits()) {
  53043. t2 = other.get$denominatorUnits(other);
  53044. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  53045. t1 = t2;
  53046. } else
  53047. t1 = new A.UnitlessSassNumber(t1, null);
  53048. return t1;
  53049. }
  53050. return this.super$SassNumber$dividedBy(other);
  53051. },
  53052. unaryMinus$0() {
  53053. return new A.UnitlessSassNumber(-this._number$_value, null);
  53054. },
  53055. $eq(_, other) {
  53056. if (other == null)
  53057. return false;
  53058. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  53059. },
  53060. get$hashCode(_) {
  53061. var t1 = this.hashCache;
  53062. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  53063. }
  53064. };
  53065. A.SassString.prototype = {
  53066. get$_sassLength() {
  53067. var t1, result, _this = this,
  53068. value = _this.__SassString__sassLength_FI;
  53069. if (value === $) {
  53070. t1 = new A.Runes(_this._string$_text);
  53071. result = t1.get$length(t1);
  53072. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  53073. _this.__SassString__sassLength_FI = result;
  53074. value = result;
  53075. }
  53076. return value;
  53077. },
  53078. get$isSpecialNumber() {
  53079. var t1, t2;
  53080. if (this._hasQuotes)
  53081. return false;
  53082. t1 = this._string$_text;
  53083. if (t1.length < 6)
  53084. return false;
  53085. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  53086. if (t2 === 99) {
  53087. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  53088. if (t2 === 108) {
  53089. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  53090. return false;
  53091. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  53092. return false;
  53093. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  53094. return false;
  53095. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  53096. } else if (t2 === 97) {
  53097. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  53098. return false;
  53099. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  53100. return false;
  53101. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  53102. } else
  53103. return false;
  53104. } else if (t2 === 118) {
  53105. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  53106. return false;
  53107. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  53108. return false;
  53109. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53110. } else if (t2 === 101) {
  53111. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  53112. return false;
  53113. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  53114. return false;
  53115. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53116. } else if (t2 === 109) {
  53117. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  53118. if (t2 === 97) {
  53119. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  53120. return false;
  53121. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53122. } else if (t2 === 105) {
  53123. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  53124. return false;
  53125. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53126. } else
  53127. return false;
  53128. } else
  53129. return false;
  53130. },
  53131. get$isVar() {
  53132. if (this._hasQuotes)
  53133. return false;
  53134. var t1 = this._string$_text;
  53135. if (t1.length < 8)
  53136. return false;
  53137. return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53138. },
  53139. get$isBlank() {
  53140. return !this._hasQuotes && this._string$_text.length === 0;
  53141. },
  53142. accept$1$1(visitor) {
  53143. var t1 = visitor._quote && this._hasQuotes,
  53144. t2 = this._string$_text;
  53145. if (t1)
  53146. visitor._visitQuotedString$1(t2);
  53147. else
  53148. visitor._visitUnquotedString$1(t2);
  53149. return null;
  53150. },
  53151. accept$1(visitor) {
  53152. return this.accept$1$1(visitor, type$.dynamic);
  53153. },
  53154. assertString$1($name) {
  53155. return this;
  53156. },
  53157. plus$1(other) {
  53158. var t1 = this._string$_text,
  53159. t2 = this._hasQuotes;
  53160. if (other instanceof A.SassString)
  53161. return new A.SassString(t1 + other._string$_text, t2);
  53162. else
  53163. return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  53164. },
  53165. $eq(_, other) {
  53166. if (other == null)
  53167. return false;
  53168. return other instanceof A.SassString && this._string$_text === other._string$_text;
  53169. },
  53170. get$hashCode(_) {
  53171. var t1 = this._hashCache;
  53172. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  53173. }
  53174. };
  53175. A.AnySelectorVisitor.prototype = {
  53176. visitComplexSelector$1(complex) {
  53177. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  53178. },
  53179. visitCompoundSelector$1(compound) {
  53180. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  53181. },
  53182. visitPseudoSelector$1(pseudo) {
  53183. var selector = pseudo.selector;
  53184. return selector == null ? false : this.visitSelectorList$1(selector);
  53185. },
  53186. visitSelectorList$1(list) {
  53187. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  53188. },
  53189. visitAttributeSelector$1(attribute) {
  53190. return false;
  53191. },
  53192. visitClassSelector$1(klass) {
  53193. return false;
  53194. },
  53195. visitIDSelector$1(id) {
  53196. return false;
  53197. },
  53198. visitParentSelector$1($parent) {
  53199. return false;
  53200. },
  53201. visitPlaceholderSelector$1(placeholder) {
  53202. return false;
  53203. },
  53204. visitTypeSelector$1(type) {
  53205. return false;
  53206. },
  53207. visitUniversalSelector$1(universal) {
  53208. return false;
  53209. }
  53210. };
  53211. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  53212. call$1(component) {
  53213. return this.$this.visitCompoundSelector$1(component.selector);
  53214. },
  53215. $signature: 45
  53216. };
  53217. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  53218. call$1(simple) {
  53219. return simple.accept$1(this.$this);
  53220. },
  53221. $signature: 14
  53222. };
  53223. A._EvaluateVisitor0.prototype = {
  53224. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  53225. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  53226. _s20_ = "$name, $module: null",
  53227. _s9_ = "sass:meta",
  53228. t1 = type$.JSArray_AsyncBuiltInCallable,
  53229. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure9(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure10(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure11(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure16(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure17(_this))], t1),
  53230. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
  53231. t1 = type$.AsyncBuiltInCallable;
  53232. t2 = A.List_List$of($.$get$global(), true, t1);
  53233. B.JSArray_methods.addAll$1(t2, $.$get$local());
  53234. B.JSArray_methods.addAll$1(t2, metaFunctions);
  53235. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  53236. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncBuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53237. module = t1[_i];
  53238. t3.$indexSet(0, module.url, module);
  53239. }
  53240. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  53241. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  53242. B.JSArray_methods.addAll$1(t1, metaFunctions);
  53243. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53244. $function = t1[_i];
  53245. t4 = J.get$name$x($function);
  53246. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  53247. }
  53248. },
  53249. run$2(_, importer, node) {
  53250. return this.run$body$_EvaluateVisitor(0, importer, node);
  53251. },
  53252. run$body$_EvaluateVisitor(_, importer, node) {
  53253. var $async$goto = 0,
  53254. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  53255. $async$returnValue, $async$self = this, t1;
  53256. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53257. if ($async$errorCode === 1)
  53258. return A._asyncRethrow($async$result, $async$completer);
  53259. while (true)
  53260. switch ($async$goto) {
  53261. case 0:
  53262. // Function start
  53263. t1 = type$.nullable_Object;
  53264. $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult);
  53265. // goto return
  53266. $async$goto = 1;
  53267. break;
  53268. case 1:
  53269. // return
  53270. return A._asyncReturn($async$returnValue, $async$completer);
  53271. }
  53272. });
  53273. return A._asyncStartSync($async$run$2, $async$completer);
  53274. },
  53275. _async_evaluate$_assertInModule$1$2(value, $name) {
  53276. if (value != null)
  53277. return value;
  53278. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  53279. },
  53280. _async_evaluate$_assertInModule$2(value, $name) {
  53281. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  53282. },
  53283. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  53284. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  53285. },
  53286. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  53287. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  53288. },
  53289. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  53290. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  53291. },
  53292. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  53293. var $async$goto = 0,
  53294. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  53295. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  53296. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53297. if ($async$errorCode === 1)
  53298. return A._asyncRethrow($async$result, $async$completer);
  53299. while (true)
  53300. switch ($async$goto) {
  53301. case 0:
  53302. // Function start
  53303. builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
  53304. $async$goto = builtInModule != null ? 3 : 4;
  53305. break;
  53306. case 3:
  53307. // then
  53308. if (configuration instanceof A.ExplicitConfiguration) {
  53309. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  53310. t2 = configuration.nodeWithSpan;
  53311. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  53312. }
  53313. $async$goto = 5;
  53314. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(callback, builtInModule), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  53315. case 5:
  53316. // returning from await.
  53317. // goto return
  53318. $async$goto = 1;
  53319. break;
  53320. case 4:
  53321. // join
  53322. $async$goto = 6;
  53323. return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure2($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  53324. case 6:
  53325. // returning from await.
  53326. case 1:
  53327. // return
  53328. return A._asyncReturn($async$returnValue, $async$completer);
  53329. }
  53330. });
  53331. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  53332. },
  53333. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  53334. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  53335. },
  53336. _async_evaluate$_execute$2(importer, stylesheet) {
  53337. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  53338. },
  53339. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  53340. var $async$goto = 0,
  53341. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  53342. $async$returnValue, $async$self = this, alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, t1, url;
  53343. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53344. if ($async$errorCode === 1)
  53345. return A._asyncRethrow($async$result, $async$completer);
  53346. while (true)
  53347. switch ($async$goto) {
  53348. case 0:
  53349. // Function start
  53350. t1 = stylesheet.span;
  53351. url = t1.get$sourceUrl(t1);
  53352. t1 = $async$self._async_evaluate$_modules;
  53353. alreadyLoaded = t1.$index(0, url);
  53354. if (alreadyLoaded != null) {
  53355. t1 = configuration == null;
  53356. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  53357. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  53358. t3 = t2.__originalConfiguration;
  53359. t2 = t3 == null ? t2 : t3;
  53360. t3 = currentConfiguration.__originalConfiguration;
  53361. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  53362. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  53363. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  53364. existingSpan = t2 == null ? null : J.get$span$z(t2);
  53365. if (t1) {
  53366. t1 = currentConfiguration.nodeWithSpan;
  53367. configurationSpan = t1.get$span(t1);
  53368. } else
  53369. configurationSpan = null;
  53370. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  53371. if (existingSpan != null)
  53372. t1.$indexSet(0, existingSpan, "original load");
  53373. if (configurationSpan != null)
  53374. t1.$indexSet(0, configurationSpan, "configuration");
  53375. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  53376. }
  53377. $async$returnValue = alreadyLoaded;
  53378. // goto return
  53379. $async$goto = 1;
  53380. break;
  53381. }
  53382. environment = A.AsyncEnvironment$();
  53383. css = A._Cell$();
  53384. extensionStore = A.ExtensionStore$();
  53385. $async$goto = 3;
  53386. return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
  53387. case 3:
  53388. // returning from await.
  53389. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  53390. if (url != null) {
  53391. t1.$indexSet(0, url, module);
  53392. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  53393. if (nodeWithSpan != null)
  53394. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  53395. }
  53396. $async$returnValue = module;
  53397. // goto return
  53398. $async$goto = 1;
  53399. break;
  53400. case 1:
  53401. // return
  53402. return A._asyncReturn($async$returnValue, $async$completer);
  53403. }
  53404. });
  53405. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  53406. },
  53407. _async_evaluate$_addOutOfOrderImports$0() {
  53408. var t1, t2, _this = this, _s5_ = "_root",
  53409. _s13_ = "_endOfImports",
  53410. outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
  53411. if (outOfOrderImports == null)
  53412. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53413. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53414. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
  53415. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  53416. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53417. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  53418. return t1;
  53419. },
  53420. _async_evaluate$_combineCss$2$clone(root, clone) {
  53421. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  53422. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
  53423. selectors = root.get$extensionStore().get$simpleSelectors();
  53424. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
  53425. if (unsatisfiedExtension != null)
  53426. _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  53427. return root.get$css(root);
  53428. }
  53429. sortedModules = _this._async_evaluate$_topologicalModules$1(root);
  53430. if (clone) {
  53431. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
  53432. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
  53433. }
  53434. _this._async_evaluate$_extendModules$1(sortedModules);
  53435. t1 = type$.JSArray_CssNode;
  53436. imports = A._setArrayType([], t1);
  53437. css = A._setArrayType([], t1);
  53438. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  53439. t3 = t1.__internal$_current;
  53440. if (t3 == null)
  53441. t3 = t2._as(t3);
  53442. t3 = t3.get$css(t3);
  53443. statements = t3.get$children(t3);
  53444. index = _this._async_evaluate$_indexAfterImports$1(statements);
  53445. t3 = J.getInterceptor$ax(statements);
  53446. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  53447. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  53448. }
  53449. t1 = B.JSArray_methods.$add(imports, css);
  53450. t2 = root.get$css(root);
  53451. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  53452. },
  53453. _async_evaluate$_combineCss$1(root) {
  53454. return this._async_evaluate$_combineCss$2$clone(root, false);
  53455. },
  53456. _async_evaluate$_extendModules$1(sortedModules) {
  53457. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  53458. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  53459. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  53460. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  53461. t2 = t1.get$current(t1);
  53462. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  53463. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  53464. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  53465. t3 = t2.get$extensionStore().get$addExtensions();
  53466. if ($self != null)
  53467. t3.call$1($self);
  53468. t3 = t2.get$extensionStore();
  53469. if (t3.get$isEmpty(t3))
  53470. continue;
  53471. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  53472. upstream = t3[_i];
  53473. url = upstream.get$url(upstream);
  53474. if (url == null)
  53475. continue;
  53476. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
  53477. }
  53478. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  53479. }
  53480. if (unsatisfiedExtensions._collection$_length !== 0)
  53481. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  53482. },
  53483. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  53484. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  53485. },
  53486. _async_evaluate$_topologicalModules$1(root) {
  53487. var t1 = type$.Module_AsyncCallable,
  53488. sorted = A.QueueList$(null, t1);
  53489. new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  53490. return sorted;
  53491. },
  53492. _async_evaluate$_indexAfterImports$1(statements) {
  53493. var t1, t2, t3, lastImport, i, statement;
  53494. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  53495. statement = t1.$index(statements, i);
  53496. if (t3._is(statement))
  53497. lastImport = i;
  53498. else if (!t2._is(statement))
  53499. break;
  53500. }
  53501. return lastImport + 1;
  53502. },
  53503. visitStylesheet$1(node) {
  53504. return this.visitStylesheet$body$_EvaluateVisitor(node);
  53505. },
  53506. visitStylesheet$body$_EvaluateVisitor(node) {
  53507. var $async$goto = 0,
  53508. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53509. $async$returnValue, $async$self = this, t1, t2, _i;
  53510. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53511. if ($async$errorCode === 1)
  53512. return A._asyncRethrow($async$result, $async$completer);
  53513. while (true)
  53514. switch ($async$goto) {
  53515. case 0:
  53516. // Function start
  53517. t1 = node.children, t2 = t1.length, _i = 0;
  53518. case 3:
  53519. // for condition
  53520. if (!(_i < t2)) {
  53521. // goto after for
  53522. $async$goto = 5;
  53523. break;
  53524. }
  53525. $async$goto = 6;
  53526. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  53527. case 6:
  53528. // returning from await.
  53529. case 4:
  53530. // for update
  53531. ++_i;
  53532. // goto for condition
  53533. $async$goto = 3;
  53534. break;
  53535. case 5:
  53536. // after for
  53537. $async$returnValue = null;
  53538. // goto return
  53539. $async$goto = 1;
  53540. break;
  53541. case 1:
  53542. // return
  53543. return A._asyncReturn($async$returnValue, $async$completer);
  53544. }
  53545. });
  53546. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  53547. },
  53548. visitAtRootRule$1(node) {
  53549. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  53550. },
  53551. visitAtRootRule$body$_EvaluateVisitor(node) {
  53552. var $async$goto = 0,
  53553. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53554. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
  53555. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53556. if ($async$errorCode === 1)
  53557. return A._asyncRethrow($async$result, $async$completer);
  53558. while (true)
  53559. switch ($async$goto) {
  53560. case 0:
  53561. // Function start
  53562. unparsedQuery = node.query;
  53563. $async$goto = unparsedQuery != null ? 3 : 5;
  53564. break;
  53565. case 3:
  53566. // then
  53567. $async$temp1 = unparsedQuery;
  53568. $async$temp2 = A;
  53569. $async$goto = 6;
  53570. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  53571. case 6:
  53572. // returning from await.
  53573. $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
  53574. // goto join
  53575. $async$goto = 4;
  53576. break;
  53577. case 5:
  53578. // else
  53579. $async$result = B.AtRootQuery_UsS;
  53580. case 4:
  53581. // join
  53582. query = $async$result;
  53583. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  53584. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  53585. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  53586. if (!query.excludes$1($parent))
  53587. included.push($parent);
  53588. grandparent = $parent._parent;
  53589. if (grandparent == null)
  53590. throw A.wrapException(A.StateError$(string$.CssNod));
  53591. }
  53592. root = $async$self._async_evaluate$_trimIncluded$1(included);
  53593. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  53594. break;
  53595. case 7:
  53596. // then
  53597. $async$goto = 9;
  53598. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  53599. case 9:
  53600. // returning from await.
  53601. $async$returnValue = null;
  53602. // goto return
  53603. $async$goto = 1;
  53604. break;
  53605. case 8:
  53606. // join
  53607. if (included.length !== 0) {
  53608. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  53609. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  53610. t3 = t1.__internal$_current;
  53611. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  53612. copy.addChild$1(outerCopy);
  53613. }
  53614. root.addChild$1(outerCopy);
  53615. } else
  53616. innerCopy = root;
  53617. $async$goto = 10;
  53618. return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4($async$self, node)), $async$visitAtRootRule$1);
  53619. case 10:
  53620. // returning from await.
  53621. $async$returnValue = null;
  53622. // goto return
  53623. $async$goto = 1;
  53624. break;
  53625. case 1:
  53626. // return
  53627. return A._asyncReturn($async$returnValue, $async$completer);
  53628. }
  53629. });
  53630. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  53631. },
  53632. _async_evaluate$_trimIncluded$1(nodes) {
  53633. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  53634. _s22_ = " to be an ancestor of ";
  53635. if (nodes.length === 0)
  53636. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  53637. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  53638. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  53639. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  53640. grandparent = $parent._parent;
  53641. if (grandparent == null)
  53642. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  53643. }
  53644. if (innermostContiguous == null)
  53645. innermostContiguous = i;
  53646. grandparent = $parent._parent;
  53647. if (grandparent == null)
  53648. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  53649. }
  53650. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  53651. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  53652. innermostContiguous.toString;
  53653. root = nodes[innermostContiguous];
  53654. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  53655. return root;
  53656. },
  53657. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  53658. var _this = this,
  53659. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  53660. t1 = query._all || query._at_root_query$_rule;
  53661. if (t1 !== query.include)
  53662. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  53663. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  53664. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  53665. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  53666. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  53667. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  53668. },
  53669. visitContentBlock$1(node) {
  53670. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  53671. },
  53672. visitContentRule$1(node) {
  53673. return this.visitContentRule$body$_EvaluateVisitor(node);
  53674. },
  53675. visitContentRule$body$_EvaluateVisitor(node) {
  53676. var $async$goto = 0,
  53677. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53678. $async$returnValue, $async$self = this, $content;
  53679. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53680. if ($async$errorCode === 1)
  53681. return A._asyncRethrow($async$result, $async$completer);
  53682. while (true)
  53683. switch ($async$goto) {
  53684. case 0:
  53685. // Function start
  53686. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  53687. if ($content == null) {
  53688. $async$returnValue = null;
  53689. // goto return
  53690. $async$goto = 1;
  53691. break;
  53692. }
  53693. $async$goto = 3;
  53694. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure0($async$self, $content), type$.Null), $async$visitContentRule$1);
  53695. case 3:
  53696. // returning from await.
  53697. $async$returnValue = null;
  53698. // goto return
  53699. $async$goto = 1;
  53700. break;
  53701. case 1:
  53702. // return
  53703. return A._asyncReturn($async$returnValue, $async$completer);
  53704. }
  53705. });
  53706. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  53707. },
  53708. visitDebugRule$1(node) {
  53709. return this.visitDebugRule$body$_EvaluateVisitor(node);
  53710. },
  53711. visitDebugRule$body$_EvaluateVisitor(node) {
  53712. var $async$goto = 0,
  53713. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53714. $async$returnValue, $async$self = this, value, t1;
  53715. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53716. if ($async$errorCode === 1)
  53717. return A._asyncRethrow($async$result, $async$completer);
  53718. while (true)
  53719. switch ($async$goto) {
  53720. case 0:
  53721. // Function start
  53722. $async$goto = 3;
  53723. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  53724. case 3:
  53725. // returning from await.
  53726. value = $async$result;
  53727. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  53728. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  53729. $async$returnValue = null;
  53730. // goto return
  53731. $async$goto = 1;
  53732. break;
  53733. case 1:
  53734. // return
  53735. return A._asyncReturn($async$returnValue, $async$completer);
  53736. }
  53737. });
  53738. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  53739. },
  53740. visitDeclaration$1(node) {
  53741. return this.visitDeclaration$body$_EvaluateVisitor(node);
  53742. },
  53743. visitDeclaration$body$_EvaluateVisitor(node) {
  53744. var $async$goto = 0,
  53745. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53746. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  53747. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53748. if ($async$errorCode === 1)
  53749. return A._asyncRethrow($async$result, $async$completer);
  53750. while (true)
  53751. switch ($async$goto) {
  53752. case 0:
  53753. // Function start
  53754. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  53755. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  53756. t1 = node.name;
  53757. $async$goto = 3;
  53758. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  53759. case 3:
  53760. // returning from await.
  53761. $name = $async$result;
  53762. t2 = $async$self._async_evaluate$_declarationName;
  53763. if (t2 != null)
  53764. $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
  53765. t2 = node.value;
  53766. $async$goto = 4;
  53767. return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
  53768. case 4:
  53769. // returning from await.
  53770. cssValue = $async$result;
  53771. t3 = cssValue != null;
  53772. if (t3)
  53773. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  53774. else
  53775. t4 = false;
  53776. if (t4) {
  53777. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  53778. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  53779. if ($async$self._async_evaluate$_sourceMap) {
  53780. t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
  53781. t2 = t2 == null ? null : J.get$span$z(t2);
  53782. } else
  53783. t2 = null;
  53784. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  53785. } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
  53786. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  53787. children = node.children;
  53788. $async$goto = children != null ? 5 : 6;
  53789. break;
  53790. case 5:
  53791. // then
  53792. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  53793. $async$self._async_evaluate$_declarationName = $name.get$value($name);
  53794. $async$goto = 7;
  53795. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  53796. case 7:
  53797. // returning from await.
  53798. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  53799. case 6:
  53800. // join
  53801. $async$returnValue = null;
  53802. // goto return
  53803. $async$goto = 1;
  53804. break;
  53805. case 1:
  53806. // return
  53807. return A._asyncReturn($async$returnValue, $async$completer);
  53808. }
  53809. });
  53810. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  53811. },
  53812. visitEachRule$1(node) {
  53813. return this.visitEachRule$body$_EvaluateVisitor(node);
  53814. },
  53815. visitEachRule$body$_EvaluateVisitor(node) {
  53816. var $async$goto = 0,
  53817. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53818. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  53819. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53820. if ($async$errorCode === 1)
  53821. return A._asyncRethrow($async$result, $async$completer);
  53822. while (true)
  53823. switch ($async$goto) {
  53824. case 0:
  53825. // Function start
  53826. t1 = node.list;
  53827. $async$goto = 3;
  53828. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  53829. case 3:
  53830. // returning from await.
  53831. list = $async$result;
  53832. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  53833. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
  53834. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, setVariables, node), true, type$.nullable_Value);
  53835. // goto return
  53836. $async$goto = 1;
  53837. break;
  53838. case 1:
  53839. // return
  53840. return A._asyncReturn($async$returnValue, $async$completer);
  53841. }
  53842. });
  53843. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  53844. },
  53845. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  53846. var i,
  53847. list = value.get$asList(),
  53848. t1 = variables.length,
  53849. minLength = Math.min(t1, list.length);
  53850. for (i = 0; i < minLength; ++i)
  53851. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  53852. for (i = minLength; i < t1; ++i)
  53853. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  53854. },
  53855. visitErrorRule$1(node) {
  53856. return this.visitErrorRule$body$_EvaluateVisitor(node);
  53857. },
  53858. visitErrorRule$body$_EvaluateVisitor(node) {
  53859. var $async$goto = 0,
  53860. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  53861. $async$self = this, $async$temp1, $async$temp2;
  53862. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53863. if ($async$errorCode === 1)
  53864. return A._asyncRethrow($async$result, $async$completer);
  53865. while (true)
  53866. switch ($async$goto) {
  53867. case 0:
  53868. // Function start
  53869. $async$temp1 = A;
  53870. $async$temp2 = J;
  53871. $async$goto = 2;
  53872. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  53873. case 2:
  53874. // returning from await.
  53875. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  53876. // implicit return
  53877. return A._asyncReturn(null, $async$completer);
  53878. }
  53879. });
  53880. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  53881. },
  53882. visitExtendRule$1(node) {
  53883. return this.visitExtendRule$body$_EvaluateVisitor(node);
  53884. },
  53885. visitExtendRule$body$_EvaluateVisitor(node) {
  53886. var $async$goto = 0,
  53887. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53888. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, styleRule;
  53889. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53890. if ($async$errorCode === 1)
  53891. return A._asyncRethrow($async$result, $async$completer);
  53892. while (true)
  53893. switch ($async$goto) {
  53894. case 0:
  53895. // Function start
  53896. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  53897. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  53898. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  53899. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  53900. complex = t1[_i];
  53901. if (!complex.accept$1(B._IsBogusVisitor_true))
  53902. continue;
  53903. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  53904. complex.accept$1(visitor);
  53905. t8 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  53906. t9 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  53907. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  53908. }
  53909. $async$goto = 3;
  53910. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  53911. case 3:
  53912. // returning from await.
  53913. targetText = $async$result;
  53914. for (t1 = $async$self._async_evaluate$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure0($async$self, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  53915. complex = t1[_i];
  53916. if (complex.leadingCombinators.length === 0) {
  53917. t4 = complex.components;
  53918. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  53919. } else
  53920. t4 = false;
  53921. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  53922. if (compound == null)
  53923. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
  53924. t4 = compound.components;
  53925. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  53926. if (t5 == null)
  53927. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
  53928. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, $async$self._async_evaluate$_mediaQueries);
  53929. }
  53930. $async$returnValue = null;
  53931. // goto return
  53932. $async$goto = 1;
  53933. break;
  53934. case 1:
  53935. // return
  53936. return A._asyncReturn($async$returnValue, $async$completer);
  53937. }
  53938. });
  53939. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  53940. },
  53941. visitAtRule$1(node) {
  53942. return this.visitAtRule$body$_EvaluateVisitor(node);
  53943. },
  53944. visitAtRule$body$_EvaluateVisitor(node) {
  53945. var $async$goto = 0,
  53946. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53947. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  53948. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53949. if ($async$errorCode === 1)
  53950. return A._asyncRethrow($async$result, $async$completer);
  53951. while (true)
  53952. switch ($async$goto) {
  53953. case 0:
  53954. // Function start
  53955. if ($async$self._async_evaluate$_declarationName != null)
  53956. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  53957. $async$goto = 3;
  53958. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  53959. case 3:
  53960. // returning from await.
  53961. $name = $async$result;
  53962. $async$goto = 4;
  53963. return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
  53964. case 4:
  53965. // returning from await.
  53966. value = $async$result;
  53967. children = node.children;
  53968. if (children == null) {
  53969. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  53970. $async$returnValue = null;
  53971. // goto return
  53972. $async$goto = 1;
  53973. break;
  53974. }
  53975. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  53976. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  53977. if (A.unvendor($name.get$value($name)) === "keyframes")
  53978. $async$self._async_evaluate$_inKeyframes = true;
  53979. else
  53980. $async$self._async_evaluate$_inUnknownAtRule = true;
  53981. $async$goto = 5;
  53982. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure3($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
  53983. case 5:
  53984. // returning from await.
  53985. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  53986. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  53987. $async$returnValue = null;
  53988. // goto return
  53989. $async$goto = 1;
  53990. break;
  53991. case 1:
  53992. // return
  53993. return A._asyncReturn($async$returnValue, $async$completer);
  53994. }
  53995. });
  53996. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  53997. },
  53998. visitForRule$1(node) {
  53999. return this.visitForRule$body$_EvaluateVisitor(node);
  54000. },
  54001. visitForRule$body$_EvaluateVisitor(node) {
  54002. var $async$goto = 0,
  54003. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54004. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  54005. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54006. if ($async$errorCode === 1)
  54007. return A._asyncRethrow($async$result, $async$completer);
  54008. while (true)
  54009. switch ($async$goto) {
  54010. case 0:
  54011. // Function start
  54012. t1 = {};
  54013. t2 = node.from;
  54014. t3 = type$.SassNumber;
  54015. $async$goto = 3;
  54016. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  54017. case 3:
  54018. // returning from await.
  54019. fromNumber = $async$result;
  54020. t4 = node.to;
  54021. $async$goto = 4;
  54022. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  54023. case 4:
  54024. // returning from await.
  54025. toNumber = $async$result;
  54026. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  54027. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  54028. direction = from > to ? -1 : 1;
  54029. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  54030. $async$returnValue = null;
  54031. // goto return
  54032. $async$goto = 1;
  54033. break;
  54034. }
  54035. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure8(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value);
  54036. // goto return
  54037. $async$goto = 1;
  54038. break;
  54039. case 1:
  54040. // return
  54041. return A._asyncReturn($async$returnValue, $async$completer);
  54042. }
  54043. });
  54044. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  54045. },
  54046. visitForwardRule$1(node) {
  54047. return this.visitForwardRule$body$_EvaluateVisitor(node);
  54048. },
  54049. visitForwardRule$body$_EvaluateVisitor(node) {
  54050. var $async$goto = 0,
  54051. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54052. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  54053. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54054. if ($async$errorCode === 1)
  54055. return A._asyncRethrow($async$result, $async$completer);
  54056. while (true)
  54057. switch ($async$goto) {
  54058. case 0:
  54059. // Function start
  54060. oldConfiguration = $async$self._async_evaluate$_configuration;
  54061. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  54062. t1 = node.configuration;
  54063. t2 = t1.length;
  54064. t3 = node.url;
  54065. $async$goto = t2 !== 0 ? 3 : 5;
  54066. break;
  54067. case 3:
  54068. // then
  54069. $async$goto = 6;
  54070. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  54071. case 6:
  54072. // returning from await.
  54073. newConfiguration = $async$result;
  54074. $async$goto = 7;
  54075. return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure1($async$self, node), newConfiguration), $async$visitForwardRule$1);
  54076. case 7:
  54077. // returning from await.
  54078. t3 = type$.String;
  54079. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  54080. for (_i = 0; _i < t2; ++_i) {
  54081. variable = t1[_i];
  54082. if (!variable.isGuarded)
  54083. t4.add$1(0, variable.name);
  54084. }
  54085. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  54086. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  54087. for (_i = 0; _i < t2; ++_i)
  54088. t3.add$1(0, t1[_i].name);
  54089. for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  54090. $name = t2[_i];
  54091. if (!t3.contains$1(0, $name))
  54092. if (!t1.get$isEmpty(t1))
  54093. t1.remove$1(0, $name);
  54094. }
  54095. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  54096. // goto join
  54097. $async$goto = 4;
  54098. break;
  54099. case 5:
  54100. // else
  54101. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  54102. $async$goto = 8;
  54103. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  54104. case 8:
  54105. // returning from await.
  54106. $async$self._async_evaluate$_configuration = oldConfiguration;
  54107. case 4:
  54108. // join
  54109. $async$returnValue = null;
  54110. // goto return
  54111. $async$goto = 1;
  54112. break;
  54113. case 1:
  54114. // return
  54115. return A._asyncReturn($async$returnValue, $async$completer);
  54116. }
  54117. });
  54118. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  54119. },
  54120. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  54121. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  54122. },
  54123. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  54124. var $async$goto = 0,
  54125. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  54126. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  54127. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54128. if ($async$errorCode === 1)
  54129. return A._asyncRethrow($async$result, $async$completer);
  54130. while (true)
  54131. switch ($async$goto) {
  54132. case 0:
  54133. // Function start
  54134. t1 = configuration._values;
  54135. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  54136. t2 = node.configuration, t3 = t2.length, _i = 0;
  54137. case 3:
  54138. // for condition
  54139. if (!(_i < t3)) {
  54140. // goto after for
  54141. $async$goto = 5;
  54142. break;
  54143. }
  54144. variable = t2[_i];
  54145. if (variable.isGuarded) {
  54146. t4 = variable.name;
  54147. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  54148. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  54149. newValues.$indexSet(0, t4, t5);
  54150. // goto for update
  54151. $async$goto = 4;
  54152. break;
  54153. }
  54154. }
  54155. t4 = variable.expression;
  54156. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
  54157. $async$temp1 = newValues;
  54158. $async$temp2 = variable.name;
  54159. $async$temp3 = A;
  54160. $async$goto = 6;
  54161. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
  54162. case 6:
  54163. // returning from await.
  54164. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  54165. case 4:
  54166. // for update
  54167. ++_i;
  54168. // goto for condition
  54169. $async$goto = 3;
  54170. break;
  54171. case 5:
  54172. // after for
  54173. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  54174. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  54175. // goto return
  54176. $async$goto = 1;
  54177. break;
  54178. } else {
  54179. $async$returnValue = new A.Configuration(newValues, null);
  54180. // goto return
  54181. $async$goto = 1;
  54182. break;
  54183. }
  54184. case 1:
  54185. // return
  54186. return A._asyncReturn($async$returnValue, $async$completer);
  54187. }
  54188. });
  54189. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  54190. },
  54191. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  54192. var t1, t2, t3, t4, _i, $name;
  54193. for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  54194. $name = t2[_i];
  54195. if (except.contains$1(0, $name))
  54196. continue;
  54197. if (!t4.containsKey$1($name))
  54198. if (!t1.get$isEmpty(t1))
  54199. t1.remove$1(0, $name);
  54200. }
  54201. },
  54202. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  54203. var t1, entry;
  54204. if (!(configuration instanceof A.ExplicitConfiguration))
  54205. return;
  54206. t1 = configuration._values;
  54207. if (t1.get$isEmpty(t1))
  54208. return;
  54209. t1 = t1.get$entries(t1);
  54210. entry = t1.get$first(t1);
  54211. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  54212. throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
  54213. },
  54214. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  54215. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  54216. },
  54217. visitFunctionRule$1(node) {
  54218. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  54219. },
  54220. visitFunctionRule$body$_EvaluateVisitor(node) {
  54221. var $async$goto = 0,
  54222. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54223. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  54224. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54225. if ($async$errorCode === 1)
  54226. return A._asyncRethrow($async$result, $async$completer);
  54227. while (true)
  54228. switch ($async$goto) {
  54229. case 0:
  54230. // Function start
  54231. t1 = $async$self._async_evaluate$_environment;
  54232. t2 = t1.closure$0();
  54233. t3 = $async$self._async_evaluate$_inDependency;
  54234. t4 = t1._async_environment$_functions;
  54235. index = t4.length - 1;
  54236. t5 = node.name;
  54237. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  54238. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  54239. $async$returnValue = null;
  54240. // goto return
  54241. $async$goto = 1;
  54242. break;
  54243. case 1:
  54244. // return
  54245. return A._asyncReturn($async$returnValue, $async$completer);
  54246. }
  54247. });
  54248. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  54249. },
  54250. visitIfRule$1(node) {
  54251. return this.visitIfRule$body$_EvaluateVisitor(node);
  54252. },
  54253. visitIfRule$body$_EvaluateVisitor(node) {
  54254. var $async$goto = 0,
  54255. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54256. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  54257. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54258. if ($async$errorCode === 1)
  54259. return A._asyncRethrow($async$result, $async$completer);
  54260. while (true)
  54261. switch ($async$goto) {
  54262. case 0:
  54263. // Function start
  54264. _box_0 = {};
  54265. _box_0.clause = node.lastClause;
  54266. t1 = node.clauses, t2 = t1.length, _i = 0;
  54267. case 3:
  54268. // for condition
  54269. if (!(_i < t2)) {
  54270. // goto after for
  54271. $async$goto = 5;
  54272. break;
  54273. }
  54274. clauseToCheck = t1[_i];
  54275. $async$goto = 6;
  54276. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  54277. case 6:
  54278. // returning from await.
  54279. if ($async$result.get$isTruthy()) {
  54280. _box_0.clause = clauseToCheck;
  54281. // goto after for
  54282. $async$goto = 5;
  54283. break;
  54284. }
  54285. case 4:
  54286. // for update
  54287. ++_i;
  54288. // goto for condition
  54289. $async$goto = 3;
  54290. break;
  54291. case 5:
  54292. // after for
  54293. t1 = _box_0.clause;
  54294. if (t1 == null) {
  54295. $async$returnValue = null;
  54296. // goto return
  54297. $async$goto = 1;
  54298. break;
  54299. }
  54300. $async$goto = 7;
  54301. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure0(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value), $async$visitIfRule$1);
  54302. case 7:
  54303. // returning from await.
  54304. $async$returnValue = $async$result;
  54305. // goto return
  54306. $async$goto = 1;
  54307. break;
  54308. case 1:
  54309. // return
  54310. return A._asyncReturn($async$returnValue, $async$completer);
  54311. }
  54312. });
  54313. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  54314. },
  54315. visitImportRule$1(node) {
  54316. return this.visitImportRule$body$_EvaluateVisitor(node);
  54317. },
  54318. visitImportRule$body$_EvaluateVisitor(node) {
  54319. var $async$goto = 0,
  54320. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54321. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  54322. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54323. if ($async$errorCode === 1)
  54324. return A._asyncRethrow($async$result, $async$completer);
  54325. while (true)
  54326. switch ($async$goto) {
  54327. case 0:
  54328. // Function start
  54329. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  54330. case 3:
  54331. // for condition
  54332. if (!(_i < t2)) {
  54333. // goto after for
  54334. $async$goto = 5;
  54335. break;
  54336. }
  54337. $import = t1[_i];
  54338. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  54339. break;
  54340. case 6:
  54341. // then
  54342. $async$goto = 9;
  54343. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  54344. case 9:
  54345. // returning from await.
  54346. // goto join
  54347. $async$goto = 7;
  54348. break;
  54349. case 8:
  54350. // else
  54351. $async$goto = 10;
  54352. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  54353. case 10:
  54354. // returning from await.
  54355. case 7:
  54356. // join
  54357. case 4:
  54358. // for update
  54359. ++_i;
  54360. // goto for condition
  54361. $async$goto = 3;
  54362. break;
  54363. case 5:
  54364. // after for
  54365. $async$returnValue = null;
  54366. // goto return
  54367. $async$goto = 1;
  54368. break;
  54369. case 1:
  54370. // return
  54371. return A._asyncReturn($async$returnValue, $async$completer);
  54372. }
  54373. });
  54374. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  54375. },
  54376. _async_evaluate$_visitDynamicImport$1($import) {
  54377. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  54378. },
  54379. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  54380. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  54381. },
  54382. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  54383. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  54384. },
  54385. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  54386. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  54387. },
  54388. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  54389. var $async$goto = 0,
  54390. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
  54391. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  54392. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54393. if ($async$errorCode === 1) {
  54394. $async$currentError = $async$result;
  54395. $async$goto = $async$handler;
  54396. }
  54397. while (true)
  54398. switch ($async$goto) {
  54399. case 0:
  54400. // Function start
  54401. baseUrl = baseUrl;
  54402. $async$handler = 4;
  54403. $async$self._async_evaluate$_importSpan = span;
  54404. importCache = $async$self._async_evaluate$_importCache;
  54405. $async$goto = importCache != null ? 7 : 9;
  54406. break;
  54407. case 7:
  54408. // then
  54409. if (baseUrl == null) {
  54410. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  54411. baseUrl = t1.get$sourceUrl(t1);
  54412. }
  54413. $async$goto = 10;
  54414. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate$_importer, baseUrl, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54415. case 10:
  54416. // returning from await.
  54417. tuple = $async$result;
  54418. $async$goto = tuple != null ? 11 : 12;
  54419. break;
  54420. case 11:
  54421. // then
  54422. isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
  54423. t1 = tuple.item1;
  54424. t2 = tuple.item2;
  54425. t3 = tuple.item3;
  54426. t4 = $async$self._async_evaluate$_quietDeps && isDependency;
  54427. $async$goto = 13;
  54428. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54429. case 13:
  54430. // returning from await.
  54431. stylesheet = $async$result;
  54432. if (stylesheet != null) {
  54433. $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
  54434. t1 = tuple.item1;
  54435. $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
  54436. $async$next = [1];
  54437. // goto finally
  54438. $async$goto = 5;
  54439. break;
  54440. }
  54441. case 12:
  54442. // join
  54443. // goto join
  54444. $async$goto = 8;
  54445. break;
  54446. case 9:
  54447. // else
  54448. t1 = baseUrl;
  54449. if (t1 == null) {
  54450. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  54451. t1 = t1.get$sourceUrl(t1);
  54452. }
  54453. $async$goto = 14;
  54454. return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54455. case 14:
  54456. // returning from await.
  54457. result = $async$result;
  54458. if (result != null) {
  54459. t1 = result.stylesheet.span;
  54460. t2 = $async$self._async_evaluate$_loadedUrls;
  54461. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  54462. $async$returnValue = result;
  54463. $async$next = [1];
  54464. // goto finally
  54465. $async$goto = 5;
  54466. break;
  54467. }
  54468. case 8:
  54469. // join
  54470. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  54471. throw A.wrapException(string$.x22packa);
  54472. else
  54473. throw A.wrapException("Can't find stylesheet to import.");
  54474. $async$next.push(6);
  54475. // goto finally
  54476. $async$goto = 5;
  54477. break;
  54478. case 4:
  54479. // catch
  54480. $async$handler = 3;
  54481. $async$exception = $async$currentError;
  54482. t1 = A.unwrapException($async$exception);
  54483. if (t1 instanceof A.SassException) {
  54484. error = t1;
  54485. stackTrace = A.getTraceFromException($async$exception);
  54486. t1 = error;
  54487. t2 = J.getInterceptor$z(t1);
  54488. A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  54489. } else {
  54490. error0 = t1;
  54491. stackTrace0 = A.getTraceFromException($async$exception);
  54492. message = null;
  54493. try {
  54494. message = A._asString(J.get$message$x(error0));
  54495. } catch (exception) {
  54496. message0 = J.toString$0$(error0);
  54497. message = message0;
  54498. }
  54499. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
  54500. }
  54501. $async$next.push(6);
  54502. // goto finally
  54503. $async$goto = 5;
  54504. break;
  54505. case 3:
  54506. // uncaught
  54507. $async$next = [2];
  54508. case 5:
  54509. // finally
  54510. $async$handler = 2;
  54511. $async$self._async_evaluate$_importSpan = null;
  54512. // goto the next finally handler
  54513. $async$goto = $async$next.pop();
  54514. break;
  54515. case 6:
  54516. // after finally
  54517. case 1:
  54518. // return
  54519. return A._asyncReturn($async$returnValue, $async$completer);
  54520. case 2:
  54521. // rethrow
  54522. return A._asyncRethrow($async$currentError, $async$completer);
  54523. }
  54524. });
  54525. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  54526. },
  54527. _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
  54528. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  54529. },
  54530. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  54531. var $async$goto = 0,
  54532. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
  54533. $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
  54534. var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54535. if ($async$errorCode === 1)
  54536. return A._asyncRethrow($async$result, $async$completer);
  54537. while (true)
  54538. switch ($async$goto) {
  54539. case 0:
  54540. // Function start
  54541. result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
  54542. isDependency = $async$self._async_evaluate$_inDependency;
  54543. url = result.item2;
  54544. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  54545. t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
  54546. $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
  54547. // goto return
  54548. $async$goto = 1;
  54549. break;
  54550. case 1:
  54551. // return
  54552. return A._asyncReturn($async$returnValue, $async$completer);
  54553. }
  54554. });
  54555. return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
  54556. },
  54557. _visitStaticImport$1($import) {
  54558. return this._visitStaticImport$body$_EvaluateVisitor($import);
  54559. },
  54560. _visitStaticImport$body$_EvaluateVisitor($import) {
  54561. var $async$goto = 0,
  54562. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  54563. $async$self = this, t1, node, $async$temp1, $async$temp2;
  54564. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54565. if ($async$errorCode === 1)
  54566. return A._asyncRethrow($async$result, $async$completer);
  54567. while (true)
  54568. switch ($async$goto) {
  54569. case 0:
  54570. // Function start
  54571. $async$temp1 = A;
  54572. $async$goto = 2;
  54573. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  54574. case 2:
  54575. // returning from await.
  54576. $async$temp2 = $async$result;
  54577. $async$goto = 3;
  54578. return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
  54579. case 3:
  54580. // returning from await.
  54581. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  54582. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root"))
  54583. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  54584. else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
  54585. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  54586. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  54587. } else {
  54588. t1 = $async$self._async_evaluate$_outOfOrderImports;
  54589. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  54590. }
  54591. // implicit return
  54592. return A._asyncReturn(null, $async$completer);
  54593. }
  54594. });
  54595. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  54596. },
  54597. visitIncludeRule$1(node) {
  54598. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  54599. },
  54600. visitIncludeRule$body$_EvaluateVisitor(node) {
  54601. var $async$goto = 0,
  54602. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54603. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  54604. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54605. if ($async$errorCode === 1)
  54606. return A._asyncRethrow($async$result, $async$completer);
  54607. while (true)
  54608. switch ($async$goto) {
  54609. case 0:
  54610. // Function start
  54611. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
  54612. if (mixin == null)
  54613. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
  54614. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
  54615. $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
  54616. break;
  54617. case 3:
  54618. // then
  54619. if (node.content != null)
  54620. throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
  54621. $async$goto = 6;
  54622. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  54623. case 6:
  54624. // returning from await.
  54625. // goto join
  54626. $async$goto = 4;
  54627. break;
  54628. case 5:
  54629. // else
  54630. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
  54631. break;
  54632. case 7:
  54633. // then
  54634. t1 = node.content;
  54635. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  54636. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(node.get$spanWithoutContent())));
  54637. $async$goto = 10;
  54638. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure5($async$self, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure6($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
  54639. case 10:
  54640. // returning from await.
  54641. // goto join
  54642. $async$goto = 8;
  54643. break;
  54644. case 9:
  54645. // else
  54646. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  54647. case 8:
  54648. // join
  54649. case 4:
  54650. // join
  54651. $async$returnValue = null;
  54652. // goto return
  54653. $async$goto = 1;
  54654. break;
  54655. case 1:
  54656. // return
  54657. return A._asyncReturn($async$returnValue, $async$completer);
  54658. }
  54659. });
  54660. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  54661. },
  54662. visitMixinRule$1(node) {
  54663. return this.visitMixinRule$body$_EvaluateVisitor(node);
  54664. },
  54665. visitMixinRule$body$_EvaluateVisitor(node) {
  54666. var $async$goto = 0,
  54667. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54668. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  54669. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54670. if ($async$errorCode === 1)
  54671. return A._asyncRethrow($async$result, $async$completer);
  54672. while (true)
  54673. switch ($async$goto) {
  54674. case 0:
  54675. // Function start
  54676. t1 = $async$self._async_evaluate$_environment;
  54677. t2 = t1.closure$0();
  54678. t3 = $async$self._async_evaluate$_inDependency;
  54679. t4 = t1._async_environment$_mixins;
  54680. index = t4.length - 1;
  54681. t5 = node.name;
  54682. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  54683. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  54684. $async$returnValue = null;
  54685. // goto return
  54686. $async$goto = 1;
  54687. break;
  54688. case 1:
  54689. // return
  54690. return A._asyncReturn($async$returnValue, $async$completer);
  54691. }
  54692. });
  54693. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  54694. },
  54695. visitLoudComment$1(node) {
  54696. return this.visitLoudComment$body$_EvaluateVisitor(node);
  54697. },
  54698. visitLoudComment$body$_EvaluateVisitor(node) {
  54699. var $async$goto = 0,
  54700. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54701. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  54702. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54703. if ($async$errorCode === 1)
  54704. return A._asyncRethrow($async$result, $async$completer);
  54705. while (true)
  54706. switch ($async$goto) {
  54707. case 0:
  54708. // Function start
  54709. if ($async$self._async_evaluate$_inFunction) {
  54710. $async$returnValue = null;
  54711. // goto return
  54712. $async$goto = 1;
  54713. break;
  54714. }
  54715. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
  54716. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  54717. t1 = node.text;
  54718. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  54719. $async$temp2 = A;
  54720. $async$goto = 3;
  54721. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  54722. case 3:
  54723. // returning from await.
  54724. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  54725. $async$returnValue = null;
  54726. // goto return
  54727. $async$goto = 1;
  54728. break;
  54729. case 1:
  54730. // return
  54731. return A._asyncReturn($async$returnValue, $async$completer);
  54732. }
  54733. });
  54734. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  54735. },
  54736. visitMediaRule$1(node) {
  54737. return this.visitMediaRule$body$_EvaluateVisitor(node);
  54738. },
  54739. visitMediaRule$body$_EvaluateVisitor(node) {
  54740. var $async$goto = 0,
  54741. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54742. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  54743. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54744. if ($async$errorCode === 1)
  54745. return A._asyncRethrow($async$result, $async$completer);
  54746. while (true)
  54747. switch ($async$goto) {
  54748. case 0:
  54749. // Function start
  54750. if ($async$self._async_evaluate$_declarationName != null)
  54751. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  54752. $async$goto = 3;
  54753. return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  54754. case 3:
  54755. // returning from await.
  54756. queries = $async$result;
  54757. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  54758. t1 = mergedQueries == null;
  54759. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  54760. $async$returnValue = null;
  54761. // goto return
  54762. $async$goto = 1;
  54763. break;
  54764. }
  54765. if (t1)
  54766. mergedSources = B.Set_empty0;
  54767. else {
  54768. t2 = $async$self._async_evaluate$_mediaQuerySources;
  54769. t2.toString;
  54770. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  54771. t3 = $async$self._async_evaluate$_mediaQueries;
  54772. t3.toString;
  54773. t2.addAll$1(0, t3);
  54774. t2.addAll$1(0, queries);
  54775. mergedSources = t2;
  54776. }
  54777. t1 = t1 ? queries : mergedQueries;
  54778. $async$goto = 4;
  54779. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure3($async$self, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure4(mergedSources), type$.ModifiableCssMediaRule, type$.Null), $async$visitMediaRule$1);
  54780. case 4:
  54781. // returning from await.
  54782. $async$returnValue = null;
  54783. // goto return
  54784. $async$goto = 1;
  54785. break;
  54786. case 1:
  54787. // return
  54788. return A._asyncReturn($async$returnValue, $async$completer);
  54789. }
  54790. });
  54791. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  54792. },
  54793. _async_evaluate$_visitMediaQueries$1(interpolation) {
  54794. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  54795. },
  54796. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  54797. var $async$goto = 0,
  54798. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  54799. $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
  54800. var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54801. if ($async$errorCode === 1)
  54802. return A._asyncRethrow($async$result, $async$completer);
  54803. while (true)
  54804. switch ($async$goto) {
  54805. case 0:
  54806. // Function start
  54807. $async$temp1 = interpolation;
  54808. $async$temp2 = A;
  54809. $async$goto = 3;
  54810. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
  54811. case 3:
  54812. // returning from await.
  54813. $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
  54814. // goto return
  54815. $async$goto = 1;
  54816. break;
  54817. case 1:
  54818. // return
  54819. return A._asyncReturn($async$returnValue, $async$completer);
  54820. }
  54821. });
  54822. return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
  54823. },
  54824. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  54825. var t1, t2, t3, t4, t5, result,
  54826. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  54827. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  54828. t4 = t1.get$current(t1);
  54829. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  54830. result = t4.merge$1(t5.get$current(t5));
  54831. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  54832. continue;
  54833. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  54834. return null;
  54835. queries.push(t3._as(result).query);
  54836. }
  54837. }
  54838. return queries;
  54839. },
  54840. visitReturnRule$1(node) {
  54841. return this.visitReturnRule$body$_EvaluateVisitor(node);
  54842. },
  54843. visitReturnRule$body$_EvaluateVisitor(node) {
  54844. var $async$goto = 0,
  54845. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  54846. $async$returnValue, $async$self = this, t1;
  54847. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54848. if ($async$errorCode === 1)
  54849. return A._asyncRethrow($async$result, $async$completer);
  54850. while (true)
  54851. switch ($async$goto) {
  54852. case 0:
  54853. // Function start
  54854. t1 = node.expression;
  54855. $async$goto = 3;
  54856. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  54857. case 3:
  54858. // returning from await.
  54859. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  54860. // goto return
  54861. $async$goto = 1;
  54862. break;
  54863. case 1:
  54864. // return
  54865. return A._asyncReturn($async$returnValue, $async$completer);
  54866. }
  54867. });
  54868. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  54869. },
  54870. visitSilentComment$1(node) {
  54871. return this.visitSilentComment$body$_EvaluateVisitor(node);
  54872. },
  54873. visitSilentComment$body$_EvaluateVisitor(node) {
  54874. var $async$goto = 0,
  54875. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54876. $async$returnValue;
  54877. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54878. if ($async$errorCode === 1)
  54879. return A._asyncRethrow($async$result, $async$completer);
  54880. while (true)
  54881. switch ($async$goto) {
  54882. case 0:
  54883. // Function start
  54884. $async$returnValue = null;
  54885. // goto return
  54886. $async$goto = 1;
  54887. break;
  54888. case 1:
  54889. // return
  54890. return A._asyncReturn($async$returnValue, $async$completer);
  54891. }
  54892. });
  54893. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  54894. },
  54895. visitStyleRule$1(node) {
  54896. return this.visitStyleRule$body$_EvaluateVisitor(node);
  54897. },
  54898. visitStyleRule$body$_EvaluateVisitor(node) {
  54899. var $async$goto = 0,
  54900. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54901. $async$returnValue, $async$self = this, t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _box_0;
  54902. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54903. if ($async$errorCode === 1)
  54904. return A._asyncRethrow($async$result, $async$completer);
  54905. while (true)
  54906. switch ($async$goto) {
  54907. case 0:
  54908. // Function start
  54909. _box_0 = {};
  54910. if ($async$self._async_evaluate$_declarationName != null)
  54911. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  54912. t1 = node.selector;
  54913. $async$goto = 3;
  54914. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t1, true, true), $async$visitStyleRule$1);
  54915. case 3:
  54916. // returning from await.
  54917. selectorText = $async$result;
  54918. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  54919. break;
  54920. case 4:
  54921. // then
  54922. $async$goto = 6;
  54923. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable($async$self._async_evaluate$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure7($async$self, selectorText)), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure8($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure9(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  54924. case 6:
  54925. // returning from await.
  54926. $async$returnValue = null;
  54927. // goto return
  54928. $async$goto = 1;
  54929. break;
  54930. case 5:
  54931. // join
  54932. _box_0.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure10($async$self, selectorText));
  54933. _box_0.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure11(_box_0, $async$self));
  54934. t1 = t1.span;
  54935. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, $async$self._async_evaluate$_mediaQueries), node.span, _box_0.parsedSelector);
  54936. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  54937. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  54938. $async$goto = 7;
  54939. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure12($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure13(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  54940. case 7:
  54941. // returning from await.
  54942. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  54943. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  54944. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  54945. complex = t2[_i];
  54946. if (!complex.accept$1(B._IsBogusVisitor_true))
  54947. continue;
  54948. if (complex.accept$1(B.C__IsUselessVisitor)) {
  54949. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54950. complex.accept$1(visitor);
  54951. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  54952. } else if (complex.leadingCombinators.length !== 0) {
  54953. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54954. complex.accept$1(visitor);
  54955. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  54956. } else {
  54957. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54958. complex.accept$1(visitor);
  54959. t7 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  54960. t8 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  54961. if (t6.get$length(t6) === 0)
  54962. A.throwExpression(A.IterableElementError_noElement());
  54963. t9 = J.get$span$z(t6.$index(0, 0));
  54964. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure14()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  54965. }
  54966. }
  54967. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  54968. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  54969. t1 = !t1.get$isEmpty(t1);
  54970. } else
  54971. t1 = false;
  54972. if (t1) {
  54973. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  54974. t1.get$last(t1).isGroupEnd = true;
  54975. }
  54976. $async$returnValue = null;
  54977. // goto return
  54978. $async$goto = 1;
  54979. break;
  54980. case 1:
  54981. // return
  54982. return A._asyncReturn($async$returnValue, $async$completer);
  54983. }
  54984. });
  54985. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  54986. },
  54987. visitSupportsRule$1(node) {
  54988. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  54989. },
  54990. visitSupportsRule$body$_EvaluateVisitor(node) {
  54991. var $async$goto = 0,
  54992. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54993. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  54994. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54995. if ($async$errorCode === 1)
  54996. return A._asyncRethrow($async$result, $async$completer);
  54997. while (true)
  54998. switch ($async$goto) {
  54999. case 0:
  55000. // Function start
  55001. if ($async$self._async_evaluate$_declarationName != null)
  55002. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  55003. t1 = node.condition;
  55004. $async$temp1 = A;
  55005. $async$temp2 = A;
  55006. $async$goto = 4;
  55007. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  55008. case 4:
  55009. // returning from await.
  55010. $async$goto = 3;
  55011. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$(new $async$temp2.CssValue($async$result, t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure1($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitSupportsRule$1);
  55012. case 3:
  55013. // returning from await.
  55014. $async$returnValue = null;
  55015. // goto return
  55016. $async$goto = 1;
  55017. break;
  55018. case 1:
  55019. // return
  55020. return A._asyncReturn($async$returnValue, $async$completer);
  55021. }
  55022. });
  55023. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  55024. },
  55025. _async_evaluate$_visitSupportsCondition$1(condition) {
  55026. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  55027. },
  55028. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  55029. var $async$goto = 0,
  55030. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  55031. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  55032. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55033. if ($async$errorCode === 1)
  55034. return A._asyncRethrow($async$result, $async$completer);
  55035. while (true)
  55036. switch ($async$goto) {
  55037. case 0:
  55038. // Function start
  55039. $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
  55040. break;
  55041. case 3:
  55042. // then
  55043. t1 = condition.operator;
  55044. $async$temp1 = A;
  55045. $async$goto = 6;
  55046. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  55047. case 6:
  55048. // returning from await.
  55049. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  55050. $async$temp2 = A;
  55051. $async$goto = 7;
  55052. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  55053. case 7:
  55054. // returning from await.
  55055. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  55056. // goto return
  55057. $async$goto = 1;
  55058. break;
  55059. // goto join
  55060. $async$goto = 4;
  55061. break;
  55062. case 5:
  55063. // else
  55064. $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
  55065. break;
  55066. case 8:
  55067. // then
  55068. $async$temp1 = A;
  55069. $async$goto = 11;
  55070. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  55071. case 11:
  55072. // returning from await.
  55073. $async$returnValue = "not " + $async$temp1.S($async$result);
  55074. // goto return
  55075. $async$goto = 1;
  55076. break;
  55077. // goto join
  55078. $async$goto = 9;
  55079. break;
  55080. case 10:
  55081. // else
  55082. $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
  55083. break;
  55084. case 12:
  55085. // then
  55086. $async$goto = 15;
  55087. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  55088. case 15:
  55089. // returning from await.
  55090. $async$returnValue = $async$result;
  55091. // goto return
  55092. $async$goto = 1;
  55093. break;
  55094. // goto join
  55095. $async$goto = 13;
  55096. break;
  55097. case 14:
  55098. // else
  55099. $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
  55100. break;
  55101. case 16:
  55102. // then
  55103. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  55104. $async$self._async_evaluate$_inSupportsDeclaration = true;
  55105. $async$temp1 = A;
  55106. $async$goto = 19;
  55107. return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  55108. case 19:
  55109. // returning from await.
  55110. t1 = $async$temp1.S($async$result);
  55111. t2 = condition.get$isCustomProperty() ? "" : " ";
  55112. $async$temp1 = A;
  55113. $async$goto = 20;
  55114. return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
  55115. case 20:
  55116. // returning from await.
  55117. t3 = $async$temp1.S($async$result);
  55118. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  55119. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  55120. // goto return
  55121. $async$goto = 1;
  55122. break;
  55123. // goto join
  55124. $async$goto = 17;
  55125. break;
  55126. case 18:
  55127. // else
  55128. $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
  55129. break;
  55130. case 21:
  55131. // then
  55132. $async$temp1 = A;
  55133. $async$goto = 24;
  55134. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  55135. case 24:
  55136. // returning from await.
  55137. $async$temp1 = $async$temp1.S($async$result) + "(";
  55138. $async$temp2 = A;
  55139. $async$goto = 25;
  55140. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  55141. case 25:
  55142. // returning from await.
  55143. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  55144. // goto return
  55145. $async$goto = 1;
  55146. break;
  55147. // goto join
  55148. $async$goto = 22;
  55149. break;
  55150. case 23:
  55151. // else
  55152. $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
  55153. break;
  55154. case 26:
  55155. // then
  55156. $async$temp1 = A;
  55157. $async$goto = 29;
  55158. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  55159. case 29:
  55160. // returning from await.
  55161. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  55162. // goto return
  55163. $async$goto = 1;
  55164. break;
  55165. // goto join
  55166. $async$goto = 27;
  55167. break;
  55168. case 28:
  55169. // else
  55170. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  55171. case 27:
  55172. // join
  55173. case 22:
  55174. // join
  55175. case 17:
  55176. // join
  55177. case 13:
  55178. // join
  55179. case 9:
  55180. // join
  55181. case 4:
  55182. // join
  55183. case 1:
  55184. // return
  55185. return A._asyncReturn($async$returnValue, $async$completer);
  55186. }
  55187. });
  55188. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  55189. },
  55190. _async_evaluate$_parenthesize$2(condition, operator) {
  55191. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  55192. },
  55193. _async_evaluate$_parenthesize$1(condition) {
  55194. return this._async_evaluate$_parenthesize$2(condition, null);
  55195. },
  55196. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  55197. var $async$goto = 0,
  55198. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  55199. $async$returnValue, $async$self = this, t1, $async$temp1;
  55200. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55201. if ($async$errorCode === 1)
  55202. return A._asyncRethrow($async$result, $async$completer);
  55203. while (true)
  55204. switch ($async$goto) {
  55205. case 0:
  55206. // Function start
  55207. if (!(condition instanceof A.SupportsNegation))
  55208. if (condition instanceof A.SupportsOperation)
  55209. t1 = operator == null || operator !== condition.operator;
  55210. else
  55211. t1 = false;
  55212. else
  55213. t1 = true;
  55214. $async$goto = t1 ? 3 : 5;
  55215. break;
  55216. case 3:
  55217. // then
  55218. $async$temp1 = A;
  55219. $async$goto = 6;
  55220. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  55221. case 6:
  55222. // returning from await.
  55223. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  55224. // goto return
  55225. $async$goto = 1;
  55226. break;
  55227. // goto join
  55228. $async$goto = 4;
  55229. break;
  55230. case 5:
  55231. // else
  55232. $async$goto = 7;
  55233. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  55234. case 7:
  55235. // returning from await.
  55236. $async$returnValue = $async$result;
  55237. // goto return
  55238. $async$goto = 1;
  55239. break;
  55240. case 4:
  55241. // join
  55242. case 1:
  55243. // return
  55244. return A._asyncReturn($async$returnValue, $async$completer);
  55245. }
  55246. });
  55247. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  55248. },
  55249. visitVariableDeclaration$1(node) {
  55250. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  55251. },
  55252. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  55253. var $async$goto = 0,
  55254. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55255. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  55256. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55257. if ($async$errorCode === 1)
  55258. return A._asyncRethrow($async$result, $async$completer);
  55259. while (true)
  55260. switch ($async$goto) {
  55261. case 0:
  55262. // Function start
  55263. if (node.isGuarded) {
  55264. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  55265. t1 = $async$self._async_evaluate$_configuration._values;
  55266. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  55267. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  55268. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
  55269. $async$returnValue = null;
  55270. // goto return
  55271. $async$goto = 1;
  55272. break;
  55273. }
  55274. }
  55275. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  55276. if (value != null && !value.$eq(0, B.C__SassNull)) {
  55277. $async$returnValue = null;
  55278. // goto return
  55279. $async$goto = 1;
  55280. break;
  55281. }
  55282. }
  55283. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  55284. t1 = $async$self._async_evaluate$_environment._async_environment$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  55285. $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
  55286. }
  55287. t1 = node.expression;
  55288. $async$temp1 = node;
  55289. $async$temp2 = A;
  55290. $async$temp3 = node;
  55291. $async$goto = 3;
  55292. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  55293. case 3:
  55294. // returning from await.
  55295. $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure4($async$self, $async$temp3, $async$self._async_evaluate$_withoutSlash$2($async$result, t1)));
  55296. $async$returnValue = null;
  55297. // goto return
  55298. $async$goto = 1;
  55299. break;
  55300. case 1:
  55301. // return
  55302. return A._asyncReturn($async$returnValue, $async$completer);
  55303. }
  55304. });
  55305. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  55306. },
  55307. visitUseRule$1(node) {
  55308. return this.visitUseRule$body$_EvaluateVisitor(node);
  55309. },
  55310. visitUseRule$body$_EvaluateVisitor(node) {
  55311. var $async$goto = 0,
  55312. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55313. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  55314. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55315. if ($async$errorCode === 1)
  55316. return A._asyncRethrow($async$result, $async$completer);
  55317. while (true)
  55318. switch ($async$goto) {
  55319. case 0:
  55320. // Function start
  55321. t1 = node.configuration;
  55322. t2 = t1.length;
  55323. $async$goto = t2 !== 0 ? 3 : 5;
  55324. break;
  55325. case 3:
  55326. // then
  55327. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  55328. _i = 0;
  55329. case 6:
  55330. // for condition
  55331. if (!(_i < t2)) {
  55332. // goto after for
  55333. $async$goto = 8;
  55334. break;
  55335. }
  55336. variable = t1[_i];
  55337. t3 = variable.expression;
  55338. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
  55339. $async$temp1 = values;
  55340. $async$temp2 = variable.name;
  55341. $async$temp3 = A;
  55342. $async$goto = 9;
  55343. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  55344. case 9:
  55345. // returning from await.
  55346. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  55347. case 7:
  55348. // for update
  55349. ++_i;
  55350. // goto for condition
  55351. $async$goto = 6;
  55352. break;
  55353. case 8:
  55354. // after for
  55355. configuration = new A.ExplicitConfiguration(node, values, null);
  55356. // goto join
  55357. $async$goto = 4;
  55358. break;
  55359. case 5:
  55360. // else
  55361. configuration = B.Configuration_Map_empty_null;
  55362. case 4:
  55363. // join
  55364. $async$goto = 10;
  55365. return A._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure0($async$self, node), configuration), $async$visitUseRule$1);
  55366. case 10:
  55367. // returning from await.
  55368. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  55369. $async$returnValue = null;
  55370. // goto return
  55371. $async$goto = 1;
  55372. break;
  55373. case 1:
  55374. // return
  55375. return A._asyncReturn($async$returnValue, $async$completer);
  55376. }
  55377. });
  55378. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  55379. },
  55380. visitWarnRule$1(node) {
  55381. return this.visitWarnRule$body$_EvaluateVisitor(node);
  55382. },
  55383. visitWarnRule$body$_EvaluateVisitor(node) {
  55384. var $async$goto = 0,
  55385. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55386. $async$returnValue, $async$self = this, value, t1;
  55387. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55388. if ($async$errorCode === 1)
  55389. return A._asyncRethrow($async$result, $async$completer);
  55390. while (true)
  55391. switch ($async$goto) {
  55392. case 0:
  55393. // Function start
  55394. $async$goto = 3;
  55395. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  55396. case 3:
  55397. // returning from await.
  55398. value = $async$result;
  55399. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  55400. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  55401. $async$returnValue = null;
  55402. // goto return
  55403. $async$goto = 1;
  55404. break;
  55405. case 1:
  55406. // return
  55407. return A._asyncReturn($async$returnValue, $async$completer);
  55408. }
  55409. });
  55410. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  55411. },
  55412. visitWhileRule$1(node) {
  55413. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  55414. },
  55415. visitBinaryOperationExpression$1(node) {
  55416. return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
  55417. },
  55418. visitValueExpression$1(node) {
  55419. return this.visitValueExpression$body$_EvaluateVisitor(node);
  55420. },
  55421. visitValueExpression$body$_EvaluateVisitor(node) {
  55422. var $async$goto = 0,
  55423. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55424. $async$returnValue;
  55425. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55426. if ($async$errorCode === 1)
  55427. return A._asyncRethrow($async$result, $async$completer);
  55428. while (true)
  55429. switch ($async$goto) {
  55430. case 0:
  55431. // Function start
  55432. $async$returnValue = node.value;
  55433. // goto return
  55434. $async$goto = 1;
  55435. break;
  55436. case 1:
  55437. // return
  55438. return A._asyncReturn($async$returnValue, $async$completer);
  55439. }
  55440. });
  55441. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  55442. },
  55443. visitVariableExpression$1(node) {
  55444. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  55445. },
  55446. visitVariableExpression$body$_EvaluateVisitor(node) {
  55447. var $async$goto = 0,
  55448. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55449. $async$returnValue, $async$self = this, result;
  55450. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55451. if ($async$errorCode === 1)
  55452. return A._asyncRethrow($async$result, $async$completer);
  55453. while (true)
  55454. switch ($async$goto) {
  55455. case 0:
  55456. // Function start
  55457. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  55458. if (result != null) {
  55459. $async$returnValue = result;
  55460. // goto return
  55461. $async$goto = 1;
  55462. break;
  55463. }
  55464. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  55465. case 1:
  55466. // return
  55467. return A._asyncReturn($async$returnValue, $async$completer);
  55468. }
  55469. });
  55470. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  55471. },
  55472. visitUnaryOperationExpression$1(node) {
  55473. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  55474. },
  55475. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  55476. var $async$goto = 0,
  55477. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55478. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  55479. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55480. if ($async$errorCode === 1)
  55481. return A._asyncRethrow($async$result, $async$completer);
  55482. while (true)
  55483. switch ($async$goto) {
  55484. case 0:
  55485. // Function start
  55486. $async$temp1 = node;
  55487. $async$temp2 = A;
  55488. $async$temp3 = node;
  55489. $async$goto = 3;
  55490. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  55491. case 3:
  55492. // returning from await.
  55493. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  55494. // goto return
  55495. $async$goto = 1;
  55496. break;
  55497. case 1:
  55498. // return
  55499. return A._asyncReturn($async$returnValue, $async$completer);
  55500. }
  55501. });
  55502. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  55503. },
  55504. visitBooleanExpression$1(node) {
  55505. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  55506. },
  55507. visitBooleanExpression$body$_EvaluateVisitor(node) {
  55508. var $async$goto = 0,
  55509. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  55510. $async$returnValue;
  55511. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55512. if ($async$errorCode === 1)
  55513. return A._asyncRethrow($async$result, $async$completer);
  55514. while (true)
  55515. switch ($async$goto) {
  55516. case 0:
  55517. // Function start
  55518. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  55519. // goto return
  55520. $async$goto = 1;
  55521. break;
  55522. case 1:
  55523. // return
  55524. return A._asyncReturn($async$returnValue, $async$completer);
  55525. }
  55526. });
  55527. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  55528. },
  55529. visitIfExpression$1(node) {
  55530. return this.visitIfExpression$body$_EvaluateVisitor(node);
  55531. },
  55532. visitIfExpression$body$_EvaluateVisitor(node) {
  55533. var $async$goto = 0,
  55534. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55535. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  55536. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55537. if ($async$errorCode === 1)
  55538. return A._asyncRethrow($async$result, $async$completer);
  55539. while (true)
  55540. switch ($async$goto) {
  55541. case 0:
  55542. // Function start
  55543. $async$goto = 3;
  55544. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  55545. case 3:
  55546. // returning from await.
  55547. pair = $async$result;
  55548. positional = pair.item1;
  55549. named = pair.item2;
  55550. t1 = J.getInterceptor$asx(positional);
  55551. $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  55552. if (t1.get$length(positional) > 0)
  55553. condition = t1.$index(positional, 0);
  55554. else {
  55555. t2 = named.$index(0, "condition");
  55556. t2.toString;
  55557. condition = t2;
  55558. }
  55559. if (t1.get$length(positional) > 1)
  55560. ifTrue = t1.$index(positional, 1);
  55561. else {
  55562. t2 = named.$index(0, "if-true");
  55563. t2.toString;
  55564. ifTrue = t2;
  55565. }
  55566. if (t1.get$length(positional) > 2)
  55567. ifFalse = t1.$index(positional, 2);
  55568. else {
  55569. t1 = named.$index(0, "if-false");
  55570. t1.toString;
  55571. ifFalse = t1;
  55572. }
  55573. $async$goto = 4;
  55574. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  55575. case 4:
  55576. // returning from await.
  55577. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  55578. $async$goto = 5;
  55579. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  55580. case 5:
  55581. // returning from await.
  55582. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  55583. // goto return
  55584. $async$goto = 1;
  55585. break;
  55586. case 1:
  55587. // return
  55588. return A._asyncReturn($async$returnValue, $async$completer);
  55589. }
  55590. });
  55591. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  55592. },
  55593. visitNullExpression$1(node) {
  55594. return this.visitNullExpression$body$_EvaluateVisitor(node);
  55595. },
  55596. visitNullExpression$body$_EvaluateVisitor(node) {
  55597. var $async$goto = 0,
  55598. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55599. $async$returnValue;
  55600. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55601. if ($async$errorCode === 1)
  55602. return A._asyncRethrow($async$result, $async$completer);
  55603. while (true)
  55604. switch ($async$goto) {
  55605. case 0:
  55606. // Function start
  55607. $async$returnValue = B.C__SassNull;
  55608. // goto return
  55609. $async$goto = 1;
  55610. break;
  55611. case 1:
  55612. // return
  55613. return A._asyncReturn($async$returnValue, $async$completer);
  55614. }
  55615. });
  55616. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  55617. },
  55618. visitNumberExpression$1(node) {
  55619. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  55620. },
  55621. visitNumberExpression$body$_EvaluateVisitor(node) {
  55622. var $async$goto = 0,
  55623. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  55624. $async$returnValue;
  55625. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55626. if ($async$errorCode === 1)
  55627. return A._asyncRethrow($async$result, $async$completer);
  55628. while (true)
  55629. switch ($async$goto) {
  55630. case 0:
  55631. // Function start
  55632. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  55633. // goto return
  55634. $async$goto = 1;
  55635. break;
  55636. case 1:
  55637. // return
  55638. return A._asyncReturn($async$returnValue, $async$completer);
  55639. }
  55640. });
  55641. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  55642. },
  55643. visitParenthesizedExpression$1(node) {
  55644. return node.expression.accept$1(this);
  55645. },
  55646. visitCalculationExpression$1(node) {
  55647. return this.visitCalculationExpression$body$_EvaluateVisitor(node);
  55648. },
  55649. visitCalculationExpression$body$_EvaluateVisitor(node) {
  55650. var $async$goto = 0,
  55651. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55652. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  55653. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55654. if ($async$errorCode === 1)
  55655. return A._asyncRethrow($async$result, $async$completer);
  55656. while (true)
  55657. $async$outer:
  55658. switch ($async$goto) {
  55659. case 0:
  55660. // Function start
  55661. t1 = A._setArrayType([], type$.JSArray_Object);
  55662. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  55663. case 3:
  55664. // for condition
  55665. if (!(_i < t3)) {
  55666. // goto after for
  55667. $async$goto = 5;
  55668. break;
  55669. }
  55670. argument = t2[_i];
  55671. $async$temp1 = t1;
  55672. $async$goto = 6;
  55673. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  55674. case 6:
  55675. // returning from await.
  55676. $async$temp1.push($async$result);
  55677. case 4:
  55678. // for update
  55679. ++_i;
  55680. // goto for condition
  55681. $async$goto = 3;
  55682. break;
  55683. case 5:
  55684. // after for
  55685. $arguments = t1;
  55686. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  55687. $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  55688. // goto return
  55689. $async$goto = 1;
  55690. break;
  55691. }
  55692. try {
  55693. switch (t4) {
  55694. case "calc":
  55695. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  55696. $async$returnValue = t1;
  55697. // goto return
  55698. $async$goto = 1;
  55699. break $async$outer;
  55700. case "min":
  55701. t1 = A.SassCalculation_min($arguments);
  55702. $async$returnValue = t1;
  55703. // goto return
  55704. $async$goto = 1;
  55705. break $async$outer;
  55706. case "max":
  55707. t1 = A.SassCalculation_max($arguments);
  55708. $async$returnValue = t1;
  55709. // goto return
  55710. $async$goto = 1;
  55711. break $async$outer;
  55712. case "clamp":
  55713. t1 = J.$index$asx($arguments, 0);
  55714. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  55715. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  55716. $async$returnValue = t1;
  55717. // goto return
  55718. $async$goto = 1;
  55719. break $async$outer;
  55720. default:
  55721. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  55722. throw A.wrapException(t1);
  55723. }
  55724. } catch (exception) {
  55725. t1 = A.unwrapException(exception);
  55726. if (t1 instanceof A.SassScriptException) {
  55727. error = t1;
  55728. stackTrace = A.getTraceFromException(exception);
  55729. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  55730. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
  55731. } else
  55732. throw exception;
  55733. }
  55734. case 1:
  55735. // return
  55736. return A._asyncReturn($async$returnValue, $async$completer);
  55737. }
  55738. });
  55739. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  55740. },
  55741. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  55742. var i, t1, arg, number1, j, number2;
  55743. for (i = 0; t1 = args.length, i < t1; ++i) {
  55744. arg = args[i];
  55745. if (!(arg instanceof A.SassNumber))
  55746. continue;
  55747. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  55748. throw A.wrapException(this._async_evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  55749. }
  55750. for (i = 0; i < t1 - 1; ++i) {
  55751. number1 = args[i];
  55752. if (!(number1 instanceof A.SassNumber))
  55753. continue;
  55754. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  55755. number2 = args[j];
  55756. if (!(number2 instanceof A.SassNumber))
  55757. continue;
  55758. if (number1.hasPossiblyCompatibleUnits$1(number2))
  55759. continue;
  55760. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
  55761. }
  55762. }
  55763. },
  55764. _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  55765. return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
  55766. },
  55767. _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
  55768. var $async$goto = 0,
  55769. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  55770. $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
  55771. var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55772. if ($async$errorCode === 1)
  55773. return A._asyncRethrow($async$result, $async$completer);
  55774. while (true)
  55775. switch ($async$goto) {
  55776. case 0:
  55777. // Function start
  55778. $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
  55779. break;
  55780. case 3:
  55781. // then
  55782. inner = node.expression;
  55783. $async$goto = 6;
  55784. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55785. case 6:
  55786. // returning from await.
  55787. result = $async$result;
  55788. if (inner instanceof A.FunctionExpression)
  55789. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  55790. else
  55791. t1 = false;
  55792. $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  55793. // goto return
  55794. $async$goto = 1;
  55795. break;
  55796. // goto join
  55797. $async$goto = 4;
  55798. break;
  55799. case 5:
  55800. // else
  55801. $async$goto = node instanceof A.StringExpression ? 7 : 9;
  55802. break;
  55803. case 7:
  55804. // then
  55805. $async$temp1 = A;
  55806. $async$goto = 10;
  55807. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55808. case 10:
  55809. // returning from await.
  55810. $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
  55811. // goto return
  55812. $async$goto = 1;
  55813. break;
  55814. // goto join
  55815. $async$goto = 8;
  55816. break;
  55817. case 9:
  55818. // else
  55819. $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
  55820. break;
  55821. case 11:
  55822. // then
  55823. $async$goto = 14;
  55824. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure0($async$self, node, inMinMax), type$.Object), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55825. case 14:
  55826. // returning from await.
  55827. $async$returnValue = $async$result;
  55828. // goto return
  55829. $async$goto = 1;
  55830. break;
  55831. // goto join
  55832. $async$goto = 12;
  55833. break;
  55834. case 13:
  55835. // else
  55836. $async$goto = 15;
  55837. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55838. case 15:
  55839. // returning from await.
  55840. result = $async$result;
  55841. if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
  55842. $async$returnValue = result;
  55843. // goto return
  55844. $async$goto = 1;
  55845. break;
  55846. }
  55847. if (result instanceof A.SassString && !result._hasQuotes) {
  55848. $async$returnValue = result;
  55849. // goto return
  55850. $async$goto = 1;
  55851. break;
  55852. }
  55853. throw A.wrapException($async$self._async_evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  55854. case 12:
  55855. // join
  55856. case 8:
  55857. // join
  55858. case 4:
  55859. // join
  55860. case 1:
  55861. // return
  55862. return A._asyncReturn($async$returnValue, $async$completer);
  55863. }
  55864. });
  55865. return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
  55866. },
  55867. _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
  55868. switch (operator) {
  55869. case B.BinaryOperator_qbf:
  55870. return B.CalculationOperator_IyK;
  55871. case B.BinaryOperator_KlB:
  55872. return B.CalculationOperator_2bx;
  55873. case B.BinaryOperator_6pl:
  55874. return B.CalculationOperator_jFr;
  55875. case B.BinaryOperator_qpm:
  55876. return B.CalculationOperator_OvN;
  55877. default:
  55878. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  55879. }
  55880. },
  55881. visitColorExpression$1(node) {
  55882. return this.visitColorExpression$body$_EvaluateVisitor(node);
  55883. },
  55884. visitColorExpression$body$_EvaluateVisitor(node) {
  55885. var $async$goto = 0,
  55886. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  55887. $async$returnValue;
  55888. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55889. if ($async$errorCode === 1)
  55890. return A._asyncRethrow($async$result, $async$completer);
  55891. while (true)
  55892. switch ($async$goto) {
  55893. case 0:
  55894. // Function start
  55895. $async$returnValue = node.value;
  55896. // goto return
  55897. $async$goto = 1;
  55898. break;
  55899. case 1:
  55900. // return
  55901. return A._asyncReturn($async$returnValue, $async$completer);
  55902. }
  55903. });
  55904. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  55905. },
  55906. visitListExpression$1(node) {
  55907. return this.visitListExpression$body$_EvaluateVisitor(node);
  55908. },
  55909. visitListExpression$body$_EvaluateVisitor(node) {
  55910. var $async$goto = 0,
  55911. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  55912. $async$returnValue, $async$self = this, $async$temp1;
  55913. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55914. if ($async$errorCode === 1)
  55915. return A._asyncRethrow($async$result, $async$completer);
  55916. while (true)
  55917. switch ($async$goto) {
  55918. case 0:
  55919. // Function start
  55920. $async$temp1 = A;
  55921. $async$goto = 3;
  55922. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  55923. case 3:
  55924. // returning from await.
  55925. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  55926. // goto return
  55927. $async$goto = 1;
  55928. break;
  55929. case 1:
  55930. // return
  55931. return A._asyncReturn($async$returnValue, $async$completer);
  55932. }
  55933. });
  55934. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  55935. },
  55936. visitMapExpression$1(node) {
  55937. return this.visitMapExpression$body$_EvaluateVisitor(node);
  55938. },
  55939. visitMapExpression$body$_EvaluateVisitor(node) {
  55940. var $async$goto = 0,
  55941. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  55942. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  55943. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55944. if ($async$errorCode === 1)
  55945. return A._asyncRethrow($async$result, $async$completer);
  55946. while (true)
  55947. switch ($async$goto) {
  55948. case 0:
  55949. // Function start
  55950. t1 = type$.Value;
  55951. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55952. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  55953. t2 = node.pairs, t3 = t2.length, _i = 0;
  55954. case 3:
  55955. // for condition
  55956. if (!(_i < t3)) {
  55957. // goto after for
  55958. $async$goto = 5;
  55959. break;
  55960. }
  55961. pair = t2[_i];
  55962. t4 = pair.item1;
  55963. $async$goto = 6;
  55964. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  55965. case 6:
  55966. // returning from await.
  55967. keyValue = $async$result;
  55968. $async$goto = 7;
  55969. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  55970. case 7:
  55971. // returning from await.
  55972. valueValue = $async$result;
  55973. if (map.$index(0, keyValue) != null) {
  55974. t1 = keyNodes.$index(0, keyValue);
  55975. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  55976. t1 = J.getInterceptor$z(t4);
  55977. t2 = t1.get$span(t4);
  55978. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  55979. if (oldValueSpan != null)
  55980. t3.$indexSet(0, oldValueSpan, "first key");
  55981. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
  55982. }
  55983. map.$indexSet(0, keyValue, valueValue);
  55984. keyNodes.$indexSet(0, keyValue, t4);
  55985. case 4:
  55986. // for update
  55987. ++_i;
  55988. // goto for condition
  55989. $async$goto = 3;
  55990. break;
  55991. case 5:
  55992. // after for
  55993. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  55994. // goto return
  55995. $async$goto = 1;
  55996. break;
  55997. case 1:
  55998. // return
  55999. return A._asyncReturn($async$returnValue, $async$completer);
  56000. }
  56001. });
  56002. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  56003. },
  56004. visitFunctionExpression$1(node) {
  56005. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  56006. },
  56007. visitFunctionExpression$body$_EvaluateVisitor(node) {
  56008. var $async$goto = 0,
  56009. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56010. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  56011. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56012. if ($async$errorCode === 1)
  56013. return A._asyncRethrow($async$result, $async$completer);
  56014. while (true)
  56015. switch ($async$goto) {
  56016. case 0:
  56017. // Function start
  56018. t1 = {};
  56019. $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
  56020. t1.$function = $function;
  56021. if ($function == null) {
  56022. if (node.namespace != null)
  56023. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  56024. t1.$function = new A.PlainCssCallable(node.originalName);
  56025. }
  56026. oldInFunction = $async$self._async_evaluate$_inFunction;
  56027. $async$self._async_evaluate$_inFunction = true;
  56028. $async$goto = 3;
  56029. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
  56030. case 3:
  56031. // returning from await.
  56032. result = $async$result;
  56033. $async$self._async_evaluate$_inFunction = oldInFunction;
  56034. $async$returnValue = result;
  56035. // goto return
  56036. $async$goto = 1;
  56037. break;
  56038. case 1:
  56039. // return
  56040. return A._asyncReturn($async$returnValue, $async$completer);
  56041. }
  56042. });
  56043. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  56044. },
  56045. visitInterpolatedFunctionExpression$1(node) {
  56046. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  56047. },
  56048. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  56049. var $async$goto = 0,
  56050. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56051. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  56052. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56053. if ($async$errorCode === 1)
  56054. return A._asyncRethrow($async$result, $async$completer);
  56055. while (true)
  56056. switch ($async$goto) {
  56057. case 0:
  56058. // Function start
  56059. $async$goto = 3;
  56060. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  56061. case 3:
  56062. // returning from await.
  56063. t1 = $async$result;
  56064. oldInFunction = $async$self._async_evaluate$_inFunction;
  56065. $async$self._async_evaluate$_inFunction = true;
  56066. $async$goto = 4;
  56067. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0($async$self, node, new A.PlainCssCallable(t1)), type$.Value), $async$visitInterpolatedFunctionExpression$1);
  56068. case 4:
  56069. // returning from await.
  56070. result = $async$result;
  56071. $async$self._async_evaluate$_inFunction = oldInFunction;
  56072. $async$returnValue = result;
  56073. // goto return
  56074. $async$goto = 1;
  56075. break;
  56076. case 1:
  56077. // return
  56078. return A._asyncReturn($async$returnValue, $async$completer);
  56079. }
  56080. });
  56081. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  56082. },
  56083. _async_evaluate$_getFunction$2$namespace($name, namespace) {
  56084. var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
  56085. if (local != null || namespace != null)
  56086. return local;
  56087. return this._async_evaluate$_builtInFunctions.$index(0, $name);
  56088. },
  56089. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  56090. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  56091. },
  56092. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  56093. var $async$goto = 0,
  56094. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  56095. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  56096. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56097. if ($async$errorCode === 1)
  56098. return A._asyncRethrow($async$result, $async$completer);
  56099. while (true)
  56100. switch ($async$goto) {
  56101. case 0:
  56102. // Function start
  56103. $async$goto = 3;
  56104. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  56105. case 3:
  56106. // returning from await.
  56107. evaluated = $async$result;
  56108. $name = callable.declaration.name;
  56109. if ($name !== "@content")
  56110. $name += "()";
  56111. oldCallable = $async$self._async_evaluate$_currentCallable;
  56112. $async$self._async_evaluate$_currentCallable = callable;
  56113. $async$goto = 4;
  56114. return A._asyncAwait($async$self._async_evaluate$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure0($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  56115. case 4:
  56116. // returning from await.
  56117. result = $async$result;
  56118. $async$self._async_evaluate$_currentCallable = oldCallable;
  56119. $async$returnValue = result;
  56120. // goto return
  56121. $async$goto = 1;
  56122. break;
  56123. case 1:
  56124. // return
  56125. return A._asyncReturn($async$returnValue, $async$completer);
  56126. }
  56127. });
  56128. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  56129. },
  56130. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  56131. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  56132. },
  56133. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  56134. var $async$goto = 0,
  56135. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56136. $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
  56137. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56138. if ($async$errorCode === 1)
  56139. return A._asyncRethrow($async$result, $async$completer);
  56140. while (true)
  56141. switch ($async$goto) {
  56142. case 0:
  56143. // Function start
  56144. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  56145. break;
  56146. case 3:
  56147. // then
  56148. $async$goto = 6;
  56149. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  56150. case 6:
  56151. // returning from await.
  56152. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  56153. // goto return
  56154. $async$goto = 1;
  56155. break;
  56156. // goto join
  56157. $async$goto = 4;
  56158. break;
  56159. case 5:
  56160. // else
  56161. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  56162. break;
  56163. case 7:
  56164. // then
  56165. $async$goto = 10;
  56166. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure0($async$self, callable), type$.Value), $async$_async_evaluate$_runFunctionCallable$3);
  56167. case 10:
  56168. // returning from await.
  56169. $async$returnValue = $async$result;
  56170. // goto return
  56171. $async$goto = 1;
  56172. break;
  56173. // goto join
  56174. $async$goto = 8;
  56175. break;
  56176. case 9:
  56177. // else
  56178. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  56179. break;
  56180. case 11:
  56181. // then
  56182. t1 = $arguments.named;
  56183. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  56184. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  56185. t1 = callable.name + "(";
  56186. t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
  56187. case 14:
  56188. // for condition
  56189. if (!(_i < t3)) {
  56190. // goto after for
  56191. $async$goto = 16;
  56192. break;
  56193. }
  56194. argument = t2[_i];
  56195. if (first)
  56196. first = false;
  56197. else
  56198. t1 += ", ";
  56199. $async$temp1 = A;
  56200. $async$goto = 17;
  56201. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  56202. case 17:
  56203. // returning from await.
  56204. t1 += $async$temp1.S($async$result);
  56205. case 15:
  56206. // for update
  56207. ++_i;
  56208. // goto for condition
  56209. $async$goto = 14;
  56210. break;
  56211. case 16:
  56212. // after for
  56213. restArg = $arguments.rest;
  56214. $async$goto = restArg != null ? 18 : 19;
  56215. break;
  56216. case 18:
  56217. // then
  56218. $async$goto = 20;
  56219. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  56220. case 20:
  56221. // returning from await.
  56222. rest = $async$result;
  56223. if (!first)
  56224. t1 += ", ";
  56225. t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
  56226. case 19:
  56227. // join
  56228. t1 += A.Primitives_stringFromCharCode(41);
  56229. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  56230. // goto return
  56231. $async$goto = 1;
  56232. break;
  56233. // goto join
  56234. $async$goto = 12;
  56235. break;
  56236. case 13:
  56237. // else
  56238. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  56239. case 12:
  56240. // join
  56241. case 8:
  56242. // join
  56243. case 4:
  56244. // join
  56245. case 1:
  56246. // return
  56247. return A._asyncReturn($async$returnValue, $async$completer);
  56248. }
  56249. });
  56250. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  56251. },
  56252. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  56253. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  56254. },
  56255. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  56256. var $async$goto = 0,
  56257. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56258. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
  56259. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56260. if ($async$errorCode === 1) {
  56261. $async$currentError = $async$result;
  56262. $async$goto = $async$handler;
  56263. }
  56264. while (true)
  56265. switch ($async$goto) {
  56266. case 0:
  56267. // Function start
  56268. $async$goto = 3;
  56269. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  56270. case 3:
  56271. // returning from await.
  56272. evaluated = $async$result;
  56273. oldCallableNode = $async$self._async_evaluate$_callableNode;
  56274. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  56275. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  56276. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  56277. overload = tuple.item1;
  56278. callback = tuple.item2;
  56279. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
  56280. declaredArguments = overload.$arguments;
  56281. i = evaluated.positional.length, t1 = declaredArguments.length;
  56282. case 4:
  56283. // for condition
  56284. if (!(i < t1)) {
  56285. // goto after for
  56286. $async$goto = 6;
  56287. break;
  56288. }
  56289. argument = declaredArguments[i];
  56290. t2 = evaluated.positional;
  56291. t3 = evaluated.named.remove$1(0, argument.name);
  56292. $async$goto = t3 == null ? 7 : 8;
  56293. break;
  56294. case 7:
  56295. // then
  56296. t3 = argument.defaultValue;
  56297. $async$goto = 9;
  56298. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
  56299. case 9:
  56300. // returning from await.
  56301. t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
  56302. case 8:
  56303. // join
  56304. t2.push(t3);
  56305. case 5:
  56306. // for update
  56307. ++i;
  56308. // goto for condition
  56309. $async$goto = 4;
  56310. break;
  56311. case 6:
  56312. // after for
  56313. if (overload.restArgument != null) {
  56314. if (evaluated.positional.length > t1) {
  56315. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  56316. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  56317. } else
  56318. rest = B.List_empty7;
  56319. t1 = evaluated.named;
  56320. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  56321. evaluated.positional.push(argumentList);
  56322. } else
  56323. argumentList = null;
  56324. result = null;
  56325. $async$handler = 11;
  56326. $async$goto = 14;
  56327. return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
  56328. case 14:
  56329. // returning from await.
  56330. result = $async$result;
  56331. $async$handler = 2;
  56332. // goto after finally
  56333. $async$goto = 13;
  56334. break;
  56335. case 11:
  56336. // catch
  56337. $async$handler = 10;
  56338. $async$exception = $async$currentError;
  56339. t1 = A.unwrapException($async$exception);
  56340. if (type$.SassRuntimeException._is(t1))
  56341. throw $async$exception;
  56342. else if (t1 instanceof A.MultiSpanSassScriptException) {
  56343. error = t1;
  56344. stackTrace = A.getTraceFromException($async$exception);
  56345. t1 = error.message;
  56346. t2 = nodeWithSpan.get$span(nodeWithSpan);
  56347. t3 = error.primaryLabel;
  56348. t4 = error.secondarySpans;
  56349. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  56350. } else if (t1 instanceof A.MultiSpanSassException) {
  56351. error0 = t1;
  56352. stackTrace0 = A.getTraceFromException($async$exception);
  56353. t1 = error0._span_exception$_message;
  56354. t2 = error0;
  56355. t3 = J.getInterceptor$z(t2);
  56356. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  56357. t3 = error0.primaryLabel;
  56358. t4 = error0.secondarySpans;
  56359. t5 = error0;
  56360. t6 = J.getInterceptor$z(t5);
  56361. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  56362. } else {
  56363. error1 = t1;
  56364. stackTrace1 = A.getTraceFromException($async$exception);
  56365. message = null;
  56366. try {
  56367. message = A._asString(J.get$message$x(error1));
  56368. } catch (exception) {
  56369. message0 = J.toString$0$(error1);
  56370. message = message0;
  56371. }
  56372. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  56373. }
  56374. // goto after finally
  56375. $async$goto = 13;
  56376. break;
  56377. case 10:
  56378. // uncaught
  56379. // goto rethrow
  56380. $async$goto = 2;
  56381. break;
  56382. case 13:
  56383. // after finally
  56384. $async$self._async_evaluate$_callableNode = oldCallableNode;
  56385. if (argumentList == null) {
  56386. $async$returnValue = result;
  56387. // goto return
  56388. $async$goto = 1;
  56389. break;
  56390. }
  56391. if (evaluated.named.__js_helper$_length === 0) {
  56392. $async$returnValue = result;
  56393. // goto return
  56394. $async$goto = 1;
  56395. break;
  56396. }
  56397. if (argumentList._wereKeywordsAccessed) {
  56398. $async$returnValue = result;
  56399. // goto return
  56400. $async$goto = 1;
  56401. break;
  56402. }
  56403. t1 = evaluated.named;
  56404. t1 = t1.get$keys(t1);
  56405. t1 = A.pluralize("argument", t1.get$length(t1), null);
  56406. t2 = evaluated.named;
  56407. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure2(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  56408. case 1:
  56409. // return
  56410. return A._asyncReturn($async$returnValue, $async$completer);
  56411. case 2:
  56412. // rethrow
  56413. return A._asyncRethrow($async$currentError, $async$completer);
  56414. }
  56415. });
  56416. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  56417. },
  56418. _async_evaluate$_evaluateArguments$1($arguments) {
  56419. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  56420. },
  56421. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  56422. var $async$goto = 0,
  56423. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
  56424. $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  56425. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56426. if ($async$errorCode === 1)
  56427. return A._asyncRethrow($async$result, $async$completer);
  56428. while (true)
  56429. switch ($async$goto) {
  56430. case 0:
  56431. // Function start
  56432. positional = A._setArrayType([], type$.JSArray_Value);
  56433. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  56434. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  56435. case 3:
  56436. // for condition
  56437. if (!(_i < t2)) {
  56438. // goto after for
  56439. $async$goto = 5;
  56440. break;
  56441. }
  56442. expression = t1[_i];
  56443. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  56444. $async$temp1 = positional;
  56445. $async$goto = 6;
  56446. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56447. case 6:
  56448. // returning from await.
  56449. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  56450. positionalNodes.push(nodeForSpan);
  56451. case 4:
  56452. // for update
  56453. ++_i;
  56454. // goto for condition
  56455. $async$goto = 3;
  56456. break;
  56457. case 5:
  56458. // after for
  56459. t1 = type$.String;
  56460. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  56461. t2 = type$.AstNode;
  56462. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56463. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  56464. case 7:
  56465. // for condition
  56466. if (!t3.moveNext$0()) {
  56467. // goto after for
  56468. $async$goto = 8;
  56469. break;
  56470. }
  56471. t4 = t3.get$current(t3);
  56472. t5 = t4.value;
  56473. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  56474. t4 = t4.key;
  56475. $async$temp1 = named;
  56476. $async$temp2 = t4;
  56477. $async$goto = 9;
  56478. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56479. case 9:
  56480. // returning from await.
  56481. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  56482. namedNodes.$indexSet(0, t4, nodeForSpan);
  56483. // goto for condition
  56484. $async$goto = 7;
  56485. break;
  56486. case 8:
  56487. // after for
  56488. restArgs = $arguments.rest;
  56489. if (restArgs == null) {
  56490. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  56491. // goto return
  56492. $async$goto = 1;
  56493. break;
  56494. }
  56495. $async$goto = 10;
  56496. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56497. case 10:
  56498. // returning from await.
  56499. rest = $async$result;
  56500. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  56501. if (rest instanceof A.SassMap) {
  56502. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  56503. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56504. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  56505. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  56506. namedNodes.addAll$1(0, t3);
  56507. separator = B.ListSeparator_undecided_null_undecided;
  56508. } else if (rest instanceof A.SassList) {
  56509. t3 = rest._list$_contents;
  56510. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure4($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
  56511. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  56512. separator = rest._separator;
  56513. if (rest instanceof A.SassArgumentList) {
  56514. rest._wereKeywordsAccessed = true;
  56515. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  56516. }
  56517. } else {
  56518. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  56519. positionalNodes.push(restNodeForSpan);
  56520. separator = B.ListSeparator_undecided_null_undecided;
  56521. }
  56522. keywordRestArgs = $arguments.keywordRest;
  56523. if (keywordRestArgs == null) {
  56524. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  56525. // goto return
  56526. $async$goto = 1;
  56527. break;
  56528. }
  56529. $async$goto = 11;
  56530. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56531. case 11:
  56532. // returning from await.
  56533. keywordRest = $async$result;
  56534. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  56535. if (keywordRest instanceof A.SassMap) {
  56536. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  56537. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56538. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  56539. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  56540. namedNodes.addAll$1(0, t1);
  56541. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  56542. // goto return
  56543. $async$goto = 1;
  56544. break;
  56545. } else
  56546. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  56547. case 1:
  56548. // return
  56549. return A._asyncReturn($async$returnValue, $async$completer);
  56550. }
  56551. });
  56552. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  56553. },
  56554. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  56555. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  56556. },
  56557. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  56558. var $async$goto = 0,
  56559. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
  56560. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  56561. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56562. if ($async$errorCode === 1)
  56563. return A._asyncRethrow($async$result, $async$completer);
  56564. while (true)
  56565. switch ($async$goto) {
  56566. case 0:
  56567. // Function start
  56568. t1 = invocation.$arguments;
  56569. restArgs_ = t1.rest;
  56570. if (restArgs_ == null) {
  56571. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56572. // goto return
  56573. $async$goto = 1;
  56574. break;
  56575. }
  56576. t2 = t1.positional;
  56577. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  56578. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  56579. $async$goto = 3;
  56580. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  56581. case 3:
  56582. // returning from await.
  56583. rest = $async$result;
  56584. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  56585. if (rest instanceof A.SassMap)
  56586. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  56587. else if (rest instanceof A.SassList) {
  56588. t2 = rest._list$_contents;
  56589. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure4($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
  56590. if (rest instanceof A.SassArgumentList) {
  56591. rest._wereKeywordsAccessed = true;
  56592. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  56593. }
  56594. } else
  56595. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  56596. keywordRestArgs_ = t1.keywordRest;
  56597. if (keywordRestArgs_ == null) {
  56598. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56599. // goto return
  56600. $async$goto = 1;
  56601. break;
  56602. }
  56603. $async$goto = 4;
  56604. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  56605. case 4:
  56606. // returning from await.
  56607. keywordRest = $async$result;
  56608. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  56609. if (keywordRest instanceof A.SassMap) {
  56610. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  56611. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56612. // goto return
  56613. $async$goto = 1;
  56614. break;
  56615. } else
  56616. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  56617. case 1:
  56618. // return
  56619. return A._asyncReturn($async$returnValue, $async$completer);
  56620. }
  56621. });
  56622. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  56623. },
  56624. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  56625. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  56626. },
  56627. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  56628. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  56629. },
  56630. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  56631. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  56632. },
  56633. visitSelectorExpression$1(node) {
  56634. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  56635. },
  56636. visitSelectorExpression$body$_EvaluateVisitor(node) {
  56637. var $async$goto = 0,
  56638. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56639. $async$returnValue, $async$self = this, t1;
  56640. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56641. if ($async$errorCode === 1)
  56642. return A._asyncRethrow($async$result, $async$completer);
  56643. while (true)
  56644. switch ($async$goto) {
  56645. case 0:
  56646. // Function start
  56647. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56648. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  56649. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  56650. // goto return
  56651. $async$goto = 1;
  56652. break;
  56653. case 1:
  56654. // return
  56655. return A._asyncReturn($async$returnValue, $async$completer);
  56656. }
  56657. });
  56658. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  56659. },
  56660. visitStringExpression$1(node) {
  56661. return this.visitStringExpression$body$_EvaluateVisitor(node);
  56662. },
  56663. visitStringExpression$body$_EvaluateVisitor(node) {
  56664. var $async$goto = 0,
  56665. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  56666. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  56667. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56668. if ($async$errorCode === 1)
  56669. return A._asyncRethrow($async$result, $async$completer);
  56670. while (true)
  56671. switch ($async$goto) {
  56672. case 0:
  56673. // Function start
  56674. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  56675. $async$self._async_evaluate$_inSupportsDeclaration = false;
  56676. $async$temp1 = J;
  56677. $async$goto = 3;
  56678. return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  56679. case 3:
  56680. // returning from await.
  56681. t1 = $async$temp1.join$0$ax($async$result);
  56682. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  56683. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  56684. // goto return
  56685. $async$goto = 1;
  56686. break;
  56687. case 1:
  56688. // return
  56689. return A._asyncReturn($async$returnValue, $async$completer);
  56690. }
  56691. });
  56692. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  56693. },
  56694. visitSupportsExpression$1(expression) {
  56695. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  56696. },
  56697. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  56698. var $async$goto = 0,
  56699. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  56700. $async$returnValue, $async$self = this, $async$temp1;
  56701. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56702. if ($async$errorCode === 1)
  56703. return A._asyncRethrow($async$result, $async$completer);
  56704. while (true)
  56705. switch ($async$goto) {
  56706. case 0:
  56707. // Function start
  56708. $async$temp1 = A;
  56709. $async$goto = 3;
  56710. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  56711. case 3:
  56712. // returning from await.
  56713. $async$returnValue = new $async$temp1.SassString($async$result, false);
  56714. // goto return
  56715. $async$goto = 1;
  56716. break;
  56717. case 1:
  56718. // return
  56719. return A._asyncReturn($async$returnValue, $async$completer);
  56720. }
  56721. });
  56722. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  56723. },
  56724. visitCssAtRule$1(node) {
  56725. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  56726. },
  56727. visitCssAtRule$body$_EvaluateVisitor(node) {
  56728. var $async$goto = 0,
  56729. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56730. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  56731. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56732. if ($async$errorCode === 1)
  56733. return A._asyncRethrow($async$result, $async$completer);
  56734. while (true)
  56735. switch ($async$goto) {
  56736. case 0:
  56737. // Function start
  56738. if ($async$self._async_evaluate$_declarationName != null)
  56739. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  56740. if (node.isChildless) {
  56741. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  56742. // goto return
  56743. $async$goto = 1;
  56744. break;
  56745. }
  56746. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  56747. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  56748. t1 = node.name;
  56749. if (A.unvendor(t1.get$value(t1)) === "keyframes")
  56750. $async$self._async_evaluate$_inKeyframes = true;
  56751. else
  56752. $async$self._async_evaluate$_inUnknownAtRule = true;
  56753. $async$goto = 3;
  56754. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure2(), type$.ModifiableCssAtRule, type$.Null), $async$visitCssAtRule$1);
  56755. case 3:
  56756. // returning from await.
  56757. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  56758. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  56759. case 1:
  56760. // return
  56761. return A._asyncReturn($async$returnValue, $async$completer);
  56762. }
  56763. });
  56764. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  56765. },
  56766. visitCssComment$1(node) {
  56767. return this.visitCssComment$body$_EvaluateVisitor(node);
  56768. },
  56769. visitCssComment$body$_EvaluateVisitor(node) {
  56770. var $async$goto = 0,
  56771. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56772. $async$self = this;
  56773. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56774. if ($async$errorCode === 1)
  56775. return A._asyncRethrow($async$result, $async$completer);
  56776. while (true)
  56777. switch ($async$goto) {
  56778. case 0:
  56779. // Function start
  56780. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root") && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source))
  56781. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56782. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  56783. // implicit return
  56784. return A._asyncReturn(null, $async$completer);
  56785. }
  56786. });
  56787. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  56788. },
  56789. visitCssDeclaration$1(node) {
  56790. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  56791. },
  56792. visitCssDeclaration$body$_EvaluateVisitor(node) {
  56793. var $async$goto = 0,
  56794. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56795. $async$self = this, t1;
  56796. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56797. if ($async$errorCode === 1)
  56798. return A._asyncRethrow($async$result, $async$completer);
  56799. while (true)
  56800. switch ($async$goto) {
  56801. case 0:
  56802. // Function start
  56803. t1 = node.name;
  56804. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  56805. // implicit return
  56806. return A._asyncReturn(null, $async$completer);
  56807. }
  56808. });
  56809. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  56810. },
  56811. visitCssImport$1(node) {
  56812. return this.visitCssImport$body$_EvaluateVisitor(node);
  56813. },
  56814. visitCssImport$body$_EvaluateVisitor(node) {
  56815. var $async$goto = 0,
  56816. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56817. $async$self = this, t1, modifiableNode;
  56818. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56819. if ($async$errorCode === 1)
  56820. return A._asyncRethrow($async$result, $async$completer);
  56821. while (true)
  56822. switch ($async$goto) {
  56823. case 0:
  56824. // Function start
  56825. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  56826. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root"))
  56827. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  56828. else if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").children._collection$_source)) {
  56829. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  56830. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56831. } else {
  56832. t1 = $async$self._async_evaluate$_outOfOrderImports;
  56833. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  56834. }
  56835. // implicit return
  56836. return A._asyncReturn(null, $async$completer);
  56837. }
  56838. });
  56839. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  56840. },
  56841. visitCssKeyframeBlock$1(node) {
  56842. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  56843. },
  56844. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  56845. var $async$goto = 0,
  56846. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56847. $async$self = this;
  56848. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56849. if ($async$errorCode === 1)
  56850. return A._asyncRethrow($async$result, $async$completer);
  56851. while (true)
  56852. switch ($async$goto) {
  56853. case 0:
  56854. // Function start
  56855. $async$goto = 2;
  56856. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure2(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitCssKeyframeBlock$1);
  56857. case 2:
  56858. // returning from await.
  56859. // implicit return
  56860. return A._asyncReturn(null, $async$completer);
  56861. }
  56862. });
  56863. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  56864. },
  56865. visitCssMediaRule$1(node) {
  56866. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  56867. },
  56868. visitCssMediaRule$body$_EvaluateVisitor(node) {
  56869. var $async$goto = 0,
  56870. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56871. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  56872. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56873. if ($async$errorCode === 1)
  56874. return A._asyncRethrow($async$result, $async$completer);
  56875. while (true)
  56876. switch ($async$goto) {
  56877. case 0:
  56878. // Function start
  56879. if ($async$self._async_evaluate$_declarationName != null)
  56880. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  56881. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  56882. t1 = mergedQueries == null;
  56883. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  56884. // goto return
  56885. $async$goto = 1;
  56886. break;
  56887. }
  56888. if (t1)
  56889. mergedSources = B.Set_empty0;
  56890. else {
  56891. t2 = $async$self._async_evaluate$_mediaQuerySources;
  56892. t2.toString;
  56893. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  56894. t3 = $async$self._async_evaluate$_mediaQueries;
  56895. t3.toString;
  56896. t2.addAll$1(0, t3);
  56897. t2.addAll$1(0, node.queries);
  56898. mergedSources = t2;
  56899. }
  56900. t1 = t1 ? node.queries : mergedQueries;
  56901. $async$goto = 3;
  56902. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure3($async$self, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure4(mergedSources), type$.ModifiableCssMediaRule, type$.Null), $async$visitCssMediaRule$1);
  56903. case 3:
  56904. // returning from await.
  56905. case 1:
  56906. // return
  56907. return A._asyncReturn($async$returnValue, $async$completer);
  56908. }
  56909. });
  56910. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  56911. },
  56912. visitCssStyleRule$1(node) {
  56913. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  56914. },
  56915. visitCssStyleRule$body$_EvaluateVisitor(node) {
  56916. var $async$goto = 0,
  56917. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56918. $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
  56919. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56920. if ($async$errorCode === 1)
  56921. return A._asyncRethrow($async$result, $async$completer);
  56922. while (true)
  56923. switch ($async$goto) {
  56924. case 0:
  56925. // Function start
  56926. if ($async$self._async_evaluate$_declarationName != null)
  56927. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  56928. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56929. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56930. t2 = node.selector;
  56931. t3 = t2.value;
  56932. t4 = styleRule == null;
  56933. t5 = t4 ? null : styleRule.originalSelector;
  56934. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  56935. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, originalSelector);
  56936. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56937. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  56938. $async$goto = 2;
  56939. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure1($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  56940. case 2:
  56941. // returning from await.
  56942. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  56943. if (t4) {
  56944. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56945. t1 = !t1.get$isEmpty(t1);
  56946. } else
  56947. t1 = false;
  56948. if (t1) {
  56949. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56950. t1.get$last(t1).isGroupEnd = true;
  56951. }
  56952. // implicit return
  56953. return A._asyncReturn(null, $async$completer);
  56954. }
  56955. });
  56956. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  56957. },
  56958. visitCssStylesheet$1(node) {
  56959. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  56960. },
  56961. visitCssStylesheet$body$_EvaluateVisitor(node) {
  56962. var $async$goto = 0,
  56963. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56964. $async$self = this, t1;
  56965. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56966. if ($async$errorCode === 1)
  56967. return A._asyncRethrow($async$result, $async$completer);
  56968. while (true)
  56969. switch ($async$goto) {
  56970. case 0:
  56971. // Function start
  56972. t1 = J.get$iterator$ax(node.get$children(node));
  56973. case 2:
  56974. // for condition
  56975. if (!t1.moveNext$0()) {
  56976. // goto after for
  56977. $async$goto = 3;
  56978. break;
  56979. }
  56980. $async$goto = 4;
  56981. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  56982. case 4:
  56983. // returning from await.
  56984. // goto for condition
  56985. $async$goto = 2;
  56986. break;
  56987. case 3:
  56988. // after for
  56989. // implicit return
  56990. return A._asyncReturn(null, $async$completer);
  56991. }
  56992. });
  56993. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  56994. },
  56995. visitCssSupportsRule$1(node) {
  56996. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  56997. },
  56998. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  56999. var $async$goto = 0,
  57000. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  57001. $async$self = this;
  57002. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57003. if ($async$errorCode === 1)
  57004. return A._asyncRethrow($async$result, $async$completer);
  57005. while (true)
  57006. switch ($async$goto) {
  57007. case 0:
  57008. // Function start
  57009. if ($async$self._async_evaluate$_declarationName != null)
  57010. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  57011. $async$goto = 2;
  57012. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure1($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure2(), type$.ModifiableCssSupportsRule, type$.Null), $async$visitCssSupportsRule$1);
  57013. case 2:
  57014. // returning from await.
  57015. // implicit return
  57016. return A._asyncReturn(null, $async$completer);
  57017. }
  57018. });
  57019. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  57020. },
  57021. _async_evaluate$_handleReturn$1$2(list, callback) {
  57022. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  57023. },
  57024. _async_evaluate$_handleReturn$2(list, callback) {
  57025. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  57026. },
  57027. _handleReturn$body$_EvaluateVisitor(list, callback) {
  57028. var $async$goto = 0,
  57029. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  57030. $async$returnValue, t1, _i, result;
  57031. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57032. if ($async$errorCode === 1)
  57033. return A._asyncRethrow($async$result, $async$completer);
  57034. while (true)
  57035. switch ($async$goto) {
  57036. case 0:
  57037. // Function start
  57038. t1 = list.length, _i = 0;
  57039. case 3:
  57040. // for condition
  57041. if (!(_i < list.length)) {
  57042. // goto after for
  57043. $async$goto = 5;
  57044. break;
  57045. }
  57046. $async$goto = 6;
  57047. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  57048. case 6:
  57049. // returning from await.
  57050. result = $async$result;
  57051. if (result != null) {
  57052. $async$returnValue = result;
  57053. // goto return
  57054. $async$goto = 1;
  57055. break;
  57056. }
  57057. case 4:
  57058. // for update
  57059. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  57060. // goto for condition
  57061. $async$goto = 3;
  57062. break;
  57063. case 5:
  57064. // after for
  57065. $async$returnValue = null;
  57066. // goto return
  57067. $async$goto = 1;
  57068. break;
  57069. case 1:
  57070. // return
  57071. return A._asyncReturn($async$returnValue, $async$completer);
  57072. }
  57073. });
  57074. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  57075. },
  57076. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  57077. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  57078. },
  57079. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  57080. var $async$goto = 0,
  57081. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57082. $async$returnValue, $async$self = this, result, oldEnvironment;
  57083. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57084. if ($async$errorCode === 1)
  57085. return A._asyncRethrow($async$result, $async$completer);
  57086. while (true)
  57087. switch ($async$goto) {
  57088. case 0:
  57089. // Function start
  57090. oldEnvironment = $async$self._async_evaluate$_environment;
  57091. $async$self._async_evaluate$_environment = environment;
  57092. $async$goto = 3;
  57093. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  57094. case 3:
  57095. // returning from await.
  57096. result = $async$result;
  57097. $async$self._async_evaluate$_environment = oldEnvironment;
  57098. $async$returnValue = result;
  57099. // goto return
  57100. $async$goto = 1;
  57101. break;
  57102. case 1:
  57103. // return
  57104. return A._asyncReturn($async$returnValue, $async$completer);
  57105. }
  57106. });
  57107. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  57108. },
  57109. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  57110. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  57111. },
  57112. _async_evaluate$_interpolationToValue$1(interpolation) {
  57113. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  57114. },
  57115. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  57116. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  57117. },
  57118. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  57119. var $async$goto = 0,
  57120. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  57121. $async$returnValue, $async$self = this, result, t1;
  57122. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57123. if ($async$errorCode === 1)
  57124. return A._asyncRethrow($async$result, $async$completer);
  57125. while (true)
  57126. switch ($async$goto) {
  57127. case 0:
  57128. // Function start
  57129. $async$goto = 3;
  57130. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  57131. case 3:
  57132. // returning from await.
  57133. result = $async$result;
  57134. t1 = trim ? A.trimAscii(result, true) : result;
  57135. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  57136. // goto return
  57137. $async$goto = 1;
  57138. break;
  57139. case 1:
  57140. // return
  57141. return A._asyncReturn($async$returnValue, $async$completer);
  57142. }
  57143. });
  57144. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  57145. },
  57146. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  57147. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  57148. },
  57149. _async_evaluate$_performInterpolation$1(interpolation) {
  57150. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  57151. },
  57152. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  57153. var $async$goto = 0,
  57154. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  57155. $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
  57156. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57157. if ($async$errorCode === 1)
  57158. return A._asyncRethrow($async$result, $async$completer);
  57159. while (true)
  57160. switch ($async$goto) {
  57161. case 0:
  57162. // Function start
  57163. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  57164. $async$self._async_evaluate$_inSupportsDeclaration = false;
  57165. $async$temp1 = J;
  57166. $async$goto = 3;
  57167. return A._asyncAwait(A.mapAsync(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure0($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  57168. case 3:
  57169. // returning from await.
  57170. result = $async$temp1.join$0$ax($async$result);
  57171. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  57172. $async$returnValue = result;
  57173. // goto return
  57174. $async$goto = 1;
  57175. break;
  57176. case 1:
  57177. // return
  57178. return A._asyncReturn($async$returnValue, $async$completer);
  57179. }
  57180. });
  57181. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  57182. },
  57183. _evaluateToCss$2$quote(expression, quote) {
  57184. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  57185. },
  57186. _evaluateToCss$1(expression) {
  57187. return this._evaluateToCss$2$quote(expression, true);
  57188. },
  57189. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  57190. var $async$goto = 0,
  57191. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  57192. $async$returnValue, $async$self = this;
  57193. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57194. if ($async$errorCode === 1)
  57195. return A._asyncRethrow($async$result, $async$completer);
  57196. while (true)
  57197. switch ($async$goto) {
  57198. case 0:
  57199. // Function start
  57200. $async$goto = 3;
  57201. return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
  57202. case 3:
  57203. // returning from await.
  57204. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  57205. // goto return
  57206. $async$goto = 1;
  57207. break;
  57208. case 1:
  57209. // return
  57210. return A._asyncReturn($async$returnValue, $async$completer);
  57211. }
  57212. });
  57213. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  57214. },
  57215. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  57216. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  57217. },
  57218. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  57219. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  57220. },
  57221. _async_evaluate$_expressionNode$1(expression) {
  57222. var t1;
  57223. if (expression instanceof A.VariableExpression) {
  57224. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  57225. return t1 == null ? expression : t1;
  57226. } else
  57227. return expression;
  57228. },
  57229. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  57230. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  57231. },
  57232. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  57233. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  57234. },
  57235. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  57236. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  57237. },
  57238. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  57239. var $async$goto = 0,
  57240. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57241. $async$returnValue, $async$self = this, t1, result;
  57242. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57243. if ($async$errorCode === 1)
  57244. return A._asyncRethrow($async$result, $async$completer);
  57245. while (true)
  57246. switch ($async$goto) {
  57247. case 0:
  57248. // Function start
  57249. $async$self._async_evaluate$_addChild$2$through(node, through);
  57250. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  57251. $async$self._async_evaluate$__parent = node;
  57252. $async$goto = 3;
  57253. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  57254. case 3:
  57255. // returning from await.
  57256. result = $async$result;
  57257. $async$self._async_evaluate$__parent = t1;
  57258. $async$returnValue = result;
  57259. // goto return
  57260. $async$goto = 1;
  57261. break;
  57262. case 1:
  57263. // return
  57264. return A._asyncReturn($async$returnValue, $async$completer);
  57265. }
  57266. });
  57267. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  57268. },
  57269. _async_evaluate$_addChild$2$through(node, through) {
  57270. var grandparent, t1,
  57271. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  57272. if (through != null) {
  57273. for (; through.call$1($parent); $parent = grandparent) {
  57274. grandparent = $parent._parent;
  57275. if (grandparent == null)
  57276. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  57277. }
  57278. if ($parent.get$hasFollowingSibling()) {
  57279. t1 = $parent._parent;
  57280. t1.toString;
  57281. $parent = $parent.copyWithoutChildren$0();
  57282. t1.addChild$1($parent);
  57283. }
  57284. }
  57285. $parent.addChild$1(node);
  57286. },
  57287. _async_evaluate$_addChild$1(node) {
  57288. return this._async_evaluate$_addChild$2$through(node, null);
  57289. },
  57290. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  57291. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  57292. },
  57293. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  57294. var $async$goto = 0,
  57295. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57296. $async$returnValue, $async$self = this, result, oldRule;
  57297. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57298. if ($async$errorCode === 1)
  57299. return A._asyncRethrow($async$result, $async$completer);
  57300. while (true)
  57301. switch ($async$goto) {
  57302. case 0:
  57303. // Function start
  57304. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  57305. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  57306. $async$goto = 3;
  57307. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  57308. case 3:
  57309. // returning from await.
  57310. result = $async$result;
  57311. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  57312. $async$returnValue = result;
  57313. // goto return
  57314. $async$goto = 1;
  57315. break;
  57316. case 1:
  57317. // return
  57318. return A._asyncReturn($async$returnValue, $async$completer);
  57319. }
  57320. });
  57321. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  57322. },
  57323. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  57324. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  57325. },
  57326. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  57327. var $async$goto = 0,
  57328. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57329. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  57330. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57331. if ($async$errorCode === 1)
  57332. return A._asyncRethrow($async$result, $async$completer);
  57333. while (true)
  57334. switch ($async$goto) {
  57335. case 0:
  57336. // Function start
  57337. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  57338. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  57339. $async$self._async_evaluate$_mediaQueries = queries;
  57340. $async$self._async_evaluate$_mediaQuerySources = sources;
  57341. $async$goto = 3;
  57342. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  57343. case 3:
  57344. // returning from await.
  57345. result = $async$result;
  57346. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  57347. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  57348. $async$returnValue = result;
  57349. // goto return
  57350. $async$goto = 1;
  57351. break;
  57352. case 1:
  57353. // return
  57354. return A._asyncReturn($async$returnValue, $async$completer);
  57355. }
  57356. });
  57357. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  57358. },
  57359. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  57360. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  57361. },
  57362. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  57363. var $async$goto = 0,
  57364. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57365. $async$returnValue, $async$self = this, oldMember, result, t1;
  57366. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57367. if ($async$errorCode === 1)
  57368. return A._asyncRethrow($async$result, $async$completer);
  57369. while (true)
  57370. switch ($async$goto) {
  57371. case 0:
  57372. // Function start
  57373. t1 = $async$self._async_evaluate$_stack;
  57374. t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
  57375. oldMember = $async$self._async_evaluate$_member;
  57376. $async$self._async_evaluate$_member = member;
  57377. $async$goto = 3;
  57378. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  57379. case 3:
  57380. // returning from await.
  57381. result = $async$result;
  57382. $async$self._async_evaluate$_member = oldMember;
  57383. t1.pop();
  57384. $async$returnValue = result;
  57385. // goto return
  57386. $async$goto = 1;
  57387. break;
  57388. case 1:
  57389. // return
  57390. return A._asyncReturn($async$returnValue, $async$completer);
  57391. }
  57392. });
  57393. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  57394. },
  57395. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  57396. if (value instanceof A.SassNumber && value.asSlash != null)
  57397. this._async_evaluate$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
  57398. return value.withoutSlash$0();
  57399. },
  57400. _async_evaluate$_stackFrame$2(member, span) {
  57401. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  57402. },
  57403. _async_evaluate$_stackTrace$1(span) {
  57404. var _this = this,
  57405. t1 = _this._async_evaluate$_stack;
  57406. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  57407. if (span != null)
  57408. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  57409. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  57410. },
  57411. _async_evaluate$_stackTrace$0() {
  57412. return this._async_evaluate$_stackTrace$1(null);
  57413. },
  57414. _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
  57415. var t1, _this = this;
  57416. if (_this._async_evaluate$_quietDeps)
  57417. if (!_this._async_evaluate$_inDependency) {
  57418. t1 = _this._async_evaluate$_currentCallable;
  57419. t1 = t1 == null ? null : t1.inDependency;
  57420. t1 = t1 === true;
  57421. } else
  57422. t1 = true;
  57423. else
  57424. t1 = false;
  57425. if (t1)
  57426. return;
  57427. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  57428. return;
  57429. _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
  57430. },
  57431. _async_evaluate$_warn$2(message, span) {
  57432. return this._async_evaluate$_warn$3$deprecation(message, span, false);
  57433. },
  57434. _async_evaluate$_exception$2(message, span) {
  57435. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
  57436. return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
  57437. },
  57438. _async_evaluate$_exception$1(message) {
  57439. return this._async_evaluate$_exception$2(message, null);
  57440. },
  57441. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  57442. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
  57443. return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  57444. },
  57445. _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
  57446. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  57447. try {
  57448. t1 = callback.call$0();
  57449. return t1;
  57450. } catch (exception) {
  57451. t1 = A.unwrapException(exception);
  57452. if (t1 instanceof A.SassFormatException) {
  57453. error = t1;
  57454. stackTrace = A.getTraceFromException(exception);
  57455. t1 = error;
  57456. t2 = J.getInterceptor$z(t1);
  57457. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  57458. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  57459. span = nodeWithSpan.get$span(nodeWithSpan);
  57460. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  57461. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  57462. t2 = J.get$start$z(span);
  57463. t3 = error;
  57464. t4 = J.getInterceptor$z(t3);
  57465. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  57466. t3 = t3.get$start(t3);
  57467. t4 = J.get$start$z(span);
  57468. t5 = error;
  57469. t6 = J.getInterceptor$z(t5);
  57470. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  57471. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  57472. A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  57473. } else
  57474. throw exception;
  57475. }
  57476. },
  57477. _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
  57478. return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  57479. },
  57480. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  57481. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  57482. try {
  57483. t1 = callback.call$0();
  57484. return t1;
  57485. } catch (exception) {
  57486. t1 = A.unwrapException(exception);
  57487. if (t1 instanceof A.MultiSpanSassScriptException) {
  57488. error = t1;
  57489. stackTrace = A.getTraceFromException(exception);
  57490. t1 = error.message;
  57491. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57492. t3 = error.primaryLabel;
  57493. t4 = error.secondarySpans;
  57494. A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  57495. } else if (t1 instanceof A.SassScriptException) {
  57496. error0 = t1;
  57497. stackTrace0 = A.getTraceFromException(exception);
  57498. A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  57499. } else
  57500. throw exception;
  57501. }
  57502. },
  57503. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  57504. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  57505. },
  57506. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  57507. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  57508. },
  57509. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  57510. var $async$goto = 0,
  57511. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57512. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
  57513. var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57514. if ($async$errorCode === 1) {
  57515. $async$currentError = $async$result;
  57516. $async$goto = $async$handler;
  57517. }
  57518. while (true)
  57519. switch ($async$goto) {
  57520. case 0:
  57521. // Function start
  57522. $async$handler = 4;
  57523. $async$goto = 7;
  57524. return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
  57525. case 7:
  57526. // returning from await.
  57527. t1 = $async$result;
  57528. $async$returnValue = t1;
  57529. // goto return
  57530. $async$goto = 1;
  57531. break;
  57532. $async$handler = 2;
  57533. // goto after finally
  57534. $async$goto = 6;
  57535. break;
  57536. case 4:
  57537. // catch
  57538. $async$handler = 3;
  57539. $async$exception = $async$currentError;
  57540. t1 = A.unwrapException($async$exception);
  57541. if (t1 instanceof A.MultiSpanSassScriptException) {
  57542. error = t1;
  57543. stackTrace = A.getTraceFromException($async$exception);
  57544. t1 = error.message;
  57545. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57546. t3 = error.primaryLabel;
  57547. t4 = error.secondarySpans;
  57548. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  57549. } else if (t1 instanceof A.SassScriptException) {
  57550. error0 = t1;
  57551. stackTrace0 = A.getTraceFromException($async$exception);
  57552. A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  57553. } else
  57554. throw $async$exception;
  57555. // goto after finally
  57556. $async$goto = 6;
  57557. break;
  57558. case 3:
  57559. // uncaught
  57560. // goto rethrow
  57561. $async$goto = 2;
  57562. break;
  57563. case 6:
  57564. // after finally
  57565. case 1:
  57566. // return
  57567. return A._asyncReturn($async$returnValue, $async$completer);
  57568. case 2:
  57569. // rethrow
  57570. return A._asyncRethrow($async$currentError, $async$completer);
  57571. }
  57572. });
  57573. return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
  57574. },
  57575. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  57576. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  57577. },
  57578. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  57579. var $async$goto = 0,
  57580. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57581. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  57582. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57583. if ($async$errorCode === 1) {
  57584. $async$currentError = $async$result;
  57585. $async$goto = $async$handler;
  57586. }
  57587. while (true)
  57588. switch ($async$goto) {
  57589. case 0:
  57590. // Function start
  57591. $async$handler = 4;
  57592. $async$goto = 7;
  57593. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  57594. case 7:
  57595. // returning from await.
  57596. t1 = $async$result;
  57597. $async$returnValue = t1;
  57598. // goto return
  57599. $async$goto = 1;
  57600. break;
  57601. $async$handler = 2;
  57602. // goto after finally
  57603. $async$goto = 6;
  57604. break;
  57605. case 4:
  57606. // catch
  57607. $async$handler = 3;
  57608. $async$exception = $async$currentError;
  57609. t1 = A.unwrapException($async$exception);
  57610. if (type$.SassRuntimeException._is(t1)) {
  57611. error = t1;
  57612. stackTrace = A.getTraceFromException($async$exception);
  57613. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  57614. throw $async$exception;
  57615. t1 = error._span_exception$_message;
  57616. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57617. A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
  57618. } else
  57619. throw $async$exception;
  57620. // goto after finally
  57621. $async$goto = 6;
  57622. break;
  57623. case 3:
  57624. // uncaught
  57625. // goto rethrow
  57626. $async$goto = 2;
  57627. break;
  57628. case 6:
  57629. // after finally
  57630. case 1:
  57631. // return
  57632. return A._asyncReturn($async$returnValue, $async$completer);
  57633. case 2:
  57634. // rethrow
  57635. return A._asyncRethrow($async$currentError, $async$completer);
  57636. }
  57637. });
  57638. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  57639. }
  57640. };
  57641. A._EvaluateVisitor_closure9.prototype = {
  57642. call$1($arguments) {
  57643. var module, t2,
  57644. t1 = J.getInterceptor$asx($arguments),
  57645. variable = t1.$index($arguments, 0).assertString$1("name");
  57646. t1 = t1.$index($arguments, 1).get$realNull();
  57647. module = t1 == null ? null : t1.assertString$1("module");
  57648. t1 = this.$this._async_evaluate$_environment;
  57649. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  57650. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  57651. },
  57652. $signature: 20
  57653. };
  57654. A._EvaluateVisitor_closure10.prototype = {
  57655. call$1($arguments) {
  57656. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  57657. t1 = this.$this._async_evaluate$_environment;
  57658. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  57659. },
  57660. $signature: 20
  57661. };
  57662. A._EvaluateVisitor_closure11.prototype = {
  57663. call$1($arguments) {
  57664. var module, t2, t3, t4,
  57665. t1 = J.getInterceptor$asx($arguments),
  57666. variable = t1.$index($arguments, 0).assertString$1("name");
  57667. t1 = t1.$index($arguments, 1).get$realNull();
  57668. module = t1 == null ? null : t1.assertString$1("module");
  57669. t1 = this.$this;
  57670. t2 = t1._async_evaluate$_environment;
  57671. t3 = variable._string$_text;
  57672. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  57673. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._async_evaluate$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  57674. },
  57675. $signature: 20
  57676. };
  57677. A._EvaluateVisitor_closure12.prototype = {
  57678. call$1($arguments) {
  57679. var module, t2,
  57680. t1 = J.getInterceptor$asx($arguments),
  57681. variable = t1.$index($arguments, 0).assertString$1("name");
  57682. t1 = t1.$index($arguments, 1).get$realNull();
  57683. module = t1 == null ? null : t1.assertString$1("module");
  57684. t1 = this.$this._async_evaluate$_environment;
  57685. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  57686. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  57687. },
  57688. $signature: 20
  57689. };
  57690. A._EvaluateVisitor_closure13.prototype = {
  57691. call$1($arguments) {
  57692. var t1 = this.$this._async_evaluate$_environment;
  57693. if (!t1._async_environment$_inMixin)
  57694. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  57695. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  57696. },
  57697. $signature: 20
  57698. };
  57699. A._EvaluateVisitor_closure14.prototype = {
  57700. call$1($arguments) {
  57701. var t2, t3, t4,
  57702. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  57703. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  57704. if (module == null)
  57705. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  57706. t1 = type$.Value;
  57707. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57708. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  57709. t4 = t3.get$current(t3);
  57710. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  57711. }
  57712. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  57713. },
  57714. $signature: 37
  57715. };
  57716. A._EvaluateVisitor_closure15.prototype = {
  57717. call$1($arguments) {
  57718. var t2, t3, t4,
  57719. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  57720. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  57721. if (module == null)
  57722. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  57723. t1 = type$.Value;
  57724. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57725. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  57726. t4 = t3.get$current(t3);
  57727. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  57728. }
  57729. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  57730. },
  57731. $signature: 37
  57732. };
  57733. A._EvaluateVisitor_closure16.prototype = {
  57734. call$1($arguments) {
  57735. var module, callable, t2,
  57736. t1 = J.getInterceptor$asx($arguments),
  57737. $name = t1.$index($arguments, 0).assertString$1("name"),
  57738. css = t1.$index($arguments, 1).get$isTruthy();
  57739. t1 = t1.$index($arguments, 2).get$realNull();
  57740. module = t1 == null ? null : t1.assertString$1("module");
  57741. if (css && module != null)
  57742. throw A.wrapException(string$.x24css_a);
  57743. if (css)
  57744. callable = new A.PlainCssCallable($name._string$_text);
  57745. else {
  57746. t1 = this.$this;
  57747. t2 = t1._async_evaluate$_callableNode;
  57748. t2.toString;
  57749. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
  57750. }
  57751. if (callable != null)
  57752. return new A.SassFunction(callable);
  57753. throw A.wrapException("Function not found: " + $name.toString$0(0));
  57754. },
  57755. $signature: 184
  57756. };
  57757. A._EvaluateVisitor__closure4.prototype = {
  57758. call$0() {
  57759. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  57760. t2 = this.module;
  57761. t2 = t2 == null ? null : t2._string$_text;
  57762. return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
  57763. },
  57764. $signature: 111
  57765. };
  57766. A._EvaluateVisitor_closure17.prototype = {
  57767. call$1($arguments) {
  57768. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  57769. },
  57770. $call$body$_EvaluateVisitor_closure0($arguments) {
  57771. var $async$goto = 0,
  57772. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57773. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  57774. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57775. if ($async$errorCode === 1)
  57776. return A._asyncRethrow($async$result, $async$completer);
  57777. while (true)
  57778. switch ($async$goto) {
  57779. case 0:
  57780. // Function start
  57781. t1 = J.getInterceptor$asx($arguments);
  57782. $function = t1.$index($arguments, 0);
  57783. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  57784. t1 = $async$self.$this;
  57785. t2 = t1._async_evaluate$_callableNode;
  57786. t2.toString;
  57787. t3 = A._setArrayType([], type$.JSArray_Expression);
  57788. t4 = type$.String;
  57789. t5 = type$.Expression;
  57790. t6 = t2.get$span(t2);
  57791. t7 = t2.get$span(t2);
  57792. args._wereKeywordsAccessed = true;
  57793. t8 = args._keywords;
  57794. if (t8.get$isEmpty(t8))
  57795. t2 = null;
  57796. else {
  57797. t9 = type$.Value;
  57798. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  57799. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  57800. t11 = t8.get$current(t8);
  57801. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  57802. }
  57803. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  57804. }
  57805. invocation = new A.ArgumentInvocation(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  57806. $async$goto = $function instanceof A.SassString ? 3 : 4;
  57807. break;
  57808. case 3:
  57809. // then
  57810. t2 = $function.toString$0(0);
  57811. A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  57812. callableNode = t1._async_evaluate$_callableNode;
  57813. $async$goto = 5;
  57814. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  57815. case 5:
  57816. // returning from await.
  57817. $async$returnValue = $async$result;
  57818. // goto return
  57819. $async$goto = 1;
  57820. break;
  57821. case 4:
  57822. // join
  57823. t2 = $function.assertFunction$1("function");
  57824. t3 = t1._async_evaluate$_callableNode;
  57825. t3.toString;
  57826. $async$goto = 6;
  57827. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  57828. case 6:
  57829. // returning from await.
  57830. t3 = $async$result;
  57831. $async$returnValue = t3;
  57832. // goto return
  57833. $async$goto = 1;
  57834. break;
  57835. case 1:
  57836. // return
  57837. return A._asyncReturn($async$returnValue, $async$completer);
  57838. }
  57839. });
  57840. return A._asyncStartSync($async$call$1, $async$completer);
  57841. },
  57842. $signature: 211
  57843. };
  57844. A._EvaluateVisitor_closure18.prototype = {
  57845. call$1($arguments) {
  57846. return this.$call$body$_EvaluateVisitor_closure($arguments);
  57847. },
  57848. $call$body$_EvaluateVisitor_closure($arguments) {
  57849. var $async$goto = 0,
  57850. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  57851. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  57852. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57853. if ($async$errorCode === 1)
  57854. return A._asyncRethrow($async$result, $async$completer);
  57855. while (true)
  57856. switch ($async$goto) {
  57857. case 0:
  57858. // Function start
  57859. t1 = J.getInterceptor$asx($arguments);
  57860. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  57861. t1 = t1.$index($arguments, 1).get$realNull();
  57862. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  57863. t1 = $async$self.$this;
  57864. t2 = t1._async_evaluate$_callableNode;
  57865. t2.toString;
  57866. if (withMap != null) {
  57867. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  57868. withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
  57869. configuration = new A.ExplicitConfiguration(t2, values, null);
  57870. } else
  57871. configuration = B.Configuration_Map_empty_null;
  57872. t3 = t2.get$span(t2);
  57873. $async$goto = 2;
  57874. return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure3(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  57875. case 2:
  57876. // returning from await.
  57877. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  57878. // implicit return
  57879. return A._asyncReturn(null, $async$completer);
  57880. }
  57881. });
  57882. return A._asyncStartSync($async$call$1, $async$completer);
  57883. },
  57884. $signature: 391
  57885. };
  57886. A._EvaluateVisitor__closure2.prototype = {
  57887. call$2(variable, value) {
  57888. var t1 = variable.assertString$1("with key"),
  57889. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  57890. t1 = this.values;
  57891. if (t1.containsKey$1($name))
  57892. throw A.wrapException("The variable $" + $name + " was configured twice.");
  57893. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  57894. },
  57895. $signature: 60
  57896. };
  57897. A._EvaluateVisitor__closure3.prototype = {
  57898. call$1(module) {
  57899. var t1 = this.$this;
  57900. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  57901. },
  57902. $signature: 186
  57903. };
  57904. A._EvaluateVisitor_run_closure0.prototype = {
  57905. call$0() {
  57906. var $async$goto = 0,
  57907. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  57908. $async$returnValue, $async$self = this, t1, t2, url, $async$temp1, $async$temp2;
  57909. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57910. if ($async$errorCode === 1)
  57911. return A._asyncRethrow($async$result, $async$completer);
  57912. while (true)
  57913. switch ($async$goto) {
  57914. case 0:
  57915. // Function start
  57916. t1 = $async$self.node;
  57917. t2 = t1.span;
  57918. url = t2.get$sourceUrl(t2);
  57919. if (url != null) {
  57920. t2 = $async$self.$this;
  57921. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  57922. t2._async_evaluate$_loadedUrls.add$1(0, url);
  57923. }
  57924. t2 = $async$self.$this;
  57925. $async$temp1 = A;
  57926. $async$temp2 = t2;
  57927. $async$goto = 3;
  57928. return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
  57929. case 3:
  57930. // returning from await.
  57931. $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
  57932. // goto return
  57933. $async$goto = 1;
  57934. break;
  57935. case 1:
  57936. // return
  57937. return A._asyncReturn($async$returnValue, $async$completer);
  57938. }
  57939. });
  57940. return A._asyncStartSync($async$call$0, $async$completer);
  57941. },
  57942. $signature: 395
  57943. };
  57944. A._EvaluateVisitor__loadModule_closure1.prototype = {
  57945. call$0() {
  57946. return this.callback.call$1(this.builtInModule);
  57947. },
  57948. $signature: 0
  57949. };
  57950. A._EvaluateVisitor__loadModule_closure2.prototype = {
  57951. call$0() {
  57952. var $async$goto = 0,
  57953. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  57954. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t4, t5, t6, t7, t1, t2, result, stylesheet, t3, canonicalUrl, $async$exception;
  57955. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57956. if ($async$errorCode === 1) {
  57957. $async$currentError = $async$result;
  57958. $async$goto = $async$handler;
  57959. }
  57960. while (true)
  57961. switch ($async$goto) {
  57962. case 0:
  57963. // Function start
  57964. t1 = $async$self.$this;
  57965. t2 = $async$self.nodeWithSpan;
  57966. $async$goto = 2;
  57967. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
  57968. case 2:
  57969. // returning from await.
  57970. result = $async$result;
  57971. stylesheet = result.stylesheet;
  57972. t3 = stylesheet.span;
  57973. canonicalUrl = t3.get$sourceUrl(t3);
  57974. if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
  57975. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  57976. t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
  57977. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
  57978. }
  57979. if (canonicalUrl != null)
  57980. t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
  57981. oldInDependency = t1._async_evaluate$_inDependency;
  57982. t1._async_evaluate$_inDependency = result.isDependency;
  57983. module = null;
  57984. $async$handler = 3;
  57985. $async$goto = 6;
  57986. return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
  57987. case 6:
  57988. // returning from await.
  57989. module = $async$result;
  57990. $async$next.push(5);
  57991. // goto finally
  57992. $async$goto = 4;
  57993. break;
  57994. case 3:
  57995. // uncaught
  57996. $async$next = [1];
  57997. case 4:
  57998. // finally
  57999. $async$handler = 1;
  58000. t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  58001. t1._async_evaluate$_inDependency = oldInDependency;
  58002. // goto the next finally handler
  58003. $async$goto = $async$next.pop();
  58004. break;
  58005. case 5:
  58006. // after finally
  58007. $async$handler = 8;
  58008. $async$goto = 11;
  58009. return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
  58010. case 11:
  58011. // returning from await.
  58012. $async$handler = 1;
  58013. // goto after finally
  58014. $async$goto = 10;
  58015. break;
  58016. case 8:
  58017. // catch
  58018. $async$handler = 7;
  58019. $async$exception = $async$currentError;
  58020. t2 = A.unwrapException($async$exception);
  58021. if (type$.SassRuntimeException._is(t2))
  58022. throw $async$exception;
  58023. else if (t2 instanceof A.MultiSpanSassException) {
  58024. error = t2;
  58025. stackTrace = A.getTraceFromException($async$exception);
  58026. t2 = error._span_exception$_message;
  58027. t3 = error;
  58028. t4 = J.getInterceptor$z(t3);
  58029. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  58030. t4 = error.primaryLabel;
  58031. t5 = error.secondarySpans;
  58032. t6 = error;
  58033. t7 = J.getInterceptor$z(t6);
  58034. A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  58035. } else if (t2 instanceof A.SassException) {
  58036. error0 = t2;
  58037. stackTrace0 = A.getTraceFromException($async$exception);
  58038. t2 = error0;
  58039. t3 = J.getInterceptor$z(t2);
  58040. A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  58041. } else if (t2 instanceof A.MultiSpanSassScriptException) {
  58042. error1 = t2;
  58043. stackTrace1 = A.getTraceFromException($async$exception);
  58044. A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  58045. } else if (t2 instanceof A.SassScriptException) {
  58046. error2 = t2;
  58047. stackTrace2 = A.getTraceFromException($async$exception);
  58048. A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
  58049. } else
  58050. throw $async$exception;
  58051. // goto after finally
  58052. $async$goto = 10;
  58053. break;
  58054. case 7:
  58055. // uncaught
  58056. // goto rethrow
  58057. $async$goto = 1;
  58058. break;
  58059. case 10:
  58060. // after finally
  58061. // implicit return
  58062. return A._asyncReturn(null, $async$completer);
  58063. case 1:
  58064. // rethrow
  58065. return A._asyncRethrow($async$currentError, $async$completer);
  58066. }
  58067. });
  58068. return A._asyncStartSync($async$call$0, $async$completer);
  58069. },
  58070. $signature: 2
  58071. };
  58072. A._EvaluateVisitor__loadModule__closure0.prototype = {
  58073. call$1(previousLoad) {
  58074. return this.$this._async_evaluate$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  58075. },
  58076. $signature: 87
  58077. };
  58078. A._EvaluateVisitor__execute_closure0.prototype = {
  58079. call$0() {
  58080. var $async$goto = 0,
  58081. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58082. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  58083. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58084. if ($async$errorCode === 1)
  58085. return A._asyncRethrow($async$result, $async$completer);
  58086. while (true)
  58087. switch ($async$goto) {
  58088. case 0:
  58089. // Function start
  58090. t1 = $async$self.$this;
  58091. oldImporter = t1._async_evaluate$_importer;
  58092. oldStylesheet = t1._async_evaluate$__stylesheet;
  58093. oldRoot = t1._async_evaluate$__root;
  58094. oldParent = t1._async_evaluate$__parent;
  58095. oldEndOfImports = t1._async_evaluate$__endOfImports;
  58096. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  58097. oldExtensionStore = t1._async_evaluate$__extensionStore;
  58098. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  58099. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  58100. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  58101. oldDeclarationName = t1._async_evaluate$_declarationName;
  58102. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  58103. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  58104. oldConfiguration = t1._async_evaluate$_configuration;
  58105. t1._async_evaluate$_importer = $async$self.importer;
  58106. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  58107. t4 = t3.span;
  58108. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  58109. t1._async_evaluate$__endOfImports = 0;
  58110. t1._async_evaluate$_outOfOrderImports = null;
  58111. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  58112. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  58113. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  58114. t6 = $async$self.configuration;
  58115. if (t6 != null)
  58116. t1._async_evaluate$_configuration = t6;
  58117. $async$goto = 2;
  58118. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  58119. case 2:
  58120. // returning from await.
  58121. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  58122. $async$self.css._value = t3;
  58123. t1._async_evaluate$_importer = oldImporter;
  58124. t1._async_evaluate$__stylesheet = oldStylesheet;
  58125. t1._async_evaluate$__root = oldRoot;
  58126. t1._async_evaluate$__parent = oldParent;
  58127. t1._async_evaluate$__endOfImports = oldEndOfImports;
  58128. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  58129. t1._async_evaluate$__extensionStore = oldExtensionStore;
  58130. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  58131. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  58132. t1._async_evaluate$_declarationName = oldDeclarationName;
  58133. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  58134. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  58135. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  58136. t1._async_evaluate$_configuration = oldConfiguration;
  58137. // implicit return
  58138. return A._asyncReturn(null, $async$completer);
  58139. }
  58140. });
  58141. return A._asyncStartSync($async$call$0, $async$completer);
  58142. },
  58143. $signature: 2
  58144. };
  58145. A._EvaluateVisitor__combineCss_closure2.prototype = {
  58146. call$1(module) {
  58147. return module.get$transitivelyContainsCss();
  58148. },
  58149. $signature: 132
  58150. };
  58151. A._EvaluateVisitor__combineCss_closure3.prototype = {
  58152. call$1(target) {
  58153. return !this.selectors.contains$1(0, target);
  58154. },
  58155. $signature: 14
  58156. };
  58157. A._EvaluateVisitor__combineCss_closure4.prototype = {
  58158. call$1(module) {
  58159. return module.cloneCss$0();
  58160. },
  58161. $signature: 400
  58162. };
  58163. A._EvaluateVisitor__extendModules_closure1.prototype = {
  58164. call$1(target) {
  58165. return !this.originalSelectors.contains$1(0, target);
  58166. },
  58167. $signature: 14
  58168. };
  58169. A._EvaluateVisitor__extendModules_closure2.prototype = {
  58170. call$0() {
  58171. return A._setArrayType([], type$.JSArray_ExtensionStore);
  58172. },
  58173. $signature: 188
  58174. };
  58175. A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
  58176. call$1(module) {
  58177. var t1, t2, t3, _i, upstream;
  58178. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  58179. upstream = t1[_i];
  58180. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  58181. this.call$1(upstream);
  58182. }
  58183. this.sorted.addFirst$1(module);
  58184. },
  58185. $signature: 186
  58186. };
  58187. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  58188. call$0() {
  58189. var t1 = A.SpanScanner$(this.resolved, null);
  58190. return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
  58191. },
  58192. $signature: 117
  58193. };
  58194. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  58195. call$0() {
  58196. var $async$goto = 0,
  58197. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58198. $async$self = this, t1, t2, t3, _i;
  58199. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58200. if ($async$errorCode === 1)
  58201. return A._asyncRethrow($async$result, $async$completer);
  58202. while (true)
  58203. switch ($async$goto) {
  58204. case 0:
  58205. // Function start
  58206. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58207. case 2:
  58208. // for condition
  58209. if (!(_i < t2)) {
  58210. // goto after for
  58211. $async$goto = 4;
  58212. break;
  58213. }
  58214. $async$goto = 5;
  58215. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58216. case 5:
  58217. // returning from await.
  58218. case 3:
  58219. // for update
  58220. ++_i;
  58221. // goto for condition
  58222. $async$goto = 2;
  58223. break;
  58224. case 4:
  58225. // after for
  58226. // implicit return
  58227. return A._asyncReturn(null, $async$completer);
  58228. }
  58229. });
  58230. return A._asyncStartSync($async$call$0, $async$completer);
  58231. },
  58232. $signature: 2
  58233. };
  58234. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  58235. call$0() {
  58236. var $async$goto = 0,
  58237. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58238. $async$self = this, t1, t2, t3, _i;
  58239. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58240. if ($async$errorCode === 1)
  58241. return A._asyncRethrow($async$result, $async$completer);
  58242. while (true)
  58243. switch ($async$goto) {
  58244. case 0:
  58245. // Function start
  58246. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58247. case 2:
  58248. // for condition
  58249. if (!(_i < t2)) {
  58250. // goto after for
  58251. $async$goto = 4;
  58252. break;
  58253. }
  58254. $async$goto = 5;
  58255. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58256. case 5:
  58257. // returning from await.
  58258. case 3:
  58259. // for update
  58260. ++_i;
  58261. // goto for condition
  58262. $async$goto = 2;
  58263. break;
  58264. case 4:
  58265. // after for
  58266. // implicit return
  58267. return A._asyncReturn(null, $async$completer);
  58268. }
  58269. });
  58270. return A._asyncStartSync($async$call$0, $async$completer);
  58271. },
  58272. $signature: 38
  58273. };
  58274. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  58275. call$1(callback) {
  58276. var $async$goto = 0,
  58277. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58278. $async$self = this, t1, t2;
  58279. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58280. if ($async$errorCode === 1)
  58281. return A._asyncRethrow($async$result, $async$completer);
  58282. while (true)
  58283. switch ($async$goto) {
  58284. case 0:
  58285. // Function start
  58286. t1 = $async$self.$this;
  58287. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  58288. t1._async_evaluate$__parent = $async$self.newParent;
  58289. $async$goto = 2;
  58290. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  58291. case 2:
  58292. // returning from await.
  58293. t1._async_evaluate$__parent = t2;
  58294. // implicit return
  58295. return A._asyncReturn(null, $async$completer);
  58296. }
  58297. });
  58298. return A._asyncStartSync($async$call$1, $async$completer);
  58299. },
  58300. $signature: 33
  58301. };
  58302. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  58303. call$1(callback) {
  58304. var $async$goto = 0,
  58305. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58306. $async$self = this, t1, oldAtRootExcludingStyleRule;
  58307. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58308. if ($async$errorCode === 1)
  58309. return A._asyncRethrow($async$result, $async$completer);
  58310. while (true)
  58311. switch ($async$goto) {
  58312. case 0:
  58313. // Function start
  58314. t1 = $async$self.$this;
  58315. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  58316. t1._async_evaluate$_atRootExcludingStyleRule = true;
  58317. $async$goto = 2;
  58318. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58319. case 2:
  58320. // returning from await.
  58321. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  58322. // implicit return
  58323. return A._asyncReturn(null, $async$completer);
  58324. }
  58325. });
  58326. return A._asyncStartSync($async$call$1, $async$completer);
  58327. },
  58328. $signature: 33
  58329. };
  58330. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  58331. call$1(callback) {
  58332. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  58333. },
  58334. $signature: 33
  58335. };
  58336. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  58337. call$0() {
  58338. return this.innerScope.call$1(this.callback);
  58339. },
  58340. $signature: 2
  58341. };
  58342. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  58343. call$1(callback) {
  58344. var $async$goto = 0,
  58345. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58346. $async$self = this, t1, wasInKeyframes;
  58347. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58348. if ($async$errorCode === 1)
  58349. return A._asyncRethrow($async$result, $async$completer);
  58350. while (true)
  58351. switch ($async$goto) {
  58352. case 0:
  58353. // Function start
  58354. t1 = $async$self.$this;
  58355. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  58356. t1._async_evaluate$_inKeyframes = false;
  58357. $async$goto = 2;
  58358. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58359. case 2:
  58360. // returning from await.
  58361. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  58362. // implicit return
  58363. return A._asyncReturn(null, $async$completer);
  58364. }
  58365. });
  58366. return A._asyncStartSync($async$call$1, $async$completer);
  58367. },
  58368. $signature: 33
  58369. };
  58370. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  58371. call$1($parent) {
  58372. return type$.CssAtRule._is($parent);
  58373. },
  58374. $signature: 190
  58375. };
  58376. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  58377. call$1(callback) {
  58378. var $async$goto = 0,
  58379. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58380. $async$self = this, t1, wasInUnknownAtRule;
  58381. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58382. if ($async$errorCode === 1)
  58383. return A._asyncRethrow($async$result, $async$completer);
  58384. while (true)
  58385. switch ($async$goto) {
  58386. case 0:
  58387. // Function start
  58388. t1 = $async$self.$this;
  58389. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  58390. t1._async_evaluate$_inUnknownAtRule = false;
  58391. $async$goto = 2;
  58392. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58393. case 2:
  58394. // returning from await.
  58395. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  58396. // implicit return
  58397. return A._asyncReturn(null, $async$completer);
  58398. }
  58399. });
  58400. return A._asyncStartSync($async$call$1, $async$completer);
  58401. },
  58402. $signature: 33
  58403. };
  58404. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  58405. call$0() {
  58406. var $async$goto = 0,
  58407. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58408. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  58409. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58410. if ($async$errorCode === 1)
  58411. return A._asyncRethrow($async$result, $async$completer);
  58412. while (true)
  58413. switch ($async$goto) {
  58414. case 0:
  58415. // Function start
  58416. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58417. case 3:
  58418. // for condition
  58419. if (!(_i < t2)) {
  58420. // goto after for
  58421. $async$goto = 5;
  58422. break;
  58423. }
  58424. $async$goto = 6;
  58425. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58426. case 6:
  58427. // returning from await.
  58428. case 4:
  58429. // for update
  58430. ++_i;
  58431. // goto for condition
  58432. $async$goto = 3;
  58433. break;
  58434. case 5:
  58435. // after for
  58436. $async$returnValue = null;
  58437. // goto return
  58438. $async$goto = 1;
  58439. break;
  58440. case 1:
  58441. // return
  58442. return A._asyncReturn($async$returnValue, $async$completer);
  58443. }
  58444. });
  58445. return A._asyncStartSync($async$call$0, $async$completer);
  58446. },
  58447. $signature: 2
  58448. };
  58449. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  58450. call$1(value) {
  58451. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
  58452. },
  58453. $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
  58454. var $async$goto = 0,
  58455. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
  58456. $async$returnValue, $async$self = this, $async$temp1;
  58457. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58458. if ($async$errorCode === 1)
  58459. return A._asyncRethrow($async$result, $async$completer);
  58460. while (true)
  58461. switch ($async$goto) {
  58462. case 0:
  58463. // Function start
  58464. $async$temp1 = A;
  58465. $async$goto = 3;
  58466. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  58467. case 3:
  58468. // returning from await.
  58469. $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
  58470. // goto return
  58471. $async$goto = 1;
  58472. break;
  58473. case 1:
  58474. // return
  58475. return A._asyncReturn($async$returnValue, $async$completer);
  58476. }
  58477. });
  58478. return A._asyncStartSync($async$call$1, $async$completer);
  58479. },
  58480. $signature: 410
  58481. };
  58482. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  58483. call$0() {
  58484. var $async$goto = 0,
  58485. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58486. $async$self = this, t1, t2, t3, _i;
  58487. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58488. if ($async$errorCode === 1)
  58489. return A._asyncRethrow($async$result, $async$completer);
  58490. while (true)
  58491. switch ($async$goto) {
  58492. case 0:
  58493. // Function start
  58494. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58495. case 2:
  58496. // for condition
  58497. if (!(_i < t2)) {
  58498. // goto after for
  58499. $async$goto = 4;
  58500. break;
  58501. }
  58502. $async$goto = 5;
  58503. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58504. case 5:
  58505. // returning from await.
  58506. case 3:
  58507. // for update
  58508. ++_i;
  58509. // goto for condition
  58510. $async$goto = 2;
  58511. break;
  58512. case 4:
  58513. // after for
  58514. // implicit return
  58515. return A._asyncReturn(null, $async$completer);
  58516. }
  58517. });
  58518. return A._asyncStartSync($async$call$0, $async$completer);
  58519. },
  58520. $signature: 2
  58521. };
  58522. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  58523. call$1(value) {
  58524. var t1 = this.$this,
  58525. t2 = this.nodeWithSpan;
  58526. return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  58527. },
  58528. $signature: 52
  58529. };
  58530. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  58531. call$1(value) {
  58532. return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  58533. },
  58534. $signature: 52
  58535. };
  58536. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  58537. call$0() {
  58538. var _this = this,
  58539. t1 = _this.$this;
  58540. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  58541. },
  58542. $signature: 71
  58543. };
  58544. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  58545. call$1(element) {
  58546. var t1;
  58547. this.setVariables.call$1(element);
  58548. t1 = this.$this;
  58549. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  58550. },
  58551. $signature: 433
  58552. };
  58553. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  58554. call$1(child) {
  58555. return child.accept$1(this.$this);
  58556. },
  58557. $signature: 82
  58558. };
  58559. A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
  58560. call$0() {
  58561. var t1 = this.targetText;
  58562. return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
  58563. },
  58564. $signature: 47
  58565. };
  58566. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  58567. call$1(value) {
  58568. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  58569. },
  58570. $signature: 437
  58571. };
  58572. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  58573. call$0() {
  58574. var $async$goto = 0,
  58575. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58576. $async$self = this, t2, t3, _i, t1, styleRule;
  58577. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58578. if ($async$errorCode === 1)
  58579. return A._asyncRethrow($async$result, $async$completer);
  58580. while (true)
  58581. switch ($async$goto) {
  58582. case 0:
  58583. // Function start
  58584. t1 = $async$self.$this;
  58585. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  58586. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
  58587. break;
  58588. case 2:
  58589. // then
  58590. t2 = $async$self.children, t3 = t2.length, _i = 0;
  58591. case 5:
  58592. // for condition
  58593. if (!(_i < t3)) {
  58594. // goto after for
  58595. $async$goto = 7;
  58596. break;
  58597. }
  58598. $async$goto = 8;
  58599. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  58600. case 8:
  58601. // returning from await.
  58602. case 6:
  58603. // for update
  58604. ++_i;
  58605. // goto for condition
  58606. $async$goto = 5;
  58607. break;
  58608. case 7:
  58609. // after for
  58610. // goto join
  58611. $async$goto = 3;
  58612. break;
  58613. case 4:
  58614. // else
  58615. $async$goto = 9;
  58616. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  58617. case 9:
  58618. // returning from await.
  58619. case 3:
  58620. // join
  58621. // implicit return
  58622. return A._asyncReturn(null, $async$completer);
  58623. }
  58624. });
  58625. return A._asyncStartSync($async$call$0, $async$completer);
  58626. },
  58627. $signature: 2
  58628. };
  58629. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  58630. call$0() {
  58631. var $async$goto = 0,
  58632. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58633. $async$self = this, t1, t2, t3, _i;
  58634. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58635. if ($async$errorCode === 1)
  58636. return A._asyncRethrow($async$result, $async$completer);
  58637. while (true)
  58638. switch ($async$goto) {
  58639. case 0:
  58640. // Function start
  58641. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58642. case 2:
  58643. // for condition
  58644. if (!(_i < t2)) {
  58645. // goto after for
  58646. $async$goto = 4;
  58647. break;
  58648. }
  58649. $async$goto = 5;
  58650. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58651. case 5:
  58652. // returning from await.
  58653. case 3:
  58654. // for update
  58655. ++_i;
  58656. // goto for condition
  58657. $async$goto = 2;
  58658. break;
  58659. case 4:
  58660. // after for
  58661. // implicit return
  58662. return A._asyncReturn(null, $async$completer);
  58663. }
  58664. });
  58665. return A._asyncStartSync($async$call$0, $async$completer);
  58666. },
  58667. $signature: 2
  58668. };
  58669. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  58670. call$1(node) {
  58671. return type$.CssStyleRule._is(node);
  58672. },
  58673. $signature: 6
  58674. };
  58675. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  58676. call$0() {
  58677. var $async$goto = 0,
  58678. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  58679. $async$returnValue, $async$self = this;
  58680. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58681. if ($async$errorCode === 1)
  58682. return A._asyncRethrow($async$result, $async$completer);
  58683. while (true)
  58684. switch ($async$goto) {
  58685. case 0:
  58686. // Function start
  58687. $async$goto = 3;
  58688. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  58689. case 3:
  58690. // returning from await.
  58691. $async$returnValue = $async$result.assertNumber$0();
  58692. // goto return
  58693. $async$goto = 1;
  58694. break;
  58695. case 1:
  58696. // return
  58697. return A._asyncReturn($async$returnValue, $async$completer);
  58698. }
  58699. });
  58700. return A._asyncStartSync($async$call$0, $async$completer);
  58701. },
  58702. $signature: 200
  58703. };
  58704. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  58705. call$0() {
  58706. var $async$goto = 0,
  58707. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  58708. $async$returnValue, $async$self = this;
  58709. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58710. if ($async$errorCode === 1)
  58711. return A._asyncRethrow($async$result, $async$completer);
  58712. while (true)
  58713. switch ($async$goto) {
  58714. case 0:
  58715. // Function start
  58716. $async$goto = 3;
  58717. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  58718. case 3:
  58719. // returning from await.
  58720. $async$returnValue = $async$result.assertNumber$0();
  58721. // goto return
  58722. $async$goto = 1;
  58723. break;
  58724. case 1:
  58725. // return
  58726. return A._asyncReturn($async$returnValue, $async$completer);
  58727. }
  58728. });
  58729. return A._asyncStartSync($async$call$0, $async$completer);
  58730. },
  58731. $signature: 200
  58732. };
  58733. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  58734. call$0() {
  58735. return this.fromNumber.assertInt$0();
  58736. },
  58737. $signature: 12
  58738. };
  58739. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  58740. call$0() {
  58741. var t1 = this.fromNumber;
  58742. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  58743. },
  58744. $signature: 12
  58745. };
  58746. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  58747. call$0() {
  58748. var $async$goto = 0,
  58749. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  58750. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  58751. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58752. if ($async$errorCode === 1)
  58753. return A._asyncRethrow($async$result, $async$completer);
  58754. while (true)
  58755. switch ($async$goto) {
  58756. case 0:
  58757. // Function start
  58758. t1 = $async$self.$this;
  58759. t2 = $async$self.node;
  58760. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  58761. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  58762. case 3:
  58763. // for condition
  58764. if (!(i !== t3.to)) {
  58765. // goto after for
  58766. $async$goto = 5;
  58767. break;
  58768. }
  58769. t7 = t1._async_evaluate$_environment;
  58770. t8 = t6.get$numeratorUnits(t6);
  58771. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  58772. $async$goto = 6;
  58773. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  58774. case 6:
  58775. // returning from await.
  58776. result = $async$result;
  58777. if (result != null) {
  58778. $async$returnValue = result;
  58779. // goto return
  58780. $async$goto = 1;
  58781. break;
  58782. }
  58783. case 4:
  58784. // for update
  58785. i += t4;
  58786. // goto for condition
  58787. $async$goto = 3;
  58788. break;
  58789. case 5:
  58790. // after for
  58791. $async$returnValue = null;
  58792. // goto return
  58793. $async$goto = 1;
  58794. break;
  58795. case 1:
  58796. // return
  58797. return A._asyncReturn($async$returnValue, $async$completer);
  58798. }
  58799. });
  58800. return A._asyncStartSync($async$call$0, $async$completer);
  58801. },
  58802. $signature: 71
  58803. };
  58804. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  58805. call$1(child) {
  58806. return child.accept$1(this.$this);
  58807. },
  58808. $signature: 82
  58809. };
  58810. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  58811. call$1(module) {
  58812. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  58813. },
  58814. $signature: 108
  58815. };
  58816. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  58817. call$1(module) {
  58818. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  58819. },
  58820. $signature: 108
  58821. };
  58822. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  58823. call$0() {
  58824. var t1 = this.$this;
  58825. return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
  58826. },
  58827. $signature: 71
  58828. };
  58829. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  58830. call$1(child) {
  58831. return child.accept$1(this.$this);
  58832. },
  58833. $signature: 82
  58834. };
  58835. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  58836. call$0() {
  58837. var $async$goto = 0,
  58838. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58839. $async$returnValue, $async$self = this, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, t3, url;
  58840. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58841. if ($async$errorCode === 1)
  58842. return A._asyncRethrow($async$result, $async$completer);
  58843. while (true)
  58844. switch ($async$goto) {
  58845. case 0:
  58846. // Function start
  58847. t1 = $async$self.$this;
  58848. t2 = $async$self.$import;
  58849. $async$goto = 3;
  58850. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  58851. case 3:
  58852. // returning from await.
  58853. result = $async$result;
  58854. stylesheet = result.stylesheet;
  58855. t3 = stylesheet.span;
  58856. url = t3.get$sourceUrl(t3);
  58857. if (url != null) {
  58858. t3 = t1._async_evaluate$_activeModules;
  58859. if (t3.containsKey$1(url)) {
  58860. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  58861. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  58862. }
  58863. t3.$indexSet(0, url, t2);
  58864. }
  58865. t2 = stylesheet._uses;
  58866. t3 = type$.UnmodifiableListView_UseRule;
  58867. t4 = new A.UnmodifiableListView(t2, t3);
  58868. if (t4.get$length(t4) === 0) {
  58869. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  58870. t4 = t4.get$length(t4) === 0;
  58871. } else
  58872. t4 = false;
  58873. $async$goto = t4 ? 4 : 5;
  58874. break;
  58875. case 4:
  58876. // then
  58877. oldImporter = t1._async_evaluate$_importer;
  58878. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  58879. oldInDependency = t1._async_evaluate$_inDependency;
  58880. t1._async_evaluate$_importer = result.importer;
  58881. t1._async_evaluate$__stylesheet = stylesheet;
  58882. t1._async_evaluate$_inDependency = result.isDependency;
  58883. $async$goto = 6;
  58884. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  58885. case 6:
  58886. // returning from await.
  58887. t1._async_evaluate$_importer = oldImporter;
  58888. t1._async_evaluate$__stylesheet = t2;
  58889. t1._async_evaluate$_inDependency = oldInDependency;
  58890. t1._async_evaluate$_activeModules.remove$1(0, url);
  58891. // goto return
  58892. $async$goto = 1;
  58893. break;
  58894. case 5:
  58895. // join
  58896. t2 = new A.UnmodifiableListView(t2, t3);
  58897. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  58898. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  58899. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  58900. } else
  58901. loadsUserDefinedModules = true;
  58902. children = A._Cell$();
  58903. t2 = t1._async_evaluate$_environment;
  58904. t3 = type$.String;
  58905. t4 = type$.Module_AsyncCallable;
  58906. t5 = type$.AstNode;
  58907. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  58908. t7 = t2._async_environment$_variables;
  58909. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  58910. t8 = t2._async_environment$_variableNodes;
  58911. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  58912. t9 = t2._async_environment$_functions;
  58913. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  58914. t10 = t2._async_environment$_mixins;
  58915. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  58916. environment = A.AsyncEnvironment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment$_content);
  58917. $async$goto = 7;
  58918. return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  58919. case 7:
  58920. // returning from await.
  58921. module = environment.toDummyModule$0();
  58922. t1._async_evaluate$_environment.importForwards$1(module);
  58923. $async$goto = loadsUserDefinedModules ? 8 : 9;
  58924. break;
  58925. case 8:
  58926. // then
  58927. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  58928. break;
  58929. case 10:
  58930. // then
  58931. $async$goto = 12;
  58932. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  58933. case 12:
  58934. // returning from await.
  58935. case 11:
  58936. // join
  58937. visitor = new A._ImportedCssVisitor0(t1);
  58938. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  58939. t2.get$current(t2).accept$1(visitor);
  58940. case 9:
  58941. // join
  58942. t1._async_evaluate$_activeModules.remove$1(0, url);
  58943. case 1:
  58944. // return
  58945. return A._asyncReturn($async$returnValue, $async$completer);
  58946. }
  58947. });
  58948. return A._asyncStartSync($async$call$0, $async$completer);
  58949. },
  58950. $signature: 38
  58951. };
  58952. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  58953. call$1(previousLoad) {
  58954. return this.$this._async_evaluate$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  58955. },
  58956. $signature: 87
  58957. };
  58958. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  58959. call$1(rule) {
  58960. return rule.url.get$scheme() !== "sass";
  58961. },
  58962. $signature: 203
  58963. };
  58964. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  58965. call$1(rule) {
  58966. return rule.url.get$scheme() !== "sass";
  58967. },
  58968. $signature: 204
  58969. };
  58970. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  58971. call$0() {
  58972. var $async$goto = 0,
  58973. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58974. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  58975. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58976. if ($async$errorCode === 1)
  58977. return A._asyncRethrow($async$result, $async$completer);
  58978. while (true)
  58979. switch ($async$goto) {
  58980. case 0:
  58981. // Function start
  58982. t1 = $async$self.$this;
  58983. oldImporter = t1._async_evaluate$_importer;
  58984. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  58985. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  58986. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  58987. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  58988. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  58989. oldConfiguration = t1._async_evaluate$_configuration;
  58990. oldInDependency = t1._async_evaluate$_inDependency;
  58991. t6 = $async$self.result;
  58992. t1._async_evaluate$_importer = t6.importer;
  58993. t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  58994. t8 = $async$self.loadsUserDefinedModules;
  58995. if (t8) {
  58996. t9 = A.ModifiableCssStylesheet$(t7.span);
  58997. t1._async_evaluate$__root = t9;
  58998. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
  58999. t1._async_evaluate$__endOfImports = 0;
  59000. t1._async_evaluate$_outOfOrderImports = null;
  59001. }
  59002. t1._async_evaluate$_inDependency = t6.isDependency;
  59003. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  59004. if (!t6.get$isEmpty(t6))
  59005. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  59006. $async$goto = 2;
  59007. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  59008. case 2:
  59009. // returning from await.
  59010. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  59011. $async$self.children._value = t6;
  59012. t1._async_evaluate$_importer = oldImporter;
  59013. t1._async_evaluate$__stylesheet = t2;
  59014. if (t8) {
  59015. t1._async_evaluate$__root = t3;
  59016. t1._async_evaluate$__parent = t4;
  59017. t1._async_evaluate$__endOfImports = t5;
  59018. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  59019. }
  59020. t1._async_evaluate$_configuration = oldConfiguration;
  59021. t1._async_evaluate$_inDependency = oldInDependency;
  59022. // implicit return
  59023. return A._asyncReturn(null, $async$completer);
  59024. }
  59025. });
  59026. return A._asyncStartSync($async$call$0, $async$completer);
  59027. },
  59028. $signature: 2
  59029. };
  59030. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  59031. call$0() {
  59032. var t1 = this.node;
  59033. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  59034. },
  59035. $signature: 111
  59036. };
  59037. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  59038. call$0() {
  59039. return this.node.get$spanWithoutContent();
  59040. },
  59041. $signature: 31
  59042. };
  59043. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  59044. call$1($content) {
  59045. var t1 = this.$this;
  59046. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  59047. },
  59048. $signature: 482
  59049. };
  59050. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  59051. call$0() {
  59052. var $async$goto = 0,
  59053. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59054. $async$self = this, t1;
  59055. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59056. if ($async$errorCode === 1)
  59057. return A._asyncRethrow($async$result, $async$completer);
  59058. while (true)
  59059. switch ($async$goto) {
  59060. case 0:
  59061. // Function start
  59062. t1 = $async$self.$this;
  59063. $async$goto = 2;
  59064. return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  59065. case 2:
  59066. // returning from await.
  59067. // implicit return
  59068. return A._asyncReturn(null, $async$completer);
  59069. }
  59070. });
  59071. return A._asyncStartSync($async$call$0, $async$completer);
  59072. },
  59073. $signature: 2
  59074. };
  59075. A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
  59076. call$0() {
  59077. var $async$goto = 0,
  59078. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59079. $async$self = this, t1;
  59080. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59081. if ($async$errorCode === 1)
  59082. return A._asyncRethrow($async$result, $async$completer);
  59083. while (true)
  59084. switch ($async$goto) {
  59085. case 0:
  59086. // Function start
  59087. t1 = $async$self.$this;
  59088. $async$goto = 2;
  59089. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  59090. case 2:
  59091. // returning from await.
  59092. // implicit return
  59093. return A._asyncReturn(null, $async$completer);
  59094. }
  59095. });
  59096. return A._asyncStartSync($async$call$0, $async$completer);
  59097. },
  59098. $signature: 38
  59099. };
  59100. A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
  59101. call$0() {
  59102. var $async$goto = 0,
  59103. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59104. $async$self = this, t1, t2, t3, t4, t5, _i;
  59105. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59106. if ($async$errorCode === 1)
  59107. return A._asyncRethrow($async$result, $async$completer);
  59108. while (true)
  59109. switch ($async$goto) {
  59110. case 0:
  59111. // Function start
  59112. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
  59113. case 2:
  59114. // for condition
  59115. if (!(_i < t2)) {
  59116. // goto after for
  59117. $async$goto = 4;
  59118. break;
  59119. }
  59120. $async$goto = 5;
  59121. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
  59122. case 5:
  59123. // returning from await.
  59124. case 3:
  59125. // for update
  59126. ++_i;
  59127. // goto for condition
  59128. $async$goto = 2;
  59129. break;
  59130. case 4:
  59131. // after for
  59132. // implicit return
  59133. return A._asyncReturn(null, $async$completer);
  59134. }
  59135. });
  59136. return A._asyncStartSync($async$call$0, $async$completer);
  59137. },
  59138. $signature: 38
  59139. };
  59140. A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
  59141. call$0() {
  59142. return this.statement.accept$1(this.$this);
  59143. },
  59144. $signature: 71
  59145. };
  59146. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  59147. call$1(mediaQueries) {
  59148. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  59149. },
  59150. $signature: 99
  59151. };
  59152. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  59153. call$0() {
  59154. var $async$goto = 0,
  59155. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59156. $async$self = this, t1, t2;
  59157. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59158. if ($async$errorCode === 1)
  59159. return A._asyncRethrow($async$result, $async$completer);
  59160. while (true)
  59161. switch ($async$goto) {
  59162. case 0:
  59163. // Function start
  59164. t1 = $async$self.$this;
  59165. t2 = $async$self.mergedQueries;
  59166. if (t2 == null)
  59167. t2 = $async$self.queries;
  59168. $async$goto = 2;
  59169. return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  59170. case 2:
  59171. // returning from await.
  59172. // implicit return
  59173. return A._asyncReturn(null, $async$completer);
  59174. }
  59175. });
  59176. return A._asyncStartSync($async$call$0, $async$completer);
  59177. },
  59178. $signature: 2
  59179. };
  59180. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  59181. call$0() {
  59182. var $async$goto = 0,
  59183. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59184. $async$self = this, t2, t3, _i, t1, styleRule;
  59185. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59186. if ($async$errorCode === 1)
  59187. return A._asyncRethrow($async$result, $async$completer);
  59188. while (true)
  59189. switch ($async$goto) {
  59190. case 0:
  59191. // Function start
  59192. t1 = $async$self.$this;
  59193. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  59194. $async$goto = styleRule == null ? 2 : 4;
  59195. break;
  59196. case 2:
  59197. // then
  59198. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  59199. case 5:
  59200. // for condition
  59201. if (!(_i < t3)) {
  59202. // goto after for
  59203. $async$goto = 7;
  59204. break;
  59205. }
  59206. $async$goto = 8;
  59207. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  59208. case 8:
  59209. // returning from await.
  59210. case 6:
  59211. // for update
  59212. ++_i;
  59213. // goto for condition
  59214. $async$goto = 5;
  59215. break;
  59216. case 7:
  59217. // after for
  59218. // goto join
  59219. $async$goto = 3;
  59220. break;
  59221. case 4:
  59222. // else
  59223. $async$goto = 9;
  59224. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  59225. case 9:
  59226. // returning from await.
  59227. case 3:
  59228. // join
  59229. // implicit return
  59230. return A._asyncReturn(null, $async$completer);
  59231. }
  59232. });
  59233. return A._asyncStartSync($async$call$0, $async$completer);
  59234. },
  59235. $signature: 2
  59236. };
  59237. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  59238. call$0() {
  59239. var $async$goto = 0,
  59240. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59241. $async$self = this, t1, t2, t3, _i;
  59242. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59243. if ($async$errorCode === 1)
  59244. return A._asyncRethrow($async$result, $async$completer);
  59245. while (true)
  59246. switch ($async$goto) {
  59247. case 0:
  59248. // Function start
  59249. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59250. case 2:
  59251. // for condition
  59252. if (!(_i < t2)) {
  59253. // goto after for
  59254. $async$goto = 4;
  59255. break;
  59256. }
  59257. $async$goto = 5;
  59258. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59259. case 5:
  59260. // returning from await.
  59261. case 3:
  59262. // for update
  59263. ++_i;
  59264. // goto for condition
  59265. $async$goto = 2;
  59266. break;
  59267. case 4:
  59268. // after for
  59269. // implicit return
  59270. return A._asyncReturn(null, $async$completer);
  59271. }
  59272. });
  59273. return A._asyncStartSync($async$call$0, $async$completer);
  59274. },
  59275. $signature: 2
  59276. };
  59277. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  59278. call$1(node) {
  59279. var t1;
  59280. if (!type$.CssStyleRule._is(node)) {
  59281. t1 = this.mergedSources;
  59282. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  59283. } else
  59284. t1 = true;
  59285. return t1;
  59286. },
  59287. $signature: 6
  59288. };
  59289. A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
  59290. call$0() {
  59291. var t1 = A.SpanScanner$(this.resolved, null);
  59292. return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
  59293. },
  59294. $signature: 116
  59295. };
  59296. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  59297. call$0() {
  59298. var t1 = this.selectorText;
  59299. return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
  59300. },
  59301. $signature: 48
  59302. };
  59303. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  59304. call$0() {
  59305. var $async$goto = 0,
  59306. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59307. $async$self = this, t1, t2, t3, _i;
  59308. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59309. if ($async$errorCode === 1)
  59310. return A._asyncRethrow($async$result, $async$completer);
  59311. while (true)
  59312. switch ($async$goto) {
  59313. case 0:
  59314. // Function start
  59315. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59316. case 2:
  59317. // for condition
  59318. if (!(_i < t2)) {
  59319. // goto after for
  59320. $async$goto = 4;
  59321. break;
  59322. }
  59323. $async$goto = 5;
  59324. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59325. case 5:
  59326. // returning from await.
  59327. case 3:
  59328. // for update
  59329. ++_i;
  59330. // goto for condition
  59331. $async$goto = 2;
  59332. break;
  59333. case 4:
  59334. // after for
  59335. // implicit return
  59336. return A._asyncReturn(null, $async$completer);
  59337. }
  59338. });
  59339. return A._asyncStartSync($async$call$0, $async$completer);
  59340. },
  59341. $signature: 2
  59342. };
  59343. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  59344. call$1(node) {
  59345. return type$.CssStyleRule._is(node);
  59346. },
  59347. $signature: 6
  59348. };
  59349. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  59350. call$0() {
  59351. var _s11_ = "_stylesheet",
  59352. t1 = this.selectorText,
  59353. t2 = this.$this;
  59354. return A.SelectorList_SelectorList$parse(t1.get$value(t1), !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, t2._async_evaluate$_logger);
  59355. },
  59356. $signature: 47
  59357. };
  59358. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  59359. call$0() {
  59360. var t1 = this._box_0.parsedSelector,
  59361. t2 = this.$this,
  59362. t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
  59363. t3 = t3 == null ? null : t3.originalSelector;
  59364. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
  59365. },
  59366. $signature: 47
  59367. };
  59368. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  59369. call$0() {
  59370. var $async$goto = 0,
  59371. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59372. $async$self = this, t1;
  59373. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59374. if ($async$errorCode === 1)
  59375. return A._asyncRethrow($async$result, $async$completer);
  59376. while (true)
  59377. switch ($async$goto) {
  59378. case 0:
  59379. // Function start
  59380. t1 = $async$self.$this;
  59381. $async$goto = 2;
  59382. return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  59383. case 2:
  59384. // returning from await.
  59385. // implicit return
  59386. return A._asyncReturn(null, $async$completer);
  59387. }
  59388. });
  59389. return A._asyncStartSync($async$call$0, $async$completer);
  59390. },
  59391. $signature: 2
  59392. };
  59393. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  59394. call$0() {
  59395. var $async$goto = 0,
  59396. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59397. $async$self = this, t1, t2, t3, _i;
  59398. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59399. if ($async$errorCode === 1)
  59400. return A._asyncRethrow($async$result, $async$completer);
  59401. while (true)
  59402. switch ($async$goto) {
  59403. case 0:
  59404. // Function start
  59405. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59406. case 2:
  59407. // for condition
  59408. if (!(_i < t2)) {
  59409. // goto after for
  59410. $async$goto = 4;
  59411. break;
  59412. }
  59413. $async$goto = 5;
  59414. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59415. case 5:
  59416. // returning from await.
  59417. case 3:
  59418. // for update
  59419. ++_i;
  59420. // goto for condition
  59421. $async$goto = 2;
  59422. break;
  59423. case 4:
  59424. // after for
  59425. // implicit return
  59426. return A._asyncReturn(null, $async$completer);
  59427. }
  59428. });
  59429. return A._asyncStartSync($async$call$0, $async$completer);
  59430. },
  59431. $signature: 2
  59432. };
  59433. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  59434. call$1(node) {
  59435. return type$.CssStyleRule._is(node);
  59436. },
  59437. $signature: 6
  59438. };
  59439. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  59440. call$1(child) {
  59441. return type$.CssComment._is(child);
  59442. },
  59443. $signature: 136
  59444. };
  59445. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  59446. call$0() {
  59447. var $async$goto = 0,
  59448. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59449. $async$self = this, t2, t3, _i, t1, styleRule;
  59450. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59451. if ($async$errorCode === 1)
  59452. return A._asyncRethrow($async$result, $async$completer);
  59453. while (true)
  59454. switch ($async$goto) {
  59455. case 0:
  59456. // Function start
  59457. t1 = $async$self.$this;
  59458. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  59459. $async$goto = styleRule == null ? 2 : 4;
  59460. break;
  59461. case 2:
  59462. // then
  59463. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  59464. case 5:
  59465. // for condition
  59466. if (!(_i < t3)) {
  59467. // goto after for
  59468. $async$goto = 7;
  59469. break;
  59470. }
  59471. $async$goto = 8;
  59472. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  59473. case 8:
  59474. // returning from await.
  59475. case 6:
  59476. // for update
  59477. ++_i;
  59478. // goto for condition
  59479. $async$goto = 5;
  59480. break;
  59481. case 7:
  59482. // after for
  59483. // goto join
  59484. $async$goto = 3;
  59485. break;
  59486. case 4:
  59487. // else
  59488. $async$goto = 9;
  59489. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  59490. case 9:
  59491. // returning from await.
  59492. case 3:
  59493. // join
  59494. // implicit return
  59495. return A._asyncReturn(null, $async$completer);
  59496. }
  59497. });
  59498. return A._asyncStartSync($async$call$0, $async$completer);
  59499. },
  59500. $signature: 2
  59501. };
  59502. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  59503. call$0() {
  59504. var $async$goto = 0,
  59505. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59506. $async$self = this, t1, t2, t3, _i;
  59507. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59508. if ($async$errorCode === 1)
  59509. return A._asyncRethrow($async$result, $async$completer);
  59510. while (true)
  59511. switch ($async$goto) {
  59512. case 0:
  59513. // Function start
  59514. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59515. case 2:
  59516. // for condition
  59517. if (!(_i < t2)) {
  59518. // goto after for
  59519. $async$goto = 4;
  59520. break;
  59521. }
  59522. $async$goto = 5;
  59523. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59524. case 5:
  59525. // returning from await.
  59526. case 3:
  59527. // for update
  59528. ++_i;
  59529. // goto for condition
  59530. $async$goto = 2;
  59531. break;
  59532. case 4:
  59533. // after for
  59534. // implicit return
  59535. return A._asyncReturn(null, $async$completer);
  59536. }
  59537. });
  59538. return A._asyncStartSync($async$call$0, $async$completer);
  59539. },
  59540. $signature: 2
  59541. };
  59542. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  59543. call$1(node) {
  59544. return type$.CssStyleRule._is(node);
  59545. },
  59546. $signature: 6
  59547. };
  59548. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  59549. call$0() {
  59550. var t1 = this.override;
  59551. this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  59552. },
  59553. $signature: 1
  59554. };
  59555. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  59556. call$0() {
  59557. var t1 = this.node;
  59558. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  59559. },
  59560. $signature: 35
  59561. };
  59562. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  59563. call$0() {
  59564. var t1 = this.$this,
  59565. t2 = this.node;
  59566. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  59567. },
  59568. $signature: 1
  59569. };
  59570. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  59571. call$1(module) {
  59572. var t1 = this.node;
  59573. this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
  59574. },
  59575. $signature: 108
  59576. };
  59577. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  59578. call$0() {
  59579. return this.node.expression.accept$1(this.$this);
  59580. },
  59581. $signature: 61
  59582. };
  59583. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  59584. call$0() {
  59585. var $async$goto = 0,
  59586. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  59587. $async$returnValue, $async$self = this, t1, t2, t3, result;
  59588. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59589. if ($async$errorCode === 1)
  59590. return A._asyncRethrow($async$result, $async$completer);
  59591. while (true)
  59592. switch ($async$goto) {
  59593. case 0:
  59594. // Function start
  59595. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  59596. case 3:
  59597. // for condition
  59598. $async$goto = 5;
  59599. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  59600. case 5:
  59601. // returning from await.
  59602. if (!$async$result.get$isTruthy()) {
  59603. // goto after for
  59604. $async$goto = 4;
  59605. break;
  59606. }
  59607. $async$goto = 6;
  59608. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  59609. case 6:
  59610. // returning from await.
  59611. result = $async$result;
  59612. if (result != null) {
  59613. $async$returnValue = result;
  59614. // goto return
  59615. $async$goto = 1;
  59616. break;
  59617. }
  59618. // goto for condition
  59619. $async$goto = 3;
  59620. break;
  59621. case 4:
  59622. // after for
  59623. $async$returnValue = null;
  59624. // goto return
  59625. $async$goto = 1;
  59626. break;
  59627. case 1:
  59628. // return
  59629. return A._asyncReturn($async$returnValue, $async$completer);
  59630. }
  59631. });
  59632. return A._asyncStartSync($async$call$0, $async$completer);
  59633. },
  59634. $signature: 71
  59635. };
  59636. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  59637. call$1(child) {
  59638. return child.accept$1(this.$this);
  59639. },
  59640. $signature: 82
  59641. };
  59642. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  59643. call$0() {
  59644. var $async$goto = 0,
  59645. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  59646. $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
  59647. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59648. if ($async$errorCode === 1)
  59649. return A._asyncRethrow($async$result, $async$completer);
  59650. while (true)
  59651. switch ($async$goto) {
  59652. case 0:
  59653. // Function start
  59654. t1 = $async$self.node;
  59655. t2 = $async$self.$this;
  59656. $async$goto = 3;
  59657. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  59658. case 3:
  59659. // returning from await.
  59660. left = $async$result;
  59661. t3 = t1.operator;
  59662. case 4:
  59663. // switch
  59664. switch (t3) {
  59665. case B.BinaryOperator_axY:
  59666. // goto case
  59667. $async$goto = 6;
  59668. break;
  59669. case B.BinaryOperator_or_or_1_or:
  59670. // goto case
  59671. $async$goto = 7;
  59672. break;
  59673. case B.BinaryOperator_and_and_2_and:
  59674. // goto case
  59675. $async$goto = 8;
  59676. break;
  59677. case B.BinaryOperator_nZh:
  59678. // goto case
  59679. $async$goto = 9;
  59680. break;
  59681. case B.BinaryOperator_Vr9:
  59682. // goto case
  59683. $async$goto = 10;
  59684. break;
  59685. case B.BinaryOperator_cw1:
  59686. // goto case
  59687. $async$goto = 11;
  59688. break;
  59689. case B.BinaryOperator_Wma:
  59690. // goto case
  59691. $async$goto = 12;
  59692. break;
  59693. case B.BinaryOperator_apg:
  59694. // goto case
  59695. $async$goto = 13;
  59696. break;
  59697. case B.BinaryOperator_oqF:
  59698. // goto case
  59699. $async$goto = 14;
  59700. break;
  59701. case B.BinaryOperator_qbf:
  59702. // goto case
  59703. $async$goto = 15;
  59704. break;
  59705. case B.BinaryOperator_KlB:
  59706. // goto case
  59707. $async$goto = 16;
  59708. break;
  59709. case B.BinaryOperator_6pl:
  59710. // goto case
  59711. $async$goto = 17;
  59712. break;
  59713. case B.BinaryOperator_qpm:
  59714. // goto case
  59715. $async$goto = 18;
  59716. break;
  59717. case B.BinaryOperator_PHH:
  59718. // goto case
  59719. $async$goto = 19;
  59720. break;
  59721. default:
  59722. // goto default
  59723. $async$goto = 20;
  59724. break;
  59725. }
  59726. break;
  59727. case 6:
  59728. // case
  59729. $async$goto = 21;
  59730. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59731. case 21:
  59732. // returning from await.
  59733. right = $async$result;
  59734. $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  59735. // goto return
  59736. $async$goto = 1;
  59737. break;
  59738. case 7:
  59739. // case
  59740. $async$goto = left.get$isTruthy() ? 22 : 24;
  59741. break;
  59742. case 22:
  59743. // then
  59744. $async$result = left;
  59745. // goto join
  59746. $async$goto = 23;
  59747. break;
  59748. case 24:
  59749. // else
  59750. $async$goto = 25;
  59751. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59752. case 25:
  59753. // returning from await.
  59754. case 23:
  59755. // join
  59756. $async$returnValue = $async$result;
  59757. // goto return
  59758. $async$goto = 1;
  59759. break;
  59760. case 8:
  59761. // case
  59762. $async$goto = left.get$isTruthy() ? 26 : 28;
  59763. break;
  59764. case 26:
  59765. // then
  59766. $async$goto = 29;
  59767. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59768. case 29:
  59769. // returning from await.
  59770. // goto join
  59771. $async$goto = 27;
  59772. break;
  59773. case 28:
  59774. // else
  59775. $async$result = left;
  59776. case 27:
  59777. // join
  59778. $async$returnValue = $async$result;
  59779. // goto return
  59780. $async$goto = 1;
  59781. break;
  59782. case 9:
  59783. // case
  59784. $async$temp1 = left;
  59785. $async$goto = 30;
  59786. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59787. case 30:
  59788. // returning from await.
  59789. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  59790. // goto return
  59791. $async$goto = 1;
  59792. break;
  59793. case 10:
  59794. // case
  59795. $async$temp1 = left;
  59796. $async$goto = 31;
  59797. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59798. case 31:
  59799. // returning from await.
  59800. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  59801. // goto return
  59802. $async$goto = 1;
  59803. break;
  59804. case 11:
  59805. // case
  59806. $async$temp1 = left;
  59807. $async$goto = 32;
  59808. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59809. case 32:
  59810. // returning from await.
  59811. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  59812. // goto return
  59813. $async$goto = 1;
  59814. break;
  59815. case 12:
  59816. // case
  59817. $async$temp1 = left;
  59818. $async$goto = 33;
  59819. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59820. case 33:
  59821. // returning from await.
  59822. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  59823. // goto return
  59824. $async$goto = 1;
  59825. break;
  59826. case 13:
  59827. // case
  59828. $async$temp1 = left;
  59829. $async$goto = 34;
  59830. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59831. case 34:
  59832. // returning from await.
  59833. $async$returnValue = $async$temp1.lessThan$1($async$result);
  59834. // goto return
  59835. $async$goto = 1;
  59836. break;
  59837. case 14:
  59838. // case
  59839. $async$temp1 = left;
  59840. $async$goto = 35;
  59841. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59842. case 35:
  59843. // returning from await.
  59844. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  59845. // goto return
  59846. $async$goto = 1;
  59847. break;
  59848. case 15:
  59849. // case
  59850. $async$temp1 = left;
  59851. $async$goto = 36;
  59852. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59853. case 36:
  59854. // returning from await.
  59855. $async$returnValue = $async$temp1.plus$1($async$result);
  59856. // goto return
  59857. $async$goto = 1;
  59858. break;
  59859. case 16:
  59860. // case
  59861. $async$temp1 = left;
  59862. $async$goto = 37;
  59863. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59864. case 37:
  59865. // returning from await.
  59866. $async$returnValue = $async$temp1.minus$1($async$result);
  59867. // goto return
  59868. $async$goto = 1;
  59869. break;
  59870. case 17:
  59871. // case
  59872. $async$temp1 = left;
  59873. $async$goto = 38;
  59874. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59875. case 38:
  59876. // returning from await.
  59877. $async$returnValue = $async$temp1.times$1($async$result);
  59878. // goto return
  59879. $async$goto = 1;
  59880. break;
  59881. case 18:
  59882. // case
  59883. $async$goto = 39;
  59884. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59885. case 39:
  59886. // returning from await.
  59887. right = $async$result;
  59888. result = left.dividedBy$1(right);
  59889. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
  59890. $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
  59891. // goto return
  59892. $async$goto = 1;
  59893. break;
  59894. } else {
  59895. if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  59896. t2._async_evaluate$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  59897. $async$returnValue = result;
  59898. // goto return
  59899. $async$goto = 1;
  59900. break;
  59901. }
  59902. case 19:
  59903. // case
  59904. $async$temp1 = left;
  59905. $async$goto = 40;
  59906. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59907. case 40:
  59908. // returning from await.
  59909. $async$returnValue = $async$temp1.modulo$1($async$result);
  59910. // goto return
  59911. $async$goto = 1;
  59912. break;
  59913. case 20:
  59914. // default
  59915. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  59916. case 5:
  59917. // after switch
  59918. case 1:
  59919. // return
  59920. return A._asyncReturn($async$returnValue, $async$completer);
  59921. }
  59922. });
  59923. return A._asyncStartSync($async$call$0, $async$completer);
  59924. },
  59925. $signature: 61
  59926. };
  59927. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
  59928. call$1(expression) {
  59929. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_qpm)
  59930. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  59931. else if (expression instanceof A.ParenthesizedExpression)
  59932. return expression.expression.toString$0(0);
  59933. else
  59934. return expression.toString$0(0);
  59935. },
  59936. $signature: 135
  59937. };
  59938. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  59939. call$0() {
  59940. var t1 = this.node;
  59941. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  59942. },
  59943. $signature: 35
  59944. };
  59945. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  59946. call$0() {
  59947. var _this = this,
  59948. t1 = _this.node.operator;
  59949. switch (t1) {
  59950. case B.UnaryOperator_gg4:
  59951. return _this.operand.unaryPlus$0();
  59952. case B.UnaryOperator_TLI:
  59953. return _this.operand.unaryMinus$0();
  59954. case B.UnaryOperator_Ix1:
  59955. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  59956. case B.UnaryOperator_not_not_not:
  59957. return _this.operand.unaryNot$0();
  59958. default:
  59959. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  59960. }
  59961. },
  59962. $signature: 41
  59963. };
  59964. A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
  59965. call$0() {
  59966. var $async$goto = 0,
  59967. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  59968. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  59969. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59970. if ($async$errorCode === 1)
  59971. return A._asyncRethrow($async$result, $async$completer);
  59972. while (true)
  59973. switch ($async$goto) {
  59974. case 0:
  59975. // Function start
  59976. t1 = $async$self.$this;
  59977. t2 = $async$self.node;
  59978. t3 = $async$self.inMinMax;
  59979. $async$temp1 = A;
  59980. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
  59981. $async$goto = 3;
  59982. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  59983. case 3:
  59984. // returning from await.
  59985. $async$temp3 = $async$result;
  59986. $async$goto = 4;
  59987. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  59988. case 4:
  59989. // returning from await.
  59990. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  59991. // goto return
  59992. $async$goto = 1;
  59993. break;
  59994. case 1:
  59995. // return
  59996. return A._asyncReturn($async$returnValue, $async$completer);
  59997. }
  59998. });
  59999. return A._asyncStartSync($async$call$0, $async$completer);
  60000. },
  60001. $signature: 215
  60002. };
  60003. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  60004. call$1(expression) {
  60005. return expression.accept$1(this.$this);
  60006. },
  60007. $signature: 495
  60008. };
  60009. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  60010. call$0() {
  60011. var t1 = this.node;
  60012. return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  60013. },
  60014. $signature: 111
  60015. };
  60016. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  60017. call$0() {
  60018. var t1 = this.node;
  60019. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  60020. },
  60021. $signature: 61
  60022. };
  60023. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  60024. call$0() {
  60025. var t1 = this.node;
  60026. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  60027. },
  60028. $signature: 61
  60029. };
  60030. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  60031. call$0() {
  60032. var _this = this,
  60033. t1 = _this.$this,
  60034. t2 = _this.callable,
  60035. t3 = _this.V;
  60036. return t1._async_evaluate$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure0(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
  60037. },
  60038. $signature() {
  60039. return this.V._eval$1("Future<0>()");
  60040. }
  60041. };
  60042. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  60043. call$0() {
  60044. var _this = this,
  60045. t1 = _this.$this,
  60046. t2 = _this.V;
  60047. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  60048. },
  60049. $signature() {
  60050. return this.V._eval$1("Future<0>()");
  60051. }
  60052. };
  60053. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  60054. call$0() {
  60055. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  60056. },
  60057. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  60058. var $async$goto = 0,
  60059. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  60060. $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
  60061. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60062. if ($async$errorCode === 1)
  60063. return A._asyncRethrow($async$result, $async$completer);
  60064. while (true)
  60065. switch ($async$goto) {
  60066. case 0:
  60067. // Function start
  60068. t1 = $async$self.$this;
  60069. t2 = $async$self.evaluated;
  60070. t3 = t2.positional;
  60071. t4 = t2.named;
  60072. t5 = $async$self.callable.declaration.$arguments;
  60073. t6 = $async$self.nodeWithSpan;
  60074. t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
  60075. declaredArguments = t5.$arguments;
  60076. t7 = declaredArguments.length;
  60077. minLength = Math.min(t3.length, t7);
  60078. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  60079. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  60080. i = t3.length, t8 = t2.namedNodes;
  60081. case 3:
  60082. // for condition
  60083. if (!(i < t7)) {
  60084. // goto after for
  60085. $async$goto = 5;
  60086. break;
  60087. }
  60088. argument = declaredArguments[i];
  60089. t9 = argument.name;
  60090. value = t4.remove$1(0, t9);
  60091. $async$goto = value == null ? 6 : 7;
  60092. break;
  60093. case 6:
  60094. // then
  60095. t10 = argument.defaultValue;
  60096. $async$temp1 = t1;
  60097. $async$goto = 8;
  60098. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  60099. case 8:
  60100. // returning from await.
  60101. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
  60102. case 7:
  60103. // join
  60104. t10 = t1._async_evaluate$_environment;
  60105. t11 = t8.$index(0, t9);
  60106. if (t11 == null) {
  60107. t11 = argument.defaultValue;
  60108. t11.toString;
  60109. t11 = t1._async_evaluate$_expressionNode$1(t11);
  60110. }
  60111. t10.setLocalVariable$3(t9, value, t11);
  60112. case 4:
  60113. // for update
  60114. ++i;
  60115. // goto for condition
  60116. $async$goto = 3;
  60117. break;
  60118. case 5:
  60119. // after for
  60120. restArgument = t5.restArgument;
  60121. if (restArgument != null) {
  60122. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty7;
  60123. t2 = t2.separator;
  60124. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  60125. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  60126. } else
  60127. argumentList = null;
  60128. $async$goto = 9;
  60129. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  60130. case 9:
  60131. // returning from await.
  60132. result = $async$result;
  60133. if (argumentList == null) {
  60134. $async$returnValue = result;
  60135. // goto return
  60136. $async$goto = 1;
  60137. break;
  60138. }
  60139. t2 = t4.__js_helper$_length;
  60140. if (t2 === 0) {
  60141. $async$returnValue = result;
  60142. // goto return
  60143. $async$goto = 1;
  60144. break;
  60145. }
  60146. if (argumentList._wereKeywordsAccessed) {
  60147. $async$returnValue = result;
  60148. // goto return
  60149. $async$goto = 1;
  60150. break;
  60151. }
  60152. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  60153. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t6.get$span(t6))));
  60154. case 1:
  60155. // return
  60156. return A._asyncReturn($async$returnValue, $async$completer);
  60157. }
  60158. });
  60159. return A._asyncStartSync($async$call$0, $async$completer);
  60160. },
  60161. $signature() {
  60162. return this.V._eval$1("Future<0>()");
  60163. }
  60164. };
  60165. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  60166. call$1($name) {
  60167. return "$" + $name;
  60168. },
  60169. $signature: 5
  60170. };
  60171. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  60172. call$0() {
  60173. var $async$goto = 0,
  60174. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  60175. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  60176. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60177. if ($async$errorCode === 1)
  60178. return A._asyncRethrow($async$result, $async$completer);
  60179. while (true)
  60180. switch ($async$goto) {
  60181. case 0:
  60182. // Function start
  60183. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  60184. case 3:
  60185. // for condition
  60186. if (!(_i < t3)) {
  60187. // goto after for
  60188. $async$goto = 5;
  60189. break;
  60190. }
  60191. $async$goto = 6;
  60192. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  60193. case 6:
  60194. // returning from await.
  60195. $returnValue = $async$result;
  60196. if ($returnValue instanceof A.Value) {
  60197. $async$returnValue = $returnValue;
  60198. // goto return
  60199. $async$goto = 1;
  60200. break;
  60201. }
  60202. case 4:
  60203. // for update
  60204. ++_i;
  60205. // goto for condition
  60206. $async$goto = 3;
  60207. break;
  60208. case 5:
  60209. // after for
  60210. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  60211. case 1:
  60212. // return
  60213. return A._asyncReturn($async$returnValue, $async$completer);
  60214. }
  60215. });
  60216. return A._asyncStartSync($async$call$0, $async$completer);
  60217. },
  60218. $signature: 61
  60219. };
  60220. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  60221. call$0() {
  60222. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  60223. },
  60224. $signature: 0
  60225. };
  60226. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  60227. call$1($name) {
  60228. return "$" + $name;
  60229. },
  60230. $signature: 5
  60231. };
  60232. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  60233. call$1(value) {
  60234. return value;
  60235. },
  60236. $signature: 36
  60237. };
  60238. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  60239. call$1(value) {
  60240. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  60241. },
  60242. $signature: 36
  60243. };
  60244. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  60245. call$2(key, value) {
  60246. var _this = this,
  60247. t1 = _this.restNodeForSpan;
  60248. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  60249. _this.namedNodes.$indexSet(0, key, t1);
  60250. },
  60251. $signature: 78
  60252. };
  60253. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  60254. call$1(value) {
  60255. return value;
  60256. },
  60257. $signature: 36
  60258. };
  60259. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  60260. call$1(value) {
  60261. var t1 = this.restArgs;
  60262. return new A.ValueExpression(value, t1.get$span(t1));
  60263. },
  60264. $signature: 53
  60265. };
  60266. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  60267. call$1(value) {
  60268. var t1 = this.restArgs;
  60269. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  60270. },
  60271. $signature: 53
  60272. };
  60273. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  60274. call$2(key, value) {
  60275. var _this = this,
  60276. t1 = _this.restArgs;
  60277. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  60278. },
  60279. $signature: 78
  60280. };
  60281. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  60282. call$1(value) {
  60283. var t1 = this.keywordRestArgs;
  60284. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  60285. },
  60286. $signature: 53
  60287. };
  60288. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  60289. call$2(key, value) {
  60290. var t2, _this = this,
  60291. t1 = _this.$this;
  60292. if (key instanceof A.SassString)
  60293. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  60294. else {
  60295. t2 = _this.nodeWithSpan;
  60296. throw A.wrapException(t1._async_evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  60297. }
  60298. },
  60299. $signature: 60
  60300. };
  60301. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  60302. call$0() {
  60303. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  60304. },
  60305. $signature: 0
  60306. };
  60307. A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
  60308. call$1(value) {
  60309. var $async$goto = 0,
  60310. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  60311. $async$returnValue, $async$self = this, t1, result;
  60312. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60313. if ($async$errorCode === 1)
  60314. return A._asyncRethrow($async$result, $async$completer);
  60315. while (true)
  60316. switch ($async$goto) {
  60317. case 0:
  60318. // Function start
  60319. if (typeof value == "string") {
  60320. $async$returnValue = value;
  60321. // goto return
  60322. $async$goto = 1;
  60323. break;
  60324. }
  60325. type$.Expression._as(value);
  60326. t1 = $async$self.$this;
  60327. $async$goto = 3;
  60328. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  60329. case 3:
  60330. // returning from await.
  60331. result = $async$result;
  60332. $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
  60333. // goto return
  60334. $async$goto = 1;
  60335. break;
  60336. case 1:
  60337. // return
  60338. return A._asyncReturn($async$returnValue, $async$completer);
  60339. }
  60340. });
  60341. return A._asyncStartSync($async$call$1, $async$completer);
  60342. },
  60343. $signature: 80
  60344. };
  60345. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  60346. call$0() {
  60347. var $async$goto = 0,
  60348. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60349. $async$self = this, t1, t2, t3, t4;
  60350. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60351. if ($async$errorCode === 1)
  60352. return A._asyncRethrow($async$result, $async$completer);
  60353. while (true)
  60354. switch ($async$goto) {
  60355. case 0:
  60356. // Function start
  60357. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60358. case 2:
  60359. // for condition
  60360. if (!t1.moveNext$0()) {
  60361. // goto after for
  60362. $async$goto = 3;
  60363. break;
  60364. }
  60365. t4 = t1.__internal$_current;
  60366. $async$goto = 4;
  60367. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60368. case 4:
  60369. // returning from await.
  60370. // goto for condition
  60371. $async$goto = 2;
  60372. break;
  60373. case 3:
  60374. // after for
  60375. // implicit return
  60376. return A._asyncReturn(null, $async$completer);
  60377. }
  60378. });
  60379. return A._asyncStartSync($async$call$0, $async$completer);
  60380. },
  60381. $signature: 2
  60382. };
  60383. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  60384. call$1(node) {
  60385. return type$.CssStyleRule._is(node);
  60386. },
  60387. $signature: 6
  60388. };
  60389. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  60390. call$0() {
  60391. var $async$goto = 0,
  60392. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60393. $async$self = this, t1, t2, t3, t4;
  60394. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60395. if ($async$errorCode === 1)
  60396. return A._asyncRethrow($async$result, $async$completer);
  60397. while (true)
  60398. switch ($async$goto) {
  60399. case 0:
  60400. // Function start
  60401. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60402. case 2:
  60403. // for condition
  60404. if (!t1.moveNext$0()) {
  60405. // goto after for
  60406. $async$goto = 3;
  60407. break;
  60408. }
  60409. t4 = t1.__internal$_current;
  60410. $async$goto = 4;
  60411. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60412. case 4:
  60413. // returning from await.
  60414. // goto for condition
  60415. $async$goto = 2;
  60416. break;
  60417. case 3:
  60418. // after for
  60419. // implicit return
  60420. return A._asyncReturn(null, $async$completer);
  60421. }
  60422. });
  60423. return A._asyncStartSync($async$call$0, $async$completer);
  60424. },
  60425. $signature: 2
  60426. };
  60427. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  60428. call$1(node) {
  60429. return type$.CssStyleRule._is(node);
  60430. },
  60431. $signature: 6
  60432. };
  60433. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  60434. call$1(mediaQueries) {
  60435. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  60436. },
  60437. $signature: 99
  60438. };
  60439. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  60440. call$0() {
  60441. var $async$goto = 0,
  60442. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60443. $async$self = this, t1, t2;
  60444. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60445. if ($async$errorCode === 1)
  60446. return A._asyncRethrow($async$result, $async$completer);
  60447. while (true)
  60448. switch ($async$goto) {
  60449. case 0:
  60450. // Function start
  60451. t1 = $async$self.$this;
  60452. t2 = $async$self.mergedQueries;
  60453. if (t2 == null)
  60454. t2 = $async$self.node.queries;
  60455. $async$goto = 2;
  60456. return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  60457. case 2:
  60458. // returning from await.
  60459. // implicit return
  60460. return A._asyncReturn(null, $async$completer);
  60461. }
  60462. });
  60463. return A._asyncStartSync($async$call$0, $async$completer);
  60464. },
  60465. $signature: 2
  60466. };
  60467. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  60468. call$0() {
  60469. var $async$goto = 0,
  60470. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60471. $async$self = this, t2, t3, t4, t1, styleRule;
  60472. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60473. if ($async$errorCode === 1)
  60474. return A._asyncRethrow($async$result, $async$completer);
  60475. while (true)
  60476. switch ($async$goto) {
  60477. case 0:
  60478. // Function start
  60479. t1 = $async$self.$this;
  60480. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60481. $async$goto = styleRule == null ? 2 : 4;
  60482. break;
  60483. case 2:
  60484. // then
  60485. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  60486. case 5:
  60487. // for condition
  60488. if (!t2.moveNext$0()) {
  60489. // goto after for
  60490. $async$goto = 6;
  60491. break;
  60492. }
  60493. t4 = t2.__internal$_current;
  60494. $async$goto = 7;
  60495. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  60496. case 7:
  60497. // returning from await.
  60498. // goto for condition
  60499. $async$goto = 5;
  60500. break;
  60501. case 6:
  60502. // after for
  60503. // goto join
  60504. $async$goto = 3;
  60505. break;
  60506. case 4:
  60507. // else
  60508. $async$goto = 8;
  60509. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60510. case 8:
  60511. // returning from await.
  60512. case 3:
  60513. // join
  60514. // implicit return
  60515. return A._asyncReturn(null, $async$completer);
  60516. }
  60517. });
  60518. return A._asyncStartSync($async$call$0, $async$completer);
  60519. },
  60520. $signature: 2
  60521. };
  60522. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  60523. call$0() {
  60524. var $async$goto = 0,
  60525. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60526. $async$self = this, t1, t2, t3, t4;
  60527. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60528. if ($async$errorCode === 1)
  60529. return A._asyncRethrow($async$result, $async$completer);
  60530. while (true)
  60531. switch ($async$goto) {
  60532. case 0:
  60533. // Function start
  60534. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60535. case 2:
  60536. // for condition
  60537. if (!t1.moveNext$0()) {
  60538. // goto after for
  60539. $async$goto = 3;
  60540. break;
  60541. }
  60542. t4 = t1.__internal$_current;
  60543. $async$goto = 4;
  60544. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60545. case 4:
  60546. // returning from await.
  60547. // goto for condition
  60548. $async$goto = 2;
  60549. break;
  60550. case 3:
  60551. // after for
  60552. // implicit return
  60553. return A._asyncReturn(null, $async$completer);
  60554. }
  60555. });
  60556. return A._asyncStartSync($async$call$0, $async$completer);
  60557. },
  60558. $signature: 2
  60559. };
  60560. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  60561. call$1(node) {
  60562. var t1;
  60563. if (!type$.CssStyleRule._is(node)) {
  60564. t1 = this.mergedSources;
  60565. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  60566. } else
  60567. t1 = true;
  60568. return t1;
  60569. },
  60570. $signature: 6
  60571. };
  60572. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  60573. call$0() {
  60574. var $async$goto = 0,
  60575. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60576. $async$self = this, t1;
  60577. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60578. if ($async$errorCode === 1)
  60579. return A._asyncRethrow($async$result, $async$completer);
  60580. while (true)
  60581. switch ($async$goto) {
  60582. case 0:
  60583. // Function start
  60584. t1 = $async$self.$this;
  60585. $async$goto = 2;
  60586. return A._asyncAwait(t1._async_evaluate$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
  60587. case 2:
  60588. // returning from await.
  60589. // implicit return
  60590. return A._asyncReturn(null, $async$completer);
  60591. }
  60592. });
  60593. return A._asyncStartSync($async$call$0, $async$completer);
  60594. },
  60595. $signature: 2
  60596. };
  60597. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  60598. call$0() {
  60599. var $async$goto = 0,
  60600. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60601. $async$self = this, t1, t2, t3, t4;
  60602. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60603. if ($async$errorCode === 1)
  60604. return A._asyncRethrow($async$result, $async$completer);
  60605. while (true)
  60606. switch ($async$goto) {
  60607. case 0:
  60608. // Function start
  60609. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60610. case 2:
  60611. // for condition
  60612. if (!t1.moveNext$0()) {
  60613. // goto after for
  60614. $async$goto = 3;
  60615. break;
  60616. }
  60617. t4 = t1.__internal$_current;
  60618. $async$goto = 4;
  60619. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60620. case 4:
  60621. // returning from await.
  60622. // goto for condition
  60623. $async$goto = 2;
  60624. break;
  60625. case 3:
  60626. // after for
  60627. // implicit return
  60628. return A._asyncReturn(null, $async$completer);
  60629. }
  60630. });
  60631. return A._asyncStartSync($async$call$0, $async$completer);
  60632. },
  60633. $signature: 2
  60634. };
  60635. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  60636. call$1(node) {
  60637. return type$.CssStyleRule._is(node);
  60638. },
  60639. $signature: 6
  60640. };
  60641. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  60642. call$0() {
  60643. var $async$goto = 0,
  60644. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60645. $async$self = this, t2, t3, t4, t1, styleRule;
  60646. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60647. if ($async$errorCode === 1)
  60648. return A._asyncRethrow($async$result, $async$completer);
  60649. while (true)
  60650. switch ($async$goto) {
  60651. case 0:
  60652. // Function start
  60653. t1 = $async$self.$this;
  60654. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60655. $async$goto = styleRule == null ? 2 : 4;
  60656. break;
  60657. case 2:
  60658. // then
  60659. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  60660. case 5:
  60661. // for condition
  60662. if (!t2.moveNext$0()) {
  60663. // goto after for
  60664. $async$goto = 6;
  60665. break;
  60666. }
  60667. t4 = t2.__internal$_current;
  60668. $async$goto = 7;
  60669. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  60670. case 7:
  60671. // returning from await.
  60672. // goto for condition
  60673. $async$goto = 5;
  60674. break;
  60675. case 6:
  60676. // after for
  60677. // goto join
  60678. $async$goto = 3;
  60679. break;
  60680. case 4:
  60681. // else
  60682. $async$goto = 8;
  60683. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60684. case 8:
  60685. // returning from await.
  60686. case 3:
  60687. // join
  60688. // implicit return
  60689. return A._asyncReturn(null, $async$completer);
  60690. }
  60691. });
  60692. return A._asyncStartSync($async$call$0, $async$completer);
  60693. },
  60694. $signature: 2
  60695. };
  60696. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  60697. call$0() {
  60698. var $async$goto = 0,
  60699. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60700. $async$self = this, t1, t2, t3, t4;
  60701. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60702. if ($async$errorCode === 1)
  60703. return A._asyncRethrow($async$result, $async$completer);
  60704. while (true)
  60705. switch ($async$goto) {
  60706. case 0:
  60707. // Function start
  60708. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60709. case 2:
  60710. // for condition
  60711. if (!t1.moveNext$0()) {
  60712. // goto after for
  60713. $async$goto = 3;
  60714. break;
  60715. }
  60716. t4 = t1.__internal$_current;
  60717. $async$goto = 4;
  60718. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60719. case 4:
  60720. // returning from await.
  60721. // goto for condition
  60722. $async$goto = 2;
  60723. break;
  60724. case 3:
  60725. // after for
  60726. // implicit return
  60727. return A._asyncReturn(null, $async$completer);
  60728. }
  60729. });
  60730. return A._asyncStartSync($async$call$0, $async$completer);
  60731. },
  60732. $signature: 2
  60733. };
  60734. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  60735. call$1(node) {
  60736. return type$.CssStyleRule._is(node);
  60737. },
  60738. $signature: 6
  60739. };
  60740. A._EvaluateVisitor__performInterpolation_closure0.prototype = {
  60741. call$1(value) {
  60742. var $async$goto = 0,
  60743. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  60744. $async$returnValue, $async$self = this, t1, result, t2, t3;
  60745. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60746. if ($async$errorCode === 1)
  60747. return A._asyncRethrow($async$result, $async$completer);
  60748. while (true)
  60749. switch ($async$goto) {
  60750. case 0:
  60751. // Function start
  60752. if (typeof value == "string") {
  60753. $async$returnValue = value;
  60754. // goto return
  60755. $async$goto = 1;
  60756. break;
  60757. }
  60758. type$.Expression._as(value);
  60759. t1 = $async$self.$this;
  60760. $async$goto = 3;
  60761. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  60762. case 3:
  60763. // returning from await.
  60764. result = $async$result;
  60765. if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  60766. t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
  60767. t3 = $.$get$namesByColor();
  60768. t1._async_evaluate$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_qbf, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  60769. }
  60770. $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
  60771. // goto return
  60772. $async$goto = 1;
  60773. break;
  60774. case 1:
  60775. // return
  60776. return A._asyncReturn($async$returnValue, $async$completer);
  60777. }
  60778. });
  60779. return A._asyncStartSync($async$call$1, $async$completer);
  60780. },
  60781. $signature: 80
  60782. };
  60783. A._EvaluateVisitor__serialize_closure0.prototype = {
  60784. call$0() {
  60785. return A.serializeValue(this.value, false, this.quote);
  60786. },
  60787. $signature: 30
  60788. };
  60789. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  60790. call$0() {
  60791. var t1 = this.expression;
  60792. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  60793. },
  60794. $signature: 222
  60795. };
  60796. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  60797. call$1(number) {
  60798. var asSlash = number.asSlash;
  60799. if (asSlash != null)
  60800. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  60801. else
  60802. return A.serializeValue(number, true, true);
  60803. },
  60804. $signature: 224
  60805. };
  60806. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  60807. call$1(url) {
  60808. var t1 = this.$this._async_evaluate$_importCache;
  60809. t1 = t1 == null ? null : t1.humanize$1(url);
  60810. return t1 == null ? url : t1;
  60811. },
  60812. $signature: 81
  60813. };
  60814. A._EvaluateVisitor__stackTrace_closure0.prototype = {
  60815. call$1(tuple) {
  60816. return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  60817. },
  60818. $signature: 229
  60819. };
  60820. A._ImportedCssVisitor0.prototype = {
  60821. visitCssAtRule$1(node) {
  60822. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  60823. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  60824. },
  60825. visitCssComment$1(node) {
  60826. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  60827. },
  60828. visitCssDeclaration$1(node) {
  60829. },
  60830. visitCssImport$1(node) {
  60831. var t2,
  60832. _s13_ = "_endOfImports",
  60833. t1 = this._async_evaluate$_visitor;
  60834. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  60835. t1._async_evaluate$_addChild$1(node);
  60836. else if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root").children._collection$_source)) {
  60837. t1._async_evaluate$_addChild$1(node);
  60838. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  60839. } else {
  60840. t2 = t1._async_evaluate$_outOfOrderImports;
  60841. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  60842. }
  60843. },
  60844. visitCssKeyframeBlock$1(node) {
  60845. },
  60846. visitCssMediaRule$1(node) {
  60847. var t1 = this._async_evaluate$_visitor,
  60848. mediaQueries = t1._async_evaluate$_mediaQueries;
  60849. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  60850. },
  60851. visitCssStyleRule$1(node) {
  60852. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  60853. },
  60854. visitCssStylesheet$1(node) {
  60855. var t1, t2, t3;
  60856. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  60857. t3 = t1.__internal$_current;
  60858. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  60859. }
  60860. },
  60861. visitCssSupportsRule$1(node) {
  60862. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  60863. }
  60864. };
  60865. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  60866. call$1(node) {
  60867. return type$.CssStyleRule._is(node);
  60868. },
  60869. $signature: 6
  60870. };
  60871. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  60872. call$1(node) {
  60873. var t1;
  60874. if (!type$.CssStyleRule._is(node))
  60875. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  60876. else
  60877. t1 = true;
  60878. return t1;
  60879. },
  60880. $signature: 6
  60881. };
  60882. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  60883. call$1(node) {
  60884. return type$.CssStyleRule._is(node);
  60885. },
  60886. $signature: 6
  60887. };
  60888. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  60889. call$1(node) {
  60890. return type$.CssStyleRule._is(node);
  60891. },
  60892. $signature: 6
  60893. };
  60894. A.EvaluateResult.prototype = {};
  60895. A._EvaluationContext0.prototype = {
  60896. get$currentCallableSpan() {
  60897. var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  60898. if (callableNode != null)
  60899. return callableNode.get$span(callableNode);
  60900. throw A.wrapException(A.StateError$(string$.No_Sasc));
  60901. },
  60902. warn$2$deprecation(_, message, deprecation) {
  60903. var t1 = this._async_evaluate$_visitor,
  60904. t2 = t1._async_evaluate$_importSpan;
  60905. if (t2 == null) {
  60906. t2 = t1._async_evaluate$_callableNode;
  60907. t2 = t2 == null ? null : t2.get$span(t2);
  60908. }
  60909. t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  60910. },
  60911. $isEvaluationContext: 1
  60912. };
  60913. A._ArgumentResults0.prototype = {};
  60914. A._LoadedStylesheet0.prototype = {};
  60915. A._CloneCssVisitor.prototype = {
  60916. visitCssAtRule$1(node) {
  60917. var t1 = node.isChildless,
  60918. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  60919. return t1 ? rule : this._visitChildren$2(rule, node);
  60920. },
  60921. visitCssComment$1(node) {
  60922. return new A.ModifiableCssComment(node.text, node.span);
  60923. },
  60924. visitCssDeclaration$1(node) {
  60925. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  60926. },
  60927. visitCssImport$1(node) {
  60928. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  60929. },
  60930. visitCssKeyframeBlock$1(node) {
  60931. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  60932. },
  60933. visitCssMediaRule$1(node) {
  60934. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  60935. },
  60936. visitCssStyleRule$1(node) {
  60937. var newSelector = this._oldToNewSelectors.$index(0, node.selector);
  60938. if (newSelector == null)
  60939. throw A.wrapException(A.StateError$(string$.The_Ex));
  60940. return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
  60941. },
  60942. visitCssStylesheet$1(node) {
  60943. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  60944. },
  60945. visitCssSupportsRule$1(node) {
  60946. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  60947. },
  60948. _visitChildren$1$2(newParent, oldParent) {
  60949. var t1, t2, newChild;
  60950. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  60951. t2 = t1.get$current(t1);
  60952. newChild = t2.accept$1(this);
  60953. newChild.isGroupEnd = t2.get$isGroupEnd();
  60954. newParent.addChild$1(newChild);
  60955. }
  60956. return newParent;
  60957. },
  60958. _visitChildren$2(newParent, oldParent) {
  60959. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  60960. }
  60961. };
  60962. A.Evaluator.prototype = {};
  60963. A._EvaluateVisitor.prototype = {
  60964. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  60965. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  60966. _s20_ = "$name, $module: null",
  60967. _s9_ = "sass:meta",
  60968. t1 = type$.JSArray_BuiltInCallable,
  60969. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure0(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure1(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure2(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure3(_this), _s9_), A.BuiltInCallable$function("module-variables", "$module", new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", "$module", new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure7(_this), _s9_)], t1),
  60970. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
  60971. t1 = type$.BuiltInCallable;
  60972. t2 = A.List_List$of($.$get$global(), true, t1);
  60973. B.JSArray_methods.addAll$1(t2, $.$get$local());
  60974. B.JSArray_methods.addAll$1(t2, metaFunctions);
  60975. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  60976. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_BuiltInCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  60977. module = t1[_i];
  60978. t3.$indexSet(0, module.url, module);
  60979. }
  60980. t1 = A._setArrayType([], type$.JSArray_Callable);
  60981. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  60982. B.JSArray_methods.addAll$1(t1, metaFunctions);
  60983. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  60984. $function = t1[_i];
  60985. t4 = J.get$name$x($function);
  60986. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  60987. }
  60988. },
  60989. run$2(_, importer, node) {
  60990. var t1 = type$.nullable_Object;
  60991. return A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.EvaluateResult);
  60992. },
  60993. runExpression$2(importer, expression) {
  60994. var t1 = type$.nullable_Object;
  60995. return A.runZoned(new A._EvaluateVisitor_runExpression_closure(this, importer, expression), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, expression)], t1, t1), type$.Value);
  60996. },
  60997. runStatement$2(importer, statement) {
  60998. var t1 = type$.nullable_Object;
  60999. return A.runZoned(new A._EvaluateVisitor_runStatement_closure(this, importer, statement), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, statement)], t1, t1), type$.void);
  61000. },
  61001. _assertInModule$1$2(value, $name) {
  61002. if (value != null)
  61003. return value;
  61004. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  61005. },
  61006. _assertInModule$2(value, $name) {
  61007. return this._assertInModule$1$2(value, $name, type$.dynamic);
  61008. },
  61009. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  61010. var t1, _this = this,
  61011. oldImporter = _this._importer;
  61012. _this._importer = importer;
  61013. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  61014. try {
  61015. t1 = callback.call$0();
  61016. return t1;
  61017. } finally {
  61018. _this._importer = oldImporter;
  61019. _this.__stylesheet = null;
  61020. }
  61021. },
  61022. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  61023. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  61024. },
  61025. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  61026. var t1, t2, _this = this,
  61027. builtInModule = _this._builtInModules.$index(0, url);
  61028. if (builtInModule != null) {
  61029. if (configuration instanceof A.ExplicitConfiguration) {
  61030. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  61031. t2 = configuration.nodeWithSpan;
  61032. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  61033. }
  61034. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
  61035. return;
  61036. }
  61037. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  61038. },
  61039. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  61040. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  61041. },
  61042. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  61043. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  61044. },
  61045. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  61046. var alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  61047. t1 = stylesheet.span,
  61048. url = t1.get$sourceUrl(t1);
  61049. t1 = _this._modules;
  61050. alreadyLoaded = t1.$index(0, url);
  61051. if (alreadyLoaded != null) {
  61052. t1 = configuration == null;
  61053. currentConfiguration = t1 ? _this._configuration : configuration;
  61054. t2 = _this._moduleConfigurations.$index(0, url);
  61055. t3 = t2.__originalConfiguration;
  61056. t2 = t3 == null ? t2 : t3;
  61057. t3 = currentConfiguration.__originalConfiguration;
  61058. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  61059. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  61060. t2 = _this._moduleNodes.$index(0, url);
  61061. existingSpan = t2 == null ? null : J.get$span$z(t2);
  61062. if (t1) {
  61063. t1 = currentConfiguration.nodeWithSpan;
  61064. configurationSpan = t1.get$span(t1);
  61065. } else
  61066. configurationSpan = null;
  61067. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  61068. if (existingSpan != null)
  61069. t1.$indexSet(0, existingSpan, "original load");
  61070. if (configurationSpan != null)
  61071. t1.$indexSet(0, configurationSpan, "configuration");
  61072. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  61073. }
  61074. return alreadyLoaded;
  61075. }
  61076. environment = A.Environment$();
  61077. css = A._Cell$();
  61078. extensionStore = A.ExtensionStore$();
  61079. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
  61080. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  61081. if (url != null) {
  61082. t1.$indexSet(0, url, module);
  61083. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  61084. if (nodeWithSpan != null)
  61085. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  61086. }
  61087. return module;
  61088. },
  61089. _execute$2(importer, stylesheet) {
  61090. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  61091. },
  61092. _addOutOfOrderImports$0() {
  61093. var t1, t2, _this = this, _s5_ = "_root",
  61094. _s13_ = "_endOfImports",
  61095. outOfOrderImports = _this._outOfOrderImports;
  61096. if (outOfOrderImports == null)
  61097. return _this._assertInModule$2(_this.__root, _s5_).children;
  61098. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  61099. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
  61100. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  61101. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  61102. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  61103. return t1;
  61104. },
  61105. _combineCss$2$clone(root, clone) {
  61106. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  61107. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  61108. selectors = root.get$extensionStore().get$simpleSelectors();
  61109. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  61110. if (unsatisfiedExtension != null)
  61111. _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  61112. return root.get$css(root);
  61113. }
  61114. sortedModules = _this._topologicalModules$1(root);
  61115. if (clone) {
  61116. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
  61117. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
  61118. }
  61119. _this._extendModules$1(sortedModules);
  61120. t1 = type$.JSArray_CssNode;
  61121. imports = A._setArrayType([], t1);
  61122. css = A._setArrayType([], t1);
  61123. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  61124. t3 = t1.__internal$_current;
  61125. if (t3 == null)
  61126. t3 = t2._as(t3);
  61127. t3 = t3.get$css(t3);
  61128. statements = t3.get$children(t3);
  61129. index = _this._indexAfterImports$1(statements);
  61130. t3 = J.getInterceptor$ax(statements);
  61131. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  61132. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  61133. }
  61134. t1 = B.JSArray_methods.$add(imports, css);
  61135. t2 = root.get$css(root);
  61136. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  61137. },
  61138. _combineCss$1(root) {
  61139. return this._combineCss$2$clone(root, false);
  61140. },
  61141. _extendModules$1(sortedModules) {
  61142. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  61143. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  61144. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  61145. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  61146. t2 = t1.get$current(t1);
  61147. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  61148. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  61149. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  61150. t3 = t2.get$extensionStore().get$addExtensions();
  61151. if ($self != null)
  61152. t3.call$1($self);
  61153. t3 = t2.get$extensionStore();
  61154. if (t3.get$isEmpty(t3))
  61155. continue;
  61156. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  61157. upstream = t3[_i];
  61158. url = upstream.get$url(upstream);
  61159. if (url == null)
  61160. continue;
  61161. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
  61162. }
  61163. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  61164. }
  61165. if (unsatisfiedExtensions._collection$_length !== 0)
  61166. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  61167. },
  61168. _throwForUnsatisfiedExtension$1(extension) {
  61169. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  61170. },
  61171. _topologicalModules$1(root) {
  61172. var t1 = type$.Module_Callable,
  61173. sorted = A.QueueList$(null, t1);
  61174. new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  61175. return sorted;
  61176. },
  61177. _indexAfterImports$1(statements) {
  61178. var t1, t2, t3, lastImport, i, statement;
  61179. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  61180. statement = t1.$index(statements, i);
  61181. if (t3._is(statement))
  61182. lastImport = i;
  61183. else if (!t2._is(statement))
  61184. break;
  61185. }
  61186. return lastImport + 1;
  61187. },
  61188. visitStylesheet$1(node) {
  61189. var t1, t2, _i;
  61190. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  61191. t1[_i].accept$1(this);
  61192. return null;
  61193. },
  61194. visitAtRootRule$1(node) {
  61195. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
  61196. _s8_ = "__parent",
  61197. unparsedQuery = node.query,
  61198. query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
  61199. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  61200. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  61201. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  61202. if (!query.excludes$1($parent))
  61203. included.push($parent);
  61204. grandparent = $parent._parent;
  61205. if (grandparent == null)
  61206. throw A.wrapException(A.StateError$(string$.CssNod));
  61207. }
  61208. root = _this._trimIncluded$1(included);
  61209. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  61210. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
  61211. return null;
  61212. }
  61213. if (included.length !== 0) {
  61214. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  61215. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  61216. t3 = t1.__internal$_current;
  61217. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  61218. copy.addChild$1(outerCopy);
  61219. }
  61220. root.addChild$1(outerCopy);
  61221. } else
  61222. innerCopy = root;
  61223. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
  61224. return null;
  61225. },
  61226. _trimIncluded$1(nodes) {
  61227. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  61228. _s22_ = " to be an ancestor of ";
  61229. if (nodes.length === 0)
  61230. return _this._assertInModule$2(_this.__root, _s5_);
  61231. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  61232. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  61233. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  61234. grandparent = $parent._parent;
  61235. if (grandparent == null)
  61236. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  61237. }
  61238. if (innermostContiguous == null)
  61239. innermostContiguous = i;
  61240. grandparent = $parent._parent;
  61241. if (grandparent == null)
  61242. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  61243. }
  61244. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  61245. return _this._assertInModule$2(_this.__root, _s5_);
  61246. innermostContiguous.toString;
  61247. root = nodes[innermostContiguous];
  61248. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  61249. return root;
  61250. },
  61251. _scopeForAtRoot$4(node, newParent, query, included) {
  61252. var _this = this,
  61253. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  61254. t1 = query._all || query._at_root_query$_rule;
  61255. if (t1 !== query.include)
  61256. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  61257. if (_this._mediaQueries != null && query.excludesName$1("media"))
  61258. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  61259. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  61260. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  61261. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  61262. },
  61263. visitContentBlock$1(node) {
  61264. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  61265. },
  61266. visitContentRule$1(node) {
  61267. var $content = this._environment._content;
  61268. if ($content == null)
  61269. return null;
  61270. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  61271. return null;
  61272. },
  61273. visitDebugRule$1(node) {
  61274. var value = node.expression.accept$1(this),
  61275. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  61276. this._evaluate$_logger.debug$2(0, t1, node.span);
  61277. return null;
  61278. },
  61279. visitDeclaration$1(node) {
  61280. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  61281. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  61282. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  61283. t1 = node.name;
  61284. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  61285. t2 = _this._declarationName;
  61286. if (t2 != null)
  61287. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  61288. t2 = node.value;
  61289. cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
  61290. t3 = cssValue != null;
  61291. if (t3)
  61292. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  61293. else
  61294. t4 = false;
  61295. if (t4) {
  61296. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  61297. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  61298. if (_this._sourceMap) {
  61299. t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
  61300. t2 = t2 == null ? _null : J.get$span$z(t2);
  61301. } else
  61302. t2 = _null;
  61303. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  61304. } else if (J.startsWith$1$s($name.value, "--") && t3)
  61305. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  61306. children = node.children;
  61307. if (children != null) {
  61308. oldDeclarationName = _this._declarationName;
  61309. _this._declarationName = $name.value;
  61310. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
  61311. _this._declarationName = oldDeclarationName;
  61312. }
  61313. return _null;
  61314. },
  61315. visitEachRule$1(node) {
  61316. var _this = this,
  61317. t1 = node.list,
  61318. list = t1.accept$1(_this),
  61319. nodeWithSpan = _this._expressionNode$1(t1),
  61320. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
  61321. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
  61322. },
  61323. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  61324. var i,
  61325. list = value.get$asList(),
  61326. t1 = variables.length,
  61327. minLength = Math.min(t1, list.length);
  61328. for (i = 0; i < minLength; ++i)
  61329. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  61330. for (i = minLength; i < t1; ++i)
  61331. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  61332. },
  61333. visitErrorRule$1(node) {
  61334. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  61335. },
  61336. visitExtendRule$1(node) {
  61337. var t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, _this = this, _null = null,
  61338. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  61339. if (styleRule == null || _this._declarationName != null)
  61340. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  61341. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  61342. complex = t1[_i];
  61343. if (!complex.accept$1(B._IsBogusVisitor_true))
  61344. continue;
  61345. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61346. complex.accept$1(visitor);
  61347. t8 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  61348. t9 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  61349. _this._warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  61350. }
  61351. targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
  61352. for (t1 = _this._adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure(_this, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  61353. complex = t1[_i];
  61354. if (complex.leadingCombinators.length === 0) {
  61355. t4 = complex.components;
  61356. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  61357. } else
  61358. t4 = false;
  61359. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  61360. if (compound == null)
  61361. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
  61362. t4 = compound.components;
  61363. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  61364. if (t5 == null)
  61365. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
  61366. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, _this._mediaQueries);
  61367. }
  61368. return _null;
  61369. },
  61370. visitAtRule$1(node) {
  61371. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  61372. if (_this._declarationName != null)
  61373. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  61374. $name = _this._interpolationToValue$1(node.name);
  61375. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  61376. children = node.children;
  61377. if (children == null) {
  61378. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  61379. return null;
  61380. }
  61381. wasInKeyframes = _this._inKeyframes;
  61382. wasInUnknownAtRule = _this._inUnknownAtRule;
  61383. if (A.unvendor($name.value) === "keyframes")
  61384. _this._inKeyframes = true;
  61385. else
  61386. _this._inUnknownAtRule = true;
  61387. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
  61388. _this._inUnknownAtRule = wasInUnknownAtRule;
  61389. _this._inKeyframes = wasInKeyframes;
  61390. return null;
  61391. },
  61392. visitForRule$1(node) {
  61393. var _this = this, t1 = {},
  61394. t2 = node.from,
  61395. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  61396. t3 = node.to,
  61397. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  61398. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  61399. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  61400. direction = from > to ? -1 : 1;
  61401. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  61402. return null;
  61403. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  61404. },
  61405. visitForwardRule$1(node) {
  61406. var newConfiguration, t4, _i, variable, $name, _this = this,
  61407. _s8_ = "@forward",
  61408. oldConfiguration = _this._configuration,
  61409. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  61410. t1 = node.configuration,
  61411. t2 = t1.length,
  61412. t3 = node.url;
  61413. if (t2 !== 0) {
  61414. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  61415. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  61416. t3 = type$.String;
  61417. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  61418. for (_i = 0; _i < t2; ++_i) {
  61419. variable = t1[_i];
  61420. if (!variable.isGuarded)
  61421. t4.add$1(0, variable.name);
  61422. }
  61423. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  61424. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  61425. for (_i = 0; _i < t2; ++_i)
  61426. t3.add$1(0, t1[_i].name);
  61427. for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  61428. $name = t2[_i];
  61429. if (!t3.contains$1(0, $name))
  61430. if (!t1.get$isEmpty(t1))
  61431. t1.remove$1(0, $name);
  61432. }
  61433. _this._assertConfigurationIsEmpty$1(newConfiguration);
  61434. } else {
  61435. _this._configuration = adjustedConfiguration;
  61436. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  61437. _this._configuration = oldConfiguration;
  61438. }
  61439. return null;
  61440. },
  61441. _addForwardConfiguration$2(configuration, node) {
  61442. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  61443. t1 = configuration._values,
  61444. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  61445. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  61446. variable = t2[_i];
  61447. if (variable.isGuarded) {
  61448. t4 = variable.name;
  61449. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  61450. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  61451. newValues.$indexSet(0, t4, t5);
  61452. continue;
  61453. }
  61454. }
  61455. t4 = variable.expression;
  61456. variableNodeWithSpan = this._expressionNode$1(t4);
  61457. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  61458. }
  61459. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  61460. return new A.ExplicitConfiguration(node, newValues, null);
  61461. else
  61462. return new A.Configuration(newValues, null);
  61463. },
  61464. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  61465. var t1, t2, t3, t4, _i, $name;
  61466. for (t1 = upstream._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  61467. $name = t2[_i];
  61468. if (except.contains$1(0, $name))
  61469. continue;
  61470. if (!t4.containsKey$1($name))
  61471. if (!t1.get$isEmpty(t1))
  61472. t1.remove$1(0, $name);
  61473. }
  61474. },
  61475. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  61476. var t1, entry;
  61477. if (!(configuration instanceof A.ExplicitConfiguration))
  61478. return;
  61479. t1 = configuration._values;
  61480. if (t1.get$isEmpty(t1))
  61481. return;
  61482. t1 = t1.get$entries(t1);
  61483. entry = t1.get$first(t1);
  61484. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  61485. throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
  61486. },
  61487. _assertConfigurationIsEmpty$1(configuration) {
  61488. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  61489. },
  61490. visitFunctionRule$1(node) {
  61491. var t1 = this._environment,
  61492. t2 = t1.closure$0(),
  61493. t3 = this._inDependency,
  61494. t4 = t1._functions,
  61495. index = t4.length - 1,
  61496. t5 = node.name;
  61497. t1._functionIndices.$indexSet(0, t5, index);
  61498. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  61499. return null;
  61500. },
  61501. visitIfRule$1(node) {
  61502. var t1, t2, _i, clauseToCheck, _box_0 = {};
  61503. _box_0.clause = node.lastClause;
  61504. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  61505. clauseToCheck = t1[_i];
  61506. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  61507. _box_0.clause = clauseToCheck;
  61508. break;
  61509. }
  61510. }
  61511. t1 = _box_0.clause;
  61512. if (t1 == null)
  61513. return null;
  61514. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
  61515. },
  61516. visitImportRule$1(node) {
  61517. var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
  61518. _s8_ = "__parent",
  61519. _s5_ = "_root",
  61520. _s13_ = "_endOfImports";
  61521. for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String, t4 = _this.get$_interpolationToValue(), t5 = type$.StaticImport, t6 = type$.JSArray_ModifiableCssImport, _i = 0; _i < t2; ++_i) {
  61522. $import = t1[_i];
  61523. if ($import instanceof A.DynamicImport)
  61524. _this._visitDynamicImport$1($import);
  61525. else {
  61526. t5._as($import);
  61527. t7 = $import.url;
  61528. result = _this._performInterpolation$2$warnForColor(t7, false);
  61529. $self = $import.modifiers;
  61530. t8 = $self == null ? null : t4.call$1($self);
  61531. node = new A.ModifiableCssImport(new A.CssValue(result, t7.span, t3), t8, $import.span);
  61532. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  61533. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  61534. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  61535. t7 = _this._assertInModule$2(_this.__root, _s5_);
  61536. node._parent = t7;
  61537. t7 = t7._children;
  61538. node._indexInParent = t7.length;
  61539. t7.push(node);
  61540. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  61541. } else {
  61542. t7 = _this._outOfOrderImports;
  61543. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  61544. }
  61545. }
  61546. }
  61547. return null;
  61548. },
  61549. _visitDynamicImport$1($import) {
  61550. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  61551. },
  61552. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  61553. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  61554. _s11_ = "_stylesheet";
  61555. baseUrl = baseUrl;
  61556. try {
  61557. _this._importSpan = span;
  61558. importCache = _this._evaluate$_importCache;
  61559. if (importCache != null) {
  61560. if (baseUrl == null) {
  61561. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  61562. baseUrl = t1.get$sourceUrl(t1);
  61563. }
  61564. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  61565. if (tuple != null) {
  61566. isDependency = _this._inDependency || tuple.item1 !== _this._importer;
  61567. t1 = tuple.item1;
  61568. t2 = tuple.item2;
  61569. t3 = tuple.item3;
  61570. t4 = _this._quietDeps && isDependency;
  61571. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  61572. if (stylesheet != null) {
  61573. _this._loadedUrls.add$1(0, tuple.item2);
  61574. t1 = tuple.item1;
  61575. return new A._LoadedStylesheet(stylesheet, t1, isDependency);
  61576. }
  61577. }
  61578. } else {
  61579. t1 = baseUrl;
  61580. if (t1 == null) {
  61581. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  61582. t1 = t1.get$sourceUrl(t1);
  61583. }
  61584. result = _this._importLikeNode$3(url, t1, forImport);
  61585. if (result != null) {
  61586. t1 = result.stylesheet.span;
  61587. t2 = _this._loadedUrls;
  61588. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  61589. return result;
  61590. }
  61591. }
  61592. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  61593. throw A.wrapException(string$.x22packa);
  61594. else
  61595. throw A.wrapException("Can't find stylesheet to import.");
  61596. } catch (exception) {
  61597. t1 = A.unwrapException(exception);
  61598. if (t1 instanceof A.SassException) {
  61599. error = t1;
  61600. stackTrace = A.getTraceFromException(exception);
  61601. t1 = error;
  61602. t2 = J.getInterceptor$z(t1);
  61603. A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  61604. } else {
  61605. error0 = t1;
  61606. stackTrace0 = A.getTraceFromException(exception);
  61607. message = null;
  61608. try {
  61609. message = A._asString(J.get$message$x(error0));
  61610. } catch (exception) {
  61611. message0 = J.toString$0$(error0);
  61612. message = message0;
  61613. }
  61614. A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
  61615. }
  61616. } finally {
  61617. _this._importSpan = null;
  61618. }
  61619. },
  61620. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  61621. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  61622. },
  61623. _loadStylesheet$3$forImport(url, span, forImport) {
  61624. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  61625. },
  61626. _importLikeNode$3(originalUrl, previous, forImport) {
  61627. var _this = this,
  61628. result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
  61629. isDependency = _this._inDependency,
  61630. contents = result.get$item1(),
  61631. url = result.get$item2(),
  61632. t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  61633. return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
  61634. },
  61635. visitIncludeRule$1(node) {
  61636. var nodeWithSpan, t1, _this = this,
  61637. _s37_ = "Mixin doesn't accept a content block.",
  61638. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  61639. if (mixin == null)
  61640. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
  61641. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
  61642. if (mixin instanceof A.BuiltInCallable) {
  61643. if (node.content != null)
  61644. throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
  61645. _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  61646. } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
  61647. t1 = node.content;
  61648. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  61649. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(node.get$spanWithoutContent())));
  61650. _this._runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure1(_this, A.NullableExtension_andThen(t1, new A._EvaluateVisitor_visitIncludeRule_closure2(_this)), mixin, nodeWithSpan), type$.Null);
  61651. } else
  61652. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  61653. return null;
  61654. },
  61655. visitMixinRule$1(node) {
  61656. var t1 = this._environment,
  61657. t2 = t1.closure$0(),
  61658. t3 = this._inDependency,
  61659. t4 = t1._mixins,
  61660. index = t4.length - 1,
  61661. t5 = node.name;
  61662. t1._mixinIndices.$indexSet(0, t5, index);
  61663. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  61664. return null;
  61665. },
  61666. visitLoudComment$1(node) {
  61667. var t1, _this = this,
  61668. _s8_ = "__parent",
  61669. _s13_ = "_endOfImports";
  61670. if (_this._inFunction)
  61671. return null;
  61672. if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
  61673. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  61674. t1 = node.text;
  61675. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  61676. return null;
  61677. },
  61678. visitMediaRule$1(node) {
  61679. var queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  61680. if (_this._declarationName != null)
  61681. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  61682. queries = _this._visitMediaQueries$1(node.query);
  61683. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  61684. t1 = mergedQueries == null;
  61685. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  61686. return null;
  61687. if (t1)
  61688. mergedSources = B.Set_empty0;
  61689. else {
  61690. t2 = _this._mediaQuerySources;
  61691. t2.toString;
  61692. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  61693. t3 = _this._mediaQueries;
  61694. t3.toString;
  61695. t2.addAll$1(0, t3);
  61696. t2.addAll$1(0, queries);
  61697. mergedSources = t2;
  61698. }
  61699. t1 = t1 ? queries : mergedQueries;
  61700. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure0(_this, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure1(mergedSources), type$.ModifiableCssMediaRule, type$.Null);
  61701. return null;
  61702. },
  61703. _visitMediaQueries$1(interpolation) {
  61704. return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
  61705. },
  61706. _mergeMediaQueries$2(queries1, queries2) {
  61707. var t1, t2, t3, t4, t5, result,
  61708. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  61709. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  61710. t4 = t1.get$current(t1);
  61711. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  61712. result = t4.merge$1(t5.get$current(t5));
  61713. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  61714. continue;
  61715. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  61716. return null;
  61717. queries.push(t3._as(result).query);
  61718. }
  61719. }
  61720. return queries;
  61721. },
  61722. visitReturnRule$1(node) {
  61723. var t1 = node.expression;
  61724. return this._withoutSlash$2(t1.accept$1(this), t1);
  61725. },
  61726. visitSilentComment$1(node) {
  61727. return null;
  61728. },
  61729. visitStyleRule$1(node) {
  61730. var t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _this = this, _null = null,
  61731. _s8_ = "__parent",
  61732. _box_0 = {};
  61733. if (_this._declarationName != null)
  61734. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  61735. t1 = node.selector;
  61736. selectorText = _this._interpolationToValue$3$trim$warnForColor(t1, true, true);
  61737. if (_this._inKeyframes) {
  61738. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(_this._adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure(_this, selectorText)), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure0(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure1(), type$.ModifiableCssKeyframeBlock, type$.Null);
  61739. return _null;
  61740. }
  61741. _box_0.parsedSelector = _this._adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
  61742. _box_0.parsedSelector = _this._addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure3(_box_0, _this));
  61743. t1 = t1.span;
  61744. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, _this._mediaQueries), node.span, _box_0.parsedSelector);
  61745. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  61746. _this._atRootExcludingStyleRule = false;
  61747. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure4(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssStyleRule, type$.Null);
  61748. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  61749. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  61750. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  61751. complex = t2[_i];
  61752. if (!complex.accept$1(B._IsBogusVisitor_true))
  61753. continue;
  61754. if (complex.accept$1(B.C__IsUselessVisitor)) {
  61755. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61756. complex.accept$1(visitor);
  61757. _this._warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  61758. } else if (complex.leadingCombinators.length !== 0) {
  61759. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61760. complex.accept$1(visitor);
  61761. _this._warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  61762. } else {
  61763. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61764. complex.accept$1(visitor);
  61765. t7 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  61766. t8 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  61767. if (t6.get$length(t6) === 0)
  61768. A.throwExpression(A.IterableElementError_noElement());
  61769. t9 = J.get$span$z(t6.$index(0, 0));
  61770. _this._warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure6()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  61771. }
  61772. }
  61773. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  61774. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  61775. t1 = !t1.get$isEmpty(t1);
  61776. } else
  61777. t1 = false;
  61778. if (t1) {
  61779. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  61780. t1.get$last(t1).isGroupEnd = true;
  61781. }
  61782. return _null;
  61783. },
  61784. visitSupportsRule$1(node) {
  61785. var t1, _this = this;
  61786. if (_this._declarationName != null)
  61787. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  61788. t1 = node.condition;
  61789. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(new A.CssValue(_this._visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
  61790. return null;
  61791. },
  61792. _visitSupportsCondition$1(condition) {
  61793. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  61794. if (condition instanceof A.SupportsOperation) {
  61795. t1 = condition.operator;
  61796. return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  61797. } else if (condition instanceof A.SupportsNegation)
  61798. return "not " + _this._parenthesize$1(condition.condition);
  61799. else if (condition instanceof A.SupportsInterpolation) {
  61800. t1 = condition.expression;
  61801. return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  61802. } else if (condition instanceof A.SupportsDeclaration) {
  61803. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  61804. _this._inSupportsDeclaration = true;
  61805. t1 = condition.name;
  61806. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
  61807. t2 = condition.get$isCustomProperty() ? "" : " ";
  61808. t3 = condition.value;
  61809. t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  61810. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  61811. return "(" + t1 + ":" + t2 + t3 + ")";
  61812. } else if (condition instanceof A.SupportsFunction)
  61813. return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  61814. else if (condition instanceof A.SupportsAnything)
  61815. return "(" + _this._performInterpolation$1(condition.contents) + ")";
  61816. else
  61817. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  61818. },
  61819. _parenthesize$2(condition, operator) {
  61820. var t1;
  61821. if (!(condition instanceof A.SupportsNegation))
  61822. if (condition instanceof A.SupportsOperation)
  61823. t1 = operator == null || operator !== condition.operator;
  61824. else
  61825. t1 = false;
  61826. else
  61827. t1 = true;
  61828. if (t1)
  61829. return "(" + this._visitSupportsCondition$1(condition) + ")";
  61830. else
  61831. return this._visitSupportsCondition$1(condition);
  61832. },
  61833. _parenthesize$1(condition) {
  61834. return this._parenthesize$2(condition, null);
  61835. },
  61836. visitVariableDeclaration$1(node) {
  61837. var t1, value, _this = this, _null = null;
  61838. if (node.isGuarded) {
  61839. if (node.namespace == null && _this._environment._variables.length === 1) {
  61840. t1 = _this._configuration._values;
  61841. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  61842. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  61843. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
  61844. return _null;
  61845. }
  61846. }
  61847. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  61848. if (value != null && !value.$eq(0, B.C__SassNull))
  61849. return _null;
  61850. }
  61851. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  61852. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  61853. _this._warn$3$deprecation(t1, node.span, true);
  61854. }
  61855. t1 = node.expression;
  61856. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  61857. return _null;
  61858. },
  61859. visitUseRule$1(node) {
  61860. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  61861. t1 = node.configuration,
  61862. t2 = t1.length;
  61863. if (t2 !== 0) {
  61864. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  61865. for (_i = 0; _i < t2; ++_i) {
  61866. variable = t1[_i];
  61867. t3 = variable.expression;
  61868. variableNodeWithSpan = _this._expressionNode$1(t3);
  61869. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  61870. }
  61871. configuration = new A.ExplicitConfiguration(node, values, null);
  61872. } else
  61873. configuration = B.Configuration_Map_empty_null;
  61874. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  61875. _this._assertConfigurationIsEmpty$1(configuration);
  61876. return null;
  61877. },
  61878. visitWarnRule$1(node) {
  61879. var _this = this,
  61880. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  61881. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  61882. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  61883. return null;
  61884. },
  61885. visitWhileRule$1(node) {
  61886. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  61887. },
  61888. visitBinaryOperationExpression$1(node) {
  61889. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
  61890. },
  61891. visitValueExpression$1(node) {
  61892. return node.value;
  61893. },
  61894. visitVariableExpression$1(node) {
  61895. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  61896. if (result != null)
  61897. return result;
  61898. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  61899. },
  61900. visitUnaryOperationExpression$1(node) {
  61901. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  61902. },
  61903. visitBooleanExpression$1(node) {
  61904. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  61905. },
  61906. visitIfExpression$1(node) {
  61907. var condition, t2, ifTrue, ifFalse, result, _this = this,
  61908. pair = _this._evaluateMacroArguments$1(node),
  61909. positional = pair.item1,
  61910. named = pair.item2,
  61911. t1 = J.getInterceptor$asx(positional);
  61912. _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  61913. if (t1.get$length(positional) > 0)
  61914. condition = t1.$index(positional, 0);
  61915. else {
  61916. t2 = named.$index(0, "condition");
  61917. t2.toString;
  61918. condition = t2;
  61919. }
  61920. if (t1.get$length(positional) > 1)
  61921. ifTrue = t1.$index(positional, 1);
  61922. else {
  61923. t2 = named.$index(0, "if-true");
  61924. t2.toString;
  61925. ifTrue = t2;
  61926. }
  61927. if (t1.get$length(positional) > 2)
  61928. ifFalse = t1.$index(positional, 2);
  61929. else {
  61930. t1 = named.$index(0, "if-false");
  61931. t1.toString;
  61932. ifFalse = t1;
  61933. }
  61934. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  61935. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  61936. },
  61937. visitNullExpression$1(node) {
  61938. return B.C__SassNull;
  61939. },
  61940. visitNumberExpression$1(node) {
  61941. return A.SassNumber_SassNumber(node.value, node.unit);
  61942. },
  61943. visitParenthesizedExpression$1(node) {
  61944. return node.expression.accept$1(this);
  61945. },
  61946. visitCalculationExpression$1(node) {
  61947. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  61948. t1 = A._setArrayType([], type$.JSArray_Object);
  61949. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  61950. argument = t2[_i];
  61951. t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  61952. }
  61953. $arguments = t1;
  61954. if (_this._inSupportsDeclaration)
  61955. return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  61956. try {
  61957. switch (t4) {
  61958. case "calc":
  61959. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  61960. return t1;
  61961. case "min":
  61962. t1 = A.SassCalculation_min($arguments);
  61963. return t1;
  61964. case "max":
  61965. t1 = A.SassCalculation_max($arguments);
  61966. return t1;
  61967. case "clamp":
  61968. t1 = J.$index$asx($arguments, 0);
  61969. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  61970. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  61971. return t1;
  61972. default:
  61973. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  61974. throw A.wrapException(t1);
  61975. }
  61976. } catch (exception) {
  61977. t1 = A.unwrapException(exception);
  61978. if (t1 instanceof A.SassScriptException) {
  61979. error = t1;
  61980. stackTrace = A.getTraceFromException(exception);
  61981. _this._verifyCompatibleNumbers$2($arguments, t2);
  61982. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
  61983. } else
  61984. throw exception;
  61985. }
  61986. },
  61987. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  61988. var i, t1, arg, number1, j, number2;
  61989. for (i = 0; t1 = args.length, i < t1; ++i) {
  61990. arg = args[i];
  61991. if (!(arg instanceof A.SassNumber))
  61992. continue;
  61993. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  61994. throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  61995. }
  61996. for (i = 0; i < t1 - 1; ++i) {
  61997. number1 = args[i];
  61998. if (!(number1 instanceof A.SassNumber))
  61999. continue;
  62000. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  62001. number2 = args[j];
  62002. if (!(number2 instanceof A.SassNumber))
  62003. continue;
  62004. if (number1.hasPossiblyCompatibleUnits$1(number2))
  62005. continue;
  62006. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
  62007. }
  62008. }
  62009. },
  62010. _visitCalculationValue$2$inMinMax(node, inMinMax) {
  62011. var inner, result, t1, _this = this;
  62012. if (node instanceof A.ParenthesizedExpression) {
  62013. inner = node.expression;
  62014. result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
  62015. if (inner instanceof A.FunctionExpression)
  62016. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  62017. else
  62018. t1 = false;
  62019. return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  62020. } else if (node instanceof A.StringExpression)
  62021. return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
  62022. else if (node instanceof A.BinaryOperationExpression)
  62023. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
  62024. else {
  62025. result = node.accept$1(_this);
  62026. if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
  62027. return result;
  62028. if (result instanceof A.SassString && !result._hasQuotes)
  62029. return result;
  62030. throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  62031. }
  62032. },
  62033. _binaryOperatorToCalculationOperator$1(operator) {
  62034. switch (operator) {
  62035. case B.BinaryOperator_qbf:
  62036. return B.CalculationOperator_IyK;
  62037. case B.BinaryOperator_KlB:
  62038. return B.CalculationOperator_2bx;
  62039. case B.BinaryOperator_6pl:
  62040. return B.CalculationOperator_jFr;
  62041. case B.BinaryOperator_qpm:
  62042. return B.CalculationOperator_OvN;
  62043. default:
  62044. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  62045. }
  62046. },
  62047. visitColorExpression$1(node) {
  62048. return node.value;
  62049. },
  62050. visitListExpression$1(node) {
  62051. var t1 = node.contents;
  62052. return A.SassList$(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), node.separator, node.hasBrackets);
  62053. },
  62054. visitMapExpression$1(node) {
  62055. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  62056. t1 = type$.Value,
  62057. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  62058. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  62059. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  62060. pair = t2[_i];
  62061. t4 = pair.item1;
  62062. keyValue = t4.accept$1(this);
  62063. valueValue = pair.item2.accept$1(this);
  62064. if (map.$index(0, keyValue) != null) {
  62065. t1 = keyNodes.$index(0, keyValue);
  62066. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  62067. t1 = J.getInterceptor$z(t4);
  62068. t2 = t1.get$span(t4);
  62069. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  62070. if (oldValueSpan != null)
  62071. t3.$indexSet(0, oldValueSpan, "first key");
  62072. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
  62073. }
  62074. map.$indexSet(0, keyValue, valueValue);
  62075. keyNodes.$indexSet(0, keyValue, t4);
  62076. }
  62077. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  62078. },
  62079. visitFunctionExpression$1(node) {
  62080. var oldInFunction, result, _this = this, t1 = {},
  62081. $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  62082. t1.$function = $function;
  62083. if ($function == null) {
  62084. if (node.namespace != null)
  62085. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  62086. t1.$function = new A.PlainCssCallable(node.originalName);
  62087. }
  62088. oldInFunction = _this._inFunction;
  62089. _this._inFunction = true;
  62090. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
  62091. _this._inFunction = oldInFunction;
  62092. return result;
  62093. },
  62094. visitInterpolatedFunctionExpression$1(node) {
  62095. var result, _this = this,
  62096. t1 = _this._performInterpolation$1(node.name),
  62097. oldInFunction = _this._inFunction;
  62098. _this._inFunction = true;
  62099. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  62100. _this._inFunction = oldInFunction;
  62101. return result;
  62102. },
  62103. _getFunction$2$namespace($name, namespace) {
  62104. var local = this._environment.getFunction$2$namespace($name, namespace);
  62105. if (local != null || namespace != null)
  62106. return local;
  62107. return this._builtInFunctions.$index(0, $name);
  62108. },
  62109. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  62110. var oldCallable, result, _this = this,
  62111. evaluated = _this._evaluateArguments$1($arguments),
  62112. $name = callable.declaration.name;
  62113. if ($name !== "@content")
  62114. $name += "()";
  62115. oldCallable = _this._currentCallable;
  62116. _this._currentCallable = callable;
  62117. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  62118. _this._currentCallable = oldCallable;
  62119. return result;
  62120. },
  62121. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  62122. var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
  62123. if (callable instanceof A.BuiltInCallable)
  62124. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  62125. else if (type$.UserDefinedCallable_Environment._is(callable))
  62126. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  62127. else if (callable instanceof A.PlainCssCallable) {
  62128. t1 = $arguments.named;
  62129. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  62130. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  62131. t1 = callable.name + "(";
  62132. for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
  62133. argument = t2[_i];
  62134. if (first)
  62135. first = false;
  62136. else
  62137. t1 += ", ";
  62138. t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
  62139. }
  62140. restArg = $arguments.rest;
  62141. if (restArg != null) {
  62142. rest = restArg.accept$1(_this);
  62143. if (!first)
  62144. t1 += ", ";
  62145. t1 += _this._evaluate$_serialize$2(rest, restArg);
  62146. }
  62147. t1 += A.Primitives_stringFromCharCode(41);
  62148. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  62149. } else
  62150. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  62151. },
  62152. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  62153. var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
  62154. evaluated = _this._evaluateArguments$1($arguments),
  62155. oldCallableNode = _this._callableNode;
  62156. _this._callableNode = nodeWithSpan;
  62157. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  62158. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  62159. overload = tuple.item1;
  62160. callback = tuple.item2;
  62161. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
  62162. declaredArguments = overload.$arguments;
  62163. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  62164. argument = declaredArguments[i];
  62165. t2 = evaluated.positional;
  62166. t3 = evaluated.named.remove$1(0, argument.name);
  62167. if (t3 == null) {
  62168. t3 = argument.defaultValue;
  62169. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  62170. }
  62171. t2.push(t3);
  62172. }
  62173. if (overload.restArgument != null) {
  62174. if (evaluated.positional.length > t1) {
  62175. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  62176. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  62177. } else
  62178. rest = B.List_empty7;
  62179. t1 = evaluated.named;
  62180. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  62181. evaluated.positional.push(argumentList);
  62182. } else
  62183. argumentList = null;
  62184. result = null;
  62185. try {
  62186. result = callback.call$1(evaluated.positional);
  62187. } catch (exception) {
  62188. t1 = A.unwrapException(exception);
  62189. if (type$.SassRuntimeException._is(t1))
  62190. throw exception;
  62191. else if (t1 instanceof A.MultiSpanSassScriptException) {
  62192. error = t1;
  62193. stackTrace = A.getTraceFromException(exception);
  62194. t1 = error.message;
  62195. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62196. t3 = error.primaryLabel;
  62197. t4 = error.secondarySpans;
  62198. A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  62199. } else if (t1 instanceof A.MultiSpanSassException) {
  62200. error0 = t1;
  62201. stackTrace0 = A.getTraceFromException(exception);
  62202. t1 = error0._span_exception$_message;
  62203. t2 = error0;
  62204. t3 = J.getInterceptor$z(t2);
  62205. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  62206. t3 = error0.primaryLabel;
  62207. t4 = error0.secondarySpans;
  62208. t5 = error0;
  62209. t6 = J.getInterceptor$z(t5);
  62210. A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  62211. } else {
  62212. error1 = t1;
  62213. stackTrace1 = A.getTraceFromException(exception);
  62214. message = null;
  62215. try {
  62216. message = A._asString(J.get$message$x(error1));
  62217. } catch (exception) {
  62218. message0 = J.toString$0$(error1);
  62219. message = message0;
  62220. }
  62221. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  62222. }
  62223. }
  62224. _this._callableNode = oldCallableNode;
  62225. if (argumentList == null)
  62226. return result;
  62227. if (evaluated.named.__js_helper$_length === 0)
  62228. return result;
  62229. if (argumentList._wereKeywordsAccessed)
  62230. return result;
  62231. t1 = evaluated.named;
  62232. t1 = t1.get$keys(t1);
  62233. t1 = A.pluralize("argument", t1.get$length(t1), null);
  62234. t2 = evaluated.named;
  62235. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure0(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  62236. },
  62237. _evaluateArguments$1($arguments) {
  62238. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  62239. positional = A._setArrayType([], type$.JSArray_Value),
  62240. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  62241. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62242. expression = t1[_i];
  62243. nodeForSpan = _this._expressionNode$1(expression);
  62244. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  62245. positionalNodes.push(nodeForSpan);
  62246. }
  62247. t1 = type$.String;
  62248. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  62249. t2 = type$.AstNode;
  62250. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62251. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62252. t4 = t3.get$current(t3);
  62253. t5 = t4.value;
  62254. nodeForSpan = _this._expressionNode$1(t5);
  62255. t4 = t4.key;
  62256. named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  62257. namedNodes.$indexSet(0, t4, nodeForSpan);
  62258. }
  62259. restArgs = $arguments.rest;
  62260. if (restArgs == null)
  62261. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  62262. rest = restArgs.accept$1(_this);
  62263. restNodeForSpan = _this._expressionNode$1(restArgs);
  62264. if (rest instanceof A.SassMap) {
  62265. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  62266. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62267. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  62268. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  62269. namedNodes.addAll$1(0, t3);
  62270. separator = B.ListSeparator_undecided_null_undecided;
  62271. } else if (rest instanceof A.SassList) {
  62272. t3 = rest._list$_contents;
  62273. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure0(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value>")));
  62274. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  62275. separator = rest._separator;
  62276. if (rest instanceof A.SassArgumentList) {
  62277. rest._wereKeywordsAccessed = true;
  62278. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  62279. }
  62280. } else {
  62281. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  62282. positionalNodes.push(restNodeForSpan);
  62283. separator = B.ListSeparator_undecided_null_undecided;
  62284. }
  62285. keywordRestArgs = $arguments.keywordRest;
  62286. if (keywordRestArgs == null)
  62287. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  62288. keywordRest = keywordRestArgs.accept$1(_this);
  62289. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  62290. if (keywordRest instanceof A.SassMap) {
  62291. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  62292. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62293. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  62294. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  62295. namedNodes.addAll$1(0, t1);
  62296. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  62297. } else
  62298. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  62299. },
  62300. _evaluateMacroArguments$1(invocation) {
  62301. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  62302. t1 = invocation.$arguments,
  62303. restArgs_ = t1.rest;
  62304. if (restArgs_ == null)
  62305. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62306. t2 = t1.positional;
  62307. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  62308. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  62309. rest = restArgs_.accept$1(_this);
  62310. restNodeForSpan = _this._expressionNode$1(restArgs_);
  62311. if (rest instanceof A.SassMap)
  62312. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  62313. else if (rest instanceof A.SassList) {
  62314. t2 = rest._list$_contents;
  62315. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure0(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression>")));
  62316. if (rest instanceof A.SassArgumentList) {
  62317. rest._wereKeywordsAccessed = true;
  62318. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  62319. }
  62320. } else
  62321. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  62322. keywordRestArgs_ = t1.keywordRest;
  62323. if (keywordRestArgs_ == null)
  62324. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62325. keywordRest = keywordRestArgs_.accept$1(_this);
  62326. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  62327. if (keywordRest instanceof A.SassMap) {
  62328. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  62329. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62330. } else
  62331. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  62332. },
  62333. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  62334. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  62335. },
  62336. _addRestMap$4(values, map, nodeWithSpan, convert) {
  62337. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  62338. },
  62339. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  62340. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  62341. },
  62342. visitSelectorExpression$1(node) {
  62343. var t1 = this._styleRuleIgnoringAtRoot;
  62344. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  62345. return t1 == null ? B.C__SassNull : t1;
  62346. },
  62347. visitStringExpression$1(node) {
  62348. var t1, _this = this,
  62349. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  62350. _this._inSupportsDeclaration = false;
  62351. t1 = node.text.contents;
  62352. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62353. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  62354. return new A.SassString(t1, node.hasQuotes);
  62355. },
  62356. visitSupportsExpression$1(expression) {
  62357. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  62358. },
  62359. visitCssAtRule$1(node) {
  62360. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  62361. if (_this._declarationName != null)
  62362. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  62363. if (node.isChildless) {
  62364. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  62365. return;
  62366. }
  62367. wasInKeyframes = _this._inKeyframes;
  62368. wasInUnknownAtRule = _this._inUnknownAtRule;
  62369. t1 = node.name;
  62370. if (A.unvendor(t1.get$value(t1)) === "keyframes")
  62371. _this._inKeyframes = true;
  62372. else
  62373. _this._inUnknownAtRule = true;
  62374. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure0(), type$.ModifiableCssAtRule, type$.Null);
  62375. _this._inUnknownAtRule = wasInUnknownAtRule;
  62376. _this._inKeyframes = wasInKeyframes;
  62377. },
  62378. visitCssComment$1(node) {
  62379. var _this = this,
  62380. _s8_ = "__parent",
  62381. _s13_ = "_endOfImports";
  62382. if (_this._assertInModule$2(_this.__parent, _s8_) === _this._assertInModule$2(_this.__root, "_root") && _this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, "_root").children._collection$_source))
  62383. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  62384. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  62385. },
  62386. visitCssDeclaration$1(node) {
  62387. var t1 = node.name;
  62388. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  62389. },
  62390. visitCssImport$1(node) {
  62391. var t1, _this = this,
  62392. _s8_ = "__parent",
  62393. _s5_ = "_root",
  62394. _s13_ = "_endOfImports",
  62395. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  62396. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  62397. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  62398. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  62399. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  62400. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  62401. } else {
  62402. t1 = _this._outOfOrderImports;
  62403. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  62404. }
  62405. },
  62406. visitCssKeyframeBlock$1(node) {
  62407. this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
  62408. },
  62409. visitCssMediaRule$1(node) {
  62410. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  62411. if (_this._declarationName != null)
  62412. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  62413. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  62414. t1 = mergedQueries == null;
  62415. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  62416. return;
  62417. if (t1)
  62418. mergedSources = B.Set_empty0;
  62419. else {
  62420. t2 = _this._mediaQuerySources;
  62421. t2.toString;
  62422. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  62423. t3 = _this._mediaQueries;
  62424. t3.toString;
  62425. t2.addAll$1(0, t3);
  62426. t2.addAll$1(0, node.queries);
  62427. mergedSources = t2;
  62428. }
  62429. t1 = t1 ? node.queries : mergedQueries;
  62430. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure0(_this, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure1(mergedSources), type$.ModifiableCssMediaRule, type$.Null);
  62431. },
  62432. visitCssStyleRule$1(node) {
  62433. var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  62434. _s8_ = "__parent";
  62435. if (_this._declarationName != null)
  62436. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  62437. t1 = _this._atRootExcludingStyleRule;
  62438. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  62439. t2 = node.selector;
  62440. t3 = t2.value;
  62441. t4 = styleRule == null;
  62442. t5 = t4 ? null : styleRule.originalSelector;
  62443. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  62444. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
  62445. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  62446. _this._atRootExcludingStyleRule = false;
  62447. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure0(), type$.ModifiableCssStyleRule, type$.Null);
  62448. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  62449. if (t4) {
  62450. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  62451. t1 = !t1.get$isEmpty(t1);
  62452. } else
  62453. t1 = false;
  62454. if (t1) {
  62455. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  62456. t1.get$last(t1).isGroupEnd = true;
  62457. }
  62458. },
  62459. visitCssStylesheet$1(node) {
  62460. var t1;
  62461. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  62462. t1.get$current(t1).accept$1(this);
  62463. },
  62464. visitCssSupportsRule$1(node) {
  62465. var _this = this;
  62466. if (_this._declarationName != null)
  62467. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  62468. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
  62469. },
  62470. _handleReturn$1$2(list, callback) {
  62471. var t1, _i, result;
  62472. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  62473. result = callback.call$1(list[_i]);
  62474. if (result != null)
  62475. return result;
  62476. }
  62477. return null;
  62478. },
  62479. _handleReturn$2(list, callback) {
  62480. return this._handleReturn$1$2(list, callback, type$.dynamic);
  62481. },
  62482. _withEnvironment$1$2(environment, callback) {
  62483. var result,
  62484. oldEnvironment = this._environment;
  62485. this._environment = environment;
  62486. result = callback.call$0();
  62487. this._environment = oldEnvironment;
  62488. return result;
  62489. },
  62490. _withEnvironment$2(environment, callback) {
  62491. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  62492. },
  62493. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  62494. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  62495. t1 = trim ? A.trimAscii(result, true) : result;
  62496. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  62497. },
  62498. _interpolationToValue$1(interpolation) {
  62499. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  62500. },
  62501. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  62502. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  62503. },
  62504. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  62505. var t1, result, _this = this,
  62506. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  62507. _this._inSupportsDeclaration = false;
  62508. t1 = interpolation.contents;
  62509. result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62510. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  62511. return result;
  62512. },
  62513. _performInterpolation$1(interpolation) {
  62514. return this._performInterpolation$2$warnForColor(interpolation, false);
  62515. },
  62516. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  62517. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  62518. },
  62519. _evaluate$_serialize$2(value, nodeWithSpan) {
  62520. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  62521. },
  62522. _expressionNode$1(expression) {
  62523. var t1;
  62524. if (expression instanceof A.VariableExpression) {
  62525. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  62526. return t1 == null ? expression : t1;
  62527. } else
  62528. return expression;
  62529. },
  62530. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  62531. var t1, result, _this = this;
  62532. _this._addChild$2$through(node, through);
  62533. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  62534. _this.__parent = node;
  62535. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  62536. _this.__parent = t1;
  62537. return result;
  62538. },
  62539. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  62540. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  62541. },
  62542. _withParent$2$2(node, callback, $S, $T) {
  62543. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  62544. },
  62545. _addChild$2$through(node, through) {
  62546. var grandparent, t1,
  62547. $parent = this._assertInModule$2(this.__parent, "__parent");
  62548. if (through != null) {
  62549. for (; through.call$1($parent); $parent = grandparent) {
  62550. grandparent = $parent._parent;
  62551. if (grandparent == null)
  62552. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  62553. }
  62554. if ($parent.get$hasFollowingSibling()) {
  62555. t1 = $parent._parent;
  62556. t1.toString;
  62557. $parent = $parent.copyWithoutChildren$0();
  62558. t1.addChild$1($parent);
  62559. }
  62560. }
  62561. $parent.addChild$1(node);
  62562. },
  62563. _addChild$1(node) {
  62564. return this._addChild$2$through(node, null);
  62565. },
  62566. _withStyleRule$1$2(rule, callback) {
  62567. var result,
  62568. oldRule = this._styleRuleIgnoringAtRoot;
  62569. this._styleRuleIgnoringAtRoot = rule;
  62570. result = callback.call$0();
  62571. this._styleRuleIgnoringAtRoot = oldRule;
  62572. return result;
  62573. },
  62574. _withStyleRule$2(rule, callback) {
  62575. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  62576. },
  62577. _withMediaQueries$1$3(queries, sources, callback) {
  62578. var result, _this = this,
  62579. oldMediaQueries = _this._mediaQueries,
  62580. oldSources = _this._mediaQuerySources;
  62581. _this._mediaQueries = queries;
  62582. _this._mediaQuerySources = sources;
  62583. result = callback.call$0();
  62584. _this._mediaQueries = oldMediaQueries;
  62585. _this._mediaQuerySources = oldSources;
  62586. return result;
  62587. },
  62588. _withMediaQueries$3(queries, sources, callback) {
  62589. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  62590. },
  62591. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  62592. var oldMember, result, _this = this,
  62593. t1 = _this._stack;
  62594. t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
  62595. oldMember = _this._member;
  62596. _this._member = member;
  62597. result = callback.call$0();
  62598. _this._member = oldMember;
  62599. t1.pop();
  62600. return result;
  62601. },
  62602. _withStackFrame$3(member, nodeWithSpan, callback) {
  62603. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  62604. },
  62605. _withoutSlash$2(value, nodeForSpan) {
  62606. if (value instanceof A.SassNumber && value.asSlash != null)
  62607. this._warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
  62608. return value.withoutSlash$0();
  62609. },
  62610. _stackFrame$2(member, span) {
  62611. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  62612. },
  62613. _evaluate$_stackTrace$1(span) {
  62614. var _this = this,
  62615. t1 = _this._stack;
  62616. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  62617. if (span != null)
  62618. t1.push(_this._stackFrame$2(_this._member, span));
  62619. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  62620. },
  62621. _evaluate$_stackTrace$0() {
  62622. return this._evaluate$_stackTrace$1(null);
  62623. },
  62624. _warn$3$deprecation(message, span, deprecation) {
  62625. var t1, _this = this;
  62626. if (_this._quietDeps)
  62627. if (!_this._inDependency) {
  62628. t1 = _this._currentCallable;
  62629. t1 = t1 == null ? null : t1.inDependency;
  62630. t1 = t1 === true;
  62631. } else
  62632. t1 = true;
  62633. else
  62634. t1 = false;
  62635. if (t1)
  62636. return;
  62637. if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  62638. return;
  62639. _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
  62640. },
  62641. _warn$2(message, span) {
  62642. return this._warn$3$deprecation(message, span, false);
  62643. },
  62644. _evaluate$_exception$2(message, span) {
  62645. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
  62646. return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
  62647. },
  62648. _evaluate$_exception$1(message) {
  62649. return this._evaluate$_exception$2(message, null);
  62650. },
  62651. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  62652. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
  62653. return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  62654. },
  62655. _adjustParseError$1$2(nodeWithSpan, callback) {
  62656. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  62657. try {
  62658. t1 = callback.call$0();
  62659. return t1;
  62660. } catch (exception) {
  62661. t1 = A.unwrapException(exception);
  62662. if (t1 instanceof A.SassFormatException) {
  62663. error = t1;
  62664. stackTrace = A.getTraceFromException(exception);
  62665. t1 = error;
  62666. t2 = J.getInterceptor$z(t1);
  62667. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  62668. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  62669. span = nodeWithSpan.get$span(nodeWithSpan);
  62670. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  62671. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  62672. t2 = J.get$start$z(span);
  62673. t3 = error;
  62674. t4 = J.getInterceptor$z(t3);
  62675. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  62676. t3 = t3.get$start(t3);
  62677. t4 = J.get$start$z(span);
  62678. t5 = error;
  62679. t6 = J.getInterceptor$z(t5);
  62680. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  62681. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  62682. A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  62683. } else
  62684. throw exception;
  62685. }
  62686. },
  62687. _adjustParseError$2(nodeWithSpan, callback) {
  62688. return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  62689. },
  62690. _addExceptionSpan$1$2(nodeWithSpan, callback) {
  62691. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  62692. try {
  62693. t1 = callback.call$0();
  62694. return t1;
  62695. } catch (exception) {
  62696. t1 = A.unwrapException(exception);
  62697. if (t1 instanceof A.MultiSpanSassScriptException) {
  62698. error = t1;
  62699. stackTrace = A.getTraceFromException(exception);
  62700. t1 = error.message;
  62701. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62702. t3 = error.primaryLabel;
  62703. t4 = error.secondarySpans;
  62704. A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  62705. } else if (t1 instanceof A.SassScriptException) {
  62706. error0 = t1;
  62707. stackTrace0 = A.getTraceFromException(exception);
  62708. A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  62709. } else
  62710. throw exception;
  62711. }
  62712. },
  62713. _addExceptionSpan$2(nodeWithSpan, callback) {
  62714. return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  62715. },
  62716. _addErrorSpan$1$2(nodeWithSpan, callback) {
  62717. var error, stackTrace, t1, exception, t2;
  62718. try {
  62719. t1 = callback.call$0();
  62720. return t1;
  62721. } catch (exception) {
  62722. t1 = A.unwrapException(exception);
  62723. if (type$.SassRuntimeException._is(t1)) {
  62724. error = t1;
  62725. stackTrace = A.getTraceFromException(exception);
  62726. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  62727. throw exception;
  62728. t1 = error._span_exception$_message;
  62729. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62730. A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
  62731. } else
  62732. throw exception;
  62733. }
  62734. },
  62735. _addErrorSpan$2(nodeWithSpan, callback) {
  62736. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  62737. }
  62738. };
  62739. A._EvaluateVisitor_closure.prototype = {
  62740. call$1($arguments) {
  62741. var module, t2,
  62742. t1 = J.getInterceptor$asx($arguments),
  62743. variable = t1.$index($arguments, 0).assertString$1("name");
  62744. t1 = t1.$index($arguments, 1).get$realNull();
  62745. module = t1 == null ? null : t1.assertString$1("module");
  62746. t1 = this.$this._environment;
  62747. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  62748. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  62749. },
  62750. $signature: 20
  62751. };
  62752. A._EvaluateVisitor_closure0.prototype = {
  62753. call$1($arguments) {
  62754. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  62755. t1 = this.$this._environment;
  62756. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  62757. },
  62758. $signature: 20
  62759. };
  62760. A._EvaluateVisitor_closure1.prototype = {
  62761. call$1($arguments) {
  62762. var module, t2, t3, t4,
  62763. t1 = J.getInterceptor$asx($arguments),
  62764. variable = t1.$index($arguments, 0).assertString$1("name");
  62765. t1 = t1.$index($arguments, 1).get$realNull();
  62766. module = t1 == null ? null : t1.assertString$1("module");
  62767. t1 = this.$this;
  62768. t2 = t1._environment;
  62769. t3 = variable._string$_text;
  62770. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  62771. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  62772. },
  62773. $signature: 20
  62774. };
  62775. A._EvaluateVisitor_closure2.prototype = {
  62776. call$1($arguments) {
  62777. var module, t2,
  62778. t1 = J.getInterceptor$asx($arguments),
  62779. variable = t1.$index($arguments, 0).assertString$1("name");
  62780. t1 = t1.$index($arguments, 1).get$realNull();
  62781. module = t1 == null ? null : t1.assertString$1("module");
  62782. t1 = this.$this._environment;
  62783. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  62784. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  62785. },
  62786. $signature: 20
  62787. };
  62788. A._EvaluateVisitor_closure3.prototype = {
  62789. call$1($arguments) {
  62790. var t1 = this.$this._environment;
  62791. if (!t1._inMixin)
  62792. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  62793. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  62794. },
  62795. $signature: 20
  62796. };
  62797. A._EvaluateVisitor_closure4.prototype = {
  62798. call$1($arguments) {
  62799. var t2, t3, t4,
  62800. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  62801. module = this.$this._environment._environment$_modules.$index(0, t1);
  62802. if (module == null)
  62803. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  62804. t1 = type$.Value;
  62805. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  62806. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62807. t4 = t3.get$current(t3);
  62808. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  62809. }
  62810. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  62811. },
  62812. $signature: 37
  62813. };
  62814. A._EvaluateVisitor_closure5.prototype = {
  62815. call$1($arguments) {
  62816. var t2, t3, t4,
  62817. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  62818. module = this.$this._environment._environment$_modules.$index(0, t1);
  62819. if (module == null)
  62820. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  62821. t1 = type$.Value;
  62822. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  62823. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62824. t4 = t3.get$current(t3);
  62825. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  62826. }
  62827. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  62828. },
  62829. $signature: 37
  62830. };
  62831. A._EvaluateVisitor_closure6.prototype = {
  62832. call$1($arguments) {
  62833. var module, callable, t2,
  62834. t1 = J.getInterceptor$asx($arguments),
  62835. $name = t1.$index($arguments, 0).assertString$1("name"),
  62836. css = t1.$index($arguments, 1).get$isTruthy();
  62837. t1 = t1.$index($arguments, 2).get$realNull();
  62838. module = t1 == null ? null : t1.assertString$1("module");
  62839. if (css && module != null)
  62840. throw A.wrapException(string$.x24css_a);
  62841. if (css)
  62842. callable = new A.PlainCssCallable($name._string$_text);
  62843. else {
  62844. t1 = this.$this;
  62845. t2 = t1._callableNode;
  62846. t2.toString;
  62847. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  62848. }
  62849. if (callable != null)
  62850. return new A.SassFunction(callable);
  62851. throw A.wrapException("Function not found: " + $name.toString$0(0));
  62852. },
  62853. $signature: 184
  62854. };
  62855. A._EvaluateVisitor__closure1.prototype = {
  62856. call$0() {
  62857. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  62858. t2 = this.module;
  62859. t2 = t2 == null ? null : t2._string$_text;
  62860. return this.$this._getFunction$2$namespace(t1, t2);
  62861. },
  62862. $signature: 106
  62863. };
  62864. A._EvaluateVisitor_closure7.prototype = {
  62865. call$1($arguments) {
  62866. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  62867. t1 = J.getInterceptor$asx($arguments),
  62868. $function = t1.$index($arguments, 0),
  62869. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  62870. t1 = this.$this;
  62871. t2 = t1._callableNode;
  62872. t2.toString;
  62873. t3 = A._setArrayType([], type$.JSArray_Expression);
  62874. t4 = type$.String;
  62875. t5 = type$.Expression;
  62876. t6 = t2.get$span(t2);
  62877. t7 = t2.get$span(t2);
  62878. args._wereKeywordsAccessed = true;
  62879. t8 = args._keywords;
  62880. if (t8.get$isEmpty(t8))
  62881. t2 = null;
  62882. else {
  62883. t9 = type$.Value;
  62884. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  62885. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  62886. t11 = t8.get$current(t8);
  62887. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  62888. }
  62889. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  62890. }
  62891. invocation = new A.ArgumentInvocation(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  62892. if ($function instanceof A.SassString) {
  62893. t2 = $function.toString$0(0);
  62894. A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  62895. callableNode = t1._callableNode;
  62896. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  62897. }
  62898. callable = $function.assertFunction$1("function").callable;
  62899. if (type$.Callable._is(callable)) {
  62900. t2 = t1._callableNode;
  62901. t2.toString;
  62902. return t1._runFunctionCallable$3(invocation, callable, t2);
  62903. } else
  62904. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  62905. },
  62906. $signature: 4
  62907. };
  62908. A._EvaluateVisitor_closure8.prototype = {
  62909. call$1($arguments) {
  62910. var withMap, t2, values, configuration, t3,
  62911. t1 = J.getInterceptor$asx($arguments),
  62912. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  62913. t1 = t1.$index($arguments, 1).get$realNull();
  62914. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  62915. t1 = this.$this;
  62916. t2 = t1._callableNode;
  62917. t2.toString;
  62918. if (withMap != null) {
  62919. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  62920. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  62921. configuration = new A.ExplicitConfiguration(t2, values, null);
  62922. } else
  62923. configuration = B.Configuration_Map_empty_null;
  62924. t3 = t2.get$span(t2);
  62925. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  62926. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  62927. },
  62928. $signature: 535
  62929. };
  62930. A._EvaluateVisitor__closure.prototype = {
  62931. call$2(variable, value) {
  62932. var t1 = variable.assertString$1("with key"),
  62933. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  62934. t1 = this.values;
  62935. if (t1.containsKey$1($name))
  62936. throw A.wrapException("The variable $" + $name + " was configured twice.");
  62937. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  62938. },
  62939. $signature: 60
  62940. };
  62941. A._EvaluateVisitor__closure0.prototype = {
  62942. call$1(module) {
  62943. var t1 = this.$this;
  62944. return t1._combineCss$2$clone(module, true).accept$1(t1);
  62945. },
  62946. $signature: 75
  62947. };
  62948. A._EvaluateVisitor_run_closure.prototype = {
  62949. call$0() {
  62950. var _this = this,
  62951. t1 = _this.node,
  62952. t2 = t1.span,
  62953. url = t2.get$sourceUrl(t2);
  62954. if (url != null) {
  62955. t2 = _this.$this;
  62956. t2._activeModules.$indexSet(0, url, null);
  62957. t2._loadedUrls.add$1(0, url);
  62958. }
  62959. t2 = _this.$this;
  62960. return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
  62961. },
  62962. $signature: 555
  62963. };
  62964. A._EvaluateVisitor_runExpression_closure.prototype = {
  62965. call$0() {
  62966. var t1 = this.$this,
  62967. t2 = this.expression;
  62968. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  62969. },
  62970. $signature: 41
  62971. };
  62972. A._EvaluateVisitor_runExpression__closure.prototype = {
  62973. call$0() {
  62974. return this.expression.accept$1(this.$this);
  62975. },
  62976. $signature: 41
  62977. };
  62978. A._EvaluateVisitor_runStatement_closure.prototype = {
  62979. call$0() {
  62980. var t1 = this.$this,
  62981. t2 = this.statement;
  62982. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  62983. },
  62984. $signature: 0
  62985. };
  62986. A._EvaluateVisitor_runStatement__closure.prototype = {
  62987. call$0() {
  62988. return this.statement.accept$1(this.$this);
  62989. },
  62990. $signature: 0
  62991. };
  62992. A._EvaluateVisitor__loadModule_closure.prototype = {
  62993. call$0() {
  62994. return this.callback.call$1(this.builtInModule);
  62995. },
  62996. $signature: 0
  62997. };
  62998. A._EvaluateVisitor__loadModule_closure0.prototype = {
  62999. call$0() {
  63000. var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t4, t5, t6, t7, _this = this,
  63001. t1 = _this.$this,
  63002. t2 = _this.nodeWithSpan,
  63003. result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
  63004. stylesheet = result.stylesheet,
  63005. t3 = stylesheet.span,
  63006. canonicalUrl = t3.get$sourceUrl(t3);
  63007. if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
  63008. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  63009. t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
  63010. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
  63011. }
  63012. if (canonicalUrl != null)
  63013. t1._activeModules.$indexSet(0, canonicalUrl, t2);
  63014. oldInDependency = t1._inDependency;
  63015. t1._inDependency = result.isDependency;
  63016. module = null;
  63017. try {
  63018. module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
  63019. } finally {
  63020. t1._activeModules.remove$1(0, canonicalUrl);
  63021. t1._inDependency = oldInDependency;
  63022. }
  63023. try {
  63024. _this.callback.call$1(module);
  63025. } catch (exception) {
  63026. t2 = A.unwrapException(exception);
  63027. if (type$.SassRuntimeException._is(t2))
  63028. throw exception;
  63029. else if (t2 instanceof A.MultiSpanSassException) {
  63030. error = t2;
  63031. stackTrace = A.getTraceFromException(exception);
  63032. t2 = error._span_exception$_message;
  63033. t3 = error;
  63034. t4 = J.getInterceptor$z(t3);
  63035. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  63036. t4 = error.primaryLabel;
  63037. t5 = error.secondarySpans;
  63038. t6 = error;
  63039. t7 = J.getInterceptor$z(t6);
  63040. A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  63041. } else if (t2 instanceof A.SassException) {
  63042. error0 = t2;
  63043. stackTrace0 = A.getTraceFromException(exception);
  63044. t2 = error0;
  63045. t3 = J.getInterceptor$z(t2);
  63046. A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  63047. } else if (t2 instanceof A.MultiSpanSassScriptException) {
  63048. error1 = t2;
  63049. stackTrace1 = A.getTraceFromException(exception);
  63050. A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  63051. } else if (t2 instanceof A.SassScriptException) {
  63052. error2 = t2;
  63053. stackTrace2 = A.getTraceFromException(exception);
  63054. A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
  63055. } else
  63056. throw exception;
  63057. }
  63058. },
  63059. $signature: 1
  63060. };
  63061. A._EvaluateVisitor__loadModule__closure.prototype = {
  63062. call$1(previousLoad) {
  63063. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  63064. },
  63065. $signature: 87
  63066. };
  63067. A._EvaluateVisitor__execute_closure.prototype = {
  63068. call$0() {
  63069. var t3, t4, t5, t6, _this = this,
  63070. t1 = _this.$this,
  63071. oldImporter = t1._importer,
  63072. oldStylesheet = t1.__stylesheet,
  63073. oldRoot = t1.__root,
  63074. oldParent = t1.__parent,
  63075. oldEndOfImports = t1.__endOfImports,
  63076. oldOutOfOrderImports = t1._outOfOrderImports,
  63077. oldExtensionStore = t1.__extensionStore,
  63078. t2 = t1._atRootExcludingStyleRule,
  63079. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  63080. oldMediaQueries = t1._mediaQueries,
  63081. oldDeclarationName = t1._declarationName,
  63082. oldInUnknownAtRule = t1._inUnknownAtRule,
  63083. oldInKeyframes = t1._inKeyframes,
  63084. oldConfiguration = t1._configuration;
  63085. t1._importer = _this.importer;
  63086. t3 = t1.__stylesheet = _this.stylesheet;
  63087. t4 = t3.span;
  63088. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  63089. t1.__endOfImports = 0;
  63090. t1._outOfOrderImports = null;
  63091. t1.__extensionStore = _this.extensionStore;
  63092. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  63093. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  63094. t6 = _this.configuration;
  63095. if (t6 != null)
  63096. t1._configuration = t6;
  63097. t1.visitStylesheet$1(t3);
  63098. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  63099. _this.css._value = t3;
  63100. t1._importer = oldImporter;
  63101. t1.__stylesheet = oldStylesheet;
  63102. t1.__root = oldRoot;
  63103. t1.__parent = oldParent;
  63104. t1.__endOfImports = oldEndOfImports;
  63105. t1._outOfOrderImports = oldOutOfOrderImports;
  63106. t1.__extensionStore = oldExtensionStore;
  63107. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  63108. t1._mediaQueries = oldMediaQueries;
  63109. t1._declarationName = oldDeclarationName;
  63110. t1._inUnknownAtRule = oldInUnknownAtRule;
  63111. t1._atRootExcludingStyleRule = t2;
  63112. t1._inKeyframes = oldInKeyframes;
  63113. t1._configuration = oldConfiguration;
  63114. },
  63115. $signature: 1
  63116. };
  63117. A._EvaluateVisitor__combineCss_closure.prototype = {
  63118. call$1(module) {
  63119. return module.get$transitivelyContainsCss();
  63120. },
  63121. $signature: 125
  63122. };
  63123. A._EvaluateVisitor__combineCss_closure0.prototype = {
  63124. call$1(target) {
  63125. return !this.selectors.contains$1(0, target);
  63126. },
  63127. $signature: 14
  63128. };
  63129. A._EvaluateVisitor__combineCss_closure1.prototype = {
  63130. call$1(module) {
  63131. return module.cloneCss$0();
  63132. },
  63133. $signature: 556
  63134. };
  63135. A._EvaluateVisitor__extendModules_closure.prototype = {
  63136. call$1(target) {
  63137. return !this.originalSelectors.contains$1(0, target);
  63138. },
  63139. $signature: 14
  63140. };
  63141. A._EvaluateVisitor__extendModules_closure0.prototype = {
  63142. call$0() {
  63143. return A._setArrayType([], type$.JSArray_ExtensionStore);
  63144. },
  63145. $signature: 188
  63146. };
  63147. A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
  63148. call$1(module) {
  63149. var t1, t2, t3, _i, upstream;
  63150. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63151. upstream = t1[_i];
  63152. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  63153. this.call$1(upstream);
  63154. }
  63155. this.sorted.addFirst$1(module);
  63156. },
  63157. $signature: 75
  63158. };
  63159. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  63160. call$0() {
  63161. var t1 = A.SpanScanner$(this.resolved, null);
  63162. return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
  63163. },
  63164. $signature: 117
  63165. };
  63166. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  63167. call$0() {
  63168. var t1, t2, t3, _i;
  63169. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63170. t1[_i].accept$1(t3);
  63171. },
  63172. $signature: 1
  63173. };
  63174. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  63175. call$0() {
  63176. var t1, t2, t3, _i;
  63177. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63178. t1[_i].accept$1(t3);
  63179. },
  63180. $signature: 0
  63181. };
  63182. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  63183. call$1(callback) {
  63184. var t1 = this.$this,
  63185. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  63186. t1.__parent = this.newParent;
  63187. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  63188. t1.__parent = t2;
  63189. },
  63190. $signature: 27
  63191. };
  63192. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  63193. call$1(callback) {
  63194. var t1 = this.$this,
  63195. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  63196. t1._atRootExcludingStyleRule = true;
  63197. this.innerScope.call$1(callback);
  63198. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63199. },
  63200. $signature: 27
  63201. };
  63202. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  63203. call$1(callback) {
  63204. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  63205. },
  63206. $signature: 27
  63207. };
  63208. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  63209. call$0() {
  63210. return this.innerScope.call$1(this.callback);
  63211. },
  63212. $signature: 1
  63213. };
  63214. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  63215. call$1(callback) {
  63216. var t1 = this.$this,
  63217. wasInKeyframes = t1._inKeyframes;
  63218. t1._inKeyframes = false;
  63219. this.innerScope.call$1(callback);
  63220. t1._inKeyframes = wasInKeyframes;
  63221. },
  63222. $signature: 27
  63223. };
  63224. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  63225. call$1($parent) {
  63226. return type$.CssAtRule._is($parent);
  63227. },
  63228. $signature: 190
  63229. };
  63230. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  63231. call$1(callback) {
  63232. var t1 = this.$this,
  63233. wasInUnknownAtRule = t1._inUnknownAtRule;
  63234. t1._inUnknownAtRule = false;
  63235. this.innerScope.call$1(callback);
  63236. t1._inUnknownAtRule = wasInUnknownAtRule;
  63237. },
  63238. $signature: 27
  63239. };
  63240. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  63241. call$0() {
  63242. var t1, t2, t3, _i;
  63243. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63244. t1[_i].accept$1(t3);
  63245. return null;
  63246. },
  63247. $signature: 1
  63248. };
  63249. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  63250. call$1(value) {
  63251. return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
  63252. },
  63253. $signature: 570
  63254. };
  63255. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  63256. call$0() {
  63257. var t1, t2, t3, _i;
  63258. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63259. t1[_i].accept$1(t3);
  63260. },
  63261. $signature: 1
  63262. };
  63263. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  63264. call$1(value) {
  63265. var t1 = this.$this,
  63266. t2 = this.nodeWithSpan;
  63267. return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
  63268. },
  63269. $signature: 52
  63270. };
  63271. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  63272. call$1(value) {
  63273. return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  63274. },
  63275. $signature: 52
  63276. };
  63277. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  63278. call$0() {
  63279. var _this = this,
  63280. t1 = _this.$this;
  63281. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  63282. },
  63283. $signature: 35
  63284. };
  63285. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  63286. call$1(element) {
  63287. var t1;
  63288. this.setVariables.call$1(element);
  63289. t1 = this.$this;
  63290. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  63291. },
  63292. $signature: 572
  63293. };
  63294. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  63295. call$1(child) {
  63296. return child.accept$1(this.$this);
  63297. },
  63298. $signature: 84
  63299. };
  63300. A._EvaluateVisitor_visitExtendRule_closure.prototype = {
  63301. call$0() {
  63302. return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
  63303. },
  63304. $signature: 47
  63305. };
  63306. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  63307. call$1(value) {
  63308. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  63309. },
  63310. $signature: 257
  63311. };
  63312. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  63313. call$0() {
  63314. var t2, t3, _i,
  63315. t1 = this.$this,
  63316. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63317. if (styleRule == null || t1._inKeyframes)
  63318. for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63319. t2[_i].accept$1(t1);
  63320. else
  63321. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  63322. },
  63323. $signature: 1
  63324. };
  63325. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  63326. call$0() {
  63327. var t1, t2, t3, _i;
  63328. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63329. t1[_i].accept$1(t3);
  63330. },
  63331. $signature: 1
  63332. };
  63333. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  63334. call$1(node) {
  63335. return type$.CssStyleRule._is(node);
  63336. },
  63337. $signature: 6
  63338. };
  63339. A._EvaluateVisitor_visitForRule_closure.prototype = {
  63340. call$0() {
  63341. return this.node.from.accept$1(this.$this).assertNumber$0();
  63342. },
  63343. $signature: 253
  63344. };
  63345. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  63346. call$0() {
  63347. return this.node.to.accept$1(this.$this).assertNumber$0();
  63348. },
  63349. $signature: 253
  63350. };
  63351. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  63352. call$0() {
  63353. return this.fromNumber.assertInt$0();
  63354. },
  63355. $signature: 12
  63356. };
  63357. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  63358. call$0() {
  63359. var t1 = this.fromNumber;
  63360. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  63361. },
  63362. $signature: 12
  63363. };
  63364. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  63365. call$0() {
  63366. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  63367. t1 = _this.$this,
  63368. t2 = _this.node,
  63369. nodeWithSpan = t1._expressionNode$1(t2.from);
  63370. for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
  63371. t7 = t1._environment;
  63372. t8 = t6.get$numeratorUnits(t6);
  63373. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  63374. result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  63375. if (result != null)
  63376. return result;
  63377. }
  63378. return null;
  63379. },
  63380. $signature: 35
  63381. };
  63382. A._EvaluateVisitor_visitForRule__closure.prototype = {
  63383. call$1(child) {
  63384. return child.accept$1(this.$this);
  63385. },
  63386. $signature: 84
  63387. };
  63388. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  63389. call$1(module) {
  63390. this.$this._environment.forwardModule$2(module, this.node);
  63391. },
  63392. $signature: 75
  63393. };
  63394. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  63395. call$1(module) {
  63396. this.$this._environment.forwardModule$2(module, this.node);
  63397. },
  63398. $signature: 75
  63399. };
  63400. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  63401. call$0() {
  63402. var t1 = this.$this;
  63403. return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
  63404. },
  63405. $signature: 35
  63406. };
  63407. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  63408. call$1(child) {
  63409. return child.accept$1(this.$this);
  63410. },
  63411. $signature: 84
  63412. };
  63413. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  63414. call$0() {
  63415. var t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  63416. t1 = this.$this,
  63417. t2 = this.$import,
  63418. result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  63419. stylesheet = result.stylesheet,
  63420. t3 = stylesheet.span,
  63421. url = t3.get$sourceUrl(t3);
  63422. if (url != null) {
  63423. t3 = t1._activeModules;
  63424. if (t3.containsKey$1(url)) {
  63425. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  63426. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  63427. }
  63428. t3.$indexSet(0, url, t2);
  63429. }
  63430. t2 = stylesheet._uses;
  63431. t3 = type$.UnmodifiableListView_UseRule;
  63432. t4 = new A.UnmodifiableListView(t2, t3);
  63433. if (t4.get$length(t4) === 0) {
  63434. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  63435. t4 = t4.get$length(t4) === 0;
  63436. } else
  63437. t4 = false;
  63438. if (t4) {
  63439. oldImporter = t1._importer;
  63440. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  63441. oldInDependency = t1._inDependency;
  63442. t1._importer = result.importer;
  63443. t1.__stylesheet = stylesheet;
  63444. t1._inDependency = result.isDependency;
  63445. t1.visitStylesheet$1(stylesheet);
  63446. t1._importer = oldImporter;
  63447. t1.__stylesheet = t2;
  63448. t1._inDependency = oldInDependency;
  63449. t1._activeModules.remove$1(0, url);
  63450. return;
  63451. }
  63452. t2 = new A.UnmodifiableListView(t2, t3);
  63453. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  63454. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  63455. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  63456. } else
  63457. loadsUserDefinedModules = true;
  63458. children = A._Cell$();
  63459. t2 = t1._environment;
  63460. t3 = type$.String;
  63461. t4 = type$.Module_Callable;
  63462. t5 = type$.AstNode;
  63463. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  63464. t7 = t2._variables;
  63465. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  63466. t8 = t2._variableNodes;
  63467. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  63468. t9 = t2._functions;
  63469. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  63470. t10 = t2._mixins;
  63471. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  63472. environment = A.Environment$_(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._importedModules, null, null, t6, t7, t8, t9, t10, t2._content);
  63473. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  63474. module = environment.toDummyModule$0();
  63475. t1._environment.importForwards$1(module);
  63476. if (loadsUserDefinedModules) {
  63477. if (module.transitivelyContainsCss)
  63478. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  63479. visitor = new A._ImportedCssVisitor(t1);
  63480. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  63481. t2.get$current(t2).accept$1(visitor);
  63482. }
  63483. t1._activeModules.remove$1(0, url);
  63484. },
  63485. $signature: 0
  63486. };
  63487. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  63488. call$1(previousLoad) {
  63489. return this.$this._multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  63490. },
  63491. $signature: 87
  63492. };
  63493. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  63494. call$1(rule) {
  63495. return rule.url.get$scheme() !== "sass";
  63496. },
  63497. $signature: 203
  63498. };
  63499. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  63500. call$1(rule) {
  63501. return rule.url.get$scheme() !== "sass";
  63502. },
  63503. $signature: 204
  63504. };
  63505. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  63506. call$0() {
  63507. var t7, t8, t9, _this = this,
  63508. t1 = _this.$this,
  63509. oldImporter = t1._importer,
  63510. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  63511. t3 = t1._assertInModule$2(t1.__root, "_root"),
  63512. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  63513. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  63514. oldOutOfOrderImports = t1._outOfOrderImports,
  63515. oldConfiguration = t1._configuration,
  63516. oldInDependency = t1._inDependency,
  63517. t6 = _this.result;
  63518. t1._importer = t6.importer;
  63519. t7 = t1.__stylesheet = _this.stylesheet;
  63520. t8 = _this.loadsUserDefinedModules;
  63521. if (t8) {
  63522. t9 = A.ModifiableCssStylesheet$(t7.span);
  63523. t1.__root = t9;
  63524. t1.__parent = t1._assertInModule$2(t9, "_root");
  63525. t1.__endOfImports = 0;
  63526. t1._outOfOrderImports = null;
  63527. }
  63528. t1._inDependency = t6.isDependency;
  63529. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  63530. if (!t6.get$isEmpty(t6))
  63531. t1._configuration = _this.environment.toImplicitConfiguration$0();
  63532. t1.visitStylesheet$1(t7);
  63533. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  63534. _this.children._value = t6;
  63535. t1._importer = oldImporter;
  63536. t1.__stylesheet = t2;
  63537. if (t8) {
  63538. t1.__root = t3;
  63539. t1.__parent = t4;
  63540. t1.__endOfImports = t5;
  63541. t1._outOfOrderImports = oldOutOfOrderImports;
  63542. }
  63543. t1._configuration = oldConfiguration;
  63544. t1._inDependency = oldInDependency;
  63545. },
  63546. $signature: 1
  63547. };
  63548. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  63549. call$0() {
  63550. var t1 = this.node;
  63551. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  63552. },
  63553. $signature: 106
  63554. };
  63555. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  63556. call$0() {
  63557. return this.node.get$spanWithoutContent();
  63558. },
  63559. $signature: 31
  63560. };
  63561. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  63562. call$1($content) {
  63563. var t1 = this.$this;
  63564. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  63565. },
  63566. $signature: 259
  63567. };
  63568. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  63569. call$0() {
  63570. var _this = this,
  63571. t1 = _this.$this,
  63572. t2 = t1._environment,
  63573. oldContent = t2._content;
  63574. t2._content = _this.contentCallable;
  63575. new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
  63576. t2._content = oldContent;
  63577. },
  63578. $signature: 1
  63579. };
  63580. A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
  63581. call$0() {
  63582. var t1 = this.$this,
  63583. t2 = t1._environment,
  63584. oldInMixin = t2._inMixin;
  63585. t2._inMixin = true;
  63586. new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
  63587. t2._inMixin = oldInMixin;
  63588. },
  63589. $signature: 0
  63590. };
  63591. A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
  63592. call$0() {
  63593. var t1, t2, t3, t4, _i;
  63594. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  63595. t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
  63596. },
  63597. $signature: 0
  63598. };
  63599. A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
  63600. call$0() {
  63601. return this.statement.accept$1(this.$this);
  63602. },
  63603. $signature: 35
  63604. };
  63605. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  63606. call$1(mediaQueries) {
  63607. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  63608. },
  63609. $signature: 99
  63610. };
  63611. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  63612. call$0() {
  63613. var _this = this,
  63614. t1 = _this.$this,
  63615. t2 = _this.mergedQueries;
  63616. if (t2 == null)
  63617. t2 = _this.queries;
  63618. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  63619. },
  63620. $signature: 1
  63621. };
  63622. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  63623. call$0() {
  63624. var t2, t3, _i,
  63625. t1 = this.$this,
  63626. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63627. if (styleRule == null)
  63628. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63629. t2[_i].accept$1(t1);
  63630. else
  63631. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  63632. },
  63633. $signature: 1
  63634. };
  63635. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  63636. call$0() {
  63637. var t1, t2, t3, _i;
  63638. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63639. t1[_i].accept$1(t3);
  63640. },
  63641. $signature: 1
  63642. };
  63643. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  63644. call$1(node) {
  63645. var t1;
  63646. if (!type$.CssStyleRule._is(node)) {
  63647. t1 = this.mergedSources;
  63648. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  63649. } else
  63650. t1 = true;
  63651. return t1;
  63652. },
  63653. $signature: 6
  63654. };
  63655. A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
  63656. call$0() {
  63657. var t1 = A.SpanScanner$(this.resolved, null);
  63658. return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
  63659. },
  63660. $signature: 116
  63661. };
  63662. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  63663. call$0() {
  63664. return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
  63665. },
  63666. $signature: 48
  63667. };
  63668. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  63669. call$0() {
  63670. var t1, t2, t3, _i;
  63671. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63672. t1[_i].accept$1(t3);
  63673. },
  63674. $signature: 1
  63675. };
  63676. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  63677. call$1(node) {
  63678. return type$.CssStyleRule._is(node);
  63679. },
  63680. $signature: 6
  63681. };
  63682. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  63683. call$0() {
  63684. var _s11_ = "_stylesheet",
  63685. t1 = this.$this;
  63686. return A.SelectorList_SelectorList$parse(this.selectorText.value, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, t1._evaluate$_logger);
  63687. },
  63688. $signature: 47
  63689. };
  63690. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  63691. call$0() {
  63692. var t1 = this._box_0.parsedSelector,
  63693. t2 = this.$this,
  63694. t3 = t2._styleRuleIgnoringAtRoot;
  63695. t3 = t3 == null ? null : t3.originalSelector;
  63696. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
  63697. },
  63698. $signature: 47
  63699. };
  63700. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  63701. call$0() {
  63702. var t1 = this.$this;
  63703. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  63704. },
  63705. $signature: 1
  63706. };
  63707. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  63708. call$0() {
  63709. var t1, t2, t3, _i;
  63710. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63711. t1[_i].accept$1(t3);
  63712. },
  63713. $signature: 1
  63714. };
  63715. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  63716. call$1(node) {
  63717. return type$.CssStyleRule._is(node);
  63718. },
  63719. $signature: 6
  63720. };
  63721. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  63722. call$1(child) {
  63723. return type$.CssComment._is(child);
  63724. },
  63725. $signature: 136
  63726. };
  63727. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  63728. call$0() {
  63729. var t2, t3, _i,
  63730. t1 = this.$this,
  63731. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63732. if (styleRule == null)
  63733. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63734. t2[_i].accept$1(t1);
  63735. else
  63736. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  63737. },
  63738. $signature: 1
  63739. };
  63740. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  63741. call$0() {
  63742. var t1, t2, t3, _i;
  63743. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63744. t1[_i].accept$1(t3);
  63745. },
  63746. $signature: 1
  63747. };
  63748. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  63749. call$1(node) {
  63750. return type$.CssStyleRule._is(node);
  63751. },
  63752. $signature: 6
  63753. };
  63754. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  63755. call$0() {
  63756. var t1 = this.override;
  63757. this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  63758. },
  63759. $signature: 1
  63760. };
  63761. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  63762. call$0() {
  63763. var t1 = this.node;
  63764. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  63765. },
  63766. $signature: 35
  63767. };
  63768. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  63769. call$0() {
  63770. var t1 = this.$this,
  63771. t2 = this.node;
  63772. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  63773. },
  63774. $signature: 1
  63775. };
  63776. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  63777. call$1(module) {
  63778. var t1 = this.node;
  63779. this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
  63780. },
  63781. $signature: 75
  63782. };
  63783. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  63784. call$0() {
  63785. return this.node.expression.accept$1(this.$this);
  63786. },
  63787. $signature: 41
  63788. };
  63789. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  63790. call$0() {
  63791. var t1, t2, t3, result;
  63792. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  63793. result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  63794. if (result != null)
  63795. return result;
  63796. }
  63797. return null;
  63798. },
  63799. $signature: 35
  63800. };
  63801. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  63802. call$1(child) {
  63803. return child.accept$1(this.$this);
  63804. },
  63805. $signature: 84
  63806. };
  63807. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  63808. call$0() {
  63809. var right, result,
  63810. t1 = this.node,
  63811. t2 = this.$this,
  63812. left = t1.left.accept$1(t2),
  63813. t3 = t1.operator;
  63814. switch (t3) {
  63815. case B.BinaryOperator_axY:
  63816. right = t1.right.accept$1(t2);
  63817. return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  63818. case B.BinaryOperator_or_or_1_or:
  63819. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  63820. case B.BinaryOperator_and_and_2_and:
  63821. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  63822. case B.BinaryOperator_nZh:
  63823. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  63824. case B.BinaryOperator_Vr9:
  63825. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  63826. case B.BinaryOperator_cw1:
  63827. return left.greaterThan$1(t1.right.accept$1(t2));
  63828. case B.BinaryOperator_Wma:
  63829. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  63830. case B.BinaryOperator_apg:
  63831. return left.lessThan$1(t1.right.accept$1(t2));
  63832. case B.BinaryOperator_oqF:
  63833. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  63834. case B.BinaryOperator_qbf:
  63835. return left.plus$1(t1.right.accept$1(t2));
  63836. case B.BinaryOperator_KlB:
  63837. return left.minus$1(t1.right.accept$1(t2));
  63838. case B.BinaryOperator_6pl:
  63839. return left.times$1(t1.right.accept$1(t2));
  63840. case B.BinaryOperator_qpm:
  63841. right = t1.right.accept$1(t2);
  63842. result = left.dividedBy$1(right);
  63843. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
  63844. return type$.SassNumber._as(result).withSlash$2(left, right);
  63845. else {
  63846. if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  63847. t2._warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  63848. return result;
  63849. }
  63850. case B.BinaryOperator_PHH:
  63851. return left.modulo$1(t1.right.accept$1(t2));
  63852. default:
  63853. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  63854. }
  63855. },
  63856. $signature: 41
  63857. };
  63858. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
  63859. call$1(expression) {
  63860. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_qpm)
  63861. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  63862. else if (expression instanceof A.ParenthesizedExpression)
  63863. return expression.expression.toString$0(0);
  63864. else
  63865. return expression.toString$0(0);
  63866. },
  63867. $signature: 135
  63868. };
  63869. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  63870. call$0() {
  63871. var t1 = this.node;
  63872. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  63873. },
  63874. $signature: 35
  63875. };
  63876. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  63877. call$0() {
  63878. var _this = this,
  63879. t1 = _this.node.operator;
  63880. switch (t1) {
  63881. case B.UnaryOperator_gg4:
  63882. return _this.operand.unaryPlus$0();
  63883. case B.UnaryOperator_TLI:
  63884. return _this.operand.unaryMinus$0();
  63885. case B.UnaryOperator_Ix1:
  63886. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  63887. case B.UnaryOperator_not_not_not:
  63888. return _this.operand.unaryNot$0();
  63889. default:
  63890. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  63891. }
  63892. },
  63893. $signature: 41
  63894. };
  63895. A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
  63896. call$0() {
  63897. var t1 = this.$this,
  63898. t2 = this.node,
  63899. t3 = this.inMinMax;
  63900. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._inSupportsDeclaration);
  63901. },
  63902. $signature: 85
  63903. };
  63904. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  63905. call$1(expression) {
  63906. return expression.accept$1(this.$this);
  63907. },
  63908. $signature: 261
  63909. };
  63910. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  63911. call$0() {
  63912. var t1 = this.node;
  63913. return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  63914. },
  63915. $signature: 106
  63916. };
  63917. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  63918. call$0() {
  63919. var t1 = this.node;
  63920. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  63921. },
  63922. $signature: 41
  63923. };
  63924. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  63925. call$0() {
  63926. var t1 = this.node;
  63927. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  63928. },
  63929. $signature: 41
  63930. };
  63931. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  63932. call$0() {
  63933. var _this = this,
  63934. t1 = _this.$this,
  63935. t2 = _this.callable;
  63936. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  63937. },
  63938. $signature() {
  63939. return this.V._eval$1("0()");
  63940. }
  63941. };
  63942. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  63943. call$0() {
  63944. var _this = this,
  63945. t1 = _this.$this,
  63946. t2 = _this.V;
  63947. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  63948. },
  63949. $signature() {
  63950. return this.V._eval$1("0()");
  63951. }
  63952. };
  63953. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  63954. call$0() {
  63955. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  63956. t1 = _this.$this,
  63957. t2 = _this.evaluated,
  63958. t3 = t2.positional,
  63959. t4 = t2.named,
  63960. t5 = _this.callable.declaration.$arguments,
  63961. t6 = _this.nodeWithSpan;
  63962. t1._verifyArguments$4(t3.length, t4, t5, t6);
  63963. declaredArguments = t5.$arguments;
  63964. t7 = declaredArguments.length;
  63965. minLength = Math.min(t3.length, t7);
  63966. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  63967. t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  63968. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  63969. argument = declaredArguments[i];
  63970. t9 = argument.name;
  63971. value = t4.remove$1(0, t9);
  63972. if (value == null) {
  63973. t10 = argument.defaultValue;
  63974. value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
  63975. }
  63976. t10 = t1._environment;
  63977. t11 = t8.$index(0, t9);
  63978. if (t11 == null) {
  63979. t11 = argument.defaultValue;
  63980. t11.toString;
  63981. t11 = t1._expressionNode$1(t11);
  63982. }
  63983. t10.setLocalVariable$3(t9, value, t11);
  63984. }
  63985. restArgument = t5.restArgument;
  63986. if (restArgument != null) {
  63987. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty7;
  63988. t2 = t2.separator;
  63989. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  63990. t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
  63991. } else
  63992. argumentList = null;
  63993. result = _this.run.call$0();
  63994. if (argumentList == null)
  63995. return result;
  63996. t2 = t4.__js_helper$_length;
  63997. if (t2 === 0)
  63998. return result;
  63999. if (argumentList._wereKeywordsAccessed)
  64000. return result;
  64001. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  64002. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", t2, null) + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t6.get$span(t6))));
  64003. },
  64004. $signature() {
  64005. return this.V._eval$1("0()");
  64006. }
  64007. };
  64008. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  64009. call$1($name) {
  64010. return "$" + $name;
  64011. },
  64012. $signature: 5
  64013. };
  64014. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  64015. call$0() {
  64016. var t1, t2, t3, t4, _i, $returnValue;
  64017. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  64018. $returnValue = t2[_i].accept$1(t4);
  64019. if ($returnValue instanceof A.Value)
  64020. return $returnValue;
  64021. }
  64022. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  64023. },
  64024. $signature: 41
  64025. };
  64026. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  64027. call$0() {
  64028. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  64029. },
  64030. $signature: 0
  64031. };
  64032. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  64033. call$1($name) {
  64034. return "$" + $name;
  64035. },
  64036. $signature: 5
  64037. };
  64038. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  64039. call$1(value) {
  64040. return value;
  64041. },
  64042. $signature: 36
  64043. };
  64044. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  64045. call$1(value) {
  64046. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  64047. },
  64048. $signature: 36
  64049. };
  64050. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  64051. call$2(key, value) {
  64052. var _this = this,
  64053. t1 = _this.restNodeForSpan;
  64054. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  64055. _this.namedNodes.$indexSet(0, key, t1);
  64056. },
  64057. $signature: 78
  64058. };
  64059. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  64060. call$1(value) {
  64061. return value;
  64062. },
  64063. $signature: 36
  64064. };
  64065. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  64066. call$1(value) {
  64067. var t1 = this.restArgs;
  64068. return new A.ValueExpression(value, t1.get$span(t1));
  64069. },
  64070. $signature: 53
  64071. };
  64072. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  64073. call$1(value) {
  64074. var t1 = this.restArgs;
  64075. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  64076. },
  64077. $signature: 53
  64078. };
  64079. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  64080. call$2(key, value) {
  64081. var _this = this,
  64082. t1 = _this.restArgs;
  64083. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  64084. },
  64085. $signature: 78
  64086. };
  64087. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  64088. call$1(value) {
  64089. var t1 = this.keywordRestArgs;
  64090. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  64091. },
  64092. $signature: 53
  64093. };
  64094. A._EvaluateVisitor__addRestMap_closure.prototype = {
  64095. call$2(key, value) {
  64096. var t2, _this = this,
  64097. t1 = _this.$this;
  64098. if (key instanceof A.SassString)
  64099. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  64100. else {
  64101. t2 = _this.nodeWithSpan;
  64102. throw A.wrapException(t1._evaluate$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  64103. }
  64104. },
  64105. $signature: 60
  64106. };
  64107. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  64108. call$0() {
  64109. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  64110. },
  64111. $signature: 0
  64112. };
  64113. A._EvaluateVisitor_visitStringExpression_closure.prototype = {
  64114. call$1(value) {
  64115. var t1, result;
  64116. if (typeof value == "string")
  64117. return value;
  64118. type$.Expression._as(value);
  64119. t1 = this.$this;
  64120. result = value.accept$1(t1);
  64121. return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
  64122. },
  64123. $signature: 46
  64124. };
  64125. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  64126. call$0() {
  64127. var t1, t2, t3, t4;
  64128. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64129. t4 = t1.__internal$_current;
  64130. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64131. }
  64132. },
  64133. $signature: 1
  64134. };
  64135. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  64136. call$1(node) {
  64137. return type$.CssStyleRule._is(node);
  64138. },
  64139. $signature: 6
  64140. };
  64141. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  64142. call$0() {
  64143. var t1, t2, t3, t4;
  64144. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64145. t4 = t1.__internal$_current;
  64146. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64147. }
  64148. },
  64149. $signature: 1
  64150. };
  64151. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  64152. call$1(node) {
  64153. return type$.CssStyleRule._is(node);
  64154. },
  64155. $signature: 6
  64156. };
  64157. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  64158. call$1(mediaQueries) {
  64159. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  64160. },
  64161. $signature: 99
  64162. };
  64163. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  64164. call$0() {
  64165. var _this = this,
  64166. t1 = _this.$this,
  64167. t2 = _this.mergedQueries;
  64168. if (t2 == null)
  64169. t2 = _this.node.queries;
  64170. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  64171. },
  64172. $signature: 1
  64173. };
  64174. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  64175. call$0() {
  64176. var t2, t3, t4,
  64177. t1 = this.$this,
  64178. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  64179. if (styleRule == null)
  64180. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  64181. t4 = t2.__internal$_current;
  64182. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  64183. }
  64184. else
  64185. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  64186. },
  64187. $signature: 1
  64188. };
  64189. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  64190. call$0() {
  64191. var t1, t2, t3, t4;
  64192. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64193. t4 = t1.__internal$_current;
  64194. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64195. }
  64196. },
  64197. $signature: 1
  64198. };
  64199. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  64200. call$1(node) {
  64201. var t1;
  64202. if (!type$.CssStyleRule._is(node)) {
  64203. t1 = this.mergedSources;
  64204. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  64205. } else
  64206. t1 = true;
  64207. return t1;
  64208. },
  64209. $signature: 6
  64210. };
  64211. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  64212. call$0() {
  64213. var t1 = this.$this;
  64214. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  64215. },
  64216. $signature: 1
  64217. };
  64218. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  64219. call$0() {
  64220. var t1, t2, t3, t4;
  64221. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64222. t4 = t1.__internal$_current;
  64223. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64224. }
  64225. },
  64226. $signature: 1
  64227. };
  64228. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  64229. call$1(node) {
  64230. return type$.CssStyleRule._is(node);
  64231. },
  64232. $signature: 6
  64233. };
  64234. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  64235. call$0() {
  64236. var t2, t3, t4,
  64237. t1 = this.$this,
  64238. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  64239. if (styleRule == null)
  64240. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  64241. t4 = t2.__internal$_current;
  64242. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  64243. }
  64244. else
  64245. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  64246. },
  64247. $signature: 1
  64248. };
  64249. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  64250. call$0() {
  64251. var t1, t2, t3, t4;
  64252. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64253. t4 = t1.__internal$_current;
  64254. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64255. }
  64256. },
  64257. $signature: 1
  64258. };
  64259. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  64260. call$1(node) {
  64261. return type$.CssStyleRule._is(node);
  64262. },
  64263. $signature: 6
  64264. };
  64265. A._EvaluateVisitor__performInterpolation_closure.prototype = {
  64266. call$1(value) {
  64267. var t1, result, t2, t3;
  64268. if (typeof value == "string")
  64269. return value;
  64270. type$.Expression._as(value);
  64271. t1 = this.$this;
  64272. result = value.accept$1(t1);
  64273. if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  64274. t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
  64275. t3 = $.$get$namesByColor();
  64276. t1._warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_qbf, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  64277. }
  64278. return t1._evaluate$_serialize$3$quote(result, value, false);
  64279. },
  64280. $signature: 46
  64281. };
  64282. A._EvaluateVisitor__serialize_closure.prototype = {
  64283. call$0() {
  64284. return A.serializeValue(this.value, false, this.quote);
  64285. },
  64286. $signature: 30
  64287. };
  64288. A._EvaluateVisitor__expressionNode_closure.prototype = {
  64289. call$0() {
  64290. var t1 = this.expression;
  64291. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  64292. },
  64293. $signature: 222
  64294. };
  64295. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  64296. call$1(number) {
  64297. var asSlash = number.asSlash;
  64298. if (asSlash != null)
  64299. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  64300. else
  64301. return A.serializeValue(number, true, true);
  64302. },
  64303. $signature: 224
  64304. };
  64305. A._EvaluateVisitor__stackFrame_closure.prototype = {
  64306. call$1(url) {
  64307. var t1 = this.$this._evaluate$_importCache;
  64308. t1 = t1 == null ? null : t1.humanize$1(url);
  64309. return t1 == null ? url : t1;
  64310. },
  64311. $signature: 81
  64312. };
  64313. A._EvaluateVisitor__stackTrace_closure.prototype = {
  64314. call$1(tuple) {
  64315. return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  64316. },
  64317. $signature: 229
  64318. };
  64319. A._ImportedCssVisitor.prototype = {
  64320. visitCssAtRule$1(node) {
  64321. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  64322. this._visitor._addChild$2$through(node, t1);
  64323. },
  64324. visitCssComment$1(node) {
  64325. return this._visitor._addChild$1(node);
  64326. },
  64327. visitCssDeclaration$1(node) {
  64328. },
  64329. visitCssImport$1(node) {
  64330. var t2,
  64331. _s13_ = "_endOfImports",
  64332. t1 = this._visitor;
  64333. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  64334. t1._addChild$1(node);
  64335. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  64336. t1._addChild$1(node);
  64337. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  64338. } else {
  64339. t2 = t1._outOfOrderImports;
  64340. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  64341. }
  64342. },
  64343. visitCssKeyframeBlock$1(node) {
  64344. },
  64345. visitCssMediaRule$1(node) {
  64346. var t1 = this._visitor,
  64347. mediaQueries = t1._mediaQueries;
  64348. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  64349. },
  64350. visitCssStyleRule$1(node) {
  64351. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  64352. },
  64353. visitCssStylesheet$1(node) {
  64354. var t1, t2, t3;
  64355. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64356. t3 = t1.__internal$_current;
  64357. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  64358. }
  64359. },
  64360. visitCssSupportsRule$1(node) {
  64361. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  64362. }
  64363. };
  64364. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  64365. call$1(node) {
  64366. return type$.CssStyleRule._is(node);
  64367. },
  64368. $signature: 6
  64369. };
  64370. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  64371. call$1(node) {
  64372. var t1;
  64373. if (!type$.CssStyleRule._is(node))
  64374. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  64375. else
  64376. t1 = true;
  64377. return t1;
  64378. },
  64379. $signature: 6
  64380. };
  64381. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  64382. call$1(node) {
  64383. return type$.CssStyleRule._is(node);
  64384. },
  64385. $signature: 6
  64386. };
  64387. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  64388. call$1(node) {
  64389. return type$.CssStyleRule._is(node);
  64390. },
  64391. $signature: 6
  64392. };
  64393. A._EvaluationContext.prototype = {
  64394. get$currentCallableSpan() {
  64395. var callableNode = this._visitor._callableNode;
  64396. if (callableNode != null)
  64397. return callableNode.get$span(callableNode);
  64398. throw A.wrapException(A.StateError$(string$.No_Sasc));
  64399. },
  64400. warn$2$deprecation(_, message, deprecation) {
  64401. var t1 = this._visitor,
  64402. t2 = t1._importSpan;
  64403. if (t2 == null) {
  64404. t2 = t1._callableNode;
  64405. t2 = t2 == null ? null : t2.get$span(t2);
  64406. }
  64407. if (t2 == null) {
  64408. t2 = this._defaultWarnNodeWithSpan;
  64409. t2 = t2.get$span(t2);
  64410. }
  64411. t1._warn$3$deprecation(message, t2, deprecation);
  64412. },
  64413. $isEvaluationContext: 1
  64414. };
  64415. A._ArgumentResults.prototype = {};
  64416. A._LoadedStylesheet.prototype = {};
  64417. A.EveryCssVisitor.prototype = {
  64418. visitCssAtRule$1(node) {
  64419. var t1 = node.children;
  64420. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  64421. },
  64422. visitCssComment$1(node) {
  64423. return false;
  64424. },
  64425. visitCssDeclaration$1(node) {
  64426. return false;
  64427. },
  64428. visitCssImport$1(node) {
  64429. return false;
  64430. },
  64431. visitCssKeyframeBlock$1(node) {
  64432. var t1 = node.children;
  64433. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  64434. },
  64435. visitCssMediaRule$1(node) {
  64436. var t1 = node.children;
  64437. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  64438. },
  64439. visitCssStyleRule$1(node) {
  64440. var t1 = node.children;
  64441. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  64442. },
  64443. visitCssStylesheet$1(node) {
  64444. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  64445. },
  64446. visitCssSupportsRule$1(node) {
  64447. var t1 = node.children;
  64448. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  64449. }
  64450. };
  64451. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  64452. call$1(child) {
  64453. return child.accept$1(this.$this);
  64454. },
  64455. $signature: 6
  64456. };
  64457. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  64458. call$1(child) {
  64459. return child.accept$1(this.$this);
  64460. },
  64461. $signature: 6
  64462. };
  64463. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  64464. call$1(child) {
  64465. return child.accept$1(this.$this);
  64466. },
  64467. $signature: 6
  64468. };
  64469. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  64470. call$1(child) {
  64471. return child.accept$1(this.$this);
  64472. },
  64473. $signature: 6
  64474. };
  64475. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  64476. call$1(child) {
  64477. return child.accept$1(this.$this);
  64478. },
  64479. $signature: 6
  64480. };
  64481. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  64482. call$1(child) {
  64483. return child.accept$1(this.$this);
  64484. },
  64485. $signature: 6
  64486. };
  64487. A._FindDependenciesVisitor.prototype = {
  64488. visitEachRule$1(node) {
  64489. },
  64490. visitForRule$1(node) {
  64491. },
  64492. visitIfRule$1(node) {
  64493. },
  64494. visitWhileRule$1(node) {
  64495. },
  64496. visitUseRule$1(node) {
  64497. var t1 = node.url;
  64498. if (t1.get$scheme() !== "sass")
  64499. this._usesAndForwards.push(t1);
  64500. },
  64501. visitForwardRule$1(node) {
  64502. var t1 = node.url;
  64503. if (t1.get$scheme() !== "sass")
  64504. this._usesAndForwards.push(t1);
  64505. },
  64506. visitImportRule$1(node) {
  64507. var t1, t2, t3, _i, $import;
  64508. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  64509. $import = t1[_i];
  64510. if ($import instanceof A.DynamicImport)
  64511. t3.push(A.Uri_parse($import.urlString));
  64512. }
  64513. }
  64514. };
  64515. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  64516. A.RecursiveStatementVisitor.prototype = {
  64517. visitAtRootRule$1(node) {
  64518. this.visitChildren$1(node.children);
  64519. },
  64520. visitAtRule$1(node) {
  64521. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  64522. },
  64523. visitContentBlock$1(node) {
  64524. return null;
  64525. },
  64526. visitContentRule$1(node) {
  64527. },
  64528. visitDebugRule$1(node) {
  64529. },
  64530. visitDeclaration$1(node) {
  64531. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  64532. },
  64533. visitErrorRule$1(node) {
  64534. },
  64535. visitExtendRule$1(node) {
  64536. },
  64537. visitFunctionRule$1(node) {
  64538. return null;
  64539. },
  64540. visitIncludeRule$1(node) {
  64541. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  64542. },
  64543. visitLoudComment$1(node) {
  64544. },
  64545. visitMediaRule$1(node) {
  64546. return this.visitChildren$1(node.children);
  64547. },
  64548. visitMixinRule$1(node) {
  64549. return null;
  64550. },
  64551. visitReturnRule$1(node) {
  64552. },
  64553. visitSilentComment$1(node) {
  64554. },
  64555. visitStyleRule$1(node) {
  64556. return this.visitChildren$1(node.children);
  64557. },
  64558. visitStylesheet$1(node) {
  64559. return this.visitChildren$1(node.children);
  64560. },
  64561. visitSupportsRule$1(node) {
  64562. return this.visitChildren$1(node.children);
  64563. },
  64564. visitVariableDeclaration$1(node) {
  64565. },
  64566. visitWarnRule$1(node) {
  64567. },
  64568. visitChildren$1(children) {
  64569. var t1;
  64570. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  64571. t1.get$current(t1).accept$1(this);
  64572. }
  64573. };
  64574. A.serialize_closure.prototype = {
  64575. call$1(codeUnit) {
  64576. return codeUnit > 127;
  64577. },
  64578. $signature: 54
  64579. };
  64580. A._SerializeVisitor.prototype = {
  64581. visitCssStylesheet$1(node) {
  64582. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  64583. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._inspect, t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = type$.CssComment, t6 = type$.CssParentNode, t7 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
  64584. previous0 = t1.get$current(t1);
  64585. if (t2)
  64586. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  64587. else
  64588. t8 = false;
  64589. if (t8)
  64590. continue;
  64591. if (previous != null) {
  64592. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  64593. t7.writeCharCode$1(59);
  64594. if (_this._isTrailingComment$2(previous0, previous)) {
  64595. if (t4)
  64596. t7.writeCharCode$1(32);
  64597. } else {
  64598. if (t4)
  64599. t7.write$1(0, "\n");
  64600. if (previous.get$isGroupEnd())
  64601. if (t4)
  64602. t7.write$1(0, "\n");
  64603. }
  64604. }
  64605. previous0.accept$1(_this);
  64606. previous = previous0;
  64607. }
  64608. if (previous != null)
  64609. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  64610. else
  64611. t1 = false;
  64612. if (t1)
  64613. t7.writeCharCode$1(59);
  64614. },
  64615. visitCssComment$1(node) {
  64616. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  64617. },
  64618. visitCssAtRule$1(node) {
  64619. var t1, _this = this;
  64620. _this._writeIndentation$0();
  64621. t1 = _this._serialize$_buffer;
  64622. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  64623. if (!node.isChildless) {
  64624. if (_this._style !== B.OutputStyle_1)
  64625. t1.writeCharCode$1(32);
  64626. _this._serialize$_visitChildren$1(node);
  64627. }
  64628. },
  64629. visitCssMediaRule$1(node) {
  64630. var t1, _this = this;
  64631. _this._writeIndentation$0();
  64632. t1 = _this._serialize$_buffer;
  64633. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  64634. if (_this._style !== B.OutputStyle_1)
  64635. t1.writeCharCode$1(32);
  64636. _this._serialize$_visitChildren$1(node);
  64637. },
  64638. visitCssImport$1(node) {
  64639. this._writeIndentation$0();
  64640. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  64641. },
  64642. _writeImportUrl$1(url) {
  64643. var urlContents, maybeQuote, _this = this;
  64644. if (_this._style !== B.OutputStyle_1 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  64645. _this._serialize$_buffer.write$1(0, url);
  64646. return;
  64647. }
  64648. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  64649. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  64650. if (maybeQuote === 39 || maybeQuote === 34)
  64651. _this._serialize$_buffer.write$1(0, urlContents);
  64652. else
  64653. _this._visitQuotedString$1(urlContents);
  64654. },
  64655. visitCssKeyframeBlock$1(node) {
  64656. var t1, _this = this;
  64657. _this._writeIndentation$0();
  64658. t1 = _this._serialize$_buffer;
  64659. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  64660. if (_this._style !== B.OutputStyle_1)
  64661. t1.writeCharCode$1(32);
  64662. _this._serialize$_visitChildren$1(node);
  64663. },
  64664. _visitMediaQuery$1(query) {
  64665. var t2, condition, operator, t3, _this = this,
  64666. t1 = query.modifier;
  64667. if (t1 != null) {
  64668. t2 = _this._serialize$_buffer;
  64669. t2.write$1(0, t1);
  64670. t2.writeCharCode$1(32);
  64671. }
  64672. t1 = query.type;
  64673. if (t1 != null) {
  64674. t2 = _this._serialize$_buffer;
  64675. t2.write$1(0, t1);
  64676. if (query.conditions.length !== 0)
  64677. t2.write$1(0, " and ");
  64678. }
  64679. t1 = query.conditions;
  64680. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  64681. t2 = _this._serialize$_buffer;
  64682. t2.write$1(0, "not ");
  64683. condition = B.JSArray_methods.get$first(t1);
  64684. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  64685. } else {
  64686. operator = query.conjunction ? "and" : "or";
  64687. t2 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  64688. t3 = _this._serialize$_buffer;
  64689. _this._writeBetween$3(t1, t2, t3.get$write(t3));
  64690. }
  64691. },
  64692. visitCssStyleRule$1(node) {
  64693. var t1, _this = this;
  64694. _this._writeIndentation$0();
  64695. t1 = _this._serialize$_buffer;
  64696. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  64697. if (_this._style !== B.OutputStyle_1)
  64698. t1.writeCharCode$1(32);
  64699. _this._serialize$_visitChildren$1(node);
  64700. },
  64701. visitCssSupportsRule$1(node) {
  64702. var t1, _this = this;
  64703. _this._writeIndentation$0();
  64704. t1 = _this._serialize$_buffer;
  64705. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  64706. if (_this._style !== B.OutputStyle_1)
  64707. t1.writeCharCode$1(32);
  64708. _this._serialize$_visitChildren$1(node);
  64709. },
  64710. visitCssDeclaration$1(node) {
  64711. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  64712. _this._writeIndentation$0();
  64713. t1 = node.name;
  64714. _this._serialize$_write$1(t1);
  64715. t2 = _this._serialize$_buffer;
  64716. t2.writeCharCode$1(58);
  64717. if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
  64718. t1 = node.value;
  64719. t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  64720. } else {
  64721. if (_this._style !== B.OutputStyle_1)
  64722. t2.writeCharCode$1(32);
  64723. try {
  64724. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  64725. } catch (exception) {
  64726. t1 = A.unwrapException(exception);
  64727. if (t1 instanceof A.MultiSpanSassScriptException) {
  64728. error = t1;
  64729. stackTrace = A.getTraceFromException(exception);
  64730. t1 = error.message;
  64731. t2 = node.value;
  64732. t2 = t2.get$span(t2);
  64733. A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
  64734. } else if (t1 instanceof A.SassScriptException) {
  64735. error0 = t1;
  64736. stackTrace0 = A.getTraceFromException(exception);
  64737. t1 = node.value;
  64738. A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
  64739. } else
  64740. throw exception;
  64741. }
  64742. }
  64743. },
  64744. _writeFoldedValue$1(node) {
  64745. var t2, next, t3,
  64746. t1 = node.value,
  64747. scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
  64748. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  64749. next = scanner.readChar$0();
  64750. if (next !== 10) {
  64751. t2.writeCharCode$1(next);
  64752. continue;
  64753. }
  64754. t2.writeCharCode$1(32);
  64755. while (true) {
  64756. t3 = scanner.peekChar$0();
  64757. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  64758. break;
  64759. scanner.readChar$0();
  64760. }
  64761. }
  64762. },
  64763. _writeReindentedValue$1(node) {
  64764. var _this = this,
  64765. t1 = node.value,
  64766. value = type$.SassString._as(t1.get$value(t1))._string$_text,
  64767. minimumIndentation = _this._minimumIndentation$1(value);
  64768. if (minimumIndentation == null) {
  64769. _this._serialize$_buffer.write$1(0, value);
  64770. return;
  64771. } else if (minimumIndentation === -1) {
  64772. t1 = _this._serialize$_buffer;
  64773. t1.write$1(0, A.trimAsciiRight(value, true));
  64774. t1.writeCharCode$1(32);
  64775. return;
  64776. }
  64777. t1 = node.name;
  64778. t1 = t1.get$span(t1);
  64779. t1 = t1.get$start(t1);
  64780. _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  64781. },
  64782. _minimumIndentation$1(text) {
  64783. var character, t2, min, next, min0,
  64784. scanner = A.LineScanner$(text),
  64785. t1 = scanner.string.length;
  64786. while (true) {
  64787. if (scanner._string_scanner$_position !== t1) {
  64788. character = scanner.super$StringScanner$readChar();
  64789. scanner._adjustLineAndColumn$1(character);
  64790. t2 = character !== 10;
  64791. } else
  64792. t2 = false;
  64793. if (!t2)
  64794. break;
  64795. }
  64796. if (scanner._string_scanner$_position === t1)
  64797. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  64798. for (min = null; scanner._string_scanner$_position !== t1;) {
  64799. for (; scanner._string_scanner$_position !== t1;) {
  64800. next = scanner.peekChar$0();
  64801. if (next !== 32 && next !== 9)
  64802. break;
  64803. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  64804. }
  64805. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  64806. continue;
  64807. min0 = scanner._line_scanner$_column;
  64808. min = min == null ? min0 : Math.min(min, min0);
  64809. while (true) {
  64810. if (scanner._string_scanner$_position !== t1) {
  64811. character = scanner.super$StringScanner$readChar();
  64812. scanner._adjustLineAndColumn$1(character);
  64813. t2 = character !== 10;
  64814. } else
  64815. t2 = false;
  64816. if (!t2)
  64817. break;
  64818. }
  64819. }
  64820. return min == null ? -1 : min;
  64821. },
  64822. _writeWithIndent$2(text, minimumIndentation) {
  64823. var t1, t2, t3, character, lineStart, newlines, end,
  64824. scanner = A.LineScanner$(text);
  64825. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  64826. character = scanner.super$StringScanner$readChar();
  64827. scanner._adjustLineAndColumn$1(character);
  64828. if (character === 10)
  64829. break;
  64830. t3.writeCharCode$1(character);
  64831. }
  64832. for (; true;) {
  64833. lineStart = scanner._string_scanner$_position;
  64834. for (newlines = 1; true;) {
  64835. if (scanner._string_scanner$_position === t2) {
  64836. t3.writeCharCode$1(32);
  64837. return;
  64838. }
  64839. character = scanner.super$StringScanner$readChar();
  64840. scanner._adjustLineAndColumn$1(character);
  64841. if (character === 32 || character === 9)
  64842. continue;
  64843. if (character !== 10)
  64844. break;
  64845. lineStart = scanner._string_scanner$_position;
  64846. ++newlines;
  64847. }
  64848. this._writeTimes$2(10, newlines);
  64849. this._writeIndentation$0();
  64850. end = scanner._string_scanner$_position;
  64851. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  64852. for (; true;) {
  64853. if (scanner._string_scanner$_position === t2)
  64854. return;
  64855. character = scanner.super$StringScanner$readChar();
  64856. scanner._adjustLineAndColumn$1(character);
  64857. if (character === 10)
  64858. break;
  64859. t3.writeCharCode$1(character);
  64860. }
  64861. }
  64862. },
  64863. _writeCalculationValue$1(value) {
  64864. var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
  64865. if (value instanceof A.Value)
  64866. value.accept$1(_this);
  64867. else if (value instanceof A.CalculationInterpolation)
  64868. _this._serialize$_buffer.write$1(0, value.value);
  64869. else if (value instanceof A.CalculationOperation) {
  64870. left = value.left;
  64871. if (!(left instanceof A.CalculationInterpolation))
  64872. parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
  64873. else
  64874. parenthesizeLeft = true;
  64875. if (parenthesizeLeft)
  64876. _this._serialize$_buffer.writeCharCode$1(40);
  64877. _this._writeCalculationValue$1(left);
  64878. if (parenthesizeLeft)
  64879. _this._serialize$_buffer.writeCharCode$1(41);
  64880. operatorWhitespace = _this._style !== B.OutputStyle_1 || value.operator.precedence === 1;
  64881. if (operatorWhitespace)
  64882. _this._serialize$_buffer.writeCharCode$1(32);
  64883. t1 = _this._serialize$_buffer;
  64884. t2 = value.operator;
  64885. t1.write$1(0, t2.operator);
  64886. if (operatorWhitespace)
  64887. t1.writeCharCode$1(32);
  64888. right = value.right;
  64889. if (!(right instanceof A.CalculationInterpolation))
  64890. parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
  64891. else
  64892. parenthesizeRight = true;
  64893. if (parenthesizeRight)
  64894. t1.writeCharCode$1(40);
  64895. _this._writeCalculationValue$1(right);
  64896. if (parenthesizeRight)
  64897. t1.writeCharCode$1(41);
  64898. }
  64899. },
  64900. _parenthesizeCalculationRhs$2(outer, right) {
  64901. if (outer === B.CalculationOperator_OvN)
  64902. return true;
  64903. if (outer === B.CalculationOperator_IyK)
  64904. return false;
  64905. return right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  64906. },
  64907. _writeRgb$1(value) {
  64908. var t3,
  64909. t1 = value._alpha,
  64910. opaque = A.fuzzyEquals(t1, 1),
  64911. t2 = this._serialize$_buffer;
  64912. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  64913. t2.write$1(0, value.get$red(value));
  64914. t3 = this._style === B.OutputStyle_1;
  64915. t2.write$1(0, t3 ? "," : ", ");
  64916. t2.write$1(0, value.get$green(value));
  64917. t2.write$1(0, t3 ? "," : ", ");
  64918. t2.write$1(0, value.get$blue(value));
  64919. if (!opaque) {
  64920. t2.write$1(0, t3 ? "," : ", ");
  64921. this._writeNumber$1(t1);
  64922. }
  64923. t2.writeCharCode$1(41);
  64924. },
  64925. _canUseShortHex$1(color) {
  64926. var t1 = color.get$red(color);
  64927. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  64928. t1 = color.get$green(color);
  64929. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  64930. t1 = color.get$blue(color);
  64931. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  64932. } else
  64933. t1 = false;
  64934. } else
  64935. t1 = false;
  64936. return t1;
  64937. },
  64938. _writeHexComponent$1(color) {
  64939. var t1 = this._serialize$_buffer;
  64940. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  64941. t1.writeCharCode$1(A.hexCharFor(color & 15));
  64942. },
  64943. visitList$1(value) {
  64944. var t2, t3, singleton, t4, t5, _this = this,
  64945. t1 = value._hasBrackets;
  64946. if (t1)
  64947. _this._serialize$_buffer.writeCharCode$1(91);
  64948. else if (value._list$_contents.length === 0) {
  64949. if (!_this._inspect)
  64950. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  64951. _this._serialize$_buffer.write$1(0, "()");
  64952. return;
  64953. }
  64954. t2 = _this._inspect;
  64955. if (t2)
  64956. if (value._list$_contents.length === 1) {
  64957. t3 = value._separator;
  64958. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  64959. singleton = t3;
  64960. } else
  64961. singleton = false;
  64962. else
  64963. singleton = false;
  64964. if (singleton && !t1)
  64965. _this._serialize$_buffer.writeCharCode$1(40);
  64966. t3 = value._list$_contents;
  64967. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  64968. t4 = value._separator;
  64969. t5 = _this._separatorString$1(t4);
  64970. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  64971. if (singleton) {
  64972. t2 = _this._serialize$_buffer;
  64973. t2.write$1(0, t4.separator);
  64974. if (!t1)
  64975. t2.writeCharCode$1(41);
  64976. }
  64977. if (t1)
  64978. _this._serialize$_buffer.writeCharCode$1(93);
  64979. },
  64980. _separatorString$1(separator) {
  64981. switch (separator) {
  64982. case B.ListSeparator_rXA:
  64983. return this._style === B.OutputStyle_1 ? "," : ", ";
  64984. case B.ListSeparator_zg9:
  64985. return this._style === B.OutputStyle_1 ? "/" : " / ";
  64986. case B.ListSeparator_EVt:
  64987. return " ";
  64988. default:
  64989. return "";
  64990. }
  64991. },
  64992. _elementNeedsParens$2(separator, value) {
  64993. var t1;
  64994. if (value instanceof A.SassList) {
  64995. if (value._list$_contents.length < 2)
  64996. return false;
  64997. if (value._hasBrackets)
  64998. return false;
  64999. switch (separator) {
  65000. case B.ListSeparator_rXA:
  65001. return value._separator === B.ListSeparator_rXA;
  65002. case B.ListSeparator_zg9:
  65003. t1 = value._separator;
  65004. return t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  65005. default:
  65006. return value._separator !== B.ListSeparator_undecided_null_undecided;
  65007. }
  65008. }
  65009. return false;
  65010. },
  65011. visitMap$1(map) {
  65012. var t1, t2, _this = this;
  65013. if (!_this._inspect)
  65014. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  65015. t1 = _this._serialize$_buffer;
  65016. t1.writeCharCode$1(40);
  65017. t2 = map._map$_contents;
  65018. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  65019. t1.writeCharCode$1(41);
  65020. },
  65021. _writeMapElement$1(value) {
  65022. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  65023. if (needsParens)
  65024. this._serialize$_buffer.writeCharCode$1(40);
  65025. value.accept$1(this);
  65026. if (needsParens)
  65027. this._serialize$_buffer.writeCharCode$1(41);
  65028. },
  65029. visitNumber$1(value) {
  65030. var _this = this,
  65031. asSlash = value.asSlash;
  65032. if (asSlash != null) {
  65033. _this.visitNumber$1(asSlash.item1);
  65034. _this._serialize$_buffer.writeCharCode$1(47);
  65035. _this.visitNumber$1(asSlash.item2);
  65036. return;
  65037. }
  65038. _this._writeNumber$1(value._number$_value);
  65039. if (!_this._inspect) {
  65040. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  65041. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  65042. if (value.get$numeratorUnits(value).length !== 0)
  65043. _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  65044. } else
  65045. _this._serialize$_buffer.write$1(0, value.get$unitString());
  65046. },
  65047. _writeNumber$1(number) {
  65048. var text, _this = this,
  65049. integer = A.fuzzyAsInt(number);
  65050. if (integer != null) {
  65051. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
  65052. return;
  65053. }
  65054. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  65055. if (text.length < 12) {
  65056. if (_this._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  65057. text = B.JSString_methods.substring$1(text, 1);
  65058. _this._serialize$_buffer.write$1(0, text);
  65059. return;
  65060. }
  65061. _this._writeRounded$1(text);
  65062. },
  65063. _removeExponent$1(text) {
  65064. var buffer, t3, additionalZeroes,
  65065. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  65066. negative = t1 === 45,
  65067. exponent = A._Cell$(),
  65068. t2 = text.length,
  65069. i = 0;
  65070. while (true) {
  65071. if (!(i < t2)) {
  65072. buffer = null;
  65073. break;
  65074. }
  65075. c$0: {
  65076. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  65077. break c$0;
  65078. buffer = new A.StringBuffer("");
  65079. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  65080. if (negative) {
  65081. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  65082. buffer._contents = t1;
  65083. if (i > 3)
  65084. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  65085. } else if (i > 2)
  65086. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  65087. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  65088. break;
  65089. }
  65090. ++i;
  65091. }
  65092. if (buffer == null)
  65093. return text;
  65094. if (exponent._readLocal$0() > 0) {
  65095. t1 = exponent._readLocal$0();
  65096. t2 = buffer._contents;
  65097. t3 = negative ? 1 : 0;
  65098. additionalZeroes = t1 - (t2.length - 1 - t3);
  65099. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  65100. t1 += A.Primitives_stringFromCharCode(48);
  65101. buffer._contents = t1;
  65102. }
  65103. return t1.charCodeAt(0) == 0 ? t1 : t1;
  65104. } else {
  65105. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  65106. t2 = exponent.__late_helper$_name;
  65107. i = -1;
  65108. while (true) {
  65109. t3 = exponent._value;
  65110. if (t3 === exponent)
  65111. A.throwExpression(A.LateError$localNI(t2));
  65112. if (!(i > t3))
  65113. break;
  65114. t1 += A.Primitives_stringFromCharCode(48);
  65115. --i;
  65116. }
  65117. if (negative) {
  65118. t2 = buffer._contents;
  65119. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  65120. } else
  65121. t2 = buffer;
  65122. t2 = t1 + A.S(t2);
  65123. return t2.charCodeAt(0) == 0 ? t2 : t2;
  65124. }
  65125. },
  65126. _writeRounded$1(text) {
  65127. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  65128. if (B.JSString_methods.endsWith$1(text, ".0")) {
  65129. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  65130. return;
  65131. }
  65132. t1 = text.length;
  65133. digits = new Uint8Array(t1 + 1);
  65134. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  65135. textIndex = negative ? 1 : 0;
  65136. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  65137. if (textIndex === t1) {
  65138. _this._serialize$_buffer.write$1(0, text);
  65139. return;
  65140. }
  65141. textIndex0 = textIndex + 1;
  65142. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  65143. if (codeUnit === 46) {
  65144. textIndex = textIndex0;
  65145. break;
  65146. }
  65147. digitsIndex0 = digitsIndex + 1;
  65148. digits[digitsIndex] = codeUnit - 48;
  65149. }
  65150. indexAfterPrecision = textIndex + 10;
  65151. if (indexAfterPrecision >= t1) {
  65152. _this._serialize$_buffer.write$1(0, text);
  65153. return;
  65154. }
  65155. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  65156. digitsIndex1 = digitsIndex0 + 1;
  65157. textIndex0 = textIndex + 1;
  65158. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  65159. }
  65160. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  65161. for (; true; digitsIndex0 = digitsIndex1) {
  65162. digitsIndex1 = digitsIndex0 - 1;
  65163. newDigit = digits[digitsIndex1] + 1;
  65164. digits[digitsIndex1] = newDigit;
  65165. if (newDigit !== 10)
  65166. break;
  65167. }
  65168. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  65169. digits[digitsIndex0] = 0;
  65170. while (true) {
  65171. t1 = digitsIndex0 > digitsIndex;
  65172. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  65173. break;
  65174. --digitsIndex0;
  65175. }
  65176. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  65177. _this._serialize$_buffer.writeCharCode$1(48);
  65178. return;
  65179. }
  65180. if (negative)
  65181. _this._serialize$_buffer.writeCharCode$1(45);
  65182. if (digits[0] === 0)
  65183. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  65184. else
  65185. writtenIndex = 0;
  65186. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  65187. t2.writeCharCode$1(48 + digits[writtenIndex]);
  65188. if (t1) {
  65189. t2.writeCharCode$1(46);
  65190. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  65191. t2.writeCharCode$1(48 + digits[writtenIndex]);
  65192. }
  65193. },
  65194. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  65195. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  65196. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  65197. if (forceDoubleQuote)
  65198. buffer.writeCharCode$1(34);
  65199. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  65200. char = B.JSString_methods._codeUnitAt$1(string, i);
  65201. switch (char) {
  65202. case 39:
  65203. if (forceDoubleQuote)
  65204. buffer.writeCharCode$1(39);
  65205. else {
  65206. if (includesDoubleQuote) {
  65207. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  65208. return;
  65209. } else
  65210. buffer.writeCharCode$1(39);
  65211. includesSingleQuote = true;
  65212. }
  65213. break;
  65214. case 34:
  65215. if (forceDoubleQuote) {
  65216. buffer.writeCharCode$1(92);
  65217. buffer.writeCharCode$1(34);
  65218. } else {
  65219. if (includesSingleQuote) {
  65220. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  65221. return;
  65222. } else
  65223. buffer.writeCharCode$1(34);
  65224. includesDoubleQuote = true;
  65225. }
  65226. break;
  65227. case 0:
  65228. case 1:
  65229. case 2:
  65230. case 3:
  65231. case 4:
  65232. case 5:
  65233. case 6:
  65234. case 7:
  65235. case 8:
  65236. case 10:
  65237. case 11:
  65238. case 12:
  65239. case 13:
  65240. case 14:
  65241. case 15:
  65242. case 16:
  65243. case 17:
  65244. case 18:
  65245. case 19:
  65246. case 20:
  65247. case 21:
  65248. case 22:
  65249. case 23:
  65250. case 24:
  65251. case 25:
  65252. case 26:
  65253. case 27:
  65254. case 28:
  65255. case 29:
  65256. case 30:
  65257. case 31:
  65258. _this._writeEscape$4(buffer, char, string, i);
  65259. break;
  65260. case 92:
  65261. buffer.writeCharCode$1(92);
  65262. buffer.writeCharCode$1(92);
  65263. break;
  65264. default:
  65265. newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  65266. if (newIndex != null) {
  65267. i = newIndex;
  65268. break;
  65269. }
  65270. buffer.writeCharCode$1(char);
  65271. break;
  65272. }
  65273. }
  65274. if (forceDoubleQuote)
  65275. buffer.writeCharCode$1(34);
  65276. else {
  65277. quote = includesDoubleQuote ? 39 : 34;
  65278. t1 = _this._serialize$_buffer;
  65279. t1.writeCharCode$1(quote);
  65280. t1.write$1(0, buffer);
  65281. t1.writeCharCode$1(quote);
  65282. }
  65283. },
  65284. _visitQuotedString$1(string) {
  65285. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  65286. },
  65287. _visitUnquotedString$1(string) {
  65288. var t1, t2, afterNewline, i, char, newIndex;
  65289. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  65290. char = B.JSString_methods._codeUnitAt$1(string, i);
  65291. switch (char) {
  65292. case 10:
  65293. t2.writeCharCode$1(32);
  65294. afterNewline = true;
  65295. break;
  65296. case 32:
  65297. if (!afterNewline)
  65298. t2.writeCharCode$1(32);
  65299. break;
  65300. default:
  65301. newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
  65302. if (newIndex != null) {
  65303. i = newIndex;
  65304. afterNewline = false;
  65305. break;
  65306. }
  65307. t2.writeCharCode$1(char);
  65308. afterNewline = false;
  65309. break;
  65310. }
  65311. }
  65312. },
  65313. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  65314. var t1;
  65315. if (this._style === B.OutputStyle_1)
  65316. return null;
  65317. if (codeUnit >= 57344 && codeUnit <= 63743) {
  65318. this._writeEscape$4(buffer, codeUnit, string, i);
  65319. return i;
  65320. }
  65321. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  65322. t1 = i + 1;
  65323. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  65324. return t1;
  65325. }
  65326. return null;
  65327. },
  65328. _writeEscape$4(buffer, character, string, i) {
  65329. var t1, next;
  65330. buffer.writeCharCode$1(92);
  65331. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  65332. t1 = i + 1;
  65333. if (string.length === t1)
  65334. return;
  65335. next = B.JSString_methods._codeUnitAt$1(string, t1);
  65336. if (A.isHex(next) || next === 32 || next === 9)
  65337. buffer.writeCharCode$1(32);
  65338. },
  65339. visitAttributeSelector$1(attribute) {
  65340. var value, t2,
  65341. t1 = this._serialize$_buffer;
  65342. t1.writeCharCode$1(91);
  65343. t1.write$1(0, attribute.name);
  65344. value = attribute.value;
  65345. if (value != null) {
  65346. t1.write$1(0, attribute.op);
  65347. if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  65348. t1.write$1(0, value);
  65349. t2 = attribute.modifier;
  65350. if (t2 != null)
  65351. t1.writeCharCode$1(32);
  65352. } else {
  65353. this._visitQuotedString$1(value);
  65354. t2 = attribute.modifier;
  65355. if (t2 != null)
  65356. if (this._style !== B.OutputStyle_1)
  65357. t1.writeCharCode$1(32);
  65358. }
  65359. if (t2 != null)
  65360. t1.write$1(0, t2);
  65361. }
  65362. t1.writeCharCode$1(93);
  65363. },
  65364. visitClassSelector$1(klass) {
  65365. var t1 = this._serialize$_buffer;
  65366. t1.writeCharCode$1(46);
  65367. t1.write$1(0, klass.name);
  65368. },
  65369. visitComplexSelector$1(complex) {
  65370. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  65371. t1 = complex.leadingCombinators;
  65372. _this._writeCombinators$1(t1);
  65373. if (t1.length !== 0 && complex.components.length !== 0)
  65374. if (_this._style !== B.OutputStyle_1)
  65375. _this._serialize$_buffer.writeCharCode$1(32);
  65376. for (t1 = complex.components, t2 = t1.length, t3 = t2 - 1, t4 = _this._serialize$_buffer, t5 = _this._style === B.OutputStyle_1, t6 = !t5, i = 0; i < t2; ++i) {
  65377. component = t1[i];
  65378. _this.visitCompoundSelector$1(component.selector);
  65379. t7 = component.combinators;
  65380. t8 = t7.length === 0;
  65381. if (!t8)
  65382. if (t6)
  65383. t4.writeCharCode$1(32);
  65384. t9 = t5 ? "" : " ";
  65385. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  65386. if (i !== t3)
  65387. t7 = !t5 || t8;
  65388. else
  65389. t7 = false;
  65390. if (t7)
  65391. t4.writeCharCode$1(32);
  65392. }
  65393. },
  65394. _writeCombinators$1(combinators) {
  65395. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  65396. t2 = this._serialize$_buffer;
  65397. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  65398. },
  65399. visitCompoundSelector$1(compound) {
  65400. var t2, t3, _i,
  65401. t1 = this._serialize$_buffer,
  65402. start = t1.get$length(t1);
  65403. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65404. t2[_i].accept$1(this);
  65405. if (t1.get$length(t1) === start)
  65406. t1.writeCharCode$1(42);
  65407. },
  65408. visitIDSelector$1(id) {
  65409. var t1 = this._serialize$_buffer;
  65410. t1.writeCharCode$1(35);
  65411. t1.write$1(0, id.name);
  65412. },
  65413. visitSelectorList$1(list) {
  65414. var t1, t2, t3, first, t4, _this = this,
  65415. complexes = list.components;
  65416. for (t1 = J.get$iterator$ax(_this._inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._style !== B.OutputStyle_1, t3 = _this._serialize$_buffer, first = true; t1.moveNext$0();) {
  65417. t4 = t1.get$current(t1);
  65418. if (first)
  65419. first = false;
  65420. else {
  65421. t3.writeCharCode$1(44);
  65422. if (t4.lineBreak) {
  65423. if (t2)
  65424. t3.write$1(0, "\n");
  65425. } else if (t2)
  65426. t3.writeCharCode$1(32);
  65427. }
  65428. _this.visitComplexSelector$1(t4);
  65429. }
  65430. },
  65431. visitParentSelector$1($parent) {
  65432. var t2,
  65433. t1 = this._serialize$_buffer;
  65434. t1.writeCharCode$1(38);
  65435. t2 = $parent.suffix;
  65436. if (t2 != null)
  65437. t1.write$1(0, t2);
  65438. },
  65439. visitPlaceholderSelector$1(placeholder) {
  65440. var t1 = this._serialize$_buffer;
  65441. t1.writeCharCode$1(37);
  65442. t1.write$1(0, placeholder.name);
  65443. },
  65444. visitPseudoSelector$1(pseudo) {
  65445. var t3, t4, t5,
  65446. innerSelector = pseudo.selector,
  65447. t1 = innerSelector == null,
  65448. t2 = !t1;
  65449. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true))
  65450. return;
  65451. t3 = this._serialize$_buffer;
  65452. t3.writeCharCode$1(58);
  65453. if (!pseudo.isSyntacticClass)
  65454. t3.writeCharCode$1(58);
  65455. t3.write$1(0, pseudo.name);
  65456. t4 = pseudo.argument;
  65457. t5 = t4 == null;
  65458. if (t5 && t1)
  65459. return;
  65460. t3.writeCharCode$1(40);
  65461. if (!t5) {
  65462. t3.write$1(0, t4);
  65463. if (t2)
  65464. t3.writeCharCode$1(32);
  65465. }
  65466. if (t2)
  65467. this.visitSelectorList$1(innerSelector);
  65468. t3.writeCharCode$1(41);
  65469. },
  65470. visitTypeSelector$1(type) {
  65471. this._serialize$_buffer.write$1(0, type.name);
  65472. },
  65473. visitUniversalSelector$1(universal) {
  65474. var t2,
  65475. t1 = universal.namespace;
  65476. if (t1 != null) {
  65477. t2 = this._serialize$_buffer;
  65478. t2.write$1(0, t1);
  65479. t2.writeCharCode$1(124);
  65480. }
  65481. this._serialize$_buffer.writeCharCode$1(42);
  65482. },
  65483. _serialize$_write$1(value) {
  65484. return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
  65485. },
  65486. _serialize$_visitChildren$1($parent) {
  65487. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  65488. t1 = _this._serialize$_buffer;
  65489. t1.writeCharCode$1(123);
  65490. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = !_this._inspect, t6 = A._instanceType(t2)._precomputed1, t7 = type$.CssComment, t8 = type$.CssParentNode, prePrevious = null, previous = null; t2.moveNext$0();) {
  65491. t9 = t2.__internal$_current;
  65492. previous0 = t9 == null ? t6._as(t9) : t9;
  65493. if (t5)
  65494. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  65495. else
  65496. t9 = false;
  65497. if (t9)
  65498. continue;
  65499. t9 = previous == null;
  65500. if (!t9)
  65501. t10 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  65502. else
  65503. t10 = false;
  65504. if (t10)
  65505. t1.writeCharCode$1(59);
  65506. if (_this._isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  65507. if (t4)
  65508. t1.writeCharCode$1(32);
  65509. savedIndentation = _this._indentation;
  65510. _this._indentation = 0;
  65511. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  65512. _this._indentation = savedIndentation;
  65513. } else {
  65514. if (t4)
  65515. t1.write$1(0, "\n");
  65516. ++_this._indentation;
  65517. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  65518. --_this._indentation;
  65519. }
  65520. prePrevious = previous;
  65521. previous = previous0;
  65522. }
  65523. if (previous != null) {
  65524. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  65525. t1.writeCharCode$1(59);
  65526. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  65527. if (t4)
  65528. t1.writeCharCode$1(32);
  65529. } else {
  65530. _this._writeLineFeed$0();
  65531. _this._writeIndentation$0();
  65532. }
  65533. }
  65534. t1.writeCharCode$1(125);
  65535. },
  65536. _isTrailingComment$2(node, previous) {
  65537. var t1, t2, t3, searchFrom, endOffset, t4, span;
  65538. if (this._style === B.OutputStyle_1)
  65539. return false;
  65540. if (!type$.CssComment._is(node))
  65541. return false;
  65542. t1 = previous.get$span(previous);
  65543. t2 = node.span;
  65544. if (!(J.$eq$(t1.get$file(t1).url, t2.get$file(t2).url) && t1.get$start(t1).offset <= t2.get$start(t2).offset && t1.get$end(t1).offset >= t2.get$end(t2).offset)) {
  65545. t1 = t2.get$start(t2);
  65546. t1 = t1.file.getLine$1(t1.offset);
  65547. t2 = previous.get$span(previous);
  65548. t2 = t2.get$end(t2);
  65549. return t1 === t2.file.getLine$1(t2.offset);
  65550. }
  65551. t1 = t2.get$start(t2);
  65552. t3 = previous.get$span(previous);
  65553. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  65554. if (searchFrom < 0)
  65555. return false;
  65556. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  65557. t1 = previous.get$span(previous);
  65558. t1 = t1.get$file(t1);
  65559. t3 = previous.get$span(previous);
  65560. t3 = t3.get$start(t3);
  65561. t4 = previous.get$span(previous);
  65562. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  65563. t2 = t2.get$start(t2);
  65564. t2 = t2.file.getLine$1(t2.offset);
  65565. t4 = A.FileLocation$_(span.file, span._end);
  65566. return t2 === t4.file.getLine$1(t4.offset);
  65567. },
  65568. _writeLineFeed$0() {
  65569. if (this._style !== B.OutputStyle_1)
  65570. this._serialize$_buffer.write$1(0, "\n");
  65571. },
  65572. _writeIndentation$0() {
  65573. var _this = this;
  65574. if (_this._style === B.OutputStyle_1)
  65575. return;
  65576. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  65577. },
  65578. _writeTimes$2(char, times) {
  65579. var t1, i;
  65580. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  65581. t1.writeCharCode$1(char);
  65582. },
  65583. _writeBetween$1$3(iterable, text, callback) {
  65584. var t1, t2, first, value;
  65585. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  65586. value = t1.get$current(t1);
  65587. if (first)
  65588. first = false;
  65589. else
  65590. t2.write$1(0, text);
  65591. callback.call$1(value);
  65592. }
  65593. },
  65594. _writeBetween$3(iterable, text, callback) {
  65595. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  65596. }
  65597. };
  65598. A._SerializeVisitor_visitCssComment_closure.prototype = {
  65599. call$0() {
  65600. var t2, t3, minimumIndentation,
  65601. t1 = this.$this;
  65602. if (t1._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  65603. return;
  65604. t2 = this.node;
  65605. t3 = t2.text;
  65606. minimumIndentation = t1._minimumIndentation$1(t3);
  65607. if (minimumIndentation == null) {
  65608. t1._writeIndentation$0();
  65609. t1._serialize$_buffer.write$1(0, t3);
  65610. return;
  65611. }
  65612. t2 = t2.span;
  65613. t2 = t2.get$start(t2);
  65614. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  65615. t1._writeIndentation$0();
  65616. t1._writeWithIndent$2(t3, minimumIndentation);
  65617. },
  65618. $signature: 1
  65619. };
  65620. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  65621. call$0() {
  65622. var t3, value,
  65623. t1 = this.$this,
  65624. t2 = t1._serialize$_buffer;
  65625. t2.writeCharCode$1(64);
  65626. t3 = this.node;
  65627. t1._serialize$_write$1(t3.name);
  65628. value = t3.value;
  65629. if (value != null) {
  65630. t2.writeCharCode$1(32);
  65631. t1._serialize$_write$1(value);
  65632. }
  65633. },
  65634. $signature: 1
  65635. };
  65636. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  65637. call$0() {
  65638. var t3, firstQuery, t4, t5,
  65639. t1 = this.$this,
  65640. t2 = t1._serialize$_buffer;
  65641. t2.write$1(0, "@media");
  65642. t3 = this.node.queries;
  65643. firstQuery = B.JSArray_methods.get$first(t3);
  65644. t4 = t1._style === B.OutputStyle_1;
  65645. if (t4)
  65646. if (firstQuery.modifier == null)
  65647. if (firstQuery.type == null) {
  65648. t5 = firstQuery.conditions;
  65649. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  65650. } else
  65651. t5 = true;
  65652. else
  65653. t5 = true;
  65654. else
  65655. t5 = true;
  65656. if (t5)
  65657. t2.writeCharCode$1(32);
  65658. t2 = t4 ? "," : ", ";
  65659. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  65660. },
  65661. $signature: 1
  65662. };
  65663. A._SerializeVisitor_visitCssImport_closure.prototype = {
  65664. call$0() {
  65665. var t3, t4, t5, modifiers,
  65666. t1 = this.$this,
  65667. t2 = t1._serialize$_buffer;
  65668. t2.write$1(0, "@import");
  65669. t3 = t1._style !== B.OutputStyle_1;
  65670. if (t3)
  65671. t2.writeCharCode$1(32);
  65672. t4 = this.node;
  65673. t5 = t4.url;
  65674. t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  65675. modifiers = t4.modifiers;
  65676. if (modifiers != null) {
  65677. if (t3)
  65678. t2.writeCharCode$1(32);
  65679. t2.write$1(0, modifiers);
  65680. }
  65681. },
  65682. $signature: 1
  65683. };
  65684. A._SerializeVisitor_visitCssImport__closure.prototype = {
  65685. call$0() {
  65686. var t1 = this.node.url;
  65687. return this.$this._writeImportUrl$1(t1.get$value(t1));
  65688. },
  65689. $signature: 0
  65690. };
  65691. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  65692. call$0() {
  65693. var t1 = this.$this,
  65694. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  65695. t3 = t1._serialize$_buffer;
  65696. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  65697. },
  65698. $signature: 0
  65699. };
  65700. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  65701. call$0() {
  65702. return this.$this.visitSelectorList$1(this.node.selector.value);
  65703. },
  65704. $signature: 0
  65705. };
  65706. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  65707. call$0() {
  65708. var t1 = this.$this,
  65709. t2 = t1._serialize$_buffer;
  65710. t2.write$1(0, "@supports");
  65711. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  65712. t2.writeCharCode$1(32);
  65713. t1._serialize$_write$1(this.node.condition);
  65714. },
  65715. $signature: 1
  65716. };
  65717. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  65718. call$0() {
  65719. var t1 = this.$this,
  65720. t2 = this.node;
  65721. if (t1._style === B.OutputStyle_1)
  65722. t1._writeFoldedValue$1(t2);
  65723. else
  65724. t1._writeReindentedValue$1(t2);
  65725. },
  65726. $signature: 1
  65727. };
  65728. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  65729. call$0() {
  65730. var t1 = this.node.value;
  65731. return t1.get$value(t1).accept$1(this.$this);
  65732. },
  65733. $signature: 0
  65734. };
  65735. A._SerializeVisitor_visitList_closure.prototype = {
  65736. call$1(element) {
  65737. return !element.get$isBlank();
  65738. },
  65739. $signature: 62
  65740. };
  65741. A._SerializeVisitor_visitList_closure0.prototype = {
  65742. call$1(element) {
  65743. var t1 = this.$this,
  65744. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  65745. if (needsParens)
  65746. t1._serialize$_buffer.writeCharCode$1(40);
  65747. element.accept$1(t1);
  65748. if (needsParens)
  65749. t1._serialize$_buffer.writeCharCode$1(41);
  65750. },
  65751. $signature: 52
  65752. };
  65753. A._SerializeVisitor_visitList_closure1.prototype = {
  65754. call$1(element) {
  65755. element.accept$1(this.$this);
  65756. },
  65757. $signature: 52
  65758. };
  65759. A._SerializeVisitor_visitMap_closure.prototype = {
  65760. call$1(entry) {
  65761. var t1 = this.$this;
  65762. t1._writeMapElement$1(entry.key);
  65763. t1._serialize$_buffer.write$1(0, ": ");
  65764. t1._writeMapElement$1(entry.value);
  65765. },
  65766. $signature: 265
  65767. };
  65768. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  65769. call$1(complex) {
  65770. return !complex.accept$1(B._IsInvisibleVisitor_true);
  65771. },
  65772. $signature: 16
  65773. };
  65774. A._SerializeVisitor__write_closure.prototype = {
  65775. call$0() {
  65776. var t1 = this.value;
  65777. return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
  65778. },
  65779. $signature: 0
  65780. };
  65781. A._SerializeVisitor__visitChildren_closure.prototype = {
  65782. call$0() {
  65783. return this.child.accept$1(this.$this);
  65784. },
  65785. $signature: 0
  65786. };
  65787. A._SerializeVisitor__visitChildren_closure0.prototype = {
  65788. call$0() {
  65789. this.child.accept$1(this.$this);
  65790. },
  65791. $signature: 0
  65792. };
  65793. A.OutputStyle.prototype = {
  65794. toString$0(_) {
  65795. return "OutputStyle." + this._name;
  65796. }
  65797. };
  65798. A.LineFeed.prototype = {
  65799. toString$0(_) {
  65800. return "lf";
  65801. }
  65802. };
  65803. A.SerializeResult.prototype = {};
  65804. A.StatementSearchVisitor.prototype = {
  65805. visitAtRootRule$1(node) {
  65806. return this.visitChildren$1(node.children);
  65807. },
  65808. visitAtRule$1(node) {
  65809. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  65810. },
  65811. visitContentBlock$1(node) {
  65812. return this.visitChildren$1(node.children);
  65813. },
  65814. visitDebugRule$1(node) {
  65815. return null;
  65816. },
  65817. visitDeclaration$1(node) {
  65818. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  65819. },
  65820. visitEachRule$1(node) {
  65821. return this.visitChildren$1(node.children);
  65822. },
  65823. visitErrorRule$1(node) {
  65824. return null;
  65825. },
  65826. visitExtendRule$1(node) {
  65827. return null;
  65828. },
  65829. visitForRule$1(node) {
  65830. return this.visitChildren$1(node.children);
  65831. },
  65832. visitForwardRule$1(node) {
  65833. return null;
  65834. },
  65835. visitFunctionRule$1(node) {
  65836. return this.visitChildren$1(node.children);
  65837. },
  65838. visitIfRule$1(node) {
  65839. var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  65840. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  65841. },
  65842. visitImportRule$1(node) {
  65843. return null;
  65844. },
  65845. visitIncludeRule$1(node) {
  65846. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  65847. },
  65848. visitLoudComment$1(node) {
  65849. return null;
  65850. },
  65851. visitMediaRule$1(node) {
  65852. return this.visitChildren$1(node.children);
  65853. },
  65854. visitMixinRule$1(node) {
  65855. return this.visitChildren$1(node.children);
  65856. },
  65857. visitReturnRule$1(node) {
  65858. return null;
  65859. },
  65860. visitSilentComment$1(node) {
  65861. return null;
  65862. },
  65863. visitStyleRule$1(node) {
  65864. return this.visitChildren$1(node.children);
  65865. },
  65866. visitStylesheet$1(node) {
  65867. return this.visitChildren$1(node.children);
  65868. },
  65869. visitSupportsRule$1(node) {
  65870. return this.visitChildren$1(node.children);
  65871. },
  65872. visitUseRule$1(node) {
  65873. return null;
  65874. },
  65875. visitVariableDeclaration$1(node) {
  65876. return null;
  65877. },
  65878. visitWarnRule$1(node) {
  65879. return null;
  65880. },
  65881. visitWhileRule$1(node) {
  65882. return this.visitChildren$1(node.children);
  65883. },
  65884. visitChildren$1(children) {
  65885. return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  65886. }
  65887. };
  65888. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  65889. call$1(clause) {
  65890. return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  65891. },
  65892. $signature() {
  65893. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  65894. }
  65895. };
  65896. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  65897. call$1(child) {
  65898. return child.accept$1(this.$this);
  65899. },
  65900. $signature() {
  65901. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65902. }
  65903. };
  65904. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  65905. call$1(lastClause) {
  65906. return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  65907. },
  65908. $signature() {
  65909. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  65910. }
  65911. };
  65912. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  65913. call$1(child) {
  65914. return child.accept$1(this.$this);
  65915. },
  65916. $signature() {
  65917. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65918. }
  65919. };
  65920. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  65921. call$1(child) {
  65922. return child.accept$1(this.$this);
  65923. },
  65924. $signature() {
  65925. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65926. }
  65927. };
  65928. A.Entry.prototype = {
  65929. compareTo$1(_, other) {
  65930. var t1, t2,
  65931. res = this.target.compareTo$1(0, other.target);
  65932. if (res !== 0)
  65933. return res;
  65934. t1 = this.source;
  65935. t2 = other.source;
  65936. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  65937. if (res !== 0)
  65938. return res;
  65939. return t1.compareTo$1(0, t2);
  65940. },
  65941. $isComparable: 1
  65942. };
  65943. A.Mapping.prototype = {};
  65944. A.SingleMapping.prototype = {
  65945. toJson$1$includeSourceContents(includeSourceContents) {
  65946. var t1, t2, line, column, srcLine, srcColumn, srcUrlId, srcNameId, first, _i, entry, nextLine, i, t3, t4, column0, t5, newUrlId, srcLine0, srcColumn0, srcNameId0, result, _this = this,
  65947. buff = new A.StringBuffer("");
  65948. for (t1 = _this.lines, t2 = t1.length, line = 0, column = 0, srcLine = 0, srcColumn = 0, srcUrlId = 0, srcNameId = 0, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  65949. entry = t1[_i];
  65950. nextLine = entry.line;
  65951. if (nextLine > line) {
  65952. for (i = line; i < nextLine; ++i)
  65953. buff._contents += ";";
  65954. line = nextLine;
  65955. column = 0;
  65956. first = true;
  65957. }
  65958. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  65959. t4 = t3.get$current(t3);
  65960. if (!first)
  65961. buff._contents += ",";
  65962. column0 = t4.column;
  65963. t5 = A.encodeVlq(column0 - column);
  65964. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  65965. buff._contents = t5;
  65966. newUrlId = t4.sourceUrlId;
  65967. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  65968. buff._contents = t5;
  65969. srcLine0 = t4.sourceLine;
  65970. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  65971. buff._contents = t5;
  65972. srcColumn0 = t4.sourceColumn;
  65973. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  65974. buff._contents = t5;
  65975. srcNameId0 = t4.sourceNameId;
  65976. if (srcNameId0 == null) {
  65977. srcUrlId = newUrlId;
  65978. srcColumn = srcColumn0;
  65979. srcLine = srcLine0;
  65980. continue;
  65981. }
  65982. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  65983. srcNameId = srcNameId0;
  65984. srcUrlId = newUrlId;
  65985. srcColumn = srcColumn0;
  65986. srcLine = srcLine0;
  65987. }
  65988. }
  65989. t1 = _this.sourceRoot;
  65990. if (t1 == null)
  65991. t1 = "";
  65992. t2 = buff._contents;
  65993. result = A.LinkedHashMap_LinkedHashMap$_literal(["version", 3, "sourceRoot", t1, "sources", _this.urls, "names", _this.names, "mappings", t2.charCodeAt(0) == 0 ? t2 : t2], type$.String, type$.Object);
  65994. t1 = _this.targetUrl;
  65995. if (t1 != null)
  65996. result.$indexSet(0, "file", t1);
  65997. if (includeSourceContents) {
  65998. t1 = _this.files;
  65999. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  66000. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  66001. }
  66002. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  66003. return result;
  66004. },
  66005. toJson$0() {
  66006. return this.toJson$1$includeSourceContents(false);
  66007. },
  66008. toString$0(_) {
  66009. var _this = this,
  66010. t1 = A.getRuntimeType(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
  66011. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66012. }
  66013. };
  66014. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  66015. call$0() {
  66016. return this.urls.__js_helper$_length;
  66017. },
  66018. $signature: 12
  66019. };
  66020. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  66021. call$0() {
  66022. return this.sourceEntry.source.file;
  66023. },
  66024. $signature: 266
  66025. };
  66026. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  66027. call$1(i) {
  66028. return this.files.$index(0, i);
  66029. },
  66030. $signature: 267
  66031. };
  66032. A.SingleMapping_toJson_closure.prototype = {
  66033. call$1(file) {
  66034. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  66035. },
  66036. $signature: 268
  66037. };
  66038. A.SingleMapping_toJson_closure0.prototype = {
  66039. call$2($name, value) {
  66040. this.result.$indexSet(0, $name, value);
  66041. return value;
  66042. },
  66043. $signature: 225
  66044. };
  66045. A.TargetLineEntry.prototype = {
  66046. toString$0(_) {
  66047. return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  66048. }
  66049. };
  66050. A.TargetEntry.prototype = {
  66051. toString$0(_) {
  66052. var _this = this;
  66053. return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  66054. }
  66055. };
  66056. A.SourceFile.prototype = {
  66057. get$length(_) {
  66058. return this._decodedChars.length;
  66059. },
  66060. get$lines() {
  66061. return this._lineStarts.length;
  66062. },
  66063. SourceFile$decoded$2$url(decodedChars, url) {
  66064. var t1, t2, t3, i, c, j;
  66065. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  66066. c = t1[i];
  66067. if (c === 13) {
  66068. j = i + 1;
  66069. if (j >= t2 || t1[j] !== 10)
  66070. c = 10;
  66071. }
  66072. if (c === 10)
  66073. t3.push(i + 1);
  66074. }
  66075. },
  66076. span$2(_, start, end) {
  66077. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  66078. },
  66079. span$1($receiver, start) {
  66080. return this.span$2($receiver, start, null);
  66081. },
  66082. getLine$1(offset) {
  66083. var t1, _this = this;
  66084. if (offset < 0)
  66085. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  66086. else if (offset > _this._decodedChars.length)
  66087. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
  66088. t1 = _this._lineStarts;
  66089. if (offset < B.JSArray_methods.get$first(t1))
  66090. return -1;
  66091. if (offset >= B.JSArray_methods.get$last(t1))
  66092. return t1.length - 1;
  66093. if (_this._isNearCachedLine$1(offset)) {
  66094. t1 = _this._cachedLine;
  66095. t1.toString;
  66096. return t1;
  66097. }
  66098. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  66099. },
  66100. _isNearCachedLine$1(offset) {
  66101. var t2, t3,
  66102. t1 = this._cachedLine;
  66103. if (t1 == null)
  66104. return false;
  66105. t2 = this._lineStarts;
  66106. if (offset < t2[t1])
  66107. return false;
  66108. t3 = t2.length;
  66109. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  66110. return true;
  66111. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  66112. this._cachedLine = t1 + 1;
  66113. return true;
  66114. }
  66115. return false;
  66116. },
  66117. _binarySearch$1(offset) {
  66118. var min, half,
  66119. t1 = this._lineStarts,
  66120. max = t1.length - 1;
  66121. for (min = 0; min < max;) {
  66122. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  66123. if (t1[half] > offset)
  66124. max = half;
  66125. else
  66126. min = half + 1;
  66127. }
  66128. return max;
  66129. },
  66130. getColumn$1(offset) {
  66131. var line, lineStart, _this = this;
  66132. if (offset < 0)
  66133. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  66134. else if (offset > _this._decodedChars.length)
  66135. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
  66136. line = _this.getLine$1(offset);
  66137. lineStart = _this._lineStarts[line];
  66138. if (lineStart > offset)
  66139. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  66140. return offset - lineStart;
  66141. },
  66142. getOffset$1(line) {
  66143. var t1, t2, result, t3;
  66144. if (line < 0)
  66145. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  66146. else {
  66147. t1 = this._lineStarts;
  66148. t2 = t1.length;
  66149. if (line >= t2)
  66150. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  66151. }
  66152. result = t1[line];
  66153. if (result <= this._decodedChars.length) {
  66154. t3 = line + 1;
  66155. t1 = t3 < t2 && result >= t1[t3];
  66156. } else
  66157. t1 = true;
  66158. if (t1)
  66159. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  66160. return result;
  66161. }
  66162. };
  66163. A.FileLocation.prototype = {
  66164. get$sourceUrl(_) {
  66165. return this.file.url;
  66166. },
  66167. get$line() {
  66168. return this.file.getLine$1(this.offset);
  66169. },
  66170. get$column() {
  66171. return this.file.getColumn$1(this.offset);
  66172. },
  66173. FileLocation$_$2(file, offset) {
  66174. var t2,
  66175. t1 = this.offset;
  66176. if (t1 < 0)
  66177. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  66178. else {
  66179. t2 = this.file;
  66180. if (t1 > t2._decodedChars.length)
  66181. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_ + t2.get$length(t2) + "."));
  66182. }
  66183. },
  66184. pointSpan$0() {
  66185. var t1 = this.offset;
  66186. return A._FileSpan$(this.file, t1, t1);
  66187. },
  66188. get$offset() {
  66189. return this.offset;
  66190. }
  66191. };
  66192. A._FileSpan.prototype = {
  66193. get$sourceUrl(_) {
  66194. return this.file.url;
  66195. },
  66196. get$length(_) {
  66197. return this._end - this._file$_start;
  66198. },
  66199. get$start(_) {
  66200. return A.FileLocation$_(this.file, this._file$_start);
  66201. },
  66202. get$end(_) {
  66203. return A.FileLocation$_(this.file, this._end);
  66204. },
  66205. get$text() {
  66206. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  66207. },
  66208. get$context(_) {
  66209. var _this = this,
  66210. t1 = _this.file,
  66211. endOffset = _this._end,
  66212. endLine = t1.getLine$1(endOffset);
  66213. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  66214. if (endOffset - _this._file$_start === 0)
  66215. return endLine === t1._lineStarts.length - 1 ? "" : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(endLine), t1.getOffset$1(endLine + 1)), 0, null);
  66216. } else
  66217. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  66218. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  66219. },
  66220. _FileSpan$3(file, _start, _end) {
  66221. var t3,
  66222. t1 = this._end,
  66223. t2 = this._file$_start;
  66224. if (t1 < t2)
  66225. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  66226. else {
  66227. t3 = this.file;
  66228. if (t1 > t3._decodedChars.length)
  66229. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
  66230. else if (t2 < 0)
  66231. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  66232. }
  66233. },
  66234. compareTo$1(_, other) {
  66235. var result;
  66236. if (!(other instanceof A._FileSpan))
  66237. return this.super$SourceSpanMixin$compareTo(0, other);
  66238. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  66239. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  66240. },
  66241. $eq(_, other) {
  66242. var _this = this;
  66243. if (other == null)
  66244. return false;
  66245. if (!type$.FileSpan._is(other))
  66246. return _this.super$SourceSpanMixin$$eq(0, other);
  66247. if (!(other instanceof A._FileSpan))
  66248. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  66249. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  66250. },
  66251. get$hashCode(_) {
  66252. return A.Object_hash(this._file$_start, this._end, this.file.url);
  66253. },
  66254. expand$1(_, other) {
  66255. var t2, t3, _this = this,
  66256. t1 = _this.file;
  66257. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  66258. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66259. t2 = _this._file$_start;
  66260. t3 = _this._end;
  66261. if (other instanceof A._FileSpan)
  66262. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  66263. else
  66264. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  66265. },
  66266. $isFileSpan: 1,
  66267. $isSourceSpanWithContext: 1,
  66268. get$file(receiver) {
  66269. return this.file;
  66270. }
  66271. };
  66272. A.Highlighter.prototype = {
  66273. highlight$0() {
  66274. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  66275. t1 = _this._lines;
  66276. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  66277. t2 = _this._maxMultilineSpans;
  66278. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  66279. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  66280. line = t1[i];
  66281. if (i > 0) {
  66282. lastLine = t1[i - 1];
  66283. t5 = lastLine.url;
  66284. t6 = line.url;
  66285. if (!J.$eq$(t5, t6)) {
  66286. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  66287. t3._contents += "\n";
  66288. _this._writeFileStart$1(t6);
  66289. } else if (lastLine.number + 1 !== line.number) {
  66290. _this._writeSidebar$1$text("...");
  66291. t3._contents += "\n";
  66292. }
  66293. }
  66294. for (t5 = line.highlights, t6 = new A.ReversedListIterable(t5, A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>")), t6 = new A.ListIterator(t6, t6.get$length(t6)), t7 = A._instanceType(t6)._precomputed1, t8 = line.number, t9 = line.text; t6.moveNext$0();) {
  66295. t10 = t6.__internal$_current;
  66296. if (t10 == null)
  66297. t10 = t7._as(t10);
  66298. t11 = t10.span;
  66299. if (t11.get$start(t11).get$line() !== t11.get$end(t11).get$line() && t11.get$start(t11).get$line() === t8 && _this._isOnlyWhitespace$1(B.JSString_methods.substring$2(t9, 0, t11.get$start(t11).get$column()))) {
  66300. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  66301. if (index < 0)
  66302. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  66303. highlightsByColumn[index] = t10;
  66304. }
  66305. }
  66306. _this._writeSidebar$1$line(t8);
  66307. t3._contents += " ";
  66308. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  66309. if (t2)
  66310. t3._contents += " ";
  66311. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  66312. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  66313. t6 = primary != null;
  66314. if (t6) {
  66315. t7 = primary.span;
  66316. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  66317. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  66318. } else
  66319. _this._writeText$1(t9);
  66320. t3._contents += "\n";
  66321. if (t6)
  66322. _this._writeIndicator$3(line, primary, highlightsByColumn);
  66323. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  66324. highlight = t5[_i];
  66325. if (highlight.isPrimary)
  66326. continue;
  66327. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  66328. }
  66329. }
  66330. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  66331. t1 = t3._contents;
  66332. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66333. },
  66334. _writeFileStart$1(url) {
  66335. var _this = this,
  66336. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  66337. t2 = $._glyphs;
  66338. if (t1)
  66339. _this._writeSidebar$1$end(t2.get$downEnd());
  66340. else {
  66341. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  66342. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  66343. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  66344. }
  66345. _this._highlighter$_buffer._contents += "\n";
  66346. },
  66347. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  66348. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  66349. _box_0.openedOnThisLine = false;
  66350. _box_0.openedOnThisLineColor = null;
  66351. t1 = current == null;
  66352. if (t1)
  66353. currentColor = null;
  66354. else
  66355. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  66356. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  66357. highlight = highlightsByColumn[_i];
  66358. t6 = highlight == null;
  66359. if (t6)
  66360. startLine = null;
  66361. else {
  66362. t7 = highlight.span;
  66363. startLine = t7.get$start(t7).get$line();
  66364. }
  66365. if (t6)
  66366. endLine = null;
  66367. else {
  66368. t7 = highlight.span;
  66369. endLine = t7.get$end(t7).get$line();
  66370. }
  66371. if (t1 && highlight === current) {
  66372. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  66373. foundCurrent = true;
  66374. } else if (foundCurrent)
  66375. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  66376. else if (t6)
  66377. if (_box_0.openedOnThisLine)
  66378. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  66379. else
  66380. t5._contents += " ";
  66381. else {
  66382. t6 = highlight.isPrimary ? t4 : t3;
  66383. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  66384. }
  66385. }
  66386. },
  66387. _writeMultilineHighlights$2(line, highlightsByColumn) {
  66388. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  66389. },
  66390. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  66391. var _this = this;
  66392. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  66393. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  66394. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  66395. },
  66396. _writeIndicator$3(line, highlight, highlightsByColumn) {
  66397. var t2, coversWholeLine, _this = this,
  66398. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  66399. t1 = highlight.span;
  66400. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  66401. _this._writeSidebar$0();
  66402. t1 = _this._highlighter$_buffer;
  66403. t1._contents += " ";
  66404. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66405. if (highlightsByColumn.length !== 0)
  66406. t1._contents += " ";
  66407. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  66408. } else {
  66409. t2 = line.number;
  66410. if (t1.get$start(t1).get$line() === t2) {
  66411. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  66412. return;
  66413. A.replaceFirstNull(highlightsByColumn, highlight);
  66414. _this._writeSidebar$0();
  66415. t1 = _this._highlighter$_buffer;
  66416. t1._contents += " ";
  66417. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66418. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  66419. t1._contents += "\n";
  66420. } else if (t1.get$end(t1).get$line() === t2) {
  66421. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  66422. if (coversWholeLine && highlight.label == null) {
  66423. A.replaceWithNull(highlightsByColumn, highlight);
  66424. return;
  66425. }
  66426. _this._writeSidebar$0();
  66427. _this._highlighter$_buffer._contents += " ";
  66428. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66429. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  66430. A.replaceWithNull(highlightsByColumn, highlight);
  66431. }
  66432. }
  66433. },
  66434. _writeArrow$3$beginning(line, column, beginning) {
  66435. var t2,
  66436. t1 = beginning ? 0 : 1,
  66437. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  66438. t1 = this._highlighter$_buffer;
  66439. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  66440. t1._contents = t2 + "^";
  66441. },
  66442. _writeArrow$2(line, column) {
  66443. return this._writeArrow$3$beginning(line, column, true);
  66444. },
  66445. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  66446. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  66447. label = highlight.label;
  66448. if (label == null) {
  66449. _this._highlighter$_buffer._contents += "\n";
  66450. return;
  66451. }
  66452. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  66453. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  66454. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  66455. t1 = _this._highlighter$_buffer;
  66456. t1._contents += "\n";
  66457. for (t2 = A.SubListIterable$(lines, 1, null, type$.String), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = highlightsByColumn.length, t4 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  66458. t5 = t2.__internal$_current;
  66459. if (t5 == null)
  66460. t5 = t4._as(t5);
  66461. _this._writeSidebar$0();
  66462. t6 = t1._contents += " ";
  66463. for (_i = 0; _i < t3; ++_i) {
  66464. columnHighlight = highlightsByColumn[_i];
  66465. if (columnHighlight == null || columnHighlight === highlight) {
  66466. t6 += " ";
  66467. t1._contents = t6;
  66468. } else
  66469. t6 = t1._contents += $._glyphs.get$verticalLine();
  66470. }
  66471. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  66472. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  66473. t1._contents += "\n";
  66474. }
  66475. },
  66476. _writeText$1(text) {
  66477. var t1, t2, t3, t4;
  66478. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this._highlighter$_buffer, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  66479. t4 = t1.__internal$_current;
  66480. if (t4 == null)
  66481. t4 = t3._as(t4);
  66482. if (t4 === 9)
  66483. t2._contents += B.JSString_methods.$mul(" ", 4);
  66484. else
  66485. t2._contents += A.Primitives_stringFromCharCode(t4);
  66486. }
  66487. },
  66488. _writeSidebar$3$end$line$text(end, line, text) {
  66489. var t1 = {};
  66490. t1.text = text;
  66491. if (line != null)
  66492. t1.text = B.JSInt_methods.toString$0(line + 1);
  66493. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  66494. },
  66495. _writeSidebar$1$end(end) {
  66496. return this._writeSidebar$3$end$line$text(end, null, null);
  66497. },
  66498. _writeSidebar$1$text(text) {
  66499. return this._writeSidebar$3$end$line$text(null, null, text);
  66500. },
  66501. _writeSidebar$1$line(line) {
  66502. return this._writeSidebar$3$end$line$text(null, line, null);
  66503. },
  66504. _writeSidebar$0() {
  66505. return this._writeSidebar$3$end$line$text(null, null, null);
  66506. },
  66507. _countTabs$1(text) {
  66508. var t1, t2, count, t3;
  66509. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, count = 0; t1.moveNext$0();) {
  66510. t3 = t1.__internal$_current;
  66511. if ((t3 == null ? t2._as(t3) : t3) === 9)
  66512. ++count;
  66513. }
  66514. return count;
  66515. },
  66516. _isOnlyWhitespace$1(text) {
  66517. var t1, t2, t3;
  66518. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  66519. t3 = t1.__internal$_current;
  66520. if (t3 == null)
  66521. t3 = t2._as(t3);
  66522. if (t3 !== 32 && t3 !== 9)
  66523. return false;
  66524. }
  66525. return true;
  66526. },
  66527. _colorize$1$2$color(callback, color) {
  66528. var result,
  66529. t1 = this._primaryColor != null;
  66530. if (t1 && color != null)
  66531. this._highlighter$_buffer._contents += color;
  66532. result = callback.call$0();
  66533. if (t1 && color != null)
  66534. this._highlighter$_buffer._contents += "\x1b[0m";
  66535. return result;
  66536. },
  66537. _colorize$2$color(callback, color) {
  66538. return this._colorize$1$2$color(callback, color, type$.dynamic);
  66539. }
  66540. };
  66541. A.Highlighter_closure.prototype = {
  66542. call$0() {
  66543. var t1 = this.color,
  66544. t2 = J.getInterceptor$(t1);
  66545. if (t2.$eq(t1, true))
  66546. return "\x1b[31m";
  66547. if (t2.$eq(t1, false))
  66548. return null;
  66549. return A._asStringQ(t1);
  66550. },
  66551. $signature: 42
  66552. };
  66553. A.Highlighter$__closure.prototype = {
  66554. call$1(line) {
  66555. var t1 = line.highlights;
  66556. t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
  66557. return t1.get$length(t1);
  66558. },
  66559. $signature: 269
  66560. };
  66561. A.Highlighter$___closure.prototype = {
  66562. call$1(highlight) {
  66563. var t1 = highlight.span;
  66564. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  66565. },
  66566. $signature: 105
  66567. };
  66568. A.Highlighter$__closure0.prototype = {
  66569. call$1(line) {
  66570. return line.url;
  66571. },
  66572. $signature: 271
  66573. };
  66574. A.Highlighter__collateLines_closure.prototype = {
  66575. call$1(highlight) {
  66576. var t1 = highlight.span;
  66577. t1 = t1.get$sourceUrl(t1);
  66578. return t1 == null ? new A.Object() : t1;
  66579. },
  66580. $signature: 272
  66581. };
  66582. A.Highlighter__collateLines_closure0.prototype = {
  66583. call$2(highlight1, highlight2) {
  66584. return highlight1.span.compareTo$1(0, highlight2.span);
  66585. },
  66586. $signature: 273
  66587. };
  66588. A.Highlighter__collateLines_closure1.prototype = {
  66589. call$1(entry) {
  66590. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
  66591. url = entry.key,
  66592. highlightsForFile = entry.value,
  66593. lines = A._setArrayType([], type$.JSArray__Line);
  66594. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  66595. t4 = t2.get$current(t2).span;
  66596. context = t4.get$context(t4);
  66597. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  66598. t5.toString;
  66599. t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
  66600. linesBeforeSpan = t5.get$length(t5);
  66601. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  66602. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  66603. line = t4[_i];
  66604. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  66605. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  66606. ++lineNumber;
  66607. }
  66608. }
  66609. activeHighlights = A._setArrayType([], t3);
  66610. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  66611. line = lines[_i];
  66612. if (!!activeHighlights.fixed$length)
  66613. A.throwExpression(A.UnsupportedError$("removeWhere"));
  66614. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  66615. oldHighlightLength = activeHighlights.length;
  66616. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  66617. t4 = t3.get$current(t3);
  66618. t5 = t4.span;
  66619. if (t5.get$start(t5).get$line() > line.number)
  66620. break;
  66621. activeHighlights.push(t4);
  66622. }
  66623. highlightIndex += activeHighlights.length - oldHighlightLength;
  66624. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  66625. }
  66626. return lines;
  66627. },
  66628. $signature: 274
  66629. };
  66630. A.Highlighter__collateLines__closure.prototype = {
  66631. call$1(highlight) {
  66632. var t1 = highlight.span;
  66633. return t1.get$end(t1).get$line() < this.line.number;
  66634. },
  66635. $signature: 105
  66636. };
  66637. A.Highlighter_highlight_closure.prototype = {
  66638. call$1(highlight) {
  66639. return highlight.isPrimary;
  66640. },
  66641. $signature: 105
  66642. };
  66643. A.Highlighter__writeFileStart_closure.prototype = {
  66644. call$0() {
  66645. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  66646. return null;
  66647. },
  66648. $signature: 0
  66649. };
  66650. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  66651. call$0() {
  66652. var t1 = $._glyphs;
  66653. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  66654. this.$this._highlighter$_buffer._contents += t1;
  66655. },
  66656. $signature: 1
  66657. };
  66658. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  66659. call$0() {
  66660. var t1 = $._glyphs;
  66661. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  66662. this.$this._highlighter$_buffer._contents += t1;
  66663. },
  66664. $signature: 1
  66665. };
  66666. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  66667. call$0() {
  66668. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  66669. return null;
  66670. },
  66671. $signature: 0
  66672. };
  66673. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  66674. call$0() {
  66675. var _this = this,
  66676. t1 = _this._box_0,
  66677. t2 = t1.openedOnThisLine,
  66678. t3 = $._glyphs,
  66679. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  66680. if (_this.current != null)
  66681. _this.$this._highlighter$_buffer._contents += vertical;
  66682. else {
  66683. t2 = _this.line;
  66684. t3 = t2.number;
  66685. if (_this.startLine === t3) {
  66686. t2 = _this.$this;
  66687. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  66688. t1.openedOnThisLine = true;
  66689. if (t1.openedOnThisLineColor == null)
  66690. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  66691. } else {
  66692. if (_this.endLine === t3) {
  66693. t3 = _this.highlight.span;
  66694. t2 = t3.get$end(t3).get$column() === t2.text.length;
  66695. } else
  66696. t2 = false;
  66697. t3 = _this.$this;
  66698. if (t2) {
  66699. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  66700. t3._highlighter$_buffer._contents += t1;
  66701. } else
  66702. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  66703. }
  66704. }
  66705. },
  66706. $signature: 1
  66707. };
  66708. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  66709. call$0() {
  66710. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  66711. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  66712. },
  66713. $signature: 1
  66714. };
  66715. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  66716. call$0() {
  66717. this.$this._highlighter$_buffer._contents += this.vertical;
  66718. },
  66719. $signature: 1
  66720. };
  66721. A.Highlighter__writeHighlightedText_closure.prototype = {
  66722. call$0() {
  66723. var _this = this;
  66724. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  66725. },
  66726. $signature: 0
  66727. };
  66728. A.Highlighter__writeIndicator_closure.prototype = {
  66729. call$0() {
  66730. var startColumn, endColumn, tabsBefore, tabsInside,
  66731. t1 = this.$this,
  66732. t2 = t1._highlighter$_buffer,
  66733. t3 = t2._contents,
  66734. t4 = this.highlight,
  66735. t5 = t4.span;
  66736. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  66737. startColumn = t5.get$start(t5).get$column();
  66738. endColumn = t5.get$end(t5).get$column();
  66739. t5 = this.line.text;
  66740. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  66741. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  66742. startColumn += tabsBefore * 3;
  66743. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  66744. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  66745. return t4.length - t3.length;
  66746. },
  66747. $signature: 12
  66748. };
  66749. A.Highlighter__writeIndicator_closure0.prototype = {
  66750. call$0() {
  66751. var t1 = this.highlight.span;
  66752. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  66753. },
  66754. $signature: 0
  66755. };
  66756. A.Highlighter__writeIndicator_closure1.prototype = {
  66757. call$0() {
  66758. var t4, _this = this,
  66759. t1 = _this.$this,
  66760. t2 = t1._highlighter$_buffer,
  66761. t3 = t2._contents;
  66762. if (_this.coversWholeLine)
  66763. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  66764. else {
  66765. t4 = _this.highlight.span;
  66766. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  66767. }
  66768. return t2._contents.length - t3.length;
  66769. },
  66770. $signature: 12
  66771. };
  66772. A.Highlighter__writeLabel_closure.prototype = {
  66773. call$0() {
  66774. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  66775. return null;
  66776. },
  66777. $signature: 0
  66778. };
  66779. A.Highlighter__writeLabel_closure0.prototype = {
  66780. call$0() {
  66781. this.$this._highlighter$_buffer._contents += " " + this.text;
  66782. return null;
  66783. },
  66784. $signature: 0
  66785. };
  66786. A.Highlighter__writeSidebar_closure.prototype = {
  66787. call$0() {
  66788. var t1 = this.$this,
  66789. t2 = t1._highlighter$_buffer,
  66790. t3 = this._box_0.text;
  66791. if (t3 == null)
  66792. t3 = "";
  66793. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  66794. t1 = this.end;
  66795. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  66796. },
  66797. $signature: 1
  66798. };
  66799. A._Highlight.prototype = {
  66800. toString$0(_) {
  66801. var t1 = this.isPrimary ? "" + "primary " : "",
  66802. t2 = this.span;
  66803. t2 = t1 + ("" + t2.get$start(t2).get$line() + ":" + t2.get$start(t2).get$column() + "-" + t2.get$end(t2).get$line() + ":" + t2.get$end(t2).get$column());
  66804. t1 = this.label;
  66805. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  66806. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66807. }
  66808. };
  66809. A._Highlight_closure.prototype = {
  66810. call$0() {
  66811. var t2, t3, t4, t5,
  66812. t1 = this.span;
  66813. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  66814. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  66815. t3 = t1.get$end(t1).get$offset();
  66816. t4 = t1.get$sourceUrl(t1);
  66817. t5 = A.countCodeUnits(t1.get$text(), 10);
  66818. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  66819. }
  66820. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  66821. },
  66822. $signature: 275
  66823. };
  66824. A._Line.prototype = {
  66825. toString$0(_) {
  66826. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  66827. }
  66828. };
  66829. A.SourceLocation.prototype = {
  66830. distance$1(other) {
  66831. var t1 = this.sourceUrl;
  66832. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  66833. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66834. return Math.abs(this.offset - other.get$offset());
  66835. },
  66836. compareTo$1(_, other) {
  66837. var t1 = this.sourceUrl;
  66838. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  66839. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66840. return this.offset - other.get$offset();
  66841. },
  66842. $eq(_, other) {
  66843. if (other == null)
  66844. return false;
  66845. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  66846. },
  66847. get$hashCode(_) {
  66848. var t1 = this.sourceUrl;
  66849. t1 = t1 == null ? null : t1.get$hashCode(t1);
  66850. if (t1 == null)
  66851. t1 = 0;
  66852. return t1 + this.offset;
  66853. },
  66854. toString$0(_) {
  66855. var _this = this,
  66856. t1 = A.getRuntimeType(_this).toString$0(0),
  66857. source = _this.sourceUrl;
  66858. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  66859. },
  66860. $isComparable: 1,
  66861. get$sourceUrl(receiver) {
  66862. return this.sourceUrl;
  66863. },
  66864. get$offset() {
  66865. return this.offset;
  66866. },
  66867. get$line() {
  66868. return this.line;
  66869. },
  66870. get$column() {
  66871. return this.column;
  66872. }
  66873. };
  66874. A.SourceLocationMixin.prototype = {
  66875. distance$1(other) {
  66876. var _this = this;
  66877. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  66878. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66879. return Math.abs(_this.offset - other.get$offset());
  66880. },
  66881. compareTo$1(_, other) {
  66882. var _this = this;
  66883. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  66884. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66885. return _this.offset - other.get$offset();
  66886. },
  66887. $eq(_, other) {
  66888. if (other == null)
  66889. return false;
  66890. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  66891. },
  66892. get$hashCode(_) {
  66893. var t1 = this.file.url;
  66894. t1 = t1 == null ? null : t1.get$hashCode(t1);
  66895. if (t1 == null)
  66896. t1 = 0;
  66897. return t1 + this.offset;
  66898. },
  66899. toString$0(_) {
  66900. var t1 = A.getRuntimeType(this).toString$0(0),
  66901. t2 = this.offset,
  66902. t3 = this.file,
  66903. source = t3.url;
  66904. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  66905. },
  66906. $isComparable: 1,
  66907. $isSourceLocation: 1
  66908. };
  66909. A.SourceSpanBase.prototype = {
  66910. SourceSpanBase$3(start, end, text) {
  66911. var t3,
  66912. t1 = this.end,
  66913. t2 = this.start;
  66914. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  66915. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  66916. else if (t1.get$offset() < t2.get$offset())
  66917. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  66918. else {
  66919. t3 = this.text;
  66920. if (t3.length !== t2.distance$1(t1))
  66921. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  66922. }
  66923. },
  66924. get$start(receiver) {
  66925. return this.start;
  66926. },
  66927. get$end(receiver) {
  66928. return this.end;
  66929. },
  66930. get$text() {
  66931. return this.text;
  66932. }
  66933. };
  66934. A.SourceSpanException.prototype = {
  66935. get$message(_) {
  66936. return this._span_exception$_message;
  66937. },
  66938. get$span(_) {
  66939. return this._span;
  66940. },
  66941. toString$1$color(_, color) {
  66942. var _this = this;
  66943. _this.get$span(_this);
  66944. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  66945. },
  66946. toString$0($receiver) {
  66947. return this.toString$1$color($receiver, null);
  66948. },
  66949. $isException: 1
  66950. };
  66951. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  66952. get$source() {
  66953. return this.source;
  66954. }
  66955. };
  66956. A.SourceSpanMixin.prototype = {
  66957. get$sourceUrl(_) {
  66958. var t1 = this.get$start(this);
  66959. return t1.get$sourceUrl(t1);
  66960. },
  66961. get$length(_) {
  66962. var _this = this;
  66963. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  66964. },
  66965. compareTo$1(_, other) {
  66966. var _this = this,
  66967. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  66968. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  66969. },
  66970. message$2$color(_, message, color) {
  66971. var t2, highlight, _this = this,
  66972. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  66973. if (_this.get$sourceUrl(_this) != null) {
  66974. t2 = _this.get$sourceUrl(_this);
  66975. t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
  66976. t1 = t2;
  66977. }
  66978. t1 += ": " + message;
  66979. highlight = _this.highlight$1$color(color);
  66980. if (highlight.length !== 0)
  66981. t1 = t1 + "\n" + highlight;
  66982. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66983. },
  66984. message$1($receiver, message) {
  66985. return this.message$2$color($receiver, message, null);
  66986. },
  66987. highlight$1$color(color) {
  66988. var _this = this;
  66989. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  66990. return "";
  66991. return A.Highlighter$(_this, color).highlight$0();
  66992. },
  66993. $eq(_, other) {
  66994. var _this = this;
  66995. if (other == null)
  66996. return false;
  66997. return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other));
  66998. },
  66999. get$hashCode(_) {
  67000. var _this = this;
  67001. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
  67002. },
  67003. toString$0(_) {
  67004. var _this = this;
  67005. return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  67006. },
  67007. $isComparable: 1,
  67008. $isSourceSpan: 1
  67009. };
  67010. A.SourceSpanWithContext.prototype = {
  67011. get$context(_) {
  67012. return this._context;
  67013. }
  67014. };
  67015. A.Chain.prototype = {
  67016. toTrace$0() {
  67017. var t1 = this.traces;
  67018. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  67019. },
  67020. toString$0(_) {
  67021. var t1 = this.traces,
  67022. t2 = A._arrayInstanceType(t1);
  67023. return new A.MappedListIterable(t1, new A.Chain_toString_closure(new A.MappedListIterable(t1, new A.Chain_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$1(0, string$.x3d_____);
  67024. },
  67025. $isStackTrace: 1
  67026. };
  67027. A.Chain_Chain$parse_closure.prototype = {
  67028. call$1(line) {
  67029. return line.length !== 0;
  67030. },
  67031. $signature: 8
  67032. };
  67033. A.Chain_Chain$parse_closure0.prototype = {
  67034. call$1(trace) {
  67035. return A.Trace$parseVM(trace);
  67036. },
  67037. $signature: 144
  67038. };
  67039. A.Chain_Chain$parse_closure1.prototype = {
  67040. call$1(trace) {
  67041. return A.Trace$parseFriendly(trace);
  67042. },
  67043. $signature: 144
  67044. };
  67045. A.Chain_toTrace_closure.prototype = {
  67046. call$1(trace) {
  67047. return trace.get$frames();
  67048. },
  67049. $signature: 277
  67050. };
  67051. A.Chain_toString_closure0.prototype = {
  67052. call$1(trace) {
  67053. var t1 = trace.get$frames();
  67054. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  67055. },
  67056. $signature: 278
  67057. };
  67058. A.Chain_toString__closure0.prototype = {
  67059. call$1(frame) {
  67060. return frame.get$location().length;
  67061. },
  67062. $signature: 145
  67063. };
  67064. A.Chain_toString_closure.prototype = {
  67065. call$1(trace) {
  67066. var t1 = trace.get$frames();
  67067. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  67068. },
  67069. $signature: 280
  67070. };
  67071. A.Chain_toString__closure.prototype = {
  67072. call$1(frame) {
  67073. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  67074. },
  67075. $signature: 146
  67076. };
  67077. A.Frame.prototype = {
  67078. get$isCore() {
  67079. return this.uri.get$scheme() === "dart";
  67080. },
  67081. get$library() {
  67082. var t1 = this.uri;
  67083. if (t1.get$scheme() === "data")
  67084. return "data:...";
  67085. return $.$get$context().prettyUri$1(t1);
  67086. },
  67087. get$$package() {
  67088. var t1 = this.uri;
  67089. if (t1.get$scheme() !== "package")
  67090. return null;
  67091. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  67092. },
  67093. get$location() {
  67094. var t2, _this = this,
  67095. t1 = _this.line;
  67096. if (t1 == null)
  67097. return _this.get$library();
  67098. t2 = _this.column;
  67099. if (t2 == null)
  67100. return _this.get$library() + " " + A.S(t1);
  67101. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  67102. },
  67103. toString$0(_) {
  67104. return this.get$location() + " in " + A.S(this.member);
  67105. },
  67106. get$uri() {
  67107. return this.uri;
  67108. },
  67109. get$line() {
  67110. return this.line;
  67111. },
  67112. get$column() {
  67113. return this.column;
  67114. },
  67115. get$member() {
  67116. return this.member;
  67117. }
  67118. };
  67119. A.Frame_Frame$parseVM_closure.prototype = {
  67120. call$0() {
  67121. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  67122. t1 = this.frame;
  67123. if (t1 === "...")
  67124. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  67125. match = $.$get$_vmFrame().firstMatch$1(t1);
  67126. if (match == null)
  67127. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67128. t1 = match._match;
  67129. t2 = t1[1];
  67130. t2.toString;
  67131. t3 = $.$get$_asyncBody();
  67132. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  67133. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  67134. t2 = t1[2];
  67135. t3 = t2;
  67136. t3.toString;
  67137. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  67138. uri = A.Uri_Uri$dataFromString("", _null, _null);
  67139. else {
  67140. t2 = t2;
  67141. t2.toString;
  67142. uri = A.Uri_parse(t2);
  67143. }
  67144. lineAndColumn = t1[3].split(":");
  67145. t1 = lineAndColumn.length;
  67146. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  67147. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  67148. },
  67149. $signature: 68
  67150. };
  67151. A.Frame_Frame$parseV8_closure.prototype = {
  67152. call$0() {
  67153. var t2, t3, _s4_ = "<fn>",
  67154. t1 = this.frame,
  67155. match = $.$get$_v8Frame().firstMatch$1(t1);
  67156. if (match == null)
  67157. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  67158. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  67159. t2 = match._match;
  67160. t3 = t2[2];
  67161. if (t3 != null) {
  67162. t3 = t3;
  67163. t3.toString;
  67164. t2 = t2[1];
  67165. t2.toString;
  67166. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  67167. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  67168. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  67169. } else {
  67170. t2 = t2[3];
  67171. t2.toString;
  67172. return t1.call$2(t2, _s4_);
  67173. }
  67174. },
  67175. $signature: 68
  67176. };
  67177. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  67178. call$2($location, member) {
  67179. var t2, urlMatch, uri, line, columnMatch, _null = null,
  67180. t1 = $.$get$_v8EvalLocation(),
  67181. evalMatch = t1.firstMatch$1($location);
  67182. for (; evalMatch != null; $location = t2) {
  67183. t2 = evalMatch._match[1];
  67184. t2.toString;
  67185. evalMatch = t1.firstMatch$1(t2);
  67186. }
  67187. if ($location === "native")
  67188. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  67189. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  67190. if (urlMatch == null)
  67191. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  67192. t1 = urlMatch._match;
  67193. t2 = t1[1];
  67194. t2.toString;
  67195. uri = A.Frame__uriOrPathToUri(t2);
  67196. t2 = t1[2];
  67197. t2.toString;
  67198. line = A.int_parse(t2, _null);
  67199. columnMatch = t1[3];
  67200. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  67201. },
  67202. $signature: 283
  67203. };
  67204. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  67205. call$0() {
  67206. var t2, member, uri, line, _null = null,
  67207. t1 = this.frame,
  67208. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  67209. if (match == null)
  67210. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67211. t1 = match._match;
  67212. t2 = t1[1];
  67213. t2.toString;
  67214. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  67215. t2 = t1[2];
  67216. t2.toString;
  67217. uri = A.Frame__uriOrPathToUri(t2);
  67218. t1 = t1[3];
  67219. t1.toString;
  67220. line = A.int_parse(t1, _null);
  67221. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  67222. },
  67223. $signature: 68
  67224. };
  67225. A.Frame_Frame$parseFirefox_closure.prototype = {
  67226. call$0() {
  67227. var t2, t3, t4, uri, member, line, column, _null = null,
  67228. t1 = this.frame,
  67229. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  67230. if (match == null)
  67231. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67232. t2 = match._match;
  67233. t3 = t2[3];
  67234. t4 = t3;
  67235. t4.toString;
  67236. if (B.JSString_methods.contains$1(t4, " line "))
  67237. return A.Frame_Frame$_parseFirefoxEval(t1);
  67238. t1 = t3;
  67239. t1.toString;
  67240. uri = A.Frame__uriOrPathToUri(t1);
  67241. member = t2[1];
  67242. if (member != null) {
  67243. t1 = t2[2];
  67244. t1.toString;
  67245. t1 = B.JSString_methods.allMatches$1("/", t1);
  67246. member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
  67247. if (member === "")
  67248. member = "<fn>";
  67249. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  67250. } else
  67251. member = "<fn>";
  67252. t1 = t2[4];
  67253. if (t1 === "")
  67254. line = _null;
  67255. else {
  67256. t1 = t1;
  67257. t1.toString;
  67258. line = A.int_parse(t1, _null);
  67259. }
  67260. t1 = t2[5];
  67261. if (t1 == null || t1 === "")
  67262. column = _null;
  67263. else {
  67264. t1 = t1;
  67265. t1.toString;
  67266. column = A.int_parse(t1, _null);
  67267. }
  67268. return new A.Frame(uri, line, column, member);
  67269. },
  67270. $signature: 68
  67271. };
  67272. A.Frame_Frame$parseFriendly_closure.prototype = {
  67273. call$0() {
  67274. var t2, uri, line, column, _null = null,
  67275. t1 = this.frame,
  67276. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  67277. if (match == null)
  67278. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  67279. t1 = match._match;
  67280. t2 = t1[1];
  67281. if (t2 === "data:...")
  67282. uri = A.Uri_Uri$dataFromString("", _null, _null);
  67283. else {
  67284. t2 = t2;
  67285. t2.toString;
  67286. uri = A.Uri_parse(t2);
  67287. }
  67288. if (uri.get$scheme() === "") {
  67289. t2 = $.$get$context();
  67290. uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
  67291. }
  67292. t2 = t1[2];
  67293. if (t2 == null)
  67294. line = _null;
  67295. else {
  67296. t2 = t2;
  67297. t2.toString;
  67298. line = A.int_parse(t2, _null);
  67299. }
  67300. t2 = t1[3];
  67301. if (t2 == null)
  67302. column = _null;
  67303. else {
  67304. t2 = t2;
  67305. t2.toString;
  67306. column = A.int_parse(t2, _null);
  67307. }
  67308. return new A.Frame(uri, line, column, t1[4]);
  67309. },
  67310. $signature: 68
  67311. };
  67312. A.LazyTrace.prototype = {
  67313. get$_lazy_trace$_trace() {
  67314. var result, _this = this,
  67315. value = _this.__LazyTrace__trace_FI;
  67316. if (value === $) {
  67317. result = _this._thunk.call$0();
  67318. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  67319. _this.__LazyTrace__trace_FI = result;
  67320. value = result;
  67321. }
  67322. return value;
  67323. },
  67324. get$frames() {
  67325. return this.get$_lazy_trace$_trace().get$frames();
  67326. },
  67327. get$terse() {
  67328. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  67329. },
  67330. toString$0(_) {
  67331. return this.get$_lazy_trace$_trace().toString$0(0);
  67332. },
  67333. $isStackTrace: 1,
  67334. $isTrace: 1
  67335. };
  67336. A.LazyTrace_terse_closure.prototype = {
  67337. call$0() {
  67338. return this.$this.get$_lazy_trace$_trace().get$terse();
  67339. },
  67340. $signature: 148
  67341. };
  67342. A.Trace.prototype = {
  67343. get$terse() {
  67344. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  67345. },
  67346. foldFrames$2$terse(predicate, terse) {
  67347. var newFrames, t1, t2, t3, _box_0 = {};
  67348. _box_0.predicate = predicate;
  67349. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  67350. newFrames = A._setArrayType([], type$.JSArray_Frame);
  67351. for (t1 = this.frames, t1 = new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  67352. t3 = t1.__internal$_current;
  67353. if (t3 == null)
  67354. t3 = t2._as(t3);
  67355. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  67356. newFrames.push(t3);
  67357. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  67358. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  67359. }
  67360. t1 = type$.MappedListIterable_Frame_Frame;
  67361. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  67362. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  67363. B.JSArray_methods.removeAt$1(newFrames, 0);
  67364. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  67365. },
  67366. toString$0(_) {
  67367. var t1 = this.frames,
  67368. t2 = A._arrayInstanceType(t1);
  67369. return new A.MappedListIterable(t1, new A.Trace_toString_closure(new A.MappedListIterable(t1, new A.Trace_toString_closure0(), t2._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT)), t2._eval$1("MappedListIterable<1,String>")).join$0(0);
  67370. },
  67371. $isStackTrace: 1,
  67372. get$frames() {
  67373. return this.frames;
  67374. }
  67375. };
  67376. A.Trace_Trace$from_closure.prototype = {
  67377. call$0() {
  67378. return A.Trace_Trace$parse(this.trace.toString$0(0));
  67379. },
  67380. $signature: 148
  67381. };
  67382. A.Trace__parseVM_closure.prototype = {
  67383. call$1(line) {
  67384. return line.length !== 0;
  67385. },
  67386. $signature: 8
  67387. };
  67388. A.Trace__parseVM_closure0.prototype = {
  67389. call$1(line) {
  67390. return A.Frame_Frame$parseVM(line);
  67391. },
  67392. $signature: 63
  67393. };
  67394. A.Trace$parseV8_closure.prototype = {
  67395. call$1(line) {
  67396. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  67397. },
  67398. $signature: 8
  67399. };
  67400. A.Trace$parseV8_closure0.prototype = {
  67401. call$1(line) {
  67402. return A.Frame_Frame$parseV8(line);
  67403. },
  67404. $signature: 63
  67405. };
  67406. A.Trace$parseJSCore_closure.prototype = {
  67407. call$1(line) {
  67408. return line !== "\tat ";
  67409. },
  67410. $signature: 8
  67411. };
  67412. A.Trace$parseJSCore_closure0.prototype = {
  67413. call$1(line) {
  67414. return A.Frame_Frame$parseV8(line);
  67415. },
  67416. $signature: 63
  67417. };
  67418. A.Trace$parseFirefox_closure.prototype = {
  67419. call$1(line) {
  67420. return line.length !== 0 && line !== "[native code]";
  67421. },
  67422. $signature: 8
  67423. };
  67424. A.Trace$parseFirefox_closure0.prototype = {
  67425. call$1(line) {
  67426. return A.Frame_Frame$parseFirefox(line);
  67427. },
  67428. $signature: 63
  67429. };
  67430. A.Trace$parseFriendly_closure.prototype = {
  67431. call$1(line) {
  67432. return !B.JSString_methods.startsWith$1(line, "=====");
  67433. },
  67434. $signature: 8
  67435. };
  67436. A.Trace$parseFriendly_closure0.prototype = {
  67437. call$1(line) {
  67438. return A.Frame_Frame$parseFriendly(line);
  67439. },
  67440. $signature: 63
  67441. };
  67442. A.Trace_terse_closure.prototype = {
  67443. call$1(_) {
  67444. return false;
  67445. },
  67446. $signature: 150
  67447. };
  67448. A.Trace_foldFrames_closure.prototype = {
  67449. call$1(frame) {
  67450. var t1;
  67451. if (this.oldPredicate.call$1(frame))
  67452. return true;
  67453. if (frame.get$isCore())
  67454. return true;
  67455. if (frame.get$$package() === "stack_trace")
  67456. return true;
  67457. t1 = frame.get$member();
  67458. t1.toString;
  67459. if (!B.JSString_methods.contains$1(t1, "<async>"))
  67460. return false;
  67461. return frame.get$line() == null;
  67462. },
  67463. $signature: 150
  67464. };
  67465. A.Trace_foldFrames_closure0.prototype = {
  67466. call$1(frame) {
  67467. var t1, t2;
  67468. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  67469. return frame;
  67470. t1 = frame.get$library();
  67471. t2 = $.$get$_terseRegExp();
  67472. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  67473. },
  67474. $signature: 287
  67475. };
  67476. A.Trace_toString_closure0.prototype = {
  67477. call$1(frame) {
  67478. return frame.get$location().length;
  67479. },
  67480. $signature: 145
  67481. };
  67482. A.Trace_toString_closure.prototype = {
  67483. call$1(frame) {
  67484. if (frame instanceof A.UnparsedFrame)
  67485. return frame.toString$0(0) + "\n";
  67486. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  67487. },
  67488. $signature: 146
  67489. };
  67490. A.UnparsedFrame.prototype = {
  67491. toString$0(_) {
  67492. return this.member;
  67493. },
  67494. $isFrame: 1,
  67495. get$uri() {
  67496. return this.uri;
  67497. },
  67498. get$line() {
  67499. return null;
  67500. },
  67501. get$column() {
  67502. return null;
  67503. },
  67504. get$isCore() {
  67505. return false;
  67506. },
  67507. get$library() {
  67508. return "unparsed";
  67509. },
  67510. get$$package() {
  67511. return null;
  67512. },
  67513. get$location() {
  67514. return "unparsed";
  67515. },
  67516. get$member() {
  67517. return this.member;
  67518. }
  67519. };
  67520. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  67521. call$0() {
  67522. var t2, subscription, t3, t4, _this = this, t1 = {};
  67523. t1.valuesDone = false;
  67524. t2 = _this.controller;
  67525. subscription = _this._this.listen$3$onDone$onError(0, new A.TransformByHandlers_transformByHandlers__closure(_this.handleData, t2, _this.S), new A.TransformByHandlers_transformByHandlers__closure0(t1, _this.handleDone, t2), new A.TransformByHandlers_transformByHandlers__closure1(_this.handleError, t2));
  67526. t3 = _this._box_1;
  67527. t3.subscription = subscription;
  67528. t2.set$onPause(subscription.get$pause(subscription));
  67529. t4 = t3.subscription;
  67530. t2.set$onResume(t4.get$resume(t4));
  67531. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  67532. },
  67533. $signature: 0
  67534. };
  67535. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  67536. call$1(value) {
  67537. return this.handleData.call$2(value, this.controller);
  67538. },
  67539. $signature() {
  67540. return this.S._eval$1("~(0)");
  67541. }
  67542. };
  67543. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  67544. call$2(error, stackTrace) {
  67545. this.handleError.call$3(error, stackTrace, this.controller);
  67546. },
  67547. $signature: 73
  67548. };
  67549. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  67550. call$0() {
  67551. this._box_0.valuesDone = true;
  67552. this.handleDone.call$1(this.controller);
  67553. },
  67554. $signature: 0
  67555. };
  67556. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  67557. call$0() {
  67558. var t1 = this._box_1,
  67559. toCancel = t1.subscription;
  67560. t1.subscription = null;
  67561. if (!this._box_0.valuesDone)
  67562. return toCancel.cancel$0();
  67563. return null;
  67564. },
  67565. $signature: 156
  67566. };
  67567. A.RateLimit__debounceAggregate_closure.prototype = {
  67568. call$2(value, sink) {
  67569. var _this = this,
  67570. t1 = _this._box_0,
  67571. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  67572. t3 = t1.timer;
  67573. if (t3 != null)
  67574. t3.cancel$0();
  67575. t1.soFar = _this.collect.call$2(value, t1.soFar);
  67576. t1.hasPending = true;
  67577. if (t1.timer == null && _this.leading) {
  67578. t1.emittedLatestAsLeading = true;
  67579. t2.call$0();
  67580. } else
  67581. t1.emittedLatestAsLeading = false;
  67582. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  67583. },
  67584. $signature() {
  67585. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  67586. }
  67587. };
  67588. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  67589. call$0() {
  67590. var t1 = this._box_0,
  67591. t2 = t1.soFar;
  67592. if (t2 == null)
  67593. t2 = this.S._as(t2);
  67594. this.sink.add$1(0, t2);
  67595. t1.soFar = null;
  67596. t1.hasPending = false;
  67597. },
  67598. $signature: 0
  67599. };
  67600. A.RateLimit__debounceAggregate__closure.prototype = {
  67601. call$0() {
  67602. var t1 = this._box_0,
  67603. t2 = t1.emittedLatestAsLeading;
  67604. if (!t2)
  67605. this.emit.call$0();
  67606. if (t1.shouldClose)
  67607. this.sink.close$0(0);
  67608. t1.timer = null;
  67609. },
  67610. $signature: 0
  67611. };
  67612. A.RateLimit__debounceAggregate_closure0.prototype = {
  67613. call$1(sink) {
  67614. var t1 = this._box_0;
  67615. if (t1.hasPending && this.trailing)
  67616. t1.shouldClose = true;
  67617. else {
  67618. t1 = t1.timer;
  67619. if (t1 != null)
  67620. t1.cancel$0();
  67621. sink.close$0(0);
  67622. }
  67623. },
  67624. $signature() {
  67625. return this.S._eval$1("~(EventSink<0>)");
  67626. }
  67627. };
  67628. A.StringScannerException.prototype = {
  67629. get$source() {
  67630. return A._asString(this.source);
  67631. }
  67632. };
  67633. A.LineScanner.prototype = {
  67634. scanChar$1(character) {
  67635. if (!this.super$StringScanner$scanChar(character))
  67636. return false;
  67637. this._adjustLineAndColumn$1(character);
  67638. return true;
  67639. },
  67640. _adjustLineAndColumn$1(character) {
  67641. var t1, _this = this;
  67642. if (character !== 10)
  67643. t1 = character === 13 && _this.peekChar$0() !== 10;
  67644. else
  67645. t1 = true;
  67646. if (t1) {
  67647. ++_this._line_scanner$_line;
  67648. _this._line_scanner$_column = 0;
  67649. } else
  67650. ++_this._line_scanner$_column;
  67651. },
  67652. scan$1(pattern) {
  67653. var t1, newlines, t2, _this = this;
  67654. if (!_this.super$StringScanner$scan(pattern))
  67655. return false;
  67656. t1 = _this.get$lastMatch();
  67657. newlines = _this._newlinesIn$1(t1.pattern);
  67658. t1 = _this._line_scanner$_line;
  67659. t2 = newlines.length;
  67660. _this._line_scanner$_line = t1 + t2;
  67661. if (t2 === 0) {
  67662. t1 = _this._line_scanner$_column;
  67663. t2 = _this.get$lastMatch();
  67664. _this._line_scanner$_column = t1 + t2.pattern.length;
  67665. } else {
  67666. t1 = _this.get$lastMatch();
  67667. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  67668. }
  67669. return true;
  67670. },
  67671. _newlinesIn$1(text) {
  67672. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  67673. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  67674. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  67675. B.JSArray_methods.removeLast$0(newlines);
  67676. return newlines;
  67677. }
  67678. };
  67679. A.SpanScanner.prototype = {
  67680. set$state(state) {
  67681. if (state._scanner !== this)
  67682. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  67683. this.set$position(state.position);
  67684. },
  67685. spanFrom$2(startState, endState) {
  67686. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  67687. return this._sourceFile.span$2(0, startState.position, endPosition);
  67688. },
  67689. spanFrom$1(startState) {
  67690. return this.spanFrom$2(startState, null);
  67691. },
  67692. matches$1(pattern) {
  67693. var t1, t2, _this = this;
  67694. if (!_this.super$StringScanner$matches(pattern))
  67695. return false;
  67696. t1 = _this._string_scanner$_position;
  67697. t2 = _this.get$lastMatch();
  67698. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  67699. return true;
  67700. },
  67701. error$3$length$position(_, message, $length, position) {
  67702. var match, t2, _this = this,
  67703. t1 = _this.string;
  67704. A.validateErrorArgs(t1, null, position, $length);
  67705. match = position == null && $length == null ? _this.get$lastMatch() : null;
  67706. if (position == null)
  67707. position = match == null ? _this._string_scanner$_position : match.start;
  67708. if ($length == null)
  67709. if (match == null)
  67710. $length = 0;
  67711. else {
  67712. t2 = match.start;
  67713. $length = t2 + match.pattern.length - t2;
  67714. }
  67715. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  67716. },
  67717. error$1($receiver, message) {
  67718. return this.error$3$length$position($receiver, message, null, null);
  67719. },
  67720. error$2$position($receiver, message, position) {
  67721. return this.error$3$length$position($receiver, message, null, position);
  67722. },
  67723. error$2$length($receiver, message, $length) {
  67724. return this.error$3$length$position($receiver, message, $length, null);
  67725. }
  67726. };
  67727. A._SpanScannerState.prototype = {};
  67728. A.StringScanner.prototype = {
  67729. set$position(position) {
  67730. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  67731. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  67732. this._string_scanner$_position = position;
  67733. this._lastMatch = null;
  67734. },
  67735. get$lastMatch() {
  67736. var _this = this;
  67737. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  67738. _this._lastMatch = null;
  67739. return _this._lastMatch;
  67740. },
  67741. readChar$0() {
  67742. var _this = this,
  67743. t1 = _this._string_scanner$_position,
  67744. t2 = _this.string;
  67745. if (t1 === t2.length)
  67746. _this.error$3$length$position(0, "expected more input.", 0, t1);
  67747. return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
  67748. },
  67749. peekChar$1(offset) {
  67750. var index;
  67751. if (offset == null)
  67752. offset = 0;
  67753. index = this._string_scanner$_position + offset;
  67754. if (index < 0 || index >= this.string.length)
  67755. return null;
  67756. return B.JSString_methods.codeUnitAt$1(this.string, index);
  67757. },
  67758. peekChar$0() {
  67759. return this.peekChar$1(null);
  67760. },
  67761. scanChar$1(character) {
  67762. var t1 = this._string_scanner$_position,
  67763. t2 = this.string;
  67764. if (t1 === t2.length)
  67765. return false;
  67766. if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
  67767. return false;
  67768. this._string_scanner$_position = t1 + 1;
  67769. return true;
  67770. },
  67771. expectChar$2$name(character, $name) {
  67772. if (this.scanChar$1(character))
  67773. return;
  67774. if ($name == null)
  67775. if (character === 92)
  67776. $name = '"\\"';
  67777. else
  67778. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  67779. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  67780. },
  67781. expectChar$1(character) {
  67782. return this.expectChar$2$name(character, null);
  67783. },
  67784. scan$1(pattern) {
  67785. var t1, _this = this,
  67786. success = _this.matches$1(pattern);
  67787. if (success) {
  67788. t1 = _this._lastMatch;
  67789. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  67790. }
  67791. return success;
  67792. },
  67793. expect$1(pattern) {
  67794. var t1, $name;
  67795. if (this.scan$1(pattern))
  67796. return;
  67797. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  67798. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  67799. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  67800. },
  67801. expectDone$0() {
  67802. var t1 = this._string_scanner$_position;
  67803. if (t1 === this.string.length)
  67804. return;
  67805. this.error$3$length$position(0, "expected no more input.", 0, t1);
  67806. },
  67807. matches$1(pattern) {
  67808. var _this = this,
  67809. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  67810. _this._lastMatch = t1;
  67811. _this._lastMatchPosition = _this._string_scanner$_position;
  67812. return t1 != null;
  67813. },
  67814. substring$1(_, start) {
  67815. var end = this._string_scanner$_position;
  67816. return B.JSString_methods.substring$2(this.string, start, end);
  67817. },
  67818. error$3$length$position(_, message, $length, position) {
  67819. var t1 = this.string;
  67820. A.validateErrorArgs(t1, null, position, $length);
  67821. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  67822. }
  67823. };
  67824. A.AsciiGlyphSet.prototype = {
  67825. glyphOrAscii$2(glyph, alternative) {
  67826. return alternative;
  67827. },
  67828. get$horizontalLine() {
  67829. return "-";
  67830. },
  67831. get$verticalLine() {
  67832. return "|";
  67833. },
  67834. get$topLeftCorner() {
  67835. return ",";
  67836. },
  67837. get$bottomLeftCorner() {
  67838. return "'";
  67839. },
  67840. get$cross() {
  67841. return "+";
  67842. },
  67843. get$upEnd() {
  67844. return "'";
  67845. },
  67846. get$downEnd() {
  67847. return ",";
  67848. },
  67849. get$horizontalLineBold() {
  67850. return "=";
  67851. }
  67852. };
  67853. A.UnicodeGlyphSet.prototype = {
  67854. glyphOrAscii$2(glyph, alternative) {
  67855. return glyph;
  67856. },
  67857. get$horizontalLine() {
  67858. return "\u2500";
  67859. },
  67860. get$verticalLine() {
  67861. return "\u2502";
  67862. },
  67863. get$topLeftCorner() {
  67864. return "\u250c";
  67865. },
  67866. get$bottomLeftCorner() {
  67867. return "\u2514";
  67868. },
  67869. get$cross() {
  67870. return "\u253c";
  67871. },
  67872. get$upEnd() {
  67873. return "\u2575";
  67874. },
  67875. get$downEnd() {
  67876. return "\u2577";
  67877. },
  67878. get$horizontalLineBold() {
  67879. return "\u2501";
  67880. }
  67881. };
  67882. A.Tuple2.prototype = {
  67883. toString$0(_) {
  67884. return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
  67885. },
  67886. $eq(_, other) {
  67887. if (other == null)
  67888. return false;
  67889. return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
  67890. },
  67891. get$hashCode(_) {
  67892. var t1 = J.get$hashCode$(this.item1),
  67893. t2 = J.get$hashCode$(this.item2);
  67894. return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
  67895. }
  67896. };
  67897. A.Tuple3.prototype = {
  67898. toString$0(_) {
  67899. return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
  67900. },
  67901. $eq(_, other) {
  67902. if (other == null)
  67903. return false;
  67904. return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
  67905. },
  67906. get$hashCode(_) {
  67907. var t3,
  67908. t1 = A.Primitives_objectHashCode(this.item1),
  67909. t2 = this.item2;
  67910. t2 = t2.get$hashCode(t2);
  67911. t3 = this.item3;
  67912. t3 = t3.get$hashCode(t3);
  67913. return A._finish(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)));
  67914. }
  67915. };
  67916. A.Tuple4.prototype = {
  67917. toString$0(_) {
  67918. var _this = this;
  67919. return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
  67920. },
  67921. $eq(_, other) {
  67922. var _this = this;
  67923. if (other == null)
  67924. return false;
  67925. return other instanceof A.Tuple4 && other.item1.$eq(0, _this.item1) && other.item2 === _this.item2 && other.item3 === _this.item3 && J.$eq$(other.item4, _this.item4);
  67926. },
  67927. get$hashCode(_) {
  67928. var t2, t3, t4, _this = this,
  67929. t1 = _this.item1;
  67930. t1 = t1.get$hashCode(t1);
  67931. t2 = B.JSBool_methods.get$hashCode(_this.item2);
  67932. t3 = A.Primitives_objectHashCode(_this.item3);
  67933. t4 = J.get$hashCode$(_this.item4);
  67934. return A._finish(A._combine(A._combine(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t3)), B.JSInt_methods.get$hashCode(t4)));
  67935. }
  67936. };
  67937. A.WatchEvent.prototype = {
  67938. toString$0(_) {
  67939. return this.type.toString$0(0) + " " + this.path;
  67940. }
  67941. };
  67942. A.ChangeType.prototype = {
  67943. toString$0(_) {
  67944. return this._watch_event$_name;
  67945. }
  67946. };
  67947. A.AnySelectorVisitor0.prototype = {
  67948. visitComplexSelector$1(complex) {
  67949. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  67950. },
  67951. visitCompoundSelector$1(compound) {
  67952. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  67953. },
  67954. visitPseudoSelector$1(pseudo) {
  67955. var selector = pseudo.selector;
  67956. return selector == null ? false : this.visitSelectorList$1(selector);
  67957. },
  67958. visitSelectorList$1(list) {
  67959. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67960. },
  67961. visitAttributeSelector$1(attribute) {
  67962. return false;
  67963. },
  67964. visitClassSelector$1(klass) {
  67965. return false;
  67966. },
  67967. visitIDSelector$1(id) {
  67968. return false;
  67969. },
  67970. visitParentSelector$1($parent) {
  67971. return false;
  67972. },
  67973. visitPlaceholderSelector$1(placeholder) {
  67974. return false;
  67975. },
  67976. visitTypeSelector$1(type) {
  67977. return false;
  67978. },
  67979. visitUniversalSelector$1(universal) {
  67980. return false;
  67981. }
  67982. };
  67983. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  67984. call$1(component) {
  67985. return this.$this.visitCompoundSelector$1(component.selector);
  67986. },
  67987. $signature: 51
  67988. };
  67989. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  67990. call$1(simple) {
  67991. return simple.accept$1(this.$this);
  67992. },
  67993. $signature: 13
  67994. };
  67995. A.SupportsAnything0.prototype = {
  67996. toString$0(_) {
  67997. return "(" + this.contents.toString$0(0) + ")";
  67998. },
  67999. $isAstNode0: 1,
  68000. get$span(receiver) {
  68001. return this.span;
  68002. }
  68003. };
  68004. A.Argument0.prototype = {
  68005. toString$0(_) {
  68006. var t1 = this.defaultValue,
  68007. t2 = this.name;
  68008. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  68009. },
  68010. $isAstNode0: 1,
  68011. get$span(receiver) {
  68012. return this.span;
  68013. }
  68014. };
  68015. A.ArgumentDeclaration0.prototype = {
  68016. get$spanWithName() {
  68017. var t3, t4,
  68018. t1 = this.span,
  68019. t2 = t1.file,
  68020. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  68021. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  68022. while (true) {
  68023. if (i > 0) {
  68024. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68025. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  68026. } else
  68027. t3 = false;
  68028. if (!t3)
  68029. break;
  68030. --i;
  68031. }
  68032. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68033. if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
  68034. return t1;
  68035. --i;
  68036. while (true) {
  68037. if (i >= 0) {
  68038. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68039. if (t3 !== 95) {
  68040. if (!(t3 >= 97 && t3 <= 122))
  68041. t4 = t3 >= 65 && t3 <= 90;
  68042. else
  68043. t4 = true;
  68044. t4 = t4 || t3 >= 128;
  68045. } else
  68046. t4 = true;
  68047. if (!t4)
  68048. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  68049. else
  68050. t3 = true;
  68051. } else
  68052. t3 = false;
  68053. if (!t3)
  68054. break;
  68055. --i;
  68056. }
  68057. t3 = i + 1;
  68058. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  68059. if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
  68060. return t1;
  68061. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  68062. },
  68063. verify$2(positional, names) {
  68064. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  68065. _s10_ = "invocation",
  68066. _s8_ = "argument";
  68067. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  68068. argument = t1[i];
  68069. if (i < positional) {
  68070. t4 = argument.name;
  68071. if (t3.containsKey$1(t4))
  68072. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  68073. } else {
  68074. t4 = argument.name;
  68075. if (t3.containsKey$1(t4))
  68076. ++namedUsed;
  68077. else if (argument.defaultValue == null)
  68078. throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument " + _this._argument_declaration$_originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  68079. }
  68080. }
  68081. if (_this.restArgument != null)
  68082. return;
  68083. if (positional > t2) {
  68084. t1 = names.get$isEmpty(names) ? "" : "positional ";
  68085. throw A.wrapException(A.MultiSpanSassScriptException$0("Only " + t2 + " " + t1 + A.pluralize0(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize0("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  68086. }
  68087. if (namedUsed < t3.get$length(t3)) {
  68088. t2 = type$.String;
  68089. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  68090. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  68091. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + A.S(A.toSentence0(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure2(), type$.Object), "or")) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  68092. }
  68093. },
  68094. _argument_declaration$_originalArgumentName$1($name) {
  68095. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  68096. if ($name === this.restArgument) {
  68097. t1 = this.span;
  68098. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  68099. return B.JSString_methods.substring$2(B.JSString_methods.substring$1(text, B.JSString_methods.lastIndexOf$1(text, "$")), 0, B.JSString_methods.indexOf$1(text, "."));
  68100. }
  68101. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  68102. argument = t1[_i];
  68103. if (argument.name === $name) {
  68104. t1 = argument.defaultValue;
  68105. t2 = argument.span;
  68106. t3 = t2.file;
  68107. t4 = t2._file$_start;
  68108. t2 = t2._end;
  68109. if (t1 == null) {
  68110. t1 = t3._decodedChars;
  68111. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  68112. } else {
  68113. t1 = t3._decodedChars;
  68114. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  68115. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  68116. end = A._lastNonWhitespace0(t1, false);
  68117. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  68118. }
  68119. return t1;
  68120. }
  68121. }
  68122. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  68123. },
  68124. matches$2(positional, names) {
  68125. var t1, t2, t3, namedUsed, i, argument;
  68126. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  68127. argument = t1[i];
  68128. if (i < positional) {
  68129. if (t3.containsKey$1(argument.name))
  68130. return false;
  68131. } else if (t3.containsKey$1(argument.name))
  68132. ++namedUsed;
  68133. else if (argument.defaultValue == null)
  68134. return false;
  68135. }
  68136. if (this.restArgument != null)
  68137. return true;
  68138. if (positional > t2)
  68139. return false;
  68140. if (namedUsed < t3.get$length(t3))
  68141. return false;
  68142. return true;
  68143. },
  68144. toString$0(_) {
  68145. var t2, t3, _i,
  68146. t1 = A._setArrayType([], type$.JSArray_String);
  68147. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  68148. t1.push("$" + A.S(t2[_i]));
  68149. t2 = this.restArgument;
  68150. if (t2 != null)
  68151. t1.push("$" + t2 + "...");
  68152. return B.JSArray_methods.join$1(t1, ", ");
  68153. },
  68154. $isAstNode0: 1,
  68155. get$span(receiver) {
  68156. return this.span;
  68157. }
  68158. };
  68159. A.ArgumentDeclaration_verify_closure1.prototype = {
  68160. call$1(argument) {
  68161. return argument.name;
  68162. },
  68163. $signature: 291
  68164. };
  68165. A.ArgumentDeclaration_verify_closure2.prototype = {
  68166. call$1($name) {
  68167. return "$" + $name;
  68168. },
  68169. $signature: 5
  68170. };
  68171. A.ArgumentInvocation0.prototype = {
  68172. get$isEmpty(_) {
  68173. var t1;
  68174. if (this.positional.length === 0) {
  68175. t1 = this.named;
  68176. t1 = t1.get$isEmpty(t1) && this.rest == null;
  68177. } else
  68178. t1 = false;
  68179. return t1;
  68180. },
  68181. toString$0(_) {
  68182. var t2, t3, t4, _this = this,
  68183. t1 = A.List_List$of(_this.positional, true, type$.Object);
  68184. for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
  68185. t4 = t3.get$current(t3);
  68186. t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
  68187. }
  68188. t2 = _this.rest;
  68189. if (t2 != null)
  68190. t1.push(t2.toString$0(0) + "...");
  68191. t2 = _this.keywordRest;
  68192. if (t2 != null)
  68193. t1.push(t2.toString$0(0) + "...");
  68194. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  68195. },
  68196. $isAstNode0: 1,
  68197. get$span(receiver) {
  68198. return this.span;
  68199. }
  68200. };
  68201. A.argumentListClass_closure.prototype = {
  68202. call$0() {
  68203. var t1 = type$.JSClass,
  68204. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  68205. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  68206. A.JSClassExtension_injectSuperclass(t1._as(A.SassArgumentList$0(A._setArrayType([], type$.JSArray_Value_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Value_2), B.ListSeparator_undecided_null_undecided0).constructor), jsClass);
  68207. return jsClass;
  68208. },
  68209. $signature: 25
  68210. };
  68211. A.argumentListClass__closure.prototype = {
  68212. call$4($self, contents, keywords, separator) {
  68213. var t3,
  68214. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  68215. t2 = type$.Value_2;
  68216. t1 = J.cast$1$0$ax(t1, t2);
  68217. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  68218. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  68219. },
  68220. call$3($self, contents, keywords) {
  68221. return this.call$4($self, contents, keywords, ",");
  68222. },
  68223. "call*": "call$4",
  68224. $requiredArgCount: 3,
  68225. $defaultValues() {
  68226. return [","];
  68227. },
  68228. $signature: 293
  68229. };
  68230. A.argumentListClass__closure0.prototype = {
  68231. call$1($self) {
  68232. $self._argument_list$_wereKeywordsAccessed = true;
  68233. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  68234. },
  68235. $signature: 294
  68236. };
  68237. A.SassArgumentList0.prototype = {};
  68238. A.JSArray1.prototype = {};
  68239. A.AsyncImporter0.prototype = {};
  68240. A.NodeToDartAsyncImporter.prototype = {
  68241. canonicalize$1(_, url) {
  68242. return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
  68243. },
  68244. canonicalize$body$NodeToDartAsyncImporter(_, url) {
  68245. var $async$goto = 0,
  68246. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  68247. $async$returnValue, $async$self = this, t1, result;
  68248. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68249. if ($async$errorCode === 1)
  68250. return A._asyncRethrow($async$result, $async$completer);
  68251. while (true)
  68252. switch ($async$goto) {
  68253. case 0:
  68254. // Function start
  68255. result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  68256. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  68257. break;
  68258. case 3:
  68259. // then
  68260. $async$goto = 5;
  68261. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  68262. case 5:
  68263. // returning from await.
  68264. result = $async$result;
  68265. case 4:
  68266. // join
  68267. if (result == null) {
  68268. $async$returnValue = null;
  68269. // goto return
  68270. $async$goto = 1;
  68271. break;
  68272. }
  68273. t1 = self.URL;
  68274. if (result instanceof t1) {
  68275. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  68276. // goto return
  68277. $async$goto = 1;
  68278. break;
  68279. }
  68280. A.jsThrow(new self.Error(string$.The_ca));
  68281. case 1:
  68282. // return
  68283. return A._asyncReturn($async$returnValue, $async$completer);
  68284. }
  68285. });
  68286. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  68287. },
  68288. load$1(_, url) {
  68289. return this.load$body$NodeToDartAsyncImporter(0, url);
  68290. },
  68291. load$body$NodeToDartAsyncImporter(_, url) {
  68292. var $async$goto = 0,
  68293. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
  68294. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  68295. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68296. if ($async$errorCode === 1)
  68297. return A._asyncRethrow($async$result, $async$completer);
  68298. while (true)
  68299. switch ($async$goto) {
  68300. case 0:
  68301. // Function start
  68302. result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
  68303. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  68304. break;
  68305. case 3:
  68306. // then
  68307. $async$goto = 5;
  68308. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  68309. case 5:
  68310. // returning from await.
  68311. result = $async$result;
  68312. case 4:
  68313. // join
  68314. if (result == null) {
  68315. $async$returnValue = null;
  68316. // goto return
  68317. $async$goto = 1;
  68318. break;
  68319. }
  68320. type$.NodeImporterResult._as(result);
  68321. t1 = J.getInterceptor$x(result);
  68322. contents = t1.get$contents(result);
  68323. syntax = t1.get$syntax(result);
  68324. if (contents == null || syntax == null)
  68325. A.jsThrow(new self.Error(string$.The_lo));
  68326. t2 = A.parseSyntax(syntax);
  68327. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  68328. // goto return
  68329. $async$goto = 1;
  68330. break;
  68331. case 1:
  68332. // return
  68333. return A._asyncReturn($async$returnValue, $async$completer);
  68334. }
  68335. });
  68336. return A._asyncStartSync($async$load$1, $async$completer);
  68337. }
  68338. };
  68339. A.AsyncBuiltInCallable0.prototype = {
  68340. callbackFor$2(positional, names) {
  68341. return new A.Tuple2(this._async_built_in0$_arguments, this._async_built_in0$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2);
  68342. },
  68343. $isAsyncCallable0: 1,
  68344. get$name(receiver) {
  68345. return this.name;
  68346. }
  68347. };
  68348. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  68349. call$1($arguments) {
  68350. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  68351. },
  68352. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  68353. var $async$goto = 0,
  68354. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  68355. $async$returnValue, $async$self = this;
  68356. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68357. if ($async$errorCode === 1)
  68358. return A._asyncRethrow($async$result, $async$completer);
  68359. while (true)
  68360. switch ($async$goto) {
  68361. case 0:
  68362. // Function start
  68363. $async$goto = 3;
  68364. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  68365. case 3:
  68366. // returning from await.
  68367. $async$returnValue = B.C__SassNull0;
  68368. // goto return
  68369. $async$goto = 1;
  68370. break;
  68371. case 1:
  68372. // return
  68373. return A._asyncReturn($async$returnValue, $async$completer);
  68374. }
  68375. });
  68376. return A._asyncStartSync($async$call$1, $async$completer);
  68377. },
  68378. $signature: 96
  68379. };
  68380. A._compileStylesheet_closure2.prototype = {
  68381. call$1(url) {
  68382. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  68383. },
  68384. $signature: 5
  68385. };
  68386. A.AsyncEnvironment0.prototype = {
  68387. closure$0() {
  68388. var t4, t5, t6, _this = this,
  68389. t1 = _this._async_environment0$_forwardedModules,
  68390. t2 = _this._async_environment0$_nestedForwardedModules,
  68391. t3 = _this._async_environment0$_variables;
  68392. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  68393. t4 = _this._async_environment0$_variableNodes;
  68394. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  68395. t5 = _this._async_environment0$_functions;
  68396. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  68397. t6 = _this._async_environment0$_mixins;
  68398. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  68399. return A.AsyncEnvironment$_0(_this._async_environment0$_modules, _this._async_environment0$_namespaceNodes, _this._async_environment0$_globalModules, _this._async_environment0$_importedModules, t1, t2, _this._async_environment0$_allModules, t3, t4, t5, t6, _this._async_environment0$_content);
  68400. },
  68401. addModule$3$namespace(module, nodeWithSpan, namespace) {
  68402. var t1, t2, span, _this = this;
  68403. if (namespace == null) {
  68404. _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  68405. _this._async_environment0$_allModules.push(module);
  68406. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
  68407. t2 = t1.get$current(t1);
  68408. if (module.get$variables().containsKey$1(t2))
  68409. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  68410. }
  68411. } else {
  68412. t1 = _this._async_environment0$_modules;
  68413. if (t1.containsKey$1(namespace)) {
  68414. t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
  68415. span = t1 == null ? null : t1.span;
  68416. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  68417. if (span != null)
  68418. t1.$indexSet(0, span, "original @use");
  68419. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  68420. }
  68421. t1.$indexSet(0, namespace, module);
  68422. _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  68423. _this._async_environment0$_allModules.push(module);
  68424. }
  68425. },
  68426. forwardModule$2(module, rule) {
  68427. var view, t1, t2, _this = this,
  68428. forwardedModules = _this._async_environment0$_forwardedModules;
  68429. if (forwardedModules == null)
  68430. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68431. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  68432. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  68433. t2 = t1.__js_helper$_current;
  68434. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  68435. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  68436. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  68437. }
  68438. _this._async_environment0$_allModules.push(module);
  68439. forwardedModules.$indexSet(0, view, rule);
  68440. },
  68441. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  68442. var larger, smaller, t1, t2, $name, span;
  68443. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  68444. larger = oldMembers;
  68445. smaller = newMembers;
  68446. } else {
  68447. larger = newMembers;
  68448. smaller = oldMembers;
  68449. }
  68450. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  68451. $name = t1.get$current(t1);
  68452. if (!larger.containsKey$1($name))
  68453. continue;
  68454. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  68455. continue;
  68456. if (t2)
  68457. $name = "$" + $name;
  68458. t1 = this._async_environment0$_forwardedModules;
  68459. if (t1 == null)
  68460. span = null;
  68461. else {
  68462. t1 = t1.$index(0, oldModule);
  68463. span = t1 == null ? null : J.get$span$z(t1);
  68464. }
  68465. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  68466. if (span != null)
  68467. t1.$indexSet(0, span, "original @forward");
  68468. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  68469. }
  68470. },
  68471. importForwards$1(module) {
  68472. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  68473. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  68474. if (forwarded == null)
  68475. return;
  68476. forwardedModules = _this._async_environment0$_forwardedModules;
  68477. if (forwardedModules != null) {
  68478. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68479. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
  68480. t4 = t2.get$current(t2);
  68481. t5 = t4.key;
  68482. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  68483. t1.$indexSet(0, t5, t4.value);
  68484. }
  68485. forwarded = t1;
  68486. } else
  68487. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68488. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  68489. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  68490. t3 = t2._eval$1("Iterable.E");
  68491. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
  68492. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
  68493. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
  68494. t2 = _this._async_environment0$_variables;
  68495. t3 = t2.length;
  68496. if (t3 === 1) {
  68497. for (t1 = _this._async_environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.AsyncCallable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  68498. entry = t3[_i];
  68499. module = entry.key;
  68500. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  68501. if (shadowed != null) {
  68502. t1.remove$1(0, module);
  68503. t6 = shadowed.variables;
  68504. if (t6.get$isEmpty(t6)) {
  68505. t6 = shadowed.functions;
  68506. if (t6.get$isEmpty(t6)) {
  68507. t6 = shadowed.mixins;
  68508. if (t6.get$isEmpty(t6)) {
  68509. t6 = shadowed._shadowed_view0$_inner;
  68510. t6 = t6.get$css(t6);
  68511. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  68512. } else
  68513. t6 = false;
  68514. } else
  68515. t6 = false;
  68516. } else
  68517. t6 = false;
  68518. if (!t6)
  68519. t1.$indexSet(0, shadowed, entry.value);
  68520. }
  68521. }
  68522. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  68523. entry = t3[_i];
  68524. module = entry.key;
  68525. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  68526. if (shadowed != null) {
  68527. forwardedModules.remove$1(0, module);
  68528. t6 = shadowed.variables;
  68529. if (t6.get$isEmpty(t6)) {
  68530. t6 = shadowed.functions;
  68531. if (t6.get$isEmpty(t6)) {
  68532. t6 = shadowed.mixins;
  68533. if (t6.get$isEmpty(t6)) {
  68534. t6 = shadowed._shadowed_view0$_inner;
  68535. t6 = t6.get$css(t6);
  68536. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  68537. } else
  68538. t6 = false;
  68539. } else
  68540. t6 = false;
  68541. } else
  68542. t6 = false;
  68543. if (!t6)
  68544. forwardedModules.$indexSet(0, shadowed, entry.value);
  68545. }
  68546. }
  68547. t1.addAll$1(0, forwarded);
  68548. forwardedModules.addAll$1(0, forwarded);
  68549. } else {
  68550. t4 = _this._async_environment0$_nestedForwardedModules;
  68551. if (t4 == null) {
  68552. _length = t3 - 1;
  68553. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  68554. for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  68555. _list[_i] = A._setArrayType([], t3);
  68556. _this._async_environment0$_nestedForwardedModules = _list;
  68557. t3 = _list;
  68558. } else
  68559. t3 = t4;
  68560. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  68561. }
  68562. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._async_environment0$_variableIndices, t4 = _this._async_environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68563. t6 = t1._collection$_current;
  68564. if (t6 == null)
  68565. t6 = t5._as(t6);
  68566. t3.remove$1(0, t6);
  68567. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  68568. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  68569. }
  68570. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._async_environment0$_functionIndices, t3 = _this._async_environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68571. t5 = t1._collection$_current;
  68572. if (t5 == null)
  68573. t5 = t4._as(t5);
  68574. t2.remove$1(0, t5);
  68575. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  68576. }
  68577. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68578. t5 = t1._collection$_current;
  68579. if (t5 == null)
  68580. t5 = t4._as(t5);
  68581. t2.remove$1(0, t5);
  68582. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  68583. }
  68584. },
  68585. getVariable$2$namespace($name, namespace) {
  68586. var t1, index, _this = this;
  68587. if (namespace != null)
  68588. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  68589. if (_this._async_environment0$_lastVariableName === $name) {
  68590. t1 = _this._async_environment0$_lastVariableIndex;
  68591. t1.toString;
  68592. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  68593. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68594. }
  68595. t1 = _this._async_environment0$_variableIndices;
  68596. index = t1.$index(0, $name);
  68597. if (index != null) {
  68598. _this._async_environment0$_lastVariableName = $name;
  68599. _this._async_environment0$_lastVariableIndex = index;
  68600. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  68601. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68602. }
  68603. index = _this._async_environment0$_variableIndex$1($name);
  68604. if (index == null)
  68605. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  68606. _this._async_environment0$_lastVariableName = $name;
  68607. _this._async_environment0$_lastVariableIndex = index;
  68608. t1.$indexSet(0, $name, index);
  68609. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  68610. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68611. },
  68612. getVariable$1($name) {
  68613. return this.getVariable$2$namespace($name, null);
  68614. },
  68615. _async_environment0$_getVariableFromGlobalModule$1($name) {
  68616. return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  68617. },
  68618. getVariableNode$2$namespace($name, namespace) {
  68619. var t1, index, _this = this;
  68620. if (namespace != null)
  68621. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  68622. if (_this._async_environment0$_lastVariableName === $name) {
  68623. t1 = _this._async_environment0$_lastVariableIndex;
  68624. t1.toString;
  68625. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  68626. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68627. }
  68628. t1 = _this._async_environment0$_variableIndices;
  68629. index = t1.$index(0, $name);
  68630. if (index != null) {
  68631. _this._async_environment0$_lastVariableName = $name;
  68632. _this._async_environment0$_lastVariableIndex = index;
  68633. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  68634. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68635. }
  68636. index = _this._async_environment0$_variableIndex$1($name);
  68637. if (index == null)
  68638. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  68639. _this._async_environment0$_lastVariableName = $name;
  68640. _this._async_environment0$_lastVariableIndex = index;
  68641. t1.$indexSet(0, $name, index);
  68642. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  68643. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68644. },
  68645. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  68646. var t1, t2, value;
  68647. for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  68648. t1 = t2._currentIterator;
  68649. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  68650. if (value != null)
  68651. return value;
  68652. }
  68653. return null;
  68654. },
  68655. globalVariableExists$2$namespace($name, namespace) {
  68656. if (namespace != null)
  68657. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  68658. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  68659. return true;
  68660. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  68661. },
  68662. globalVariableExists$1($name) {
  68663. return this.globalVariableExists$2$namespace($name, null);
  68664. },
  68665. _async_environment0$_variableIndex$1($name) {
  68666. var t1, i;
  68667. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  68668. if (t1[i].containsKey$1($name))
  68669. return i;
  68670. return null;
  68671. },
  68672. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  68673. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  68674. if (namespace != null) {
  68675. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  68676. return;
  68677. }
  68678. if (global || _this._async_environment0$_variables.length === 1) {
  68679. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  68680. t1 = _this._async_environment0$_variables;
  68681. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  68682. moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
  68683. if (moduleWithName != null) {
  68684. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  68685. return;
  68686. }
  68687. }
  68688. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  68689. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  68690. return;
  68691. }
  68692. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  68693. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  68694. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  68695. t3 = t1.__internal$_current;
  68696. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  68697. t5 = t3.__internal$_current;
  68698. if (t5 == null)
  68699. t5 = t4._as(t5);
  68700. if (t5.get$variables().containsKey$1($name)) {
  68701. t5.setVariable$3($name, value, nodeWithSpan);
  68702. return;
  68703. }
  68704. }
  68705. }
  68706. if (_this._async_environment0$_lastVariableName === $name) {
  68707. t1 = _this._async_environment0$_lastVariableIndex;
  68708. t1.toString;
  68709. index = t1;
  68710. } else
  68711. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  68712. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  68713. index = _this._async_environment0$_variables.length - 1;
  68714. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  68715. }
  68716. _this._async_environment0$_lastVariableName = $name;
  68717. _this._async_environment0$_lastVariableIndex = index;
  68718. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  68719. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  68720. },
  68721. setVariable$4$global($name, value, nodeWithSpan, global) {
  68722. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  68723. },
  68724. setLocalVariable$3($name, value, nodeWithSpan) {
  68725. var index, _this = this,
  68726. t1 = _this._async_environment0$_variables,
  68727. t2 = t1.length;
  68728. _this._async_environment0$_lastVariableName = $name;
  68729. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  68730. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  68731. J.$indexSet$ax(t1[index], $name, value);
  68732. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  68733. },
  68734. getFunction$2$namespace($name, namespace) {
  68735. var t1, index, _this = this;
  68736. if (namespace != null) {
  68737. t1 = _this._async_environment0$_getModule$1(namespace);
  68738. return t1.get$functions(t1).$index(0, $name);
  68739. }
  68740. t1 = _this._async_environment0$_functionIndices;
  68741. index = t1.$index(0, $name);
  68742. if (index != null) {
  68743. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  68744. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  68745. }
  68746. index = _this._async_environment0$_functionIndex$1($name);
  68747. if (index == null)
  68748. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  68749. t1.$indexSet(0, $name, index);
  68750. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  68751. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  68752. },
  68753. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  68754. return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  68755. },
  68756. _async_environment0$_functionIndex$1($name) {
  68757. var t1, i;
  68758. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  68759. if (t1[i].containsKey$1($name))
  68760. return i;
  68761. return null;
  68762. },
  68763. getMixin$2$namespace($name, namespace) {
  68764. var t1, index, _this = this;
  68765. if (namespace != null)
  68766. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  68767. t1 = _this._async_environment0$_mixinIndices;
  68768. index = t1.$index(0, $name);
  68769. if (index != null) {
  68770. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  68771. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  68772. }
  68773. index = _this._async_environment0$_mixinIndex$1($name);
  68774. if (index == null)
  68775. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  68776. t1.$indexSet(0, $name, index);
  68777. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  68778. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  68779. },
  68780. _async_environment0$_getMixinFromGlobalModule$1($name) {
  68781. return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  68782. },
  68783. _async_environment0$_mixinIndex$1($name) {
  68784. var t1, i;
  68785. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  68786. if (t1[i].containsKey$1($name))
  68787. return i;
  68788. return null;
  68789. },
  68790. withContent$2($content, callback) {
  68791. return this.withContent$body$AsyncEnvironment0($content, callback);
  68792. },
  68793. withContent$body$AsyncEnvironment0($content, callback) {
  68794. var $async$goto = 0,
  68795. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68796. $async$self = this, oldContent;
  68797. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68798. if ($async$errorCode === 1)
  68799. return A._asyncRethrow($async$result, $async$completer);
  68800. while (true)
  68801. switch ($async$goto) {
  68802. case 0:
  68803. // Function start
  68804. oldContent = $async$self._async_environment0$_content;
  68805. $async$self._async_environment0$_content = $content;
  68806. $async$goto = 2;
  68807. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  68808. case 2:
  68809. // returning from await.
  68810. $async$self._async_environment0$_content = oldContent;
  68811. // implicit return
  68812. return A._asyncReturn(null, $async$completer);
  68813. }
  68814. });
  68815. return A._asyncStartSync($async$withContent$2, $async$completer);
  68816. },
  68817. asMixin$1(callback) {
  68818. var $async$goto = 0,
  68819. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68820. $async$self = this, oldInMixin;
  68821. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68822. if ($async$errorCode === 1)
  68823. return A._asyncRethrow($async$result, $async$completer);
  68824. while (true)
  68825. switch ($async$goto) {
  68826. case 0:
  68827. // Function start
  68828. oldInMixin = $async$self._async_environment0$_inMixin;
  68829. $async$self._async_environment0$_inMixin = true;
  68830. $async$goto = 2;
  68831. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  68832. case 2:
  68833. // returning from await.
  68834. $async$self._async_environment0$_inMixin = oldInMixin;
  68835. // implicit return
  68836. return A._asyncReturn(null, $async$completer);
  68837. }
  68838. });
  68839. return A._asyncStartSync($async$asMixin$1, $async$completer);
  68840. },
  68841. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  68842. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  68843. },
  68844. scope$1$1(callback, $T) {
  68845. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  68846. },
  68847. scope$1$2$when(callback, when, $T) {
  68848. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  68849. },
  68850. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  68851. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  68852. },
  68853. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  68854. var $async$goto = 0,
  68855. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68856. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  68857. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68858. if ($async$errorCode === 1) {
  68859. $async$currentError = $async$result;
  68860. $async$goto = $async$handler;
  68861. }
  68862. while (true)
  68863. switch ($async$goto) {
  68864. case 0:
  68865. // Function start
  68866. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  68867. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  68868. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  68869. $async$goto = !when ? 3 : 4;
  68870. break;
  68871. case 3:
  68872. // then
  68873. $async$handler = 5;
  68874. $async$goto = 8;
  68875. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  68876. case 8:
  68877. // returning from await.
  68878. t1 = $async$result;
  68879. $async$returnValue = t1;
  68880. $async$next = [1];
  68881. // goto finally
  68882. $async$goto = 6;
  68883. break;
  68884. $async$next.push(7);
  68885. // goto finally
  68886. $async$goto = 6;
  68887. break;
  68888. case 5:
  68889. // uncaught
  68890. $async$next = [2];
  68891. case 6:
  68892. // finally
  68893. $async$handler = 2;
  68894. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  68895. // goto the next finally handler
  68896. $async$goto = $async$next.pop();
  68897. break;
  68898. case 7:
  68899. // after finally
  68900. case 4:
  68901. // join
  68902. t1 = $async$self._async_environment0$_variables;
  68903. t2 = type$.String;
  68904. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  68905. t3 = $async$self._async_environment0$_variableNodes;
  68906. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  68907. t4 = $async$self._async_environment0$_functions;
  68908. t5 = type$.AsyncCallable_2;
  68909. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  68910. t6 = $async$self._async_environment0$_mixins;
  68911. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  68912. t5 = $async$self._async_environment0$_nestedForwardedModules;
  68913. if (t5 != null)
  68914. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  68915. $async$handler = 9;
  68916. $async$goto = 12;
  68917. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  68918. case 12:
  68919. // returning from await.
  68920. t2 = $async$result;
  68921. $async$returnValue = t2;
  68922. $async$next = [1];
  68923. // goto finally
  68924. $async$goto = 10;
  68925. break;
  68926. $async$next.push(11);
  68927. // goto finally
  68928. $async$goto = 10;
  68929. break;
  68930. case 9:
  68931. // uncaught
  68932. $async$next = [2];
  68933. case 10:
  68934. // finally
  68935. $async$handler = 2;
  68936. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  68937. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  68938. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
  68939. $name = t1.get$current(t1);
  68940. t2.remove$1(0, $name);
  68941. }
  68942. B.JSArray_methods.removeLast$0(t3);
  68943. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
  68944. name0 = t1.get$current(t1);
  68945. t2.remove$1(0, name0);
  68946. }
  68947. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
  68948. name1 = t1.get$current(t1);
  68949. t2.remove$1(0, name1);
  68950. }
  68951. t1 = $async$self._async_environment0$_nestedForwardedModules;
  68952. if (t1 != null)
  68953. t1.pop();
  68954. // goto the next finally handler
  68955. $async$goto = $async$next.pop();
  68956. break;
  68957. case 11:
  68958. // after finally
  68959. case 1:
  68960. // return
  68961. return A._asyncReturn($async$returnValue, $async$completer);
  68962. case 2:
  68963. // rethrow
  68964. return A._asyncRethrow($async$currentError, $async$completer);
  68965. }
  68966. });
  68967. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  68968. },
  68969. toImplicitConfiguration$0() {
  68970. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  68971. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  68972. for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  68973. values = t1[i];
  68974. nodes = t2[i];
  68975. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68976. t4 = t3.get$current(t3);
  68977. t5 = t4.key;
  68978. t4 = t4.value;
  68979. t6 = nodes.$index(0, t5);
  68980. t6.toString;
  68981. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  68982. }
  68983. }
  68984. return new A.Configuration0(configuration, null);
  68985. },
  68986. toModule$2(css, extensionStore) {
  68987. return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  68988. },
  68989. toDummyModule$0() {
  68990. return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty16, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  68991. },
  68992. _async_environment0$_getModule$1(namespace) {
  68993. var module = this._async_environment0$_modules.$index(0, namespace);
  68994. if (module != null)
  68995. return module;
  68996. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  68997. },
  68998. _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
  68999. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  69000. nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
  69001. if (nestedForwardedModules != null)
  69002. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  69003. t3 = t1.__internal$_current;
  69004. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  69005. t5 = t3.__internal$_current;
  69006. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  69007. if (value != null)
  69008. return value;
  69009. }
  69010. }
  69011. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  69012. value = callback.call$1(t1.__js_helper$_current);
  69013. if (value != null)
  69014. return value;
  69015. }
  69016. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  69017. t4 = t2.__js_helper$_current;
  69018. valueInModule = callback.call$1(t4);
  69019. if (valueInModule == null)
  69020. continue;
  69021. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  69022. if (identityFromModule.$eq(0, identity))
  69023. continue;
  69024. if (value != null) {
  69025. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  69026. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  69027. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  69028. t4 = t1.get$current(t1);
  69029. if (t4 != null)
  69030. t2.$indexSet(0, t4, t3);
  69031. }
  69032. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  69033. }
  69034. identity = identityFromModule;
  69035. value = valueInModule;
  69036. }
  69037. return value;
  69038. }
  69039. };
  69040. A.AsyncEnvironment_importForwards_closure2.prototype = {
  69041. call$1(module) {
  69042. var t1 = module.get$variables();
  69043. return t1.get$keys(t1);
  69044. },
  69045. $signature: 103
  69046. };
  69047. A.AsyncEnvironment_importForwards_closure3.prototype = {
  69048. call$1(module) {
  69049. var t1 = module.get$functions(module);
  69050. return t1.get$keys(t1);
  69051. },
  69052. $signature: 103
  69053. };
  69054. A.AsyncEnvironment_importForwards_closure4.prototype = {
  69055. call$1(module) {
  69056. var t1 = module.get$mixins();
  69057. return t1.get$keys(t1);
  69058. },
  69059. $signature: 103
  69060. };
  69061. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  69062. call$1(module) {
  69063. return module.get$variables().$index(0, this.name);
  69064. },
  69065. $signature: 297
  69066. };
  69067. A.AsyncEnvironment_setVariable_closure2.prototype = {
  69068. call$0() {
  69069. var t1 = this.$this;
  69070. t1._async_environment0$_lastVariableName = this.name;
  69071. return t1._async_environment0$_lastVariableIndex = 0;
  69072. },
  69073. $signature: 12
  69074. };
  69075. A.AsyncEnvironment_setVariable_closure3.prototype = {
  69076. call$1(module) {
  69077. return module.get$variables().containsKey$1(this.name) ? module : null;
  69078. },
  69079. $signature: 298
  69080. };
  69081. A.AsyncEnvironment_setVariable_closure4.prototype = {
  69082. call$0() {
  69083. var t1 = this.$this,
  69084. t2 = t1._async_environment0$_variableIndex$1(this.name);
  69085. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  69086. },
  69087. $signature: 12
  69088. };
  69089. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  69090. call$1(module) {
  69091. return module.get$functions(module).$index(0, this.name);
  69092. },
  69093. $signature: 157
  69094. };
  69095. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  69096. call$1(module) {
  69097. return module.get$mixins().$index(0, this.name);
  69098. },
  69099. $signature: 157
  69100. };
  69101. A.AsyncEnvironment_toModule_closure0.prototype = {
  69102. call$1(modules) {
  69103. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  69104. },
  69105. $signature: 158
  69106. };
  69107. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  69108. call$1(modules) {
  69109. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  69110. },
  69111. $signature: 158
  69112. };
  69113. A.AsyncEnvironment__fromOneModule_closure0.prototype = {
  69114. call$1(entry) {
  69115. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
  69116. },
  69117. $signature: 301
  69118. };
  69119. A.AsyncEnvironment__fromOneModule__closure0.prototype = {
  69120. call$1(_) {
  69121. return J.get$span$z(this.entry.value);
  69122. },
  69123. $signature() {
  69124. return this.T._eval$1("FileSpan(0)");
  69125. }
  69126. };
  69127. A._EnvironmentModule2.prototype = {
  69128. get$url(_) {
  69129. var t1 = this.css;
  69130. return t1.get$span(t1).file.url;
  69131. },
  69132. setVariable$3($name, value, nodeWithSpan) {
  69133. var t1, t2,
  69134. module = this._async_environment0$_modulesByVariable.$index(0, $name);
  69135. if (module != null) {
  69136. module.setVariable$3($name, value, nodeWithSpan);
  69137. return;
  69138. }
  69139. t1 = this._async_environment0$_environment;
  69140. t2 = t1._async_environment0$_variables;
  69141. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  69142. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  69143. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  69144. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  69145. return;
  69146. },
  69147. variableIdentity$1($name) {
  69148. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  69149. return module == null ? this : module.variableIdentity$1($name);
  69150. },
  69151. cloneCss$0() {
  69152. var newCssAndExtensionStore, _this = this,
  69153. t1 = _this.css;
  69154. if (J.get$isEmpty$asx(t1.get$children(t1)))
  69155. return _this;
  69156. newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
  69157. return A._EnvironmentModule$_2(_this._async_environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
  69158. },
  69159. toString$0(_) {
  69160. var t1 = this.css;
  69161. if (t1.get$span(t1).file.url == null)
  69162. t1 = "<unknown url>";
  69163. else {
  69164. t1 = t1.get$span(t1);
  69165. t1 = $.$get$context().prettyUri$1(t1.file.url);
  69166. }
  69167. return t1;
  69168. },
  69169. $isModule0: 1,
  69170. get$upstream() {
  69171. return this.upstream;
  69172. },
  69173. get$variables() {
  69174. return this.variables;
  69175. },
  69176. get$variableNodes() {
  69177. return this.variableNodes;
  69178. },
  69179. get$functions(receiver) {
  69180. return this.functions;
  69181. },
  69182. get$mixins() {
  69183. return this.mixins;
  69184. },
  69185. get$extensionStore() {
  69186. return this.extensionStore;
  69187. },
  69188. get$css(receiver) {
  69189. return this.css;
  69190. },
  69191. get$transitivelyContainsCss() {
  69192. return this.transitivelyContainsCss;
  69193. },
  69194. get$transitivelyContainsExtensions() {
  69195. return this.transitivelyContainsExtensions;
  69196. }
  69197. };
  69198. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  69199. call$1(module) {
  69200. return module.get$variables();
  69201. },
  69202. $signature: 302
  69203. };
  69204. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  69205. call$1(module) {
  69206. return module.get$variableNodes();
  69207. },
  69208. $signature: 303
  69209. };
  69210. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  69211. call$1(module) {
  69212. return module.get$functions(module);
  69213. },
  69214. $signature: 159
  69215. };
  69216. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  69217. call$1(module) {
  69218. return module.get$mixins();
  69219. },
  69220. $signature: 159
  69221. };
  69222. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  69223. call$1(module) {
  69224. return module.get$transitivelyContainsCss();
  69225. },
  69226. $signature: 102
  69227. };
  69228. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  69229. call$1(module) {
  69230. return module.get$transitivelyContainsExtensions();
  69231. },
  69232. $signature: 102
  69233. };
  69234. A._EvaluateVisitor2.prototype = {
  69235. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  69236. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  69237. _s20_ = "$name, $module: null",
  69238. _s9_ = "sass:meta",
  69239. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  69240. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure35(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure36(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure37(_this))], t1),
  69241. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
  69242. t1 = type$.AsyncBuiltInCallable_2;
  69243. t2 = A.List_List$of($.$get$global6(), true, t1);
  69244. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  69245. B.JSArray_methods.addAll$1(t2, metaFunctions);
  69246. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  69247. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncBuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  69248. module = t1[_i];
  69249. t3.$indexSet(0, module.url, module);
  69250. }
  69251. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  69252. B.JSArray_methods.addAll$1(t1, functions);
  69253. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  69254. B.JSArray_methods.addAll$1(t1, metaFunctions);
  69255. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  69256. $function = t1[_i];
  69257. t4 = J.get$name$x($function);
  69258. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  69259. }
  69260. },
  69261. run$2(_, importer, node) {
  69262. return this.run$body$_EvaluateVisitor0(0, importer, node);
  69263. },
  69264. run$body$_EvaluateVisitor0(_, importer, node) {
  69265. var $async$goto = 0,
  69266. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  69267. $async$returnValue, $async$self = this, t1;
  69268. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69269. if ($async$errorCode === 1)
  69270. return A._asyncRethrow($async$result, $async$completer);
  69271. while (true)
  69272. switch ($async$goto) {
  69273. case 0:
  69274. // Function start
  69275. t1 = type$.nullable_Object;
  69276. $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult_2);
  69277. // goto return
  69278. $async$goto = 1;
  69279. break;
  69280. case 1:
  69281. // return
  69282. return A._asyncReturn($async$returnValue, $async$completer);
  69283. }
  69284. });
  69285. return A._asyncStartSync($async$run$2, $async$completer);
  69286. },
  69287. _async_evaluate0$_assertInModule$1$2(value, $name) {
  69288. if (value != null)
  69289. return value;
  69290. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  69291. },
  69292. _async_evaluate0$_assertInModule$2(value, $name) {
  69293. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  69294. },
  69295. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  69296. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  69297. },
  69298. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  69299. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  69300. },
  69301. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  69302. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  69303. },
  69304. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  69305. var $async$goto = 0,
  69306. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69307. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  69308. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69309. if ($async$errorCode === 1)
  69310. return A._asyncRethrow($async$result, $async$completer);
  69311. while (true)
  69312. switch ($async$goto) {
  69313. case 0:
  69314. // Function start
  69315. builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  69316. $async$goto = builtInModule != null ? 3 : 4;
  69317. break;
  69318. case 3:
  69319. // then
  69320. if (configuration instanceof A.ExplicitConfiguration0) {
  69321. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  69322. t2 = configuration.nodeWithSpan;
  69323. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  69324. }
  69325. $async$goto = 5;
  69326. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(callback, builtInModule), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  69327. case 5:
  69328. // returning from await.
  69329. // goto return
  69330. $async$goto = 1;
  69331. break;
  69332. case 4:
  69333. // join
  69334. $async$goto = 6;
  69335. return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure6($async$self, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback), type$.Null), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  69336. case 6:
  69337. // returning from await.
  69338. case 1:
  69339. // return
  69340. return A._asyncReturn($async$returnValue, $async$completer);
  69341. }
  69342. });
  69343. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  69344. },
  69345. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  69346. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  69347. },
  69348. _async_evaluate0$_execute$2(importer, stylesheet) {
  69349. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  69350. },
  69351. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  69352. var $async$goto = 0,
  69353. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  69354. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
  69355. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69356. if ($async$errorCode === 1)
  69357. return A._asyncRethrow($async$result, $async$completer);
  69358. while (true)
  69359. switch ($async$goto) {
  69360. case 0:
  69361. // Function start
  69362. url = stylesheet.span.file.url;
  69363. t1 = $async$self._async_evaluate0$_modules;
  69364. alreadyLoaded = t1.$index(0, url);
  69365. if (alreadyLoaded != null) {
  69366. t1 = configuration == null;
  69367. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  69368. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  69369. t3 = t2._configuration$__originalConfiguration;
  69370. t2 = t3 == null ? t2 : t3;
  69371. t3 = currentConfiguration._configuration$__originalConfiguration;
  69372. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  69373. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  69374. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  69375. existingSpan = t2 == null ? null : J.get$span$z(t2);
  69376. if (t1) {
  69377. t1 = currentConfiguration.nodeWithSpan;
  69378. configurationSpan = t1.get$span(t1);
  69379. } else
  69380. configurationSpan = null;
  69381. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  69382. if (existingSpan != null)
  69383. t1.$indexSet(0, existingSpan, "original load");
  69384. if (configurationSpan != null)
  69385. t1.$indexSet(0, configurationSpan, "configuration");
  69386. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  69387. }
  69388. $async$returnValue = alreadyLoaded;
  69389. // goto return
  69390. $async$goto = 1;
  69391. break;
  69392. }
  69393. environment = A.AsyncEnvironment$0();
  69394. css = A._Cell$();
  69395. extensionStore = A.ExtensionStore$0();
  69396. $async$goto = 3;
  69397. return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
  69398. case 3:
  69399. // returning from await.
  69400. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  69401. if (url != null) {
  69402. t1.$indexSet(0, url, module);
  69403. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  69404. if (nodeWithSpan != null)
  69405. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  69406. }
  69407. $async$returnValue = module;
  69408. // goto return
  69409. $async$goto = 1;
  69410. break;
  69411. case 1:
  69412. // return
  69413. return A._asyncReturn($async$returnValue, $async$completer);
  69414. }
  69415. });
  69416. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  69417. },
  69418. _async_evaluate0$_addOutOfOrderImports$0() {
  69419. var t1, t2, _this = this, _s5_ = "_root",
  69420. _s13_ = "_endOfImports",
  69421. outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
  69422. if (outOfOrderImports == null)
  69423. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69424. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69425. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
  69426. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  69427. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69428. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  69429. return t1;
  69430. },
  69431. _async_evaluate0$_combineCss$2$clone(root, clone) {
  69432. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  69433. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
  69434. selectors = root.get$extensionStore().get$simpleSelectors();
  69435. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
  69436. if (unsatisfiedExtension != null)
  69437. _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  69438. return root.get$css(root);
  69439. }
  69440. sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
  69441. if (clone) {
  69442. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
  69443. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
  69444. }
  69445. _this._async_evaluate0$_extendModules$1(sortedModules);
  69446. t1 = type$.JSArray_CssNode_2;
  69447. imports = A._setArrayType([], t1);
  69448. css = A._setArrayType([], t1);
  69449. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  69450. t3 = t1.__internal$_current;
  69451. if (t3 == null)
  69452. t3 = t2._as(t3);
  69453. t3 = t3.get$css(t3);
  69454. statements = t3.get$children(t3);
  69455. index = _this._async_evaluate0$_indexAfterImports$1(statements);
  69456. t3 = J.getInterceptor$ax(statements);
  69457. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  69458. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  69459. }
  69460. t1 = B.JSArray_methods.$add(imports, css);
  69461. t2 = root.get$css(root);
  69462. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  69463. },
  69464. _async_evaluate0$_combineCss$1(root) {
  69465. return this._async_evaluate0$_combineCss$2$clone(root, false);
  69466. },
  69467. _async_evaluate0$_extendModules$1(sortedModules) {
  69468. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  69469. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  69470. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  69471. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  69472. t2 = t1.get$current(t1);
  69473. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  69474. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  69475. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  69476. t3 = t2.get$extensionStore().get$addExtensions();
  69477. if ($self != null)
  69478. t3.call$1($self);
  69479. t3 = t2.get$extensionStore();
  69480. if (t3.get$isEmpty(t3))
  69481. continue;
  69482. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  69483. upstream = t3[_i];
  69484. url = upstream.get$url(upstream);
  69485. if (url == null)
  69486. continue;
  69487. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
  69488. }
  69489. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  69490. }
  69491. if (unsatisfiedExtensions._collection$_length !== 0)
  69492. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  69493. },
  69494. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  69495. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  69496. },
  69497. _async_evaluate0$_topologicalModules$1(root) {
  69498. var t1 = type$.Module_AsyncCallable_2,
  69499. sorted = A.QueueList$(null, t1);
  69500. new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  69501. return sorted;
  69502. },
  69503. _async_evaluate0$_indexAfterImports$1(statements) {
  69504. var t1, t2, t3, lastImport, i, statement;
  69505. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  69506. statement = t1.$index(statements, i);
  69507. if (t3._is(statement))
  69508. lastImport = i;
  69509. else if (!t2._is(statement))
  69510. break;
  69511. }
  69512. return lastImport + 1;
  69513. },
  69514. visitStylesheet$1(node) {
  69515. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  69516. },
  69517. visitStylesheet$body$_EvaluateVisitor0(node) {
  69518. var $async$goto = 0,
  69519. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69520. $async$returnValue, $async$self = this, t1, t2, _i;
  69521. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69522. if ($async$errorCode === 1)
  69523. return A._asyncRethrow($async$result, $async$completer);
  69524. while (true)
  69525. switch ($async$goto) {
  69526. case 0:
  69527. // Function start
  69528. t1 = node.children, t2 = t1.length, _i = 0;
  69529. case 3:
  69530. // for condition
  69531. if (!(_i < t2)) {
  69532. // goto after for
  69533. $async$goto = 5;
  69534. break;
  69535. }
  69536. $async$goto = 6;
  69537. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  69538. case 6:
  69539. // returning from await.
  69540. case 4:
  69541. // for update
  69542. ++_i;
  69543. // goto for condition
  69544. $async$goto = 3;
  69545. break;
  69546. case 5:
  69547. // after for
  69548. $async$returnValue = null;
  69549. // goto return
  69550. $async$goto = 1;
  69551. break;
  69552. case 1:
  69553. // return
  69554. return A._asyncReturn($async$returnValue, $async$completer);
  69555. }
  69556. });
  69557. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  69558. },
  69559. visitAtRootRule$1(node) {
  69560. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  69561. },
  69562. visitAtRootRule$body$_EvaluateVisitor0(node) {
  69563. var $async$goto = 0,
  69564. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69565. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
  69566. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69567. if ($async$errorCode === 1)
  69568. return A._asyncRethrow($async$result, $async$completer);
  69569. while (true)
  69570. switch ($async$goto) {
  69571. case 0:
  69572. // Function start
  69573. unparsedQuery = node.query;
  69574. $async$goto = unparsedQuery != null ? 3 : 5;
  69575. break;
  69576. case 3:
  69577. // then
  69578. $async$temp1 = unparsedQuery;
  69579. $async$temp2 = A;
  69580. $async$goto = 6;
  69581. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  69582. case 6:
  69583. // returning from await.
  69584. $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
  69585. // goto join
  69586. $async$goto = 4;
  69587. break;
  69588. case 5:
  69589. // else
  69590. $async$result = B.AtRootQuery_UsS0;
  69591. case 4:
  69592. // join
  69593. query = $async$result;
  69594. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  69595. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  69596. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  69597. if (!query.excludes$1($parent))
  69598. included.push($parent);
  69599. grandparent = $parent._node0$_parent;
  69600. if (grandparent == null)
  69601. throw A.wrapException(A.StateError$(string$.CssNod));
  69602. }
  69603. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  69604. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  69605. break;
  69606. case 7:
  69607. // then
  69608. $async$goto = 9;
  69609. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure9($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  69610. case 9:
  69611. // returning from await.
  69612. $async$returnValue = null;
  69613. // goto return
  69614. $async$goto = 1;
  69615. break;
  69616. case 8:
  69617. // join
  69618. if (included.length !== 0) {
  69619. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  69620. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  69621. t3 = t1.__internal$_current;
  69622. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  69623. copy.addChild$1(outerCopy);
  69624. }
  69625. root.addChild$1(outerCopy);
  69626. } else
  69627. innerCopy = root;
  69628. $async$goto = 10;
  69629. return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure10($async$self, node)), $async$visitAtRootRule$1);
  69630. case 10:
  69631. // returning from await.
  69632. $async$returnValue = null;
  69633. // goto return
  69634. $async$goto = 1;
  69635. break;
  69636. case 1:
  69637. // return
  69638. return A._asyncReturn($async$returnValue, $async$completer);
  69639. }
  69640. });
  69641. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  69642. },
  69643. _async_evaluate0$_trimIncluded$1(nodes) {
  69644. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  69645. _s22_ = " to be an ancestor of ";
  69646. if (nodes.length === 0)
  69647. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  69648. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  69649. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  69650. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  69651. grandparent = $parent._node0$_parent;
  69652. if (grandparent == null)
  69653. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  69654. }
  69655. if (innermostContiguous == null)
  69656. innermostContiguous = i;
  69657. grandparent = $parent._node0$_parent;
  69658. if (grandparent == null)
  69659. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  69660. }
  69661. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  69662. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  69663. innermostContiguous.toString;
  69664. root = nodes[innermostContiguous];
  69665. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  69666. return root;
  69667. },
  69668. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  69669. var _this = this,
  69670. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  69671. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  69672. if (t1 !== query.include)
  69673. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  69674. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  69675. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  69676. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  69677. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  69678. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  69679. },
  69680. visitContentBlock$1(node) {
  69681. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  69682. },
  69683. visitContentRule$1(node) {
  69684. return this.visitContentRule$body$_EvaluateVisitor0(node);
  69685. },
  69686. visitContentRule$body$_EvaluateVisitor0(node) {
  69687. var $async$goto = 0,
  69688. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69689. $async$returnValue, $async$self = this, $content;
  69690. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69691. if ($async$errorCode === 1)
  69692. return A._asyncRethrow($async$result, $async$completer);
  69693. while (true)
  69694. switch ($async$goto) {
  69695. case 0:
  69696. // Function start
  69697. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  69698. if ($content == null) {
  69699. $async$returnValue = null;
  69700. // goto return
  69701. $async$goto = 1;
  69702. break;
  69703. }
  69704. $async$goto = 3;
  69705. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure2($async$self, $content), type$.Null), $async$visitContentRule$1);
  69706. case 3:
  69707. // returning from await.
  69708. $async$returnValue = null;
  69709. // goto return
  69710. $async$goto = 1;
  69711. break;
  69712. case 1:
  69713. // return
  69714. return A._asyncReturn($async$returnValue, $async$completer);
  69715. }
  69716. });
  69717. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  69718. },
  69719. visitDebugRule$1(node) {
  69720. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  69721. },
  69722. visitDebugRule$body$_EvaluateVisitor0(node) {
  69723. var $async$goto = 0,
  69724. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69725. $async$returnValue, $async$self = this, value, t1;
  69726. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69727. if ($async$errorCode === 1)
  69728. return A._asyncRethrow($async$result, $async$completer);
  69729. while (true)
  69730. switch ($async$goto) {
  69731. case 0:
  69732. // Function start
  69733. $async$goto = 3;
  69734. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  69735. case 3:
  69736. // returning from await.
  69737. value = $async$result;
  69738. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  69739. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  69740. $async$returnValue = null;
  69741. // goto return
  69742. $async$goto = 1;
  69743. break;
  69744. case 1:
  69745. // return
  69746. return A._asyncReturn($async$returnValue, $async$completer);
  69747. }
  69748. });
  69749. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  69750. },
  69751. visitDeclaration$1(node) {
  69752. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  69753. },
  69754. visitDeclaration$body$_EvaluateVisitor0(node) {
  69755. var $async$goto = 0,
  69756. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69757. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  69758. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69759. if ($async$errorCode === 1)
  69760. return A._asyncRethrow($async$result, $async$completer);
  69761. while (true)
  69762. switch ($async$goto) {
  69763. case 0:
  69764. // Function start
  69765. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  69766. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  69767. t1 = node.name;
  69768. $async$goto = 3;
  69769. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  69770. case 3:
  69771. // returning from await.
  69772. $name = $async$result;
  69773. t2 = $async$self._async_evaluate0$_declarationName;
  69774. if (t2 != null)
  69775. $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
  69776. t2 = node.value;
  69777. $async$goto = 4;
  69778. return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
  69779. case 4:
  69780. // returning from await.
  69781. cssValue = $async$result;
  69782. t3 = cssValue != null;
  69783. if (t3)
  69784. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  69785. else
  69786. t4 = false;
  69787. if (t4) {
  69788. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  69789. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  69790. if ($async$self._async_evaluate0$_sourceMap) {
  69791. t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
  69792. t2 = t2 == null ? null : J.get$span$z(t2);
  69793. } else
  69794. t2 = null;
  69795. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  69796. } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
  69797. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  69798. children = node.children;
  69799. $async$goto = children != null ? 5 : 6;
  69800. break;
  69801. case 5:
  69802. // then
  69803. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  69804. $async$self._async_evaluate0$_declarationName = $name.get$value($name);
  69805. $async$goto = 7;
  69806. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure6($async$self, children), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  69807. case 7:
  69808. // returning from await.
  69809. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  69810. case 6:
  69811. // join
  69812. $async$returnValue = null;
  69813. // goto return
  69814. $async$goto = 1;
  69815. break;
  69816. case 1:
  69817. // return
  69818. return A._asyncReturn($async$returnValue, $async$completer);
  69819. }
  69820. });
  69821. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  69822. },
  69823. visitEachRule$1(node) {
  69824. return this.visitEachRule$body$_EvaluateVisitor0(node);
  69825. },
  69826. visitEachRule$body$_EvaluateVisitor0(node) {
  69827. var $async$goto = 0,
  69828. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69829. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  69830. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69831. if ($async$errorCode === 1)
  69832. return A._asyncRethrow($async$result, $async$completer);
  69833. while (true)
  69834. switch ($async$goto) {
  69835. case 0:
  69836. // Function start
  69837. t1 = node.list;
  69838. $async$goto = 3;
  69839. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  69840. case 3:
  69841. // returning from await.
  69842. list = $async$result;
  69843. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  69844. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
  69845. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, setVariables, node), true, type$.nullable_Value_2);
  69846. // goto return
  69847. $async$goto = 1;
  69848. break;
  69849. case 1:
  69850. // return
  69851. return A._asyncReturn($async$returnValue, $async$completer);
  69852. }
  69853. });
  69854. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  69855. },
  69856. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  69857. var i,
  69858. list = value.get$asList(),
  69859. t1 = variables.length,
  69860. minLength = Math.min(t1, list.length);
  69861. for (i = 0; i < minLength; ++i)
  69862. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  69863. for (i = minLength; i < t1; ++i)
  69864. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  69865. },
  69866. visitErrorRule$1(node) {
  69867. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  69868. },
  69869. visitErrorRule$body$_EvaluateVisitor0(node) {
  69870. var $async$goto = 0,
  69871. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  69872. $async$self = this, $async$temp1, $async$temp2;
  69873. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69874. if ($async$errorCode === 1)
  69875. return A._asyncRethrow($async$result, $async$completer);
  69876. while (true)
  69877. switch ($async$goto) {
  69878. case 0:
  69879. // Function start
  69880. $async$temp1 = A;
  69881. $async$temp2 = J;
  69882. $async$goto = 2;
  69883. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  69884. case 2:
  69885. // returning from await.
  69886. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  69887. // implicit return
  69888. return A._asyncReturn(null, $async$completer);
  69889. }
  69890. });
  69891. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  69892. },
  69893. visitExtendRule$1(node) {
  69894. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  69895. },
  69896. visitExtendRule$body$_EvaluateVisitor0(node) {
  69897. var $async$goto = 0,
  69898. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69899. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, styleRule;
  69900. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69901. if ($async$errorCode === 1)
  69902. return A._asyncRethrow($async$result, $async$completer);
  69903. while (true)
  69904. switch ($async$goto) {
  69905. case 0:
  69906. // Function start
  69907. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  69908. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  69909. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  69910. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  69911. complex = t1[_i];
  69912. if (!complex.accept$1(B._IsBogusVisitor_true0))
  69913. continue;
  69914. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  69915. complex.accept$1(visitor);
  69916. t8 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  69917. t9 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  69918. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan0(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  69919. }
  69920. $async$goto = 3;
  69921. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  69922. case 3:
  69923. // returning from await.
  69924. targetText = $async$result;
  69925. for (t1 = $async$self._async_evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure2($async$self, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  69926. complex = t1[_i];
  69927. if (complex.leadingCombinators.length === 0) {
  69928. t4 = complex.components;
  69929. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  69930. } else
  69931. t4 = false;
  69932. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  69933. if (compound == null)
  69934. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
  69935. t4 = compound.components;
  69936. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  69937. if (t5 == null)
  69938. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
  69939. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, $async$self._async_evaluate0$_mediaQueries);
  69940. }
  69941. $async$returnValue = null;
  69942. // goto return
  69943. $async$goto = 1;
  69944. break;
  69945. case 1:
  69946. // return
  69947. return A._asyncReturn($async$returnValue, $async$completer);
  69948. }
  69949. });
  69950. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  69951. },
  69952. visitAtRule$1(node) {
  69953. return this.visitAtRule$body$_EvaluateVisitor0(node);
  69954. },
  69955. visitAtRule$body$_EvaluateVisitor0(node) {
  69956. var $async$goto = 0,
  69957. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69958. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  69959. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69960. if ($async$errorCode === 1)
  69961. return A._asyncRethrow($async$result, $async$completer);
  69962. while (true)
  69963. switch ($async$goto) {
  69964. case 0:
  69965. // Function start
  69966. if ($async$self._async_evaluate0$_declarationName != null)
  69967. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  69968. $async$goto = 3;
  69969. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  69970. case 3:
  69971. // returning from await.
  69972. $name = $async$result;
  69973. $async$goto = 4;
  69974. return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
  69975. case 4:
  69976. // returning from await.
  69977. value = $async$result;
  69978. children = node.children;
  69979. if (children == null) {
  69980. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  69981. $async$returnValue = null;
  69982. // goto return
  69983. $async$goto = 1;
  69984. break;
  69985. }
  69986. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  69987. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  69988. if (A.unvendor0($name.get$value($name)) === "keyframes")
  69989. $async$self._async_evaluate0$_inKeyframes = true;
  69990. else
  69991. $async$self._async_evaluate0$_inUnknownAtRule = true;
  69992. $async$goto = 5;
  69993. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure9($async$self, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
  69994. case 5:
  69995. // returning from await.
  69996. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  69997. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  69998. $async$returnValue = null;
  69999. // goto return
  70000. $async$goto = 1;
  70001. break;
  70002. case 1:
  70003. // return
  70004. return A._asyncReturn($async$returnValue, $async$completer);
  70005. }
  70006. });
  70007. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  70008. },
  70009. visitForRule$1(node) {
  70010. return this.visitForRule$body$_EvaluateVisitor0(node);
  70011. },
  70012. visitForRule$body$_EvaluateVisitor0(node) {
  70013. var $async$goto = 0,
  70014. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70015. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  70016. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70017. if ($async$errorCode === 1)
  70018. return A._asyncRethrow($async$result, $async$completer);
  70019. while (true)
  70020. switch ($async$goto) {
  70021. case 0:
  70022. // Function start
  70023. t1 = {};
  70024. t2 = node.from;
  70025. t3 = type$.SassNumber_2;
  70026. $async$goto = 3;
  70027. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  70028. case 3:
  70029. // returning from await.
  70030. fromNumber = $async$result;
  70031. t4 = node.to;
  70032. $async$goto = 4;
  70033. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  70034. case 4:
  70035. // returning from await.
  70036. toNumber = $async$result;
  70037. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  70038. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  70039. direction = from > to ? -1 : 1;
  70040. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  70041. $async$returnValue = null;
  70042. // goto return
  70043. $async$goto = 1;
  70044. break;
  70045. }
  70046. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure18(t1, $async$self, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  70047. // goto return
  70048. $async$goto = 1;
  70049. break;
  70050. case 1:
  70051. // return
  70052. return A._asyncReturn($async$returnValue, $async$completer);
  70053. }
  70054. });
  70055. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  70056. },
  70057. visitForwardRule$1(node) {
  70058. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  70059. },
  70060. visitForwardRule$body$_EvaluateVisitor0(node) {
  70061. var $async$goto = 0,
  70062. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70063. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  70064. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70065. if ($async$errorCode === 1)
  70066. return A._asyncRethrow($async$result, $async$completer);
  70067. while (true)
  70068. switch ($async$goto) {
  70069. case 0:
  70070. // Function start
  70071. oldConfiguration = $async$self._async_evaluate0$_configuration;
  70072. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  70073. t1 = node.configuration;
  70074. t2 = t1.length;
  70075. t3 = node.url;
  70076. $async$goto = t2 !== 0 ? 3 : 5;
  70077. break;
  70078. case 3:
  70079. // then
  70080. $async$goto = 6;
  70081. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  70082. case 6:
  70083. // returning from await.
  70084. newConfiguration = $async$result;
  70085. $async$goto = 7;
  70086. return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure5($async$self, node), newConfiguration), $async$visitForwardRule$1);
  70087. case 7:
  70088. // returning from await.
  70089. t3 = type$.String;
  70090. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  70091. for (_i = 0; _i < t2; ++_i) {
  70092. variable = t1[_i];
  70093. if (!variable.isGuarded)
  70094. t4.add$1(0, variable.name);
  70095. }
  70096. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  70097. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  70098. for (_i = 0; _i < t2; ++_i)
  70099. t3.add$1(0, t1[_i].name);
  70100. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  70101. $name = t2[_i];
  70102. if (!t3.contains$1(0, $name))
  70103. if (!t1.get$isEmpty(t1))
  70104. t1.remove$1(0, $name);
  70105. }
  70106. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  70107. // goto join
  70108. $async$goto = 4;
  70109. break;
  70110. case 5:
  70111. // else
  70112. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  70113. $async$goto = 8;
  70114. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  70115. case 8:
  70116. // returning from await.
  70117. $async$self._async_evaluate0$_configuration = oldConfiguration;
  70118. case 4:
  70119. // join
  70120. $async$returnValue = null;
  70121. // goto return
  70122. $async$goto = 1;
  70123. break;
  70124. case 1:
  70125. // return
  70126. return A._asyncReturn($async$returnValue, $async$completer);
  70127. }
  70128. });
  70129. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  70130. },
  70131. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  70132. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  70133. },
  70134. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  70135. var $async$goto = 0,
  70136. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  70137. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  70138. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70139. if ($async$errorCode === 1)
  70140. return A._asyncRethrow($async$result, $async$completer);
  70141. while (true)
  70142. switch ($async$goto) {
  70143. case 0:
  70144. // Function start
  70145. t1 = configuration._configuration$_values;
  70146. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  70147. t2 = node.configuration, t3 = t2.length, _i = 0;
  70148. case 3:
  70149. // for condition
  70150. if (!(_i < t3)) {
  70151. // goto after for
  70152. $async$goto = 5;
  70153. break;
  70154. }
  70155. variable = t2[_i];
  70156. if (variable.isGuarded) {
  70157. t4 = variable.name;
  70158. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  70159. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  70160. newValues.$indexSet(0, t4, t5);
  70161. // goto for update
  70162. $async$goto = 4;
  70163. break;
  70164. }
  70165. }
  70166. t4 = variable.expression;
  70167. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
  70168. $async$temp1 = newValues;
  70169. $async$temp2 = variable.name;
  70170. $async$temp3 = A;
  70171. $async$goto = 6;
  70172. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
  70173. case 6:
  70174. // returning from await.
  70175. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  70176. case 4:
  70177. // for update
  70178. ++_i;
  70179. // goto for condition
  70180. $async$goto = 3;
  70181. break;
  70182. case 5:
  70183. // after for
  70184. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  70185. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  70186. // goto return
  70187. $async$goto = 1;
  70188. break;
  70189. } else {
  70190. $async$returnValue = new A.Configuration0(newValues, null);
  70191. // goto return
  70192. $async$goto = 1;
  70193. break;
  70194. }
  70195. case 1:
  70196. // return
  70197. return A._asyncReturn($async$returnValue, $async$completer);
  70198. }
  70199. });
  70200. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  70201. },
  70202. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  70203. var t1, t2, t3, t4, _i, $name;
  70204. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  70205. $name = t2[_i];
  70206. if (except.contains$1(0, $name))
  70207. continue;
  70208. if (!t4.containsKey$1($name))
  70209. if (!t1.get$isEmpty(t1))
  70210. t1.remove$1(0, $name);
  70211. }
  70212. },
  70213. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  70214. var t1, entry;
  70215. if (!(configuration instanceof A.ExplicitConfiguration0))
  70216. return;
  70217. t1 = configuration._configuration$_values;
  70218. if (t1.get$isEmpty(t1))
  70219. return;
  70220. t1 = t1.get$entries(t1);
  70221. entry = t1.get$first(t1);
  70222. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  70223. throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
  70224. },
  70225. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  70226. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  70227. },
  70228. visitFunctionRule$1(node) {
  70229. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  70230. },
  70231. visitFunctionRule$body$_EvaluateVisitor0(node) {
  70232. var $async$goto = 0,
  70233. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70234. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  70235. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70236. if ($async$errorCode === 1)
  70237. return A._asyncRethrow($async$result, $async$completer);
  70238. while (true)
  70239. switch ($async$goto) {
  70240. case 0:
  70241. // Function start
  70242. t1 = $async$self._async_evaluate0$_environment;
  70243. t2 = t1.closure$0();
  70244. t3 = $async$self._async_evaluate0$_inDependency;
  70245. t4 = t1._async_environment0$_functions;
  70246. index = t4.length - 1;
  70247. t5 = node.name;
  70248. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  70249. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  70250. $async$returnValue = null;
  70251. // goto return
  70252. $async$goto = 1;
  70253. break;
  70254. case 1:
  70255. // return
  70256. return A._asyncReturn($async$returnValue, $async$completer);
  70257. }
  70258. });
  70259. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  70260. },
  70261. visitIfRule$1(node) {
  70262. return this.visitIfRule$body$_EvaluateVisitor0(node);
  70263. },
  70264. visitIfRule$body$_EvaluateVisitor0(node) {
  70265. var $async$goto = 0,
  70266. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70267. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  70268. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70269. if ($async$errorCode === 1)
  70270. return A._asyncRethrow($async$result, $async$completer);
  70271. while (true)
  70272. switch ($async$goto) {
  70273. case 0:
  70274. // Function start
  70275. _box_0 = {};
  70276. _box_0.clause = node.lastClause;
  70277. t1 = node.clauses, t2 = t1.length, _i = 0;
  70278. case 3:
  70279. // for condition
  70280. if (!(_i < t2)) {
  70281. // goto after for
  70282. $async$goto = 5;
  70283. break;
  70284. }
  70285. clauseToCheck = t1[_i];
  70286. $async$goto = 6;
  70287. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  70288. case 6:
  70289. // returning from await.
  70290. if ($async$result.get$isTruthy()) {
  70291. _box_0.clause = clauseToCheck;
  70292. // goto after for
  70293. $async$goto = 5;
  70294. break;
  70295. }
  70296. case 4:
  70297. // for update
  70298. ++_i;
  70299. // goto for condition
  70300. $async$goto = 3;
  70301. break;
  70302. case 5:
  70303. // after for
  70304. t1 = _box_0.clause;
  70305. if (t1 == null) {
  70306. $async$returnValue = null;
  70307. // goto return
  70308. $async$goto = 1;
  70309. break;
  70310. }
  70311. $async$goto = 7;
  70312. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure2(_box_0, $async$self), true, t1.hasDeclarations, type$.nullable_Value_2), $async$visitIfRule$1);
  70313. case 7:
  70314. // returning from await.
  70315. $async$returnValue = $async$result;
  70316. // goto return
  70317. $async$goto = 1;
  70318. break;
  70319. case 1:
  70320. // return
  70321. return A._asyncReturn($async$returnValue, $async$completer);
  70322. }
  70323. });
  70324. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  70325. },
  70326. visitImportRule$1(node) {
  70327. return this.visitImportRule$body$_EvaluateVisitor0(node);
  70328. },
  70329. visitImportRule$body$_EvaluateVisitor0(node) {
  70330. var $async$goto = 0,
  70331. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70332. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  70333. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70334. if ($async$errorCode === 1)
  70335. return A._asyncRethrow($async$result, $async$completer);
  70336. while (true)
  70337. switch ($async$goto) {
  70338. case 0:
  70339. // Function start
  70340. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  70341. case 3:
  70342. // for condition
  70343. if (!(_i < t2)) {
  70344. // goto after for
  70345. $async$goto = 5;
  70346. break;
  70347. }
  70348. $import = t1[_i];
  70349. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  70350. break;
  70351. case 6:
  70352. // then
  70353. $async$goto = 9;
  70354. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  70355. case 9:
  70356. // returning from await.
  70357. // goto join
  70358. $async$goto = 7;
  70359. break;
  70360. case 8:
  70361. // else
  70362. $async$goto = 10;
  70363. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  70364. case 10:
  70365. // returning from await.
  70366. case 7:
  70367. // join
  70368. case 4:
  70369. // for update
  70370. ++_i;
  70371. // goto for condition
  70372. $async$goto = 3;
  70373. break;
  70374. case 5:
  70375. // after for
  70376. $async$returnValue = null;
  70377. // goto return
  70378. $async$goto = 1;
  70379. break;
  70380. case 1:
  70381. // return
  70382. return A._asyncReturn($async$returnValue, $async$completer);
  70383. }
  70384. });
  70385. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  70386. },
  70387. _async_evaluate0$_visitDynamicImport$1($import) {
  70388. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  70389. },
  70390. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  70391. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  70392. },
  70393. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  70394. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  70395. },
  70396. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  70397. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  70398. },
  70399. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  70400. var $async$goto = 0,
  70401. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
  70402. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  70403. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70404. if ($async$errorCode === 1) {
  70405. $async$currentError = $async$result;
  70406. $async$goto = $async$handler;
  70407. }
  70408. while (true)
  70409. switch ($async$goto) {
  70410. case 0:
  70411. // Function start
  70412. baseUrl = baseUrl;
  70413. $async$handler = 4;
  70414. $async$self._async_evaluate0$_importSpan = span;
  70415. importCache = $async$self._async_evaluate0$_importCache;
  70416. $async$goto = importCache != null ? 7 : 9;
  70417. break;
  70418. case 7:
  70419. // then
  70420. if (baseUrl == null)
  70421. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  70422. $async$goto = 10;
  70423. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate0$_importer, baseUrl, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  70424. case 10:
  70425. // returning from await.
  70426. tuple = $async$result;
  70427. $async$goto = tuple != null ? 11 : 12;
  70428. break;
  70429. case 11:
  70430. // then
  70431. isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
  70432. t1 = tuple.item1;
  70433. t2 = tuple.item2;
  70434. t3 = tuple.item3;
  70435. t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
  70436. $async$goto = 13;
  70437. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  70438. case 13:
  70439. // returning from await.
  70440. stylesheet = $async$result;
  70441. if (stylesheet != null) {
  70442. $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
  70443. t1 = tuple.item1;
  70444. $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
  70445. $async$next = [1];
  70446. // goto finally
  70447. $async$goto = 5;
  70448. break;
  70449. }
  70450. case 12:
  70451. // join
  70452. // goto join
  70453. $async$goto = 8;
  70454. break;
  70455. case 9:
  70456. // else
  70457. t1 = baseUrl;
  70458. $async$goto = 14;
  70459. return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$3(url, t1 == null ? $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url : t1, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  70460. case 14:
  70461. // returning from await.
  70462. result = $async$result;
  70463. if (result != null) {
  70464. t1 = $async$self._async_evaluate0$_loadedUrls;
  70465. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  70466. $async$returnValue = result;
  70467. $async$next = [1];
  70468. // goto finally
  70469. $async$goto = 5;
  70470. break;
  70471. }
  70472. case 8:
  70473. // join
  70474. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  70475. throw A.wrapException(string$.x22packa);
  70476. else
  70477. throw A.wrapException("Can't find stylesheet to import.");
  70478. $async$next.push(6);
  70479. // goto finally
  70480. $async$goto = 5;
  70481. break;
  70482. case 4:
  70483. // catch
  70484. $async$handler = 3;
  70485. $async$exception = $async$currentError;
  70486. t1 = A.unwrapException($async$exception);
  70487. if (t1 instanceof A.SassException0) {
  70488. error = t1;
  70489. stackTrace = A.getTraceFromException($async$exception);
  70490. t1 = error;
  70491. t2 = J.getInterceptor$z(t1);
  70492. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  70493. } else {
  70494. error0 = t1;
  70495. stackTrace0 = A.getTraceFromException($async$exception);
  70496. message = null;
  70497. try {
  70498. message = A._asString(J.get$message$x(error0));
  70499. } catch (exception) {
  70500. message0 = J.toString$0$(error0);
  70501. message = message0;
  70502. }
  70503. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
  70504. }
  70505. $async$next.push(6);
  70506. // goto finally
  70507. $async$goto = 5;
  70508. break;
  70509. case 3:
  70510. // uncaught
  70511. $async$next = [2];
  70512. case 5:
  70513. // finally
  70514. $async$handler = 2;
  70515. $async$self._async_evaluate0$_importSpan = null;
  70516. // goto the next finally handler
  70517. $async$goto = $async$next.pop();
  70518. break;
  70519. case 6:
  70520. // after finally
  70521. case 1:
  70522. // return
  70523. return A._asyncReturn($async$returnValue, $async$completer);
  70524. case 2:
  70525. // rethrow
  70526. return A._asyncRethrow($async$currentError, $async$completer);
  70527. }
  70528. });
  70529. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  70530. },
  70531. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  70532. return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
  70533. },
  70534. _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
  70535. var $async$goto = 0,
  70536. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
  70537. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  70538. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70539. if ($async$errorCode === 1)
  70540. return A._asyncRethrow($async$result, $async$completer);
  70541. while (true)
  70542. switch ($async$goto) {
  70543. case 0:
  70544. // Function start
  70545. t1 = $async$self._async_evaluate0$_nodeImporter;
  70546. result = t1.loadRelative$3(originalUrl, previous, forImport);
  70547. $async$goto = result != null ? 3 : 5;
  70548. break;
  70549. case 3:
  70550. // then
  70551. isDependency = $async$self._async_evaluate0$_inDependency;
  70552. // goto join
  70553. $async$goto = 4;
  70554. break;
  70555. case 5:
  70556. // else
  70557. $async$goto = 6;
  70558. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  70559. case 6:
  70560. // returning from await.
  70561. result = $async$result;
  70562. if (result == null) {
  70563. $async$returnValue = null;
  70564. // goto return
  70565. $async$goto = 1;
  70566. break;
  70567. }
  70568. isDependency = true;
  70569. case 4:
  70570. // join
  70571. url = result.item2;
  70572. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  70573. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  70574. $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  70575. // goto return
  70576. $async$goto = 1;
  70577. break;
  70578. case 1:
  70579. // return
  70580. return A._asyncReturn($async$returnValue, $async$completer);
  70581. }
  70582. });
  70583. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  70584. },
  70585. _async_evaluate0$_visitStaticImport$1($import) {
  70586. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  70587. },
  70588. _visitStaticImport$body$_EvaluateVisitor0($import) {
  70589. var $async$goto = 0,
  70590. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  70591. $async$self = this, t1, node, $async$temp1, $async$temp2;
  70592. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70593. if ($async$errorCode === 1)
  70594. return A._asyncRethrow($async$result, $async$completer);
  70595. while (true)
  70596. switch ($async$goto) {
  70597. case 0:
  70598. // Function start
  70599. $async$temp1 = A;
  70600. $async$goto = 2;
  70601. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  70602. case 2:
  70603. // returning from await.
  70604. $async$temp2 = $async$result;
  70605. $async$goto = 3;
  70606. return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
  70607. case 3:
  70608. // returning from await.
  70609. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  70610. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root"))
  70611. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  70612. else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
  70613. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  70614. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  70615. } else {
  70616. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  70617. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  70618. }
  70619. // implicit return
  70620. return A._asyncReturn(null, $async$completer);
  70621. }
  70622. });
  70623. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  70624. },
  70625. visitIncludeRule$1(node) {
  70626. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  70627. },
  70628. visitIncludeRule$body$_EvaluateVisitor0(node) {
  70629. var $async$goto = 0,
  70630. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70631. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  70632. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70633. if ($async$errorCode === 1)
  70634. return A._asyncRethrow($async$result, $async$completer);
  70635. while (true)
  70636. switch ($async$goto) {
  70637. case 0:
  70638. // Function start
  70639. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
  70640. if (mixin == null)
  70641. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
  70642. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
  70643. $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
  70644. break;
  70645. case 3:
  70646. // then
  70647. if (node.content != null)
  70648. throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
  70649. $async$goto = 6;
  70650. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  70651. case 6:
  70652. // returning from await.
  70653. // goto join
  70654. $async$goto = 4;
  70655. break;
  70656. case 5:
  70657. // else
  70658. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
  70659. break;
  70660. case 7:
  70661. // then
  70662. t1 = node.content;
  70663. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  70664. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
  70665. $async$goto = 10;
  70666. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure13($async$self, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure14($async$self)), mixin, nodeWithSpan), type$.Null), $async$visitIncludeRule$1);
  70667. case 10:
  70668. // returning from await.
  70669. // goto join
  70670. $async$goto = 8;
  70671. break;
  70672. case 9:
  70673. // else
  70674. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  70675. case 8:
  70676. // join
  70677. case 4:
  70678. // join
  70679. $async$returnValue = null;
  70680. // goto return
  70681. $async$goto = 1;
  70682. break;
  70683. case 1:
  70684. // return
  70685. return A._asyncReturn($async$returnValue, $async$completer);
  70686. }
  70687. });
  70688. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  70689. },
  70690. visitMixinRule$1(node) {
  70691. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  70692. },
  70693. visitMixinRule$body$_EvaluateVisitor0(node) {
  70694. var $async$goto = 0,
  70695. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70696. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  70697. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70698. if ($async$errorCode === 1)
  70699. return A._asyncRethrow($async$result, $async$completer);
  70700. while (true)
  70701. switch ($async$goto) {
  70702. case 0:
  70703. // Function start
  70704. t1 = $async$self._async_evaluate0$_environment;
  70705. t2 = t1.closure$0();
  70706. t3 = $async$self._async_evaluate0$_inDependency;
  70707. t4 = t1._async_environment0$_mixins;
  70708. index = t4.length - 1;
  70709. t5 = node.name;
  70710. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  70711. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  70712. $async$returnValue = null;
  70713. // goto return
  70714. $async$goto = 1;
  70715. break;
  70716. case 1:
  70717. // return
  70718. return A._asyncReturn($async$returnValue, $async$completer);
  70719. }
  70720. });
  70721. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  70722. },
  70723. visitLoudComment$1(node) {
  70724. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  70725. },
  70726. visitLoudComment$body$_EvaluateVisitor0(node) {
  70727. var $async$goto = 0,
  70728. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70729. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  70730. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70731. if ($async$errorCode === 1)
  70732. return A._asyncRethrow($async$result, $async$completer);
  70733. while (true)
  70734. switch ($async$goto) {
  70735. case 0:
  70736. // Function start
  70737. if ($async$self._async_evaluate0$_inFunction) {
  70738. $async$returnValue = null;
  70739. // goto return
  70740. $async$goto = 1;
  70741. break;
  70742. }
  70743. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
  70744. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  70745. t1 = node.text;
  70746. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  70747. $async$temp2 = A;
  70748. $async$goto = 3;
  70749. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  70750. case 3:
  70751. // returning from await.
  70752. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  70753. $async$returnValue = null;
  70754. // goto return
  70755. $async$goto = 1;
  70756. break;
  70757. case 1:
  70758. // return
  70759. return A._asyncReturn($async$returnValue, $async$completer);
  70760. }
  70761. });
  70762. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  70763. },
  70764. visitMediaRule$1(node) {
  70765. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  70766. },
  70767. visitMediaRule$body$_EvaluateVisitor0(node) {
  70768. var $async$goto = 0,
  70769. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70770. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  70771. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70772. if ($async$errorCode === 1)
  70773. return A._asyncRethrow($async$result, $async$completer);
  70774. while (true)
  70775. switch ($async$goto) {
  70776. case 0:
  70777. // Function start
  70778. if ($async$self._async_evaluate0$_declarationName != null)
  70779. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  70780. $async$goto = 3;
  70781. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  70782. case 3:
  70783. // returning from await.
  70784. queries = $async$result;
  70785. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  70786. t1 = mergedQueries == null;
  70787. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  70788. $async$returnValue = null;
  70789. // goto return
  70790. $async$goto = 1;
  70791. break;
  70792. }
  70793. if (t1)
  70794. mergedSources = B.Set_empty4;
  70795. else {
  70796. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  70797. t2.toString;
  70798. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  70799. t3 = $async$self._async_evaluate0$_mediaQueries;
  70800. t3.toString;
  70801. t2.addAll$1(0, t3);
  70802. t2.addAll$1(0, queries);
  70803. mergedSources = t2;
  70804. }
  70805. t1 = t1 ? queries : mergedQueries;
  70806. $async$goto = 4;
  70807. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure9($async$self, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure10(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitMediaRule$1);
  70808. case 4:
  70809. // returning from await.
  70810. $async$returnValue = null;
  70811. // goto return
  70812. $async$goto = 1;
  70813. break;
  70814. case 1:
  70815. // return
  70816. return A._asyncReturn($async$returnValue, $async$completer);
  70817. }
  70818. });
  70819. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  70820. },
  70821. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  70822. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  70823. },
  70824. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  70825. var $async$goto = 0,
  70826. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  70827. $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
  70828. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70829. if ($async$errorCode === 1)
  70830. return A._asyncRethrow($async$result, $async$completer);
  70831. while (true)
  70832. switch ($async$goto) {
  70833. case 0:
  70834. // Function start
  70835. $async$temp1 = interpolation;
  70836. $async$temp2 = A;
  70837. $async$goto = 3;
  70838. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  70839. case 3:
  70840. // returning from await.
  70841. $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
  70842. // goto return
  70843. $async$goto = 1;
  70844. break;
  70845. case 1:
  70846. // return
  70847. return A._asyncReturn($async$returnValue, $async$completer);
  70848. }
  70849. });
  70850. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  70851. },
  70852. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  70853. var t1, t2, t3, t4, t5, result,
  70854. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  70855. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  70856. t4 = t1.get$current(t1);
  70857. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  70858. result = t4.merge$1(t5.get$current(t5));
  70859. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  70860. continue;
  70861. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  70862. return null;
  70863. queries.push(t3._as(result).query);
  70864. }
  70865. }
  70866. return queries;
  70867. },
  70868. visitReturnRule$1(node) {
  70869. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  70870. },
  70871. visitReturnRule$body$_EvaluateVisitor0(node) {
  70872. var $async$goto = 0,
  70873. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  70874. $async$returnValue, $async$self = this, t1;
  70875. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70876. if ($async$errorCode === 1)
  70877. return A._asyncRethrow($async$result, $async$completer);
  70878. while (true)
  70879. switch ($async$goto) {
  70880. case 0:
  70881. // Function start
  70882. t1 = node.expression;
  70883. $async$goto = 3;
  70884. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  70885. case 3:
  70886. // returning from await.
  70887. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  70888. // goto return
  70889. $async$goto = 1;
  70890. break;
  70891. case 1:
  70892. // return
  70893. return A._asyncReturn($async$returnValue, $async$completer);
  70894. }
  70895. });
  70896. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  70897. },
  70898. visitSilentComment$1(node) {
  70899. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  70900. },
  70901. visitSilentComment$body$_EvaluateVisitor0(node) {
  70902. var $async$goto = 0,
  70903. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70904. $async$returnValue;
  70905. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70906. if ($async$errorCode === 1)
  70907. return A._asyncRethrow($async$result, $async$completer);
  70908. while (true)
  70909. switch ($async$goto) {
  70910. case 0:
  70911. // Function start
  70912. $async$returnValue = null;
  70913. // goto return
  70914. $async$goto = 1;
  70915. break;
  70916. case 1:
  70917. // return
  70918. return A._asyncReturn($async$returnValue, $async$completer);
  70919. }
  70920. });
  70921. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  70922. },
  70923. visitStyleRule$1(node) {
  70924. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  70925. },
  70926. visitStyleRule$body$_EvaluateVisitor0(node) {
  70927. var $async$goto = 0,
  70928. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70929. $async$returnValue, $async$self = this, t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _box_0;
  70930. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70931. if ($async$errorCode === 1)
  70932. return A._asyncRethrow($async$result, $async$completer);
  70933. while (true)
  70934. switch ($async$goto) {
  70935. case 0:
  70936. // Function start
  70937. _box_0 = {};
  70938. if ($async$self._async_evaluate0$_declarationName != null)
  70939. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  70940. t1 = node.selector;
  70941. $async$goto = 3;
  70942. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t1, true, true), $async$visitStyleRule$1);
  70943. case 3:
  70944. // returning from await.
  70945. selectorText = $async$result;
  70946. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  70947. break;
  70948. case 4:
  70949. // then
  70950. $async$goto = 6;
  70951. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable($async$self._async_evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText)), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure24($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure25(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  70952. case 6:
  70953. // returning from await.
  70954. $async$returnValue = null;
  70955. // goto return
  70956. $async$goto = 1;
  70957. break;
  70958. case 5:
  70959. // join
  70960. _box_0.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure26($async$self, selectorText));
  70961. _box_0.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure27(_box_0, $async$self));
  70962. t1 = t1.span;
  70963. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, $async$self._async_evaluate0$_mediaQueries), node.span, _box_0.parsedSelector);
  70964. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  70965. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  70966. $async$goto = 7;
  70967. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure28($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure29(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  70968. case 7:
  70969. // returning from await.
  70970. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  70971. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  70972. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  70973. complex = t2[_i];
  70974. if (!complex.accept$1(B._IsBogusVisitor_true0))
  70975. continue;
  70976. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  70977. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  70978. complex.accept$1(visitor);
  70979. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  70980. } else if (complex.leadingCombinators.length !== 0) {
  70981. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  70982. complex.accept$1(visitor);
  70983. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  70984. } else {
  70985. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  70986. complex.accept$1(visitor);
  70987. t7 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  70988. t8 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  70989. if (t6.get$length(t6) === 0)
  70990. A.throwExpression(A.IterableElementError_noElement());
  70991. t9 = J.get$span$z(t6.$index(0, 0));
  70992. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan0(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure30()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  70993. }
  70994. }
  70995. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  70996. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  70997. t1 = !t1.get$isEmpty(t1);
  70998. } else
  70999. t1 = false;
  71000. if (t1) {
  71001. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  71002. t1.get$last(t1).isGroupEnd = true;
  71003. }
  71004. $async$returnValue = null;
  71005. // goto return
  71006. $async$goto = 1;
  71007. break;
  71008. case 1:
  71009. // return
  71010. return A._asyncReturn($async$returnValue, $async$completer);
  71011. }
  71012. });
  71013. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  71014. },
  71015. visitSupportsRule$1(node) {
  71016. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  71017. },
  71018. visitSupportsRule$body$_EvaluateVisitor0(node) {
  71019. var $async$goto = 0,
  71020. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71021. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  71022. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71023. if ($async$errorCode === 1)
  71024. return A._asyncRethrow($async$result, $async$completer);
  71025. while (true)
  71026. switch ($async$goto) {
  71027. case 0:
  71028. // Function start
  71029. if ($async$self._async_evaluate0$_declarationName != null)
  71030. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  71031. t1 = node.condition;
  71032. $async$temp1 = A;
  71033. $async$temp2 = A;
  71034. $async$goto = 4;
  71035. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  71036. case 4:
  71037. // returning from await.
  71038. $async$goto = 3;
  71039. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through($async$temp1.ModifiableCssSupportsRule$0(new $async$temp2.CssValue0($async$result, t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure5($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitSupportsRule$1);
  71040. case 3:
  71041. // returning from await.
  71042. $async$returnValue = null;
  71043. // goto return
  71044. $async$goto = 1;
  71045. break;
  71046. case 1:
  71047. // return
  71048. return A._asyncReturn($async$returnValue, $async$completer);
  71049. }
  71050. });
  71051. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  71052. },
  71053. _async_evaluate0$_visitSupportsCondition$1(condition) {
  71054. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  71055. },
  71056. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  71057. var $async$goto = 0,
  71058. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  71059. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  71060. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71061. if ($async$errorCode === 1)
  71062. return A._asyncRethrow($async$result, $async$completer);
  71063. while (true)
  71064. switch ($async$goto) {
  71065. case 0:
  71066. // Function start
  71067. $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
  71068. break;
  71069. case 3:
  71070. // then
  71071. t1 = condition.operator;
  71072. $async$temp1 = A;
  71073. $async$goto = 6;
  71074. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  71075. case 6:
  71076. // returning from await.
  71077. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  71078. $async$temp2 = A;
  71079. $async$goto = 7;
  71080. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  71081. case 7:
  71082. // returning from await.
  71083. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  71084. // goto return
  71085. $async$goto = 1;
  71086. break;
  71087. // goto join
  71088. $async$goto = 4;
  71089. break;
  71090. case 5:
  71091. // else
  71092. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
  71093. break;
  71094. case 8:
  71095. // then
  71096. $async$temp1 = A;
  71097. $async$goto = 11;
  71098. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  71099. case 11:
  71100. // returning from await.
  71101. $async$returnValue = "not " + $async$temp1.S($async$result);
  71102. // goto return
  71103. $async$goto = 1;
  71104. break;
  71105. // goto join
  71106. $async$goto = 9;
  71107. break;
  71108. case 10:
  71109. // else
  71110. $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
  71111. break;
  71112. case 12:
  71113. // then
  71114. $async$goto = 15;
  71115. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  71116. case 15:
  71117. // returning from await.
  71118. $async$returnValue = $async$result;
  71119. // goto return
  71120. $async$goto = 1;
  71121. break;
  71122. // goto join
  71123. $async$goto = 13;
  71124. break;
  71125. case 14:
  71126. // else
  71127. $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
  71128. break;
  71129. case 16:
  71130. // then
  71131. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  71132. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  71133. $async$temp1 = A;
  71134. $async$goto = 19;
  71135. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  71136. case 19:
  71137. // returning from await.
  71138. t1 = $async$temp1.S($async$result);
  71139. t2 = condition.get$isCustomProperty() ? "" : " ";
  71140. $async$temp1 = A;
  71141. $async$goto = 20;
  71142. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
  71143. case 20:
  71144. // returning from await.
  71145. t3 = $async$temp1.S($async$result);
  71146. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  71147. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  71148. // goto return
  71149. $async$goto = 1;
  71150. break;
  71151. // goto join
  71152. $async$goto = 17;
  71153. break;
  71154. case 18:
  71155. // else
  71156. $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
  71157. break;
  71158. case 21:
  71159. // then
  71160. $async$temp1 = A;
  71161. $async$goto = 24;
  71162. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  71163. case 24:
  71164. // returning from await.
  71165. $async$temp1 = $async$temp1.S($async$result) + "(";
  71166. $async$temp2 = A;
  71167. $async$goto = 25;
  71168. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  71169. case 25:
  71170. // returning from await.
  71171. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  71172. // goto return
  71173. $async$goto = 1;
  71174. break;
  71175. // goto join
  71176. $async$goto = 22;
  71177. break;
  71178. case 23:
  71179. // else
  71180. $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
  71181. break;
  71182. case 26:
  71183. // then
  71184. $async$temp1 = A;
  71185. $async$goto = 29;
  71186. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  71187. case 29:
  71188. // returning from await.
  71189. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  71190. // goto return
  71191. $async$goto = 1;
  71192. break;
  71193. // goto join
  71194. $async$goto = 27;
  71195. break;
  71196. case 28:
  71197. // else
  71198. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  71199. case 27:
  71200. // join
  71201. case 22:
  71202. // join
  71203. case 17:
  71204. // join
  71205. case 13:
  71206. // join
  71207. case 9:
  71208. // join
  71209. case 4:
  71210. // join
  71211. case 1:
  71212. // return
  71213. return A._asyncReturn($async$returnValue, $async$completer);
  71214. }
  71215. });
  71216. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  71217. },
  71218. _async_evaluate0$_parenthesize$2(condition, operator) {
  71219. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  71220. },
  71221. _async_evaluate0$_parenthesize$1(condition) {
  71222. return this._async_evaluate0$_parenthesize$2(condition, null);
  71223. },
  71224. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  71225. var $async$goto = 0,
  71226. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  71227. $async$returnValue, $async$self = this, t1, $async$temp1;
  71228. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71229. if ($async$errorCode === 1)
  71230. return A._asyncRethrow($async$result, $async$completer);
  71231. while (true)
  71232. switch ($async$goto) {
  71233. case 0:
  71234. // Function start
  71235. if (!(condition instanceof A.SupportsNegation0))
  71236. if (condition instanceof A.SupportsOperation0)
  71237. t1 = operator == null || operator !== condition.operator;
  71238. else
  71239. t1 = false;
  71240. else
  71241. t1 = true;
  71242. $async$goto = t1 ? 3 : 5;
  71243. break;
  71244. case 3:
  71245. // then
  71246. $async$temp1 = A;
  71247. $async$goto = 6;
  71248. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  71249. case 6:
  71250. // returning from await.
  71251. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  71252. // goto return
  71253. $async$goto = 1;
  71254. break;
  71255. // goto join
  71256. $async$goto = 4;
  71257. break;
  71258. case 5:
  71259. // else
  71260. $async$goto = 7;
  71261. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  71262. case 7:
  71263. // returning from await.
  71264. $async$returnValue = $async$result;
  71265. // goto return
  71266. $async$goto = 1;
  71267. break;
  71268. case 4:
  71269. // join
  71270. case 1:
  71271. // return
  71272. return A._asyncReturn($async$returnValue, $async$completer);
  71273. }
  71274. });
  71275. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  71276. },
  71277. visitVariableDeclaration$1(node) {
  71278. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  71279. },
  71280. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  71281. var $async$goto = 0,
  71282. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71283. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  71284. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71285. if ($async$errorCode === 1)
  71286. return A._asyncRethrow($async$result, $async$completer);
  71287. while (true)
  71288. switch ($async$goto) {
  71289. case 0:
  71290. // Function start
  71291. if (node.isGuarded) {
  71292. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  71293. t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
  71294. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  71295. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  71296. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
  71297. $async$returnValue = null;
  71298. // goto return
  71299. $async$goto = 1;
  71300. break;
  71301. }
  71302. }
  71303. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  71304. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  71305. $async$returnValue = null;
  71306. // goto return
  71307. $async$goto = 1;
  71308. break;
  71309. }
  71310. }
  71311. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  71312. t1 = $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
  71313. $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
  71314. }
  71315. t1 = node.expression;
  71316. $async$temp1 = node;
  71317. $async$temp2 = A;
  71318. $async$temp3 = node;
  71319. $async$goto = 3;
  71320. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  71321. case 3:
  71322. // returning from await.
  71323. $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitVariableDeclaration_closure10($async$self, $async$temp3, $async$self._async_evaluate0$_withoutSlash$2($async$result, t1)));
  71324. $async$returnValue = null;
  71325. // goto return
  71326. $async$goto = 1;
  71327. break;
  71328. case 1:
  71329. // return
  71330. return A._asyncReturn($async$returnValue, $async$completer);
  71331. }
  71332. });
  71333. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  71334. },
  71335. visitUseRule$1(node) {
  71336. return this.visitUseRule$body$_EvaluateVisitor0(node);
  71337. },
  71338. visitUseRule$body$_EvaluateVisitor0(node) {
  71339. var $async$goto = 0,
  71340. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71341. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  71342. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71343. if ($async$errorCode === 1)
  71344. return A._asyncRethrow($async$result, $async$completer);
  71345. while (true)
  71346. switch ($async$goto) {
  71347. case 0:
  71348. // Function start
  71349. t1 = node.configuration;
  71350. t2 = t1.length;
  71351. $async$goto = t2 !== 0 ? 3 : 5;
  71352. break;
  71353. case 3:
  71354. // then
  71355. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  71356. _i = 0;
  71357. case 6:
  71358. // for condition
  71359. if (!(_i < t2)) {
  71360. // goto after for
  71361. $async$goto = 8;
  71362. break;
  71363. }
  71364. variable = t1[_i];
  71365. t3 = variable.expression;
  71366. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
  71367. $async$temp1 = values;
  71368. $async$temp2 = variable.name;
  71369. $async$temp3 = A;
  71370. $async$goto = 9;
  71371. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  71372. case 9:
  71373. // returning from await.
  71374. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  71375. case 7:
  71376. // for update
  71377. ++_i;
  71378. // goto for condition
  71379. $async$goto = 6;
  71380. break;
  71381. case 8:
  71382. // after for
  71383. configuration = new A.ExplicitConfiguration0(node, values, null);
  71384. // goto join
  71385. $async$goto = 4;
  71386. break;
  71387. case 5:
  71388. // else
  71389. configuration = B.Configuration_Map_empty_null0;
  71390. case 4:
  71391. // join
  71392. $async$goto = 10;
  71393. return A._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure2($async$self, node), configuration), $async$visitUseRule$1);
  71394. case 10:
  71395. // returning from await.
  71396. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  71397. $async$returnValue = null;
  71398. // goto return
  71399. $async$goto = 1;
  71400. break;
  71401. case 1:
  71402. // return
  71403. return A._asyncReturn($async$returnValue, $async$completer);
  71404. }
  71405. });
  71406. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  71407. },
  71408. visitWarnRule$1(node) {
  71409. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  71410. },
  71411. visitWarnRule$body$_EvaluateVisitor0(node) {
  71412. var $async$goto = 0,
  71413. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71414. $async$returnValue, $async$self = this, value, t1;
  71415. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71416. if ($async$errorCode === 1)
  71417. return A._asyncRethrow($async$result, $async$completer);
  71418. while (true)
  71419. switch ($async$goto) {
  71420. case 0:
  71421. // Function start
  71422. $async$goto = 3;
  71423. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure2($async$self, node), type$.Value_2), $async$visitWarnRule$1);
  71424. case 3:
  71425. // returning from await.
  71426. value = $async$result;
  71427. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  71428. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  71429. $async$returnValue = null;
  71430. // goto return
  71431. $async$goto = 1;
  71432. break;
  71433. case 1:
  71434. // return
  71435. return A._asyncReturn($async$returnValue, $async$completer);
  71436. }
  71437. });
  71438. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  71439. },
  71440. visitWhileRule$1(node) {
  71441. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  71442. },
  71443. visitBinaryOperationExpression$1(node) {
  71444. return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
  71445. },
  71446. visitValueExpression$1(node) {
  71447. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  71448. },
  71449. visitValueExpression$body$_EvaluateVisitor0(node) {
  71450. var $async$goto = 0,
  71451. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71452. $async$returnValue;
  71453. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71454. if ($async$errorCode === 1)
  71455. return A._asyncRethrow($async$result, $async$completer);
  71456. while (true)
  71457. switch ($async$goto) {
  71458. case 0:
  71459. // Function start
  71460. $async$returnValue = node.value;
  71461. // goto return
  71462. $async$goto = 1;
  71463. break;
  71464. case 1:
  71465. // return
  71466. return A._asyncReturn($async$returnValue, $async$completer);
  71467. }
  71468. });
  71469. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  71470. },
  71471. visitVariableExpression$1(node) {
  71472. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  71473. },
  71474. visitVariableExpression$body$_EvaluateVisitor0(node) {
  71475. var $async$goto = 0,
  71476. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71477. $async$returnValue, $async$self = this, result;
  71478. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71479. if ($async$errorCode === 1)
  71480. return A._asyncRethrow($async$result, $async$completer);
  71481. while (true)
  71482. switch ($async$goto) {
  71483. case 0:
  71484. // Function start
  71485. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  71486. if (result != null) {
  71487. $async$returnValue = result;
  71488. // goto return
  71489. $async$goto = 1;
  71490. break;
  71491. }
  71492. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  71493. case 1:
  71494. // return
  71495. return A._asyncReturn($async$returnValue, $async$completer);
  71496. }
  71497. });
  71498. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  71499. },
  71500. visitUnaryOperationExpression$1(node) {
  71501. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  71502. },
  71503. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  71504. var $async$goto = 0,
  71505. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71506. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  71507. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71508. if ($async$errorCode === 1)
  71509. return A._asyncRethrow($async$result, $async$completer);
  71510. while (true)
  71511. switch ($async$goto) {
  71512. case 0:
  71513. // Function start
  71514. $async$temp1 = node;
  71515. $async$temp2 = A;
  71516. $async$temp3 = node;
  71517. $async$goto = 3;
  71518. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  71519. case 3:
  71520. // returning from await.
  71521. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  71522. // goto return
  71523. $async$goto = 1;
  71524. break;
  71525. case 1:
  71526. // return
  71527. return A._asyncReturn($async$returnValue, $async$completer);
  71528. }
  71529. });
  71530. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  71531. },
  71532. visitBooleanExpression$1(node) {
  71533. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  71534. },
  71535. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  71536. var $async$goto = 0,
  71537. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  71538. $async$returnValue;
  71539. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71540. if ($async$errorCode === 1)
  71541. return A._asyncRethrow($async$result, $async$completer);
  71542. while (true)
  71543. switch ($async$goto) {
  71544. case 0:
  71545. // Function start
  71546. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  71547. // goto return
  71548. $async$goto = 1;
  71549. break;
  71550. case 1:
  71551. // return
  71552. return A._asyncReturn($async$returnValue, $async$completer);
  71553. }
  71554. });
  71555. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  71556. },
  71557. visitIfExpression$1(node) {
  71558. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  71559. },
  71560. visitIfExpression$body$_EvaluateVisitor0(node) {
  71561. var $async$goto = 0,
  71562. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71563. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  71564. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71565. if ($async$errorCode === 1)
  71566. return A._asyncRethrow($async$result, $async$completer);
  71567. while (true)
  71568. switch ($async$goto) {
  71569. case 0:
  71570. // Function start
  71571. $async$goto = 3;
  71572. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  71573. case 3:
  71574. // returning from await.
  71575. pair = $async$result;
  71576. positional = pair.item1;
  71577. named = pair.item2;
  71578. t1 = J.getInterceptor$asx(positional);
  71579. $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  71580. if (t1.get$length(positional) > 0)
  71581. condition = t1.$index(positional, 0);
  71582. else {
  71583. t2 = named.$index(0, "condition");
  71584. t2.toString;
  71585. condition = t2;
  71586. }
  71587. if (t1.get$length(positional) > 1)
  71588. ifTrue = t1.$index(positional, 1);
  71589. else {
  71590. t2 = named.$index(0, "if-true");
  71591. t2.toString;
  71592. ifTrue = t2;
  71593. }
  71594. if (t1.get$length(positional) > 2)
  71595. ifFalse = t1.$index(positional, 2);
  71596. else {
  71597. t1 = named.$index(0, "if-false");
  71598. t1.toString;
  71599. ifFalse = t1;
  71600. }
  71601. $async$goto = 4;
  71602. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  71603. case 4:
  71604. // returning from await.
  71605. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  71606. $async$goto = 5;
  71607. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  71608. case 5:
  71609. // returning from await.
  71610. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  71611. // goto return
  71612. $async$goto = 1;
  71613. break;
  71614. case 1:
  71615. // return
  71616. return A._asyncReturn($async$returnValue, $async$completer);
  71617. }
  71618. });
  71619. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  71620. },
  71621. visitNullExpression$1(node) {
  71622. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  71623. },
  71624. visitNullExpression$body$_EvaluateVisitor0(node) {
  71625. var $async$goto = 0,
  71626. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71627. $async$returnValue;
  71628. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71629. if ($async$errorCode === 1)
  71630. return A._asyncRethrow($async$result, $async$completer);
  71631. while (true)
  71632. switch ($async$goto) {
  71633. case 0:
  71634. // Function start
  71635. $async$returnValue = B.C__SassNull0;
  71636. // goto return
  71637. $async$goto = 1;
  71638. break;
  71639. case 1:
  71640. // return
  71641. return A._asyncReturn($async$returnValue, $async$completer);
  71642. }
  71643. });
  71644. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  71645. },
  71646. visitNumberExpression$1(node) {
  71647. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  71648. },
  71649. visitNumberExpression$body$_EvaluateVisitor0(node) {
  71650. var $async$goto = 0,
  71651. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  71652. $async$returnValue;
  71653. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71654. if ($async$errorCode === 1)
  71655. return A._asyncRethrow($async$result, $async$completer);
  71656. while (true)
  71657. switch ($async$goto) {
  71658. case 0:
  71659. // Function start
  71660. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  71661. // goto return
  71662. $async$goto = 1;
  71663. break;
  71664. case 1:
  71665. // return
  71666. return A._asyncReturn($async$returnValue, $async$completer);
  71667. }
  71668. });
  71669. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  71670. },
  71671. visitParenthesizedExpression$1(node) {
  71672. return node.expression.accept$1(this);
  71673. },
  71674. visitCalculationExpression$1(node) {
  71675. return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
  71676. },
  71677. visitCalculationExpression$body$_EvaluateVisitor0(node) {
  71678. var $async$goto = 0,
  71679. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71680. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  71681. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71682. if ($async$errorCode === 1)
  71683. return A._asyncRethrow($async$result, $async$completer);
  71684. while (true)
  71685. $async$outer:
  71686. switch ($async$goto) {
  71687. case 0:
  71688. // Function start
  71689. t1 = A._setArrayType([], type$.JSArray_Object);
  71690. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  71691. case 3:
  71692. // for condition
  71693. if (!(_i < t3)) {
  71694. // goto after for
  71695. $async$goto = 5;
  71696. break;
  71697. }
  71698. argument = t2[_i];
  71699. $async$temp1 = t1;
  71700. $async$goto = 6;
  71701. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  71702. case 6:
  71703. // returning from await.
  71704. $async$temp1.push($async$result);
  71705. case 4:
  71706. // for update
  71707. ++_i;
  71708. // goto for condition
  71709. $async$goto = 3;
  71710. break;
  71711. case 5:
  71712. // after for
  71713. $arguments = t1;
  71714. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  71715. $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  71716. // goto return
  71717. $async$goto = 1;
  71718. break;
  71719. }
  71720. try {
  71721. switch (t4) {
  71722. case "calc":
  71723. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  71724. $async$returnValue = t1;
  71725. // goto return
  71726. $async$goto = 1;
  71727. break $async$outer;
  71728. case "min":
  71729. t1 = A.SassCalculation_min0($arguments);
  71730. $async$returnValue = t1;
  71731. // goto return
  71732. $async$goto = 1;
  71733. break $async$outer;
  71734. case "max":
  71735. t1 = A.SassCalculation_max0($arguments);
  71736. $async$returnValue = t1;
  71737. // goto return
  71738. $async$goto = 1;
  71739. break $async$outer;
  71740. case "clamp":
  71741. t1 = J.$index$asx($arguments, 0);
  71742. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  71743. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  71744. $async$returnValue = t1;
  71745. // goto return
  71746. $async$goto = 1;
  71747. break $async$outer;
  71748. default:
  71749. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  71750. throw A.wrapException(t1);
  71751. }
  71752. } catch (exception) {
  71753. t1 = A.unwrapException(exception);
  71754. if (t1 instanceof A.SassScriptException0) {
  71755. error = t1;
  71756. stackTrace = A.getTraceFromException(exception);
  71757. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  71758. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
  71759. } else
  71760. throw exception;
  71761. }
  71762. case 1:
  71763. // return
  71764. return A._asyncReturn($async$returnValue, $async$completer);
  71765. }
  71766. });
  71767. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  71768. },
  71769. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  71770. var i, t1, arg, number1, j, number2;
  71771. for (i = 0; t1 = args.length, i < t1; ++i) {
  71772. arg = args[i];
  71773. if (!(arg instanceof A.SassNumber0))
  71774. continue;
  71775. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  71776. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  71777. }
  71778. for (i = 0; i < t1 - 1; ++i) {
  71779. number1 = args[i];
  71780. if (!(number1 instanceof A.SassNumber0))
  71781. continue;
  71782. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  71783. number2 = args[j];
  71784. if (!(number2 instanceof A.SassNumber0))
  71785. continue;
  71786. if (number1.hasPossiblyCompatibleUnits$1(number2))
  71787. continue;
  71788. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
  71789. }
  71790. }
  71791. },
  71792. _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  71793. return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
  71794. },
  71795. _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
  71796. var $async$goto = 0,
  71797. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  71798. $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
  71799. var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71800. if ($async$errorCode === 1)
  71801. return A._asyncRethrow($async$result, $async$completer);
  71802. while (true)
  71803. switch ($async$goto) {
  71804. case 0:
  71805. // Function start
  71806. $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
  71807. break;
  71808. case 3:
  71809. // then
  71810. inner = node.expression;
  71811. $async$goto = 6;
  71812. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71813. case 6:
  71814. // returning from await.
  71815. result = $async$result;
  71816. if (inner instanceof A.FunctionExpression0)
  71817. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  71818. else
  71819. t1 = false;
  71820. $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  71821. // goto return
  71822. $async$goto = 1;
  71823. break;
  71824. // goto join
  71825. $async$goto = 4;
  71826. break;
  71827. case 5:
  71828. // else
  71829. $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
  71830. break;
  71831. case 7:
  71832. // then
  71833. $async$temp1 = A;
  71834. $async$goto = 10;
  71835. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71836. case 10:
  71837. // returning from await.
  71838. $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
  71839. // goto return
  71840. $async$goto = 1;
  71841. break;
  71842. // goto join
  71843. $async$goto = 8;
  71844. break;
  71845. case 9:
  71846. // else
  71847. $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
  71848. break;
  71849. case 11:
  71850. // then
  71851. $async$goto = 14;
  71852. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationValue_closure2($async$self, node, inMinMax), type$.Object), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71853. case 14:
  71854. // returning from await.
  71855. $async$returnValue = $async$result;
  71856. // goto return
  71857. $async$goto = 1;
  71858. break;
  71859. // goto join
  71860. $async$goto = 12;
  71861. break;
  71862. case 13:
  71863. // else
  71864. $async$goto = 15;
  71865. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71866. case 15:
  71867. // returning from await.
  71868. result = $async$result;
  71869. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
  71870. $async$returnValue = result;
  71871. // goto return
  71872. $async$goto = 1;
  71873. break;
  71874. }
  71875. if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
  71876. $async$returnValue = result;
  71877. // goto return
  71878. $async$goto = 1;
  71879. break;
  71880. }
  71881. throw A.wrapException($async$self._async_evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  71882. case 12:
  71883. // join
  71884. case 8:
  71885. // join
  71886. case 4:
  71887. // join
  71888. case 1:
  71889. // return
  71890. return A._asyncReturn($async$returnValue, $async$completer);
  71891. }
  71892. });
  71893. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
  71894. },
  71895. _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  71896. switch (operator) {
  71897. case B.BinaryOperator_qbf0:
  71898. return B.CalculationOperator_IyK0;
  71899. case B.BinaryOperator_KlB0:
  71900. return B.CalculationOperator_2bx0;
  71901. case B.BinaryOperator_6pl0:
  71902. return B.CalculationOperator_jFr0;
  71903. case B.BinaryOperator_qpm0:
  71904. return B.CalculationOperator_OvN0;
  71905. default:
  71906. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  71907. }
  71908. },
  71909. visitColorExpression$1(node) {
  71910. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  71911. },
  71912. visitColorExpression$body$_EvaluateVisitor0(node) {
  71913. var $async$goto = 0,
  71914. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  71915. $async$returnValue;
  71916. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71917. if ($async$errorCode === 1)
  71918. return A._asyncRethrow($async$result, $async$completer);
  71919. while (true)
  71920. switch ($async$goto) {
  71921. case 0:
  71922. // Function start
  71923. $async$returnValue = node.value;
  71924. // goto return
  71925. $async$goto = 1;
  71926. break;
  71927. case 1:
  71928. // return
  71929. return A._asyncReturn($async$returnValue, $async$completer);
  71930. }
  71931. });
  71932. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  71933. },
  71934. visitListExpression$1(node) {
  71935. return this.visitListExpression$body$_EvaluateVisitor0(node);
  71936. },
  71937. visitListExpression$body$_EvaluateVisitor0(node) {
  71938. var $async$goto = 0,
  71939. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  71940. $async$returnValue, $async$self = this, $async$temp1;
  71941. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71942. if ($async$errorCode === 1)
  71943. return A._asyncRethrow($async$result, $async$completer);
  71944. while (true)
  71945. switch ($async$goto) {
  71946. case 0:
  71947. // Function start
  71948. $async$temp1 = A;
  71949. $async$goto = 3;
  71950. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  71951. case 3:
  71952. // returning from await.
  71953. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  71954. // goto return
  71955. $async$goto = 1;
  71956. break;
  71957. case 1:
  71958. // return
  71959. return A._asyncReturn($async$returnValue, $async$completer);
  71960. }
  71961. });
  71962. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  71963. },
  71964. visitMapExpression$1(node) {
  71965. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  71966. },
  71967. visitMapExpression$body$_EvaluateVisitor0(node) {
  71968. var $async$goto = 0,
  71969. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  71970. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  71971. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71972. if ($async$errorCode === 1)
  71973. return A._asyncRethrow($async$result, $async$completer);
  71974. while (true)
  71975. switch ($async$goto) {
  71976. case 0:
  71977. // Function start
  71978. t1 = type$.Value_2;
  71979. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  71980. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  71981. t2 = node.pairs, t3 = t2.length, _i = 0;
  71982. case 3:
  71983. // for condition
  71984. if (!(_i < t3)) {
  71985. // goto after for
  71986. $async$goto = 5;
  71987. break;
  71988. }
  71989. pair = t2[_i];
  71990. t4 = pair.item1;
  71991. $async$goto = 6;
  71992. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  71993. case 6:
  71994. // returning from await.
  71995. keyValue = $async$result;
  71996. $async$goto = 7;
  71997. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  71998. case 7:
  71999. // returning from await.
  72000. valueValue = $async$result;
  72001. if (map.$index(0, keyValue) != null) {
  72002. t1 = keyNodes.$index(0, keyValue);
  72003. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  72004. t1 = J.getInterceptor$z(t4);
  72005. t2 = t1.get$span(t4);
  72006. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  72007. if (oldValueSpan != null)
  72008. t3.$indexSet(0, oldValueSpan, "first key");
  72009. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
  72010. }
  72011. map.$indexSet(0, keyValue, valueValue);
  72012. keyNodes.$indexSet(0, keyValue, t4);
  72013. case 4:
  72014. // for update
  72015. ++_i;
  72016. // goto for condition
  72017. $async$goto = 3;
  72018. break;
  72019. case 5:
  72020. // after for
  72021. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  72022. // goto return
  72023. $async$goto = 1;
  72024. break;
  72025. case 1:
  72026. // return
  72027. return A._asyncReturn($async$returnValue, $async$completer);
  72028. }
  72029. });
  72030. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  72031. },
  72032. visitFunctionExpression$1(node) {
  72033. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  72034. },
  72035. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  72036. var $async$goto = 0,
  72037. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72038. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  72039. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72040. if ($async$errorCode === 1)
  72041. return A._asyncRethrow($async$result, $async$completer);
  72042. while (true)
  72043. switch ($async$goto) {
  72044. case 0:
  72045. // Function start
  72046. t1 = {};
  72047. $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
  72048. t1.$function = $function;
  72049. if ($function == null) {
  72050. if (node.namespace != null)
  72051. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  72052. t1.$function = new A.PlainCssCallable0(node.originalName);
  72053. }
  72054. oldInFunction = $async$self._async_evaluate0$_inFunction;
  72055. $async$self._async_evaluate0$_inFunction = true;
  72056. $async$goto = 3;
  72057. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure6(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
  72058. case 3:
  72059. // returning from await.
  72060. result = $async$result;
  72061. $async$self._async_evaluate0$_inFunction = oldInFunction;
  72062. $async$returnValue = result;
  72063. // goto return
  72064. $async$goto = 1;
  72065. break;
  72066. case 1:
  72067. // return
  72068. return A._asyncReturn($async$returnValue, $async$completer);
  72069. }
  72070. });
  72071. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  72072. },
  72073. visitInterpolatedFunctionExpression$1(node) {
  72074. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  72075. },
  72076. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  72077. var $async$goto = 0,
  72078. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72079. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  72080. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72081. if ($async$errorCode === 1)
  72082. return A._asyncRethrow($async$result, $async$completer);
  72083. while (true)
  72084. switch ($async$goto) {
  72085. case 0:
  72086. // Function start
  72087. $async$goto = 3;
  72088. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  72089. case 3:
  72090. // returning from await.
  72091. t1 = $async$result;
  72092. oldInFunction = $async$self._async_evaluate0$_inFunction;
  72093. $async$self._async_evaluate0$_inFunction = true;
  72094. $async$goto = 4;
  72095. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2($async$self, node, new A.PlainCssCallable0(t1)), type$.Value_2), $async$visitInterpolatedFunctionExpression$1);
  72096. case 4:
  72097. // returning from await.
  72098. result = $async$result;
  72099. $async$self._async_evaluate0$_inFunction = oldInFunction;
  72100. $async$returnValue = result;
  72101. // goto return
  72102. $async$goto = 1;
  72103. break;
  72104. case 1:
  72105. // return
  72106. return A._asyncReturn($async$returnValue, $async$completer);
  72107. }
  72108. });
  72109. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  72110. },
  72111. _async_evaluate0$_getFunction$2$namespace($name, namespace) {
  72112. var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
  72113. if (local != null || namespace != null)
  72114. return local;
  72115. return this._async_evaluate0$_builtInFunctions.$index(0, $name);
  72116. },
  72117. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  72118. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  72119. },
  72120. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  72121. var $async$goto = 0,
  72122. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72123. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  72124. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72125. if ($async$errorCode === 1)
  72126. return A._asyncRethrow($async$result, $async$completer);
  72127. while (true)
  72128. switch ($async$goto) {
  72129. case 0:
  72130. // Function start
  72131. $async$goto = 3;
  72132. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  72133. case 3:
  72134. // returning from await.
  72135. evaluated = $async$result;
  72136. $name = callable.declaration.name;
  72137. if ($name !== "@content")
  72138. $name += "()";
  72139. oldCallable = $async$self._async_evaluate0$_currentCallable;
  72140. $async$self._async_evaluate0$_currentCallable = callable;
  72141. $async$goto = 4;
  72142. return A._asyncAwait($async$self._async_evaluate0$_withStackFrame$1$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure2($async$self, callable, evaluated, nodeWithSpan, run, $V), $V), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  72143. case 4:
  72144. // returning from await.
  72145. result = $async$result;
  72146. $async$self._async_evaluate0$_currentCallable = oldCallable;
  72147. $async$returnValue = result;
  72148. // goto return
  72149. $async$goto = 1;
  72150. break;
  72151. case 1:
  72152. // return
  72153. return A._asyncReturn($async$returnValue, $async$completer);
  72154. }
  72155. });
  72156. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  72157. },
  72158. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  72159. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  72160. },
  72161. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  72162. var $async$goto = 0,
  72163. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72164. $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
  72165. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72166. if ($async$errorCode === 1)
  72167. return A._asyncRethrow($async$result, $async$completer);
  72168. while (true)
  72169. switch ($async$goto) {
  72170. case 0:
  72171. // Function start
  72172. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  72173. break;
  72174. case 3:
  72175. // then
  72176. $async$goto = 6;
  72177. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  72178. case 6:
  72179. // returning from await.
  72180. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  72181. // goto return
  72182. $async$goto = 1;
  72183. break;
  72184. // goto join
  72185. $async$goto = 4;
  72186. break;
  72187. case 5:
  72188. // else
  72189. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  72190. break;
  72191. case 7:
  72192. // then
  72193. $async$goto = 10;
  72194. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure2($async$self, callable), type$.Value_2), $async$_async_evaluate0$_runFunctionCallable$3);
  72195. case 10:
  72196. // returning from await.
  72197. $async$returnValue = $async$result;
  72198. // goto return
  72199. $async$goto = 1;
  72200. break;
  72201. // goto join
  72202. $async$goto = 8;
  72203. break;
  72204. case 9:
  72205. // else
  72206. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  72207. break;
  72208. case 11:
  72209. // then
  72210. t1 = $arguments.named;
  72211. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  72212. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  72213. t1 = callable.name + "(";
  72214. t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
  72215. case 14:
  72216. // for condition
  72217. if (!(_i < t3)) {
  72218. // goto after for
  72219. $async$goto = 16;
  72220. break;
  72221. }
  72222. argument = t2[_i];
  72223. if (first)
  72224. first = false;
  72225. else
  72226. t1 += ", ";
  72227. $async$temp1 = A;
  72228. $async$goto = 17;
  72229. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  72230. case 17:
  72231. // returning from await.
  72232. t1 += $async$temp1.S($async$result);
  72233. case 15:
  72234. // for update
  72235. ++_i;
  72236. // goto for condition
  72237. $async$goto = 14;
  72238. break;
  72239. case 16:
  72240. // after for
  72241. restArg = $arguments.rest;
  72242. $async$goto = restArg != null ? 18 : 19;
  72243. break;
  72244. case 18:
  72245. // then
  72246. $async$goto = 20;
  72247. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  72248. case 20:
  72249. // returning from await.
  72250. rest = $async$result;
  72251. if (!first)
  72252. t1 += ", ";
  72253. t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  72254. case 19:
  72255. // join
  72256. t1 += A.Primitives_stringFromCharCode(41);
  72257. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  72258. // goto return
  72259. $async$goto = 1;
  72260. break;
  72261. // goto join
  72262. $async$goto = 12;
  72263. break;
  72264. case 13:
  72265. // else
  72266. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  72267. case 12:
  72268. // join
  72269. case 8:
  72270. // join
  72271. case 4:
  72272. // join
  72273. case 1:
  72274. // return
  72275. return A._asyncReturn($async$returnValue, $async$completer);
  72276. }
  72277. });
  72278. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  72279. },
  72280. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  72281. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  72282. },
  72283. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  72284. var $async$goto = 0,
  72285. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72286. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
  72287. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72288. if ($async$errorCode === 1) {
  72289. $async$currentError = $async$result;
  72290. $async$goto = $async$handler;
  72291. }
  72292. while (true)
  72293. switch ($async$goto) {
  72294. case 0:
  72295. // Function start
  72296. $async$goto = 3;
  72297. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  72298. case 3:
  72299. // returning from await.
  72300. evaluated = $async$result;
  72301. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  72302. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  72303. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  72304. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  72305. overload = tuple.item1;
  72306. callback = tuple.item2;
  72307. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
  72308. declaredArguments = overload.$arguments;
  72309. i = evaluated.positional.length, t1 = declaredArguments.length;
  72310. case 4:
  72311. // for condition
  72312. if (!(i < t1)) {
  72313. // goto after for
  72314. $async$goto = 6;
  72315. break;
  72316. }
  72317. argument = declaredArguments[i];
  72318. t2 = evaluated.positional;
  72319. t3 = evaluated.named.remove$1(0, argument.name);
  72320. $async$goto = t3 == null ? 7 : 8;
  72321. break;
  72322. case 7:
  72323. // then
  72324. t3 = argument.defaultValue;
  72325. $async$goto = 9;
  72326. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
  72327. case 9:
  72328. // returning from await.
  72329. t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
  72330. case 8:
  72331. // join
  72332. t2.push(t3);
  72333. case 5:
  72334. // for update
  72335. ++i;
  72336. // goto for condition
  72337. $async$goto = 4;
  72338. break;
  72339. case 6:
  72340. // after for
  72341. if (overload.restArgument != null) {
  72342. if (evaluated.positional.length > t1) {
  72343. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  72344. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  72345. } else
  72346. rest = B.List_empty19;
  72347. t1 = evaluated.named;
  72348. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  72349. evaluated.positional.push(argumentList);
  72350. } else
  72351. argumentList = null;
  72352. result = null;
  72353. $async$handler = 11;
  72354. $async$goto = 14;
  72355. return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
  72356. case 14:
  72357. // returning from await.
  72358. result = $async$result;
  72359. $async$handler = 2;
  72360. // goto after finally
  72361. $async$goto = 13;
  72362. break;
  72363. case 11:
  72364. // catch
  72365. $async$handler = 10;
  72366. $async$exception = $async$currentError;
  72367. t1 = A.unwrapException($async$exception);
  72368. if (type$.SassRuntimeException_2._is(t1))
  72369. throw $async$exception;
  72370. else if (t1 instanceof A.MultiSpanSassScriptException0) {
  72371. error = t1;
  72372. stackTrace = A.getTraceFromException($async$exception);
  72373. t1 = error.message;
  72374. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72375. t3 = error.primaryLabel;
  72376. t4 = error.secondarySpans;
  72377. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  72378. } else if (t1 instanceof A.MultiSpanSassException0) {
  72379. error0 = t1;
  72380. stackTrace0 = A.getTraceFromException($async$exception);
  72381. t1 = error0._span_exception$_message;
  72382. t2 = error0;
  72383. t3 = J.getInterceptor$z(t2);
  72384. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  72385. t3 = error0.primaryLabel;
  72386. t4 = error0.secondarySpans;
  72387. t5 = error0;
  72388. t6 = J.getInterceptor$z(t5);
  72389. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  72390. } else {
  72391. error1 = t1;
  72392. stackTrace1 = A.getTraceFromException($async$exception);
  72393. message = null;
  72394. try {
  72395. message = A._asString(J.get$message$x(error1));
  72396. } catch (exception) {
  72397. message0 = J.toString$0$(error1);
  72398. message = message0;
  72399. }
  72400. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  72401. }
  72402. // goto after finally
  72403. $async$goto = 13;
  72404. break;
  72405. case 10:
  72406. // uncaught
  72407. // goto rethrow
  72408. $async$goto = 2;
  72409. break;
  72410. case 13:
  72411. // after finally
  72412. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  72413. if (argumentList == null) {
  72414. $async$returnValue = result;
  72415. // goto return
  72416. $async$goto = 1;
  72417. break;
  72418. }
  72419. if (evaluated.named.__js_helper$_length === 0) {
  72420. $async$returnValue = result;
  72421. // goto return
  72422. $async$goto = 1;
  72423. break;
  72424. }
  72425. if (argumentList._argument_list$_wereKeywordsAccessed) {
  72426. $async$returnValue = result;
  72427. // goto return
  72428. $async$goto = 1;
  72429. break;
  72430. }
  72431. t1 = evaluated.named;
  72432. t1 = t1.get$keys(t1);
  72433. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  72434. t2 = evaluated.named;
  72435. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure6(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  72436. case 1:
  72437. // return
  72438. return A._asyncReturn($async$returnValue, $async$completer);
  72439. case 2:
  72440. // rethrow
  72441. return A._asyncRethrow($async$currentError, $async$completer);
  72442. }
  72443. });
  72444. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  72445. },
  72446. _async_evaluate0$_evaluateArguments$1($arguments) {
  72447. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  72448. },
  72449. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  72450. var $async$goto = 0,
  72451. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
  72452. $async$returnValue, $async$self = this, t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  72453. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72454. if ($async$errorCode === 1)
  72455. return A._asyncRethrow($async$result, $async$completer);
  72456. while (true)
  72457. switch ($async$goto) {
  72458. case 0:
  72459. // Function start
  72460. positional = A._setArrayType([], type$.JSArray_Value_2);
  72461. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  72462. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  72463. case 3:
  72464. // for condition
  72465. if (!(_i < t2)) {
  72466. // goto after for
  72467. $async$goto = 5;
  72468. break;
  72469. }
  72470. expression = t1[_i];
  72471. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  72472. $async$temp1 = positional;
  72473. $async$goto = 6;
  72474. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72475. case 6:
  72476. // returning from await.
  72477. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  72478. positionalNodes.push(nodeForSpan);
  72479. case 4:
  72480. // for update
  72481. ++_i;
  72482. // goto for condition
  72483. $async$goto = 3;
  72484. break;
  72485. case 5:
  72486. // after for
  72487. t1 = type$.String;
  72488. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  72489. t2 = type$.AstNode_2;
  72490. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72491. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  72492. case 7:
  72493. // for condition
  72494. if (!t3.moveNext$0()) {
  72495. // goto after for
  72496. $async$goto = 8;
  72497. break;
  72498. }
  72499. t4 = t3.get$current(t3);
  72500. t5 = t4.value;
  72501. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  72502. t4 = t4.key;
  72503. $async$temp1 = named;
  72504. $async$temp2 = t4;
  72505. $async$goto = 9;
  72506. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72507. case 9:
  72508. // returning from await.
  72509. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  72510. namedNodes.$indexSet(0, t4, nodeForSpan);
  72511. // goto for condition
  72512. $async$goto = 7;
  72513. break;
  72514. case 8:
  72515. // after for
  72516. restArgs = $arguments.rest;
  72517. if (restArgs == null) {
  72518. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  72519. // goto return
  72520. $async$goto = 1;
  72521. break;
  72522. }
  72523. $async$goto = 10;
  72524. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72525. case 10:
  72526. // returning from await.
  72527. rest = $async$result;
  72528. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  72529. if (rest instanceof A.SassMap0) {
  72530. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  72531. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72532. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  72533. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  72534. namedNodes.addAll$1(0, t3);
  72535. separator = B.ListSeparator_undecided_null_undecided0;
  72536. } else if (rest instanceof A.SassList0) {
  72537. t3 = rest._list1$_contents;
  72538. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure12($async$self, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
  72539. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  72540. separator = rest._list1$_separator;
  72541. if (rest instanceof A.SassArgumentList0) {
  72542. rest._argument_list$_wereKeywordsAccessed = true;
  72543. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  72544. }
  72545. } else {
  72546. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  72547. positionalNodes.push(restNodeForSpan);
  72548. separator = B.ListSeparator_undecided_null_undecided0;
  72549. }
  72550. keywordRestArgs = $arguments.keywordRest;
  72551. if (keywordRestArgs == null) {
  72552. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  72553. // goto return
  72554. $async$goto = 1;
  72555. break;
  72556. }
  72557. $async$goto = 11;
  72558. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72559. case 11:
  72560. // returning from await.
  72561. keywordRest = $async$result;
  72562. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  72563. if (keywordRest instanceof A.SassMap0) {
  72564. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  72565. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72566. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  72567. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  72568. namedNodes.addAll$1(0, t1);
  72569. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  72570. // goto return
  72571. $async$goto = 1;
  72572. break;
  72573. } else
  72574. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  72575. case 1:
  72576. // return
  72577. return A._asyncReturn($async$returnValue, $async$completer);
  72578. }
  72579. });
  72580. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  72581. },
  72582. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  72583. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  72584. },
  72585. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  72586. var $async$goto = 0,
  72587. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
  72588. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  72589. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72590. if ($async$errorCode === 1)
  72591. return A._asyncRethrow($async$result, $async$completer);
  72592. while (true)
  72593. switch ($async$goto) {
  72594. case 0:
  72595. // Function start
  72596. t1 = invocation.$arguments;
  72597. restArgs_ = t1.rest;
  72598. if (restArgs_ == null) {
  72599. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72600. // goto return
  72601. $async$goto = 1;
  72602. break;
  72603. }
  72604. t2 = t1.positional;
  72605. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  72606. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  72607. $async$goto = 3;
  72608. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  72609. case 3:
  72610. // returning from await.
  72611. rest = $async$result;
  72612. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  72613. if (rest instanceof A.SassMap0)
  72614. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  72615. else if (rest instanceof A.SassList0) {
  72616. t2 = rest._list1$_contents;
  72617. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure12($async$self, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
  72618. if (rest instanceof A.SassArgumentList0) {
  72619. rest._argument_list$_wereKeywordsAccessed = true;
  72620. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  72621. }
  72622. } else
  72623. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  72624. keywordRestArgs_ = t1.keywordRest;
  72625. if (keywordRestArgs_ == null) {
  72626. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72627. // goto return
  72628. $async$goto = 1;
  72629. break;
  72630. }
  72631. $async$goto = 4;
  72632. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  72633. case 4:
  72634. // returning from await.
  72635. keywordRest = $async$result;
  72636. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  72637. if (keywordRest instanceof A.SassMap0) {
  72638. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  72639. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72640. // goto return
  72641. $async$goto = 1;
  72642. break;
  72643. } else
  72644. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  72645. case 1:
  72646. // return
  72647. return A._asyncReturn($async$returnValue, $async$completer);
  72648. }
  72649. });
  72650. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  72651. },
  72652. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  72653. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  72654. },
  72655. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  72656. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  72657. },
  72658. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  72659. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  72660. },
  72661. visitSelectorExpression$1(node) {
  72662. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  72663. },
  72664. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  72665. var $async$goto = 0,
  72666. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72667. $async$returnValue, $async$self = this, t1;
  72668. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72669. if ($async$errorCode === 1)
  72670. return A._asyncRethrow($async$result, $async$completer);
  72671. while (true)
  72672. switch ($async$goto) {
  72673. case 0:
  72674. // Function start
  72675. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72676. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  72677. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  72678. // goto return
  72679. $async$goto = 1;
  72680. break;
  72681. case 1:
  72682. // return
  72683. return A._asyncReturn($async$returnValue, $async$completer);
  72684. }
  72685. });
  72686. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  72687. },
  72688. visitStringExpression$1(node) {
  72689. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  72690. },
  72691. visitStringExpression$body$_EvaluateVisitor0(node) {
  72692. var $async$goto = 0,
  72693. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  72694. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  72695. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72696. if ($async$errorCode === 1)
  72697. return A._asyncRethrow($async$result, $async$completer);
  72698. while (true)
  72699. switch ($async$goto) {
  72700. case 0:
  72701. // Function start
  72702. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  72703. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  72704. $async$temp1 = J;
  72705. $async$goto = 3;
  72706. return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  72707. case 3:
  72708. // returning from await.
  72709. t1 = $async$temp1.join$0$ax($async$result);
  72710. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  72711. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  72712. // goto return
  72713. $async$goto = 1;
  72714. break;
  72715. case 1:
  72716. // return
  72717. return A._asyncReturn($async$returnValue, $async$completer);
  72718. }
  72719. });
  72720. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  72721. },
  72722. visitSupportsExpression$1(expression) {
  72723. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  72724. },
  72725. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  72726. var $async$goto = 0,
  72727. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  72728. $async$returnValue, $async$self = this, $async$temp1;
  72729. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72730. if ($async$errorCode === 1)
  72731. return A._asyncRethrow($async$result, $async$completer);
  72732. while (true)
  72733. switch ($async$goto) {
  72734. case 0:
  72735. // Function start
  72736. $async$temp1 = A;
  72737. $async$goto = 3;
  72738. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  72739. case 3:
  72740. // returning from await.
  72741. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  72742. // goto return
  72743. $async$goto = 1;
  72744. break;
  72745. case 1:
  72746. // return
  72747. return A._asyncReturn($async$returnValue, $async$completer);
  72748. }
  72749. });
  72750. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  72751. },
  72752. visitCssAtRule$1(node) {
  72753. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  72754. },
  72755. visitCssAtRule$body$_EvaluateVisitor0(node) {
  72756. var $async$goto = 0,
  72757. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72758. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  72759. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72760. if ($async$errorCode === 1)
  72761. return A._asyncRethrow($async$result, $async$completer);
  72762. while (true)
  72763. switch ($async$goto) {
  72764. case 0:
  72765. // Function start
  72766. if ($async$self._async_evaluate0$_declarationName != null)
  72767. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  72768. if (node.isChildless) {
  72769. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  72770. // goto return
  72771. $async$goto = 1;
  72772. break;
  72773. }
  72774. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  72775. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  72776. t1 = node.name;
  72777. if (A.unvendor0(t1.get$value(t1)) === "keyframes")
  72778. $async$self._async_evaluate0$_inKeyframes = true;
  72779. else
  72780. $async$self._async_evaluate0$_inUnknownAtRule = true;
  72781. $async$goto = 3;
  72782. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssAtRule_closure6(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitCssAtRule$1);
  72783. case 3:
  72784. // returning from await.
  72785. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  72786. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  72787. case 1:
  72788. // return
  72789. return A._asyncReturn($async$returnValue, $async$completer);
  72790. }
  72791. });
  72792. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  72793. },
  72794. visitCssComment$1(node) {
  72795. return this.visitCssComment$body$_EvaluateVisitor0(node);
  72796. },
  72797. visitCssComment$body$_EvaluateVisitor0(node) {
  72798. var $async$goto = 0,
  72799. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72800. $async$self = this;
  72801. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72802. if ($async$errorCode === 1)
  72803. return A._asyncRethrow($async$result, $async$completer);
  72804. while (true)
  72805. switch ($async$goto) {
  72806. case 0:
  72807. // Function start
  72808. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root") && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source))
  72809. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72810. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  72811. // implicit return
  72812. return A._asyncReturn(null, $async$completer);
  72813. }
  72814. });
  72815. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  72816. },
  72817. visitCssDeclaration$1(node) {
  72818. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  72819. },
  72820. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  72821. var $async$goto = 0,
  72822. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72823. $async$self = this, t1;
  72824. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72825. if ($async$errorCode === 1)
  72826. return A._asyncRethrow($async$result, $async$completer);
  72827. while (true)
  72828. switch ($async$goto) {
  72829. case 0:
  72830. // Function start
  72831. t1 = node.name;
  72832. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  72833. // implicit return
  72834. return A._asyncReturn(null, $async$completer);
  72835. }
  72836. });
  72837. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  72838. },
  72839. visitCssImport$1(node) {
  72840. return this.visitCssImport$body$_EvaluateVisitor0(node);
  72841. },
  72842. visitCssImport$body$_EvaluateVisitor0(node) {
  72843. var $async$goto = 0,
  72844. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72845. $async$self = this, t1, modifiableNode;
  72846. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72847. if ($async$errorCode === 1)
  72848. return A._asyncRethrow($async$result, $async$completer);
  72849. while (true)
  72850. switch ($async$goto) {
  72851. case 0:
  72852. // Function start
  72853. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  72854. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root"))
  72855. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  72856. else if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") === J.get$length$asx($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").children._collection$_source)) {
  72857. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  72858. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72859. } else {
  72860. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  72861. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  72862. }
  72863. // implicit return
  72864. return A._asyncReturn(null, $async$completer);
  72865. }
  72866. });
  72867. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  72868. },
  72869. visitCssKeyframeBlock$1(node) {
  72870. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  72871. },
  72872. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  72873. var $async$goto = 0,
  72874. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72875. $async$self = this;
  72876. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72877. if ($async$errorCode === 1)
  72878. return A._asyncRethrow($async$result, $async$completer);
  72879. while (true)
  72880. switch ($async$goto) {
  72881. case 0:
  72882. // Function start
  72883. $async$goto = 2;
  72884. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure6(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitCssKeyframeBlock$1);
  72885. case 2:
  72886. // returning from await.
  72887. // implicit return
  72888. return A._asyncReturn(null, $async$completer);
  72889. }
  72890. });
  72891. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  72892. },
  72893. visitCssMediaRule$1(node) {
  72894. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  72895. },
  72896. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  72897. var $async$goto = 0,
  72898. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72899. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  72900. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72901. if ($async$errorCode === 1)
  72902. return A._asyncRethrow($async$result, $async$completer);
  72903. while (true)
  72904. switch ($async$goto) {
  72905. case 0:
  72906. // Function start
  72907. if ($async$self._async_evaluate0$_declarationName != null)
  72908. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  72909. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  72910. t1 = mergedQueries == null;
  72911. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  72912. // goto return
  72913. $async$goto = 1;
  72914. break;
  72915. }
  72916. if (t1)
  72917. mergedSources = B.Set_empty4;
  72918. else {
  72919. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  72920. t2.toString;
  72921. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  72922. t3 = $async$self._async_evaluate0$_mediaQueries;
  72923. t3.toString;
  72924. t2.addAll$1(0, t3);
  72925. t2.addAll$1(0, node.queries);
  72926. mergedSources = t2;
  72927. }
  72928. t1 = t1 ? node.queries : mergedQueries;
  72929. $async$goto = 3;
  72930. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure9($async$self, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure10(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null), $async$visitCssMediaRule$1);
  72931. case 3:
  72932. // returning from await.
  72933. case 1:
  72934. // return
  72935. return A._asyncReturn($async$returnValue, $async$completer);
  72936. }
  72937. });
  72938. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  72939. },
  72940. visitCssStyleRule$1(node) {
  72941. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  72942. },
  72943. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  72944. var $async$goto = 0,
  72945. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72946. $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
  72947. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72948. if ($async$errorCode === 1)
  72949. return A._asyncRethrow($async$result, $async$completer);
  72950. while (true)
  72951. switch ($async$goto) {
  72952. case 0:
  72953. // Function start
  72954. if ($async$self._async_evaluate0$_declarationName != null)
  72955. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  72956. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  72957. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72958. t2 = node.selector;
  72959. t3 = t2.value;
  72960. t4 = styleRule == null;
  72961. t5 = t4 ? null : styleRule.originalSelector;
  72962. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  72963. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, originalSelector);
  72964. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  72965. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  72966. $async$goto = 2;
  72967. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  72968. case 2:
  72969. // returning from await.
  72970. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72971. if (t4) {
  72972. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72973. t1 = !t1.get$isEmpty(t1);
  72974. } else
  72975. t1 = false;
  72976. if (t1) {
  72977. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72978. t1.get$last(t1).isGroupEnd = true;
  72979. }
  72980. // implicit return
  72981. return A._asyncReturn(null, $async$completer);
  72982. }
  72983. });
  72984. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  72985. },
  72986. visitCssStylesheet$1(node) {
  72987. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  72988. },
  72989. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  72990. var $async$goto = 0,
  72991. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72992. $async$self = this, t1;
  72993. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72994. if ($async$errorCode === 1)
  72995. return A._asyncRethrow($async$result, $async$completer);
  72996. while (true)
  72997. switch ($async$goto) {
  72998. case 0:
  72999. // Function start
  73000. t1 = J.get$iterator$ax(node.get$children(node));
  73001. case 2:
  73002. // for condition
  73003. if (!t1.moveNext$0()) {
  73004. // goto after for
  73005. $async$goto = 3;
  73006. break;
  73007. }
  73008. $async$goto = 4;
  73009. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  73010. case 4:
  73011. // returning from await.
  73012. // goto for condition
  73013. $async$goto = 2;
  73014. break;
  73015. case 3:
  73016. // after for
  73017. // implicit return
  73018. return A._asyncReturn(null, $async$completer);
  73019. }
  73020. });
  73021. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  73022. },
  73023. visitCssSupportsRule$1(node) {
  73024. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  73025. },
  73026. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  73027. var $async$goto = 0,
  73028. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73029. $async$self = this;
  73030. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73031. if ($async$errorCode === 1)
  73032. return A._asyncRethrow($async$result, $async$completer);
  73033. while (true)
  73034. switch ($async$goto) {
  73035. case 0:
  73036. // Function start
  73037. if ($async$self._async_evaluate0$_declarationName != null)
  73038. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  73039. $async$goto = 2;
  73040. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure5($async$self, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure6(), type$.ModifiableCssSupportsRule_2, type$.Null), $async$visitCssSupportsRule$1);
  73041. case 2:
  73042. // returning from await.
  73043. // implicit return
  73044. return A._asyncReturn(null, $async$completer);
  73045. }
  73046. });
  73047. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  73048. },
  73049. _async_evaluate0$_handleReturn$1$2(list, callback) {
  73050. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  73051. },
  73052. _async_evaluate0$_handleReturn$2(list, callback) {
  73053. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  73054. },
  73055. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  73056. var $async$goto = 0,
  73057. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73058. $async$returnValue, t1, _i, result;
  73059. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73060. if ($async$errorCode === 1)
  73061. return A._asyncRethrow($async$result, $async$completer);
  73062. while (true)
  73063. switch ($async$goto) {
  73064. case 0:
  73065. // Function start
  73066. t1 = list.length, _i = 0;
  73067. case 3:
  73068. // for condition
  73069. if (!(_i < list.length)) {
  73070. // goto after for
  73071. $async$goto = 5;
  73072. break;
  73073. }
  73074. $async$goto = 6;
  73075. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  73076. case 6:
  73077. // returning from await.
  73078. result = $async$result;
  73079. if (result != null) {
  73080. $async$returnValue = result;
  73081. // goto return
  73082. $async$goto = 1;
  73083. break;
  73084. }
  73085. case 4:
  73086. // for update
  73087. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  73088. // goto for condition
  73089. $async$goto = 3;
  73090. break;
  73091. case 5:
  73092. // after for
  73093. $async$returnValue = null;
  73094. // goto return
  73095. $async$goto = 1;
  73096. break;
  73097. case 1:
  73098. // return
  73099. return A._asyncReturn($async$returnValue, $async$completer);
  73100. }
  73101. });
  73102. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  73103. },
  73104. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  73105. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  73106. },
  73107. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  73108. var $async$goto = 0,
  73109. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73110. $async$returnValue, $async$self = this, result, oldEnvironment;
  73111. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73112. if ($async$errorCode === 1)
  73113. return A._asyncRethrow($async$result, $async$completer);
  73114. while (true)
  73115. switch ($async$goto) {
  73116. case 0:
  73117. // Function start
  73118. oldEnvironment = $async$self._async_evaluate0$_environment;
  73119. $async$self._async_evaluate0$_environment = environment;
  73120. $async$goto = 3;
  73121. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  73122. case 3:
  73123. // returning from await.
  73124. result = $async$result;
  73125. $async$self._async_evaluate0$_environment = oldEnvironment;
  73126. $async$returnValue = result;
  73127. // goto return
  73128. $async$goto = 1;
  73129. break;
  73130. case 1:
  73131. // return
  73132. return A._asyncReturn($async$returnValue, $async$completer);
  73133. }
  73134. });
  73135. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  73136. },
  73137. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  73138. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  73139. },
  73140. _async_evaluate0$_interpolationToValue$1(interpolation) {
  73141. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  73142. },
  73143. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  73144. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  73145. },
  73146. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  73147. var $async$goto = 0,
  73148. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  73149. $async$returnValue, $async$self = this, result, t1;
  73150. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73151. if ($async$errorCode === 1)
  73152. return A._asyncRethrow($async$result, $async$completer);
  73153. while (true)
  73154. switch ($async$goto) {
  73155. case 0:
  73156. // Function start
  73157. $async$goto = 3;
  73158. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  73159. case 3:
  73160. // returning from await.
  73161. result = $async$result;
  73162. t1 = trim ? A.trimAscii0(result, true) : result;
  73163. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  73164. // goto return
  73165. $async$goto = 1;
  73166. break;
  73167. case 1:
  73168. // return
  73169. return A._asyncReturn($async$returnValue, $async$completer);
  73170. }
  73171. });
  73172. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  73173. },
  73174. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  73175. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  73176. },
  73177. _async_evaluate0$_performInterpolation$1(interpolation) {
  73178. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  73179. },
  73180. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  73181. var $async$goto = 0,
  73182. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73183. $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
  73184. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73185. if ($async$errorCode === 1)
  73186. return A._asyncRethrow($async$result, $async$completer);
  73187. while (true)
  73188. switch ($async$goto) {
  73189. case 0:
  73190. // Function start
  73191. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  73192. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  73193. $async$temp1 = J;
  73194. $async$goto = 3;
  73195. return A._asyncAwait(A.mapAsync0(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure2($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  73196. case 3:
  73197. // returning from await.
  73198. result = $async$temp1.join$0$ax($async$result);
  73199. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  73200. $async$returnValue = result;
  73201. // goto return
  73202. $async$goto = 1;
  73203. break;
  73204. case 1:
  73205. // return
  73206. return A._asyncReturn($async$returnValue, $async$completer);
  73207. }
  73208. });
  73209. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  73210. },
  73211. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  73212. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  73213. },
  73214. _async_evaluate0$_evaluateToCss$1(expression) {
  73215. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  73216. },
  73217. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  73218. var $async$goto = 0,
  73219. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73220. $async$returnValue, $async$self = this;
  73221. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73222. if ($async$errorCode === 1)
  73223. return A._asyncRethrow($async$result, $async$completer);
  73224. while (true)
  73225. switch ($async$goto) {
  73226. case 0:
  73227. // Function start
  73228. $async$goto = 3;
  73229. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
  73230. case 3:
  73231. // returning from await.
  73232. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  73233. // goto return
  73234. $async$goto = 1;
  73235. break;
  73236. case 1:
  73237. // return
  73238. return A._asyncReturn($async$returnValue, $async$completer);
  73239. }
  73240. });
  73241. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  73242. },
  73243. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  73244. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  73245. },
  73246. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  73247. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  73248. },
  73249. _async_evaluate0$_expressionNode$1(expression) {
  73250. var t1;
  73251. if (expression instanceof A.VariableExpression0) {
  73252. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  73253. return t1 == null ? expression : t1;
  73254. } else
  73255. return expression;
  73256. },
  73257. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  73258. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  73259. },
  73260. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  73261. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  73262. },
  73263. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  73264. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  73265. },
  73266. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  73267. var $async$goto = 0,
  73268. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73269. $async$returnValue, $async$self = this, t1, result;
  73270. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73271. if ($async$errorCode === 1)
  73272. return A._asyncRethrow($async$result, $async$completer);
  73273. while (true)
  73274. switch ($async$goto) {
  73275. case 0:
  73276. // Function start
  73277. $async$self._async_evaluate0$_addChild$2$through(node, through);
  73278. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  73279. $async$self._async_evaluate0$__parent = node;
  73280. $async$goto = 3;
  73281. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  73282. case 3:
  73283. // returning from await.
  73284. result = $async$result;
  73285. $async$self._async_evaluate0$__parent = t1;
  73286. $async$returnValue = result;
  73287. // goto return
  73288. $async$goto = 1;
  73289. break;
  73290. case 1:
  73291. // return
  73292. return A._asyncReturn($async$returnValue, $async$completer);
  73293. }
  73294. });
  73295. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  73296. },
  73297. _async_evaluate0$_addChild$2$through(node, through) {
  73298. var grandparent, t1,
  73299. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  73300. if (through != null) {
  73301. for (; through.call$1($parent); $parent = grandparent) {
  73302. grandparent = $parent._node0$_parent;
  73303. if (grandparent == null)
  73304. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  73305. }
  73306. if ($parent.get$hasFollowingSibling()) {
  73307. t1 = $parent._node0$_parent;
  73308. t1.toString;
  73309. $parent = $parent.copyWithoutChildren$0();
  73310. t1.addChild$1($parent);
  73311. }
  73312. }
  73313. $parent.addChild$1(node);
  73314. },
  73315. _async_evaluate0$_addChild$1(node) {
  73316. return this._async_evaluate0$_addChild$2$through(node, null);
  73317. },
  73318. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  73319. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  73320. },
  73321. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  73322. var $async$goto = 0,
  73323. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73324. $async$returnValue, $async$self = this, result, oldRule;
  73325. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73326. if ($async$errorCode === 1)
  73327. return A._asyncRethrow($async$result, $async$completer);
  73328. while (true)
  73329. switch ($async$goto) {
  73330. case 0:
  73331. // Function start
  73332. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  73333. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  73334. $async$goto = 3;
  73335. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  73336. case 3:
  73337. // returning from await.
  73338. result = $async$result;
  73339. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  73340. $async$returnValue = result;
  73341. // goto return
  73342. $async$goto = 1;
  73343. break;
  73344. case 1:
  73345. // return
  73346. return A._asyncReturn($async$returnValue, $async$completer);
  73347. }
  73348. });
  73349. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  73350. },
  73351. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  73352. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  73353. },
  73354. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  73355. var $async$goto = 0,
  73356. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73357. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  73358. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73359. if ($async$errorCode === 1)
  73360. return A._asyncRethrow($async$result, $async$completer);
  73361. while (true)
  73362. switch ($async$goto) {
  73363. case 0:
  73364. // Function start
  73365. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  73366. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  73367. $async$self._async_evaluate0$_mediaQueries = queries;
  73368. $async$self._async_evaluate0$_mediaQuerySources = sources;
  73369. $async$goto = 3;
  73370. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  73371. case 3:
  73372. // returning from await.
  73373. result = $async$result;
  73374. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  73375. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  73376. $async$returnValue = result;
  73377. // goto return
  73378. $async$goto = 1;
  73379. break;
  73380. case 1:
  73381. // return
  73382. return A._asyncReturn($async$returnValue, $async$completer);
  73383. }
  73384. });
  73385. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  73386. },
  73387. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  73388. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  73389. },
  73390. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  73391. var $async$goto = 0,
  73392. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73393. $async$returnValue, $async$self = this, oldMember, result, t1;
  73394. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73395. if ($async$errorCode === 1)
  73396. return A._asyncRethrow($async$result, $async$completer);
  73397. while (true)
  73398. switch ($async$goto) {
  73399. case 0:
  73400. // Function start
  73401. t1 = $async$self._async_evaluate0$_stack;
  73402. t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  73403. oldMember = $async$self._async_evaluate0$_member;
  73404. $async$self._async_evaluate0$_member = member;
  73405. $async$goto = 3;
  73406. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  73407. case 3:
  73408. // returning from await.
  73409. result = $async$result;
  73410. $async$self._async_evaluate0$_member = oldMember;
  73411. t1.pop();
  73412. $async$returnValue = result;
  73413. // goto return
  73414. $async$goto = 1;
  73415. break;
  73416. case 1:
  73417. // return
  73418. return A._asyncReturn($async$returnValue, $async$completer);
  73419. }
  73420. });
  73421. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  73422. },
  73423. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  73424. if (value instanceof A.SassNumber0 && value.asSlash != null)
  73425. this._async_evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
  73426. return value.withoutSlash$0();
  73427. },
  73428. _async_evaluate0$_stackFrame$2(member, span) {
  73429. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  73430. },
  73431. _async_evaluate0$_stackTrace$1(span) {
  73432. var _this = this,
  73433. t1 = _this._async_evaluate0$_stack;
  73434. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure2(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  73435. if (span != null)
  73436. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  73437. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  73438. },
  73439. _async_evaluate0$_stackTrace$0() {
  73440. return this._async_evaluate0$_stackTrace$1(null);
  73441. },
  73442. _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
  73443. var t1, _this = this;
  73444. if (_this._async_evaluate0$_quietDeps)
  73445. if (!_this._async_evaluate0$_inDependency) {
  73446. t1 = _this._async_evaluate0$_currentCallable;
  73447. t1 = t1 == null ? null : t1.inDependency;
  73448. t1 = t1 === true;
  73449. } else
  73450. t1 = true;
  73451. else
  73452. t1 = false;
  73453. if (t1)
  73454. return;
  73455. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  73456. return;
  73457. _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
  73458. },
  73459. _async_evaluate0$_warn$2(message, span) {
  73460. return this._async_evaluate0$_warn$3$deprecation(message, span, false);
  73461. },
  73462. _async_evaluate0$_exception$2(message, span) {
  73463. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
  73464. return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
  73465. },
  73466. _async_evaluate0$_exception$1(message) {
  73467. return this._async_evaluate0$_exception$2(message, null);
  73468. },
  73469. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  73470. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
  73471. return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  73472. },
  73473. _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
  73474. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  73475. try {
  73476. t1 = callback.call$0();
  73477. return t1;
  73478. } catch (exception) {
  73479. t1 = A.unwrapException(exception);
  73480. if (t1 instanceof A.SassFormatException0) {
  73481. error = t1;
  73482. stackTrace = A.getTraceFromException(exception);
  73483. t1 = error;
  73484. t2 = J.getInterceptor$z(t1);
  73485. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  73486. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  73487. span = nodeWithSpan.get$span(nodeWithSpan);
  73488. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  73489. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  73490. t2 = J.get$start$z(span);
  73491. t3 = error;
  73492. t4 = J.getInterceptor$z(t3);
  73493. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  73494. t3 = t3.get$start(t3);
  73495. t4 = J.get$start$z(span);
  73496. t5 = error;
  73497. t6 = J.getInterceptor$z(t5);
  73498. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  73499. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  73500. A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  73501. } else
  73502. throw exception;
  73503. }
  73504. },
  73505. _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
  73506. return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  73507. },
  73508. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  73509. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  73510. try {
  73511. t1 = callback.call$0();
  73512. return t1;
  73513. } catch (exception) {
  73514. t1 = A.unwrapException(exception);
  73515. if (t1 instanceof A.MultiSpanSassScriptException0) {
  73516. error = t1;
  73517. stackTrace = A.getTraceFromException(exception);
  73518. t1 = error.message;
  73519. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73520. t3 = error.primaryLabel;
  73521. t4 = error.secondarySpans;
  73522. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  73523. } else if (t1 instanceof A.SassScriptException0) {
  73524. error0 = t1;
  73525. stackTrace0 = A.getTraceFromException(exception);
  73526. A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  73527. } else
  73528. throw exception;
  73529. }
  73530. },
  73531. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  73532. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  73533. },
  73534. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  73535. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  73536. },
  73537. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  73538. var $async$goto = 0,
  73539. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73540. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
  73541. var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73542. if ($async$errorCode === 1) {
  73543. $async$currentError = $async$result;
  73544. $async$goto = $async$handler;
  73545. }
  73546. while (true)
  73547. switch ($async$goto) {
  73548. case 0:
  73549. // Function start
  73550. $async$handler = 4;
  73551. $async$goto = 7;
  73552. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
  73553. case 7:
  73554. // returning from await.
  73555. t1 = $async$result;
  73556. $async$returnValue = t1;
  73557. // goto return
  73558. $async$goto = 1;
  73559. break;
  73560. $async$handler = 2;
  73561. // goto after finally
  73562. $async$goto = 6;
  73563. break;
  73564. case 4:
  73565. // catch
  73566. $async$handler = 3;
  73567. $async$exception = $async$currentError;
  73568. t1 = A.unwrapException($async$exception);
  73569. if (t1 instanceof A.MultiSpanSassScriptException0) {
  73570. error = t1;
  73571. stackTrace = A.getTraceFromException($async$exception);
  73572. t1 = error.message;
  73573. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73574. t3 = error.primaryLabel;
  73575. t4 = error.secondarySpans;
  73576. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  73577. } else if (t1 instanceof A.SassScriptException0) {
  73578. error0 = t1;
  73579. stackTrace0 = A.getTraceFromException($async$exception);
  73580. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  73581. } else
  73582. throw $async$exception;
  73583. // goto after finally
  73584. $async$goto = 6;
  73585. break;
  73586. case 3:
  73587. // uncaught
  73588. // goto rethrow
  73589. $async$goto = 2;
  73590. break;
  73591. case 6:
  73592. // after finally
  73593. case 1:
  73594. // return
  73595. return A._asyncReturn($async$returnValue, $async$completer);
  73596. case 2:
  73597. // rethrow
  73598. return A._asyncRethrow($async$currentError, $async$completer);
  73599. }
  73600. });
  73601. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
  73602. },
  73603. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  73604. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  73605. },
  73606. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  73607. var $async$goto = 0,
  73608. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73609. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  73610. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73611. if ($async$errorCode === 1) {
  73612. $async$currentError = $async$result;
  73613. $async$goto = $async$handler;
  73614. }
  73615. while (true)
  73616. switch ($async$goto) {
  73617. case 0:
  73618. // Function start
  73619. $async$handler = 4;
  73620. $async$goto = 7;
  73621. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  73622. case 7:
  73623. // returning from await.
  73624. t1 = $async$result;
  73625. $async$returnValue = t1;
  73626. // goto return
  73627. $async$goto = 1;
  73628. break;
  73629. $async$handler = 2;
  73630. // goto after finally
  73631. $async$goto = 6;
  73632. break;
  73633. case 4:
  73634. // catch
  73635. $async$handler = 3;
  73636. $async$exception = $async$currentError;
  73637. t1 = A.unwrapException($async$exception);
  73638. if (type$.SassRuntimeException_2._is(t1)) {
  73639. error = t1;
  73640. stackTrace = A.getTraceFromException($async$exception);
  73641. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  73642. throw $async$exception;
  73643. t1 = error._span_exception$_message;
  73644. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73645. A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  73646. } else
  73647. throw $async$exception;
  73648. // goto after finally
  73649. $async$goto = 6;
  73650. break;
  73651. case 3:
  73652. // uncaught
  73653. // goto rethrow
  73654. $async$goto = 2;
  73655. break;
  73656. case 6:
  73657. // after finally
  73658. case 1:
  73659. // return
  73660. return A._asyncReturn($async$returnValue, $async$completer);
  73661. case 2:
  73662. // rethrow
  73663. return A._asyncRethrow($async$currentError, $async$completer);
  73664. }
  73665. });
  73666. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  73667. }
  73668. };
  73669. A._EvaluateVisitor_closure29.prototype = {
  73670. call$1($arguments) {
  73671. var module, t2,
  73672. t1 = J.getInterceptor$asx($arguments),
  73673. variable = t1.$index($arguments, 0).assertString$1("name");
  73674. t1 = t1.$index($arguments, 1).get$realNull();
  73675. module = t1 == null ? null : t1.assertString$1("module");
  73676. t1 = this.$this._async_evaluate0$_environment;
  73677. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  73678. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73679. },
  73680. $signature: 19
  73681. };
  73682. A._EvaluateVisitor_closure30.prototype = {
  73683. call$1($arguments) {
  73684. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  73685. t1 = this.$this._async_evaluate0$_environment;
  73686. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73687. },
  73688. $signature: 19
  73689. };
  73690. A._EvaluateVisitor_closure31.prototype = {
  73691. call$1($arguments) {
  73692. var module, t2, t3, t4,
  73693. t1 = J.getInterceptor$asx($arguments),
  73694. variable = t1.$index($arguments, 0).assertString$1("name");
  73695. t1 = t1.$index($arguments, 1).get$realNull();
  73696. module = t1 == null ? null : t1.assertString$1("module");
  73697. t1 = this.$this;
  73698. t2 = t1._async_evaluate0$_environment;
  73699. t3 = variable._string0$_text;
  73700. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  73701. return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._async_evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73702. },
  73703. $signature: 19
  73704. };
  73705. A._EvaluateVisitor_closure32.prototype = {
  73706. call$1($arguments) {
  73707. var module, t2,
  73708. t1 = J.getInterceptor$asx($arguments),
  73709. variable = t1.$index($arguments, 0).assertString$1("name");
  73710. t1 = t1.$index($arguments, 1).get$realNull();
  73711. module = t1 == null ? null : t1.assertString$1("module");
  73712. t1 = this.$this._async_evaluate0$_environment;
  73713. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  73714. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73715. },
  73716. $signature: 19
  73717. };
  73718. A._EvaluateVisitor_closure33.prototype = {
  73719. call$1($arguments) {
  73720. var t1 = this.$this._async_evaluate0$_environment;
  73721. if (!t1._async_environment0$_inMixin)
  73722. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  73723. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73724. },
  73725. $signature: 19
  73726. };
  73727. A._EvaluateVisitor_closure34.prototype = {
  73728. call$1($arguments) {
  73729. var t2, t3, t4,
  73730. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  73731. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  73732. if (module == null)
  73733. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73734. t1 = type$.Value_2;
  73735. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73736. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73737. t4 = t3.get$current(t3);
  73738. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  73739. }
  73740. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73741. },
  73742. $signature: 34
  73743. };
  73744. A._EvaluateVisitor_closure35.prototype = {
  73745. call$1($arguments) {
  73746. var t2, t3, t4,
  73747. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  73748. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  73749. if (module == null)
  73750. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73751. t1 = type$.Value_2;
  73752. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73753. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73754. t4 = t3.get$current(t3);
  73755. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  73756. }
  73757. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73758. },
  73759. $signature: 34
  73760. };
  73761. A._EvaluateVisitor_closure36.prototype = {
  73762. call$1($arguments) {
  73763. var module, callable, t2,
  73764. t1 = J.getInterceptor$asx($arguments),
  73765. $name = t1.$index($arguments, 0).assertString$1("name"),
  73766. css = t1.$index($arguments, 1).get$isTruthy();
  73767. t1 = t1.$index($arguments, 2).get$realNull();
  73768. module = t1 == null ? null : t1.assertString$1("module");
  73769. if (css && module != null)
  73770. throw A.wrapException(string$.x24css_a);
  73771. if (css)
  73772. callable = new A.PlainCssCallable0($name._string0$_text);
  73773. else {
  73774. t1 = this.$this;
  73775. t2 = t1._async_evaluate0$_callableNode;
  73776. t2.toString;
  73777. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  73778. }
  73779. if (callable != null)
  73780. return new A.SassFunction0(callable);
  73781. throw A.wrapException("Function not found: " + $name.toString$0(0));
  73782. },
  73783. $signature: 164
  73784. };
  73785. A._EvaluateVisitor__closure10.prototype = {
  73786. call$0() {
  73787. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  73788. t2 = this.module;
  73789. t2 = t2 == null ? null : t2._string0$_text;
  73790. return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
  73791. },
  73792. $signature: 126
  73793. };
  73794. A._EvaluateVisitor_closure37.prototype = {
  73795. call$1($arguments) {
  73796. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  73797. },
  73798. $call$body$_EvaluateVisitor_closure2($arguments) {
  73799. var $async$goto = 0,
  73800. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73801. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  73802. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73803. if ($async$errorCode === 1)
  73804. return A._asyncRethrow($async$result, $async$completer);
  73805. while (true)
  73806. switch ($async$goto) {
  73807. case 0:
  73808. // Function start
  73809. t1 = J.getInterceptor$asx($arguments);
  73810. $function = t1.$index($arguments, 0);
  73811. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  73812. t1 = $async$self.$this;
  73813. t2 = t1._async_evaluate0$_callableNode;
  73814. t2.toString;
  73815. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  73816. t4 = type$.String;
  73817. t5 = type$.Expression_2;
  73818. t6 = t2.get$span(t2);
  73819. t7 = t2.get$span(t2);
  73820. args._argument_list$_wereKeywordsAccessed = true;
  73821. t8 = args._argument_list$_keywords;
  73822. if (t8.get$isEmpty(t8))
  73823. t2 = null;
  73824. else {
  73825. t9 = type$.Value_2;
  73826. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73827. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73828. t11 = t8.get$current(t8);
  73829. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  73830. }
  73831. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73832. }
  73833. invocation = new A.ArgumentInvocation0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  73834. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  73835. break;
  73836. case 3:
  73837. // then
  73838. t2 = $function.toString$0(0);
  73839. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  73840. callableNode = t1._async_evaluate0$_callableNode;
  73841. $async$goto = 5;
  73842. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  73843. case 5:
  73844. // returning from await.
  73845. $async$returnValue = $async$result;
  73846. // goto return
  73847. $async$goto = 1;
  73848. break;
  73849. case 4:
  73850. // join
  73851. t2 = $function.assertFunction$1("function");
  73852. t3 = t1._async_evaluate0$_callableNode;
  73853. t3.toString;
  73854. $async$goto = 6;
  73855. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  73856. case 6:
  73857. // returning from await.
  73858. t3 = $async$result;
  73859. $async$returnValue = t3;
  73860. // goto return
  73861. $async$goto = 1;
  73862. break;
  73863. case 1:
  73864. // return
  73865. return A._asyncReturn($async$returnValue, $async$completer);
  73866. }
  73867. });
  73868. return A._asyncStartSync($async$call$1, $async$completer);
  73869. },
  73870. $signature: 96
  73871. };
  73872. A._EvaluateVisitor_closure38.prototype = {
  73873. call$1($arguments) {
  73874. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  73875. },
  73876. $call$body$_EvaluateVisitor_closure1($arguments) {
  73877. var $async$goto = 0,
  73878. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73879. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  73880. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73881. if ($async$errorCode === 1)
  73882. return A._asyncRethrow($async$result, $async$completer);
  73883. while (true)
  73884. switch ($async$goto) {
  73885. case 0:
  73886. // Function start
  73887. t1 = J.getInterceptor$asx($arguments);
  73888. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  73889. t1 = t1.$index($arguments, 1).get$realNull();
  73890. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  73891. t1 = $async$self.$this;
  73892. t2 = t1._async_evaluate0$_callableNode;
  73893. t2.toString;
  73894. if (withMap != null) {
  73895. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  73896. withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
  73897. configuration = new A.ExplicitConfiguration0(t2, values, null);
  73898. } else
  73899. configuration = B.Configuration_Map_empty_null0;
  73900. t3 = t2.get$span(t2);
  73901. $async$goto = 2;
  73902. return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure9(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  73903. case 2:
  73904. // returning from await.
  73905. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73906. // implicit return
  73907. return A._asyncReturn(null, $async$completer);
  73908. }
  73909. });
  73910. return A._asyncStartSync($async$call$1, $async$completer);
  73911. },
  73912. $signature: 312
  73913. };
  73914. A._EvaluateVisitor__closure8.prototype = {
  73915. call$2(variable, value) {
  73916. var t1 = variable.assertString$1("with key"),
  73917. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  73918. t1 = this.values;
  73919. if (t1.containsKey$1($name))
  73920. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73921. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  73922. },
  73923. $signature: 58
  73924. };
  73925. A._EvaluateVisitor__closure9.prototype = {
  73926. call$1(module) {
  73927. var t1 = this.$this;
  73928. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  73929. },
  73930. $signature: 167
  73931. };
  73932. A._EvaluateVisitor_run_closure2.prototype = {
  73933. call$0() {
  73934. var $async$goto = 0,
  73935. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  73936. $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
  73937. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73938. if ($async$errorCode === 1)
  73939. return A._asyncRethrow($async$result, $async$completer);
  73940. while (true)
  73941. switch ($async$goto) {
  73942. case 0:
  73943. // Function start
  73944. t1 = $async$self.node;
  73945. url = t1.span.file.url;
  73946. if (url != null) {
  73947. t2 = $async$self.$this;
  73948. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  73949. if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  73950. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  73951. }
  73952. t2 = $async$self.$this;
  73953. $async$temp1 = A;
  73954. $async$temp2 = t2;
  73955. $async$goto = 3;
  73956. return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
  73957. case 3:
  73958. // returning from await.
  73959. $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
  73960. // goto return
  73961. $async$goto = 1;
  73962. break;
  73963. case 1:
  73964. // return
  73965. return A._asyncReturn($async$returnValue, $async$completer);
  73966. }
  73967. });
  73968. return A._asyncStartSync($async$call$0, $async$completer);
  73969. },
  73970. $signature: 315
  73971. };
  73972. A._EvaluateVisitor__loadModule_closure5.prototype = {
  73973. call$0() {
  73974. return this.callback.call$1(this.builtInModule);
  73975. },
  73976. $signature: 0
  73977. };
  73978. A._EvaluateVisitor__loadModule_closure6.prototype = {
  73979. call$0() {
  73980. var $async$goto = 0,
  73981. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73982. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
  73983. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73984. if ($async$errorCode === 1) {
  73985. $async$currentError = $async$result;
  73986. $async$goto = $async$handler;
  73987. }
  73988. while (true)
  73989. switch ($async$goto) {
  73990. case 0:
  73991. // Function start
  73992. t1 = $async$self.$this;
  73993. t2 = $async$self.nodeWithSpan;
  73994. $async$goto = 2;
  73995. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
  73996. case 2:
  73997. // returning from await.
  73998. result = $async$result;
  73999. stylesheet = result.stylesheet;
  74000. canonicalUrl = stylesheet.span.file.url;
  74001. if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  74002. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  74003. t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
  74004. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
  74005. }
  74006. if (canonicalUrl != null)
  74007. t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
  74008. oldInDependency = t1._async_evaluate0$_inDependency;
  74009. t1._async_evaluate0$_inDependency = result.isDependency;
  74010. module = null;
  74011. $async$handler = 3;
  74012. $async$goto = 6;
  74013. return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
  74014. case 6:
  74015. // returning from await.
  74016. module = $async$result;
  74017. $async$next.push(5);
  74018. // goto finally
  74019. $async$goto = 4;
  74020. break;
  74021. case 3:
  74022. // uncaught
  74023. $async$next = [1];
  74024. case 4:
  74025. // finally
  74026. $async$handler = 1;
  74027. t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  74028. t1._async_evaluate0$_inDependency = oldInDependency;
  74029. // goto the next finally handler
  74030. $async$goto = $async$next.pop();
  74031. break;
  74032. case 5:
  74033. // after finally
  74034. $async$handler = 8;
  74035. $async$goto = 11;
  74036. return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
  74037. case 11:
  74038. // returning from await.
  74039. $async$handler = 1;
  74040. // goto after finally
  74041. $async$goto = 10;
  74042. break;
  74043. case 8:
  74044. // catch
  74045. $async$handler = 7;
  74046. $async$exception = $async$currentError;
  74047. t2 = A.unwrapException($async$exception);
  74048. if (type$.SassRuntimeException_2._is(t2))
  74049. throw $async$exception;
  74050. else if (t2 instanceof A.MultiSpanSassException0) {
  74051. error = t2;
  74052. stackTrace = A.getTraceFromException($async$exception);
  74053. t2 = error._span_exception$_message;
  74054. t3 = error;
  74055. t4 = J.getInterceptor$z(t3);
  74056. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  74057. t4 = error.primaryLabel;
  74058. t5 = error.secondarySpans;
  74059. t6 = error;
  74060. t7 = J.getInterceptor$z(t6);
  74061. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  74062. } else if (t2 instanceof A.SassException0) {
  74063. error0 = t2;
  74064. stackTrace0 = A.getTraceFromException($async$exception);
  74065. t2 = error0;
  74066. t3 = J.getInterceptor$z(t2);
  74067. A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  74068. } else if (t2 instanceof A.MultiSpanSassScriptException0) {
  74069. error1 = t2;
  74070. stackTrace1 = A.getTraceFromException($async$exception);
  74071. A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  74072. } else if (t2 instanceof A.SassScriptException0) {
  74073. error2 = t2;
  74074. stackTrace2 = A.getTraceFromException($async$exception);
  74075. A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
  74076. } else
  74077. throw $async$exception;
  74078. // goto after finally
  74079. $async$goto = 10;
  74080. break;
  74081. case 7:
  74082. // uncaught
  74083. // goto rethrow
  74084. $async$goto = 1;
  74085. break;
  74086. case 10:
  74087. // after finally
  74088. // implicit return
  74089. return A._asyncReturn(null, $async$completer);
  74090. case 1:
  74091. // rethrow
  74092. return A._asyncRethrow($async$currentError, $async$completer);
  74093. }
  74094. });
  74095. return A._asyncStartSync($async$call$0, $async$completer);
  74096. },
  74097. $signature: 2
  74098. };
  74099. A._EvaluateVisitor__loadModule__closure2.prototype = {
  74100. call$1(previousLoad) {
  74101. return this.$this._async_evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74102. },
  74103. $signature: 98
  74104. };
  74105. A._EvaluateVisitor__execute_closure2.prototype = {
  74106. call$0() {
  74107. var $async$goto = 0,
  74108. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74109. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  74110. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74111. if ($async$errorCode === 1)
  74112. return A._asyncRethrow($async$result, $async$completer);
  74113. while (true)
  74114. switch ($async$goto) {
  74115. case 0:
  74116. // Function start
  74117. t1 = $async$self.$this;
  74118. oldImporter = t1._async_evaluate0$_importer;
  74119. oldStylesheet = t1._async_evaluate0$__stylesheet;
  74120. oldRoot = t1._async_evaluate0$__root;
  74121. oldParent = t1._async_evaluate0$__parent;
  74122. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  74123. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  74124. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  74125. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  74126. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  74127. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  74128. oldDeclarationName = t1._async_evaluate0$_declarationName;
  74129. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  74130. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  74131. oldConfiguration = t1._async_evaluate0$_configuration;
  74132. t1._async_evaluate0$_importer = $async$self.importer;
  74133. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  74134. t4 = t3.span;
  74135. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  74136. t1._async_evaluate0$__endOfImports = 0;
  74137. t1._async_evaluate0$_outOfOrderImports = null;
  74138. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  74139. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  74140. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  74141. t6 = $async$self.configuration;
  74142. if (t6 != null)
  74143. t1._async_evaluate0$_configuration = t6;
  74144. $async$goto = 2;
  74145. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  74146. case 2:
  74147. // returning from await.
  74148. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  74149. $async$self.css._value = t3;
  74150. t1._async_evaluate0$_importer = oldImporter;
  74151. t1._async_evaluate0$__stylesheet = oldStylesheet;
  74152. t1._async_evaluate0$__root = oldRoot;
  74153. t1._async_evaluate0$__parent = oldParent;
  74154. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  74155. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  74156. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  74157. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  74158. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  74159. t1._async_evaluate0$_declarationName = oldDeclarationName;
  74160. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  74161. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  74162. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  74163. t1._async_evaluate0$_configuration = oldConfiguration;
  74164. // implicit return
  74165. return A._asyncReturn(null, $async$completer);
  74166. }
  74167. });
  74168. return A._asyncStartSync($async$call$0, $async$completer);
  74169. },
  74170. $signature: 2
  74171. };
  74172. A._EvaluateVisitor__combineCss_closure8.prototype = {
  74173. call$1(module) {
  74174. return module.get$transitivelyContainsCss();
  74175. },
  74176. $signature: 102
  74177. };
  74178. A._EvaluateVisitor__combineCss_closure9.prototype = {
  74179. call$1(target) {
  74180. return !this.selectors.contains$1(0, target);
  74181. },
  74182. $signature: 13
  74183. };
  74184. A._EvaluateVisitor__combineCss_closure10.prototype = {
  74185. call$1(module) {
  74186. return module.cloneCss$0();
  74187. },
  74188. $signature: 317
  74189. };
  74190. A._EvaluateVisitor__extendModules_closure5.prototype = {
  74191. call$1(target) {
  74192. return !this.originalSelectors.contains$1(0, target);
  74193. },
  74194. $signature: 13
  74195. };
  74196. A._EvaluateVisitor__extendModules_closure6.prototype = {
  74197. call$0() {
  74198. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  74199. },
  74200. $signature: 255
  74201. };
  74202. A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
  74203. call$1(module) {
  74204. var t1, t2, t3, _i, upstream;
  74205. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  74206. upstream = t1[_i];
  74207. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  74208. this.call$1(upstream);
  74209. }
  74210. this.sorted.addFirst$1(module);
  74211. },
  74212. $signature: 167
  74213. };
  74214. A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
  74215. call$0() {
  74216. var t1 = A.SpanScanner$(this.resolved, null);
  74217. return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
  74218. },
  74219. $signature: 114
  74220. };
  74221. A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
  74222. call$0() {
  74223. var $async$goto = 0,
  74224. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74225. $async$self = this, t1, t2, t3, _i;
  74226. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74227. if ($async$errorCode === 1)
  74228. return A._asyncRethrow($async$result, $async$completer);
  74229. while (true)
  74230. switch ($async$goto) {
  74231. case 0:
  74232. // Function start
  74233. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74234. case 2:
  74235. // for condition
  74236. if (!(_i < t2)) {
  74237. // goto after for
  74238. $async$goto = 4;
  74239. break;
  74240. }
  74241. $async$goto = 5;
  74242. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74243. case 5:
  74244. // returning from await.
  74245. case 3:
  74246. // for update
  74247. ++_i;
  74248. // goto for condition
  74249. $async$goto = 2;
  74250. break;
  74251. case 4:
  74252. // after for
  74253. // implicit return
  74254. return A._asyncReturn(null, $async$completer);
  74255. }
  74256. });
  74257. return A._asyncStartSync($async$call$0, $async$completer);
  74258. },
  74259. $signature: 2
  74260. };
  74261. A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
  74262. call$0() {
  74263. var $async$goto = 0,
  74264. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74265. $async$self = this, t1, t2, t3, _i;
  74266. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74267. if ($async$errorCode === 1)
  74268. return A._asyncRethrow($async$result, $async$completer);
  74269. while (true)
  74270. switch ($async$goto) {
  74271. case 0:
  74272. // Function start
  74273. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74274. case 2:
  74275. // for condition
  74276. if (!(_i < t2)) {
  74277. // goto after for
  74278. $async$goto = 4;
  74279. break;
  74280. }
  74281. $async$goto = 5;
  74282. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74283. case 5:
  74284. // returning from await.
  74285. case 3:
  74286. // for update
  74287. ++_i;
  74288. // goto for condition
  74289. $async$goto = 2;
  74290. break;
  74291. case 4:
  74292. // after for
  74293. // implicit return
  74294. return A._asyncReturn(null, $async$completer);
  74295. }
  74296. });
  74297. return A._asyncStartSync($async$call$0, $async$completer);
  74298. },
  74299. $signature: 38
  74300. };
  74301. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  74302. call$1(callback) {
  74303. var $async$goto = 0,
  74304. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74305. $async$self = this, t1, t2;
  74306. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74307. if ($async$errorCode === 1)
  74308. return A._asyncRethrow($async$result, $async$completer);
  74309. while (true)
  74310. switch ($async$goto) {
  74311. case 0:
  74312. // Function start
  74313. t1 = $async$self.$this;
  74314. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  74315. t1._async_evaluate0$__parent = $async$self.newParent;
  74316. $async$goto = 2;
  74317. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  74318. case 2:
  74319. // returning from await.
  74320. t1._async_evaluate0$__parent = t2;
  74321. // implicit return
  74322. return A._asyncReturn(null, $async$completer);
  74323. }
  74324. });
  74325. return A._asyncStartSync($async$call$1, $async$completer);
  74326. },
  74327. $signature: 33
  74328. };
  74329. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  74330. call$1(callback) {
  74331. var $async$goto = 0,
  74332. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74333. $async$self = this, t1, oldAtRootExcludingStyleRule;
  74334. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74335. if ($async$errorCode === 1)
  74336. return A._asyncRethrow($async$result, $async$completer);
  74337. while (true)
  74338. switch ($async$goto) {
  74339. case 0:
  74340. // Function start
  74341. t1 = $async$self.$this;
  74342. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  74343. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  74344. $async$goto = 2;
  74345. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74346. case 2:
  74347. // returning from await.
  74348. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74349. // implicit return
  74350. return A._asyncReturn(null, $async$completer);
  74351. }
  74352. });
  74353. return A._asyncStartSync($async$call$1, $async$completer);
  74354. },
  74355. $signature: 33
  74356. };
  74357. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  74358. call$1(callback) {
  74359. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  74360. },
  74361. $signature: 33
  74362. };
  74363. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  74364. call$0() {
  74365. return this.innerScope.call$1(this.callback);
  74366. },
  74367. $signature: 2
  74368. };
  74369. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  74370. call$1(callback) {
  74371. var $async$goto = 0,
  74372. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74373. $async$self = this, t1, wasInKeyframes;
  74374. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74375. if ($async$errorCode === 1)
  74376. return A._asyncRethrow($async$result, $async$completer);
  74377. while (true)
  74378. switch ($async$goto) {
  74379. case 0:
  74380. // Function start
  74381. t1 = $async$self.$this;
  74382. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  74383. t1._async_evaluate0$_inKeyframes = false;
  74384. $async$goto = 2;
  74385. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74386. case 2:
  74387. // returning from await.
  74388. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  74389. // implicit return
  74390. return A._asyncReturn(null, $async$completer);
  74391. }
  74392. });
  74393. return A._asyncStartSync($async$call$1, $async$completer);
  74394. },
  74395. $signature: 33
  74396. };
  74397. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  74398. call$1($parent) {
  74399. return type$.CssAtRule_2._is($parent);
  74400. },
  74401. $signature: 171
  74402. };
  74403. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  74404. call$1(callback) {
  74405. var $async$goto = 0,
  74406. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74407. $async$self = this, t1, wasInUnknownAtRule;
  74408. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74409. if ($async$errorCode === 1)
  74410. return A._asyncRethrow($async$result, $async$completer);
  74411. while (true)
  74412. switch ($async$goto) {
  74413. case 0:
  74414. // Function start
  74415. t1 = $async$self.$this;
  74416. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  74417. t1._async_evaluate0$_inUnknownAtRule = false;
  74418. $async$goto = 2;
  74419. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74420. case 2:
  74421. // returning from await.
  74422. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  74423. // implicit return
  74424. return A._asyncReturn(null, $async$completer);
  74425. }
  74426. });
  74427. return A._asyncStartSync($async$call$1, $async$completer);
  74428. },
  74429. $signature: 33
  74430. };
  74431. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  74432. call$0() {
  74433. var $async$goto = 0,
  74434. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74435. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  74436. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74437. if ($async$errorCode === 1)
  74438. return A._asyncRethrow($async$result, $async$completer);
  74439. while (true)
  74440. switch ($async$goto) {
  74441. case 0:
  74442. // Function start
  74443. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74444. case 3:
  74445. // for condition
  74446. if (!(_i < t2)) {
  74447. // goto after for
  74448. $async$goto = 5;
  74449. break;
  74450. }
  74451. $async$goto = 6;
  74452. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74453. case 6:
  74454. // returning from await.
  74455. case 4:
  74456. // for update
  74457. ++_i;
  74458. // goto for condition
  74459. $async$goto = 3;
  74460. break;
  74461. case 5:
  74462. // after for
  74463. $async$returnValue = null;
  74464. // goto return
  74465. $async$goto = 1;
  74466. break;
  74467. case 1:
  74468. // return
  74469. return A._asyncReturn($async$returnValue, $async$completer);
  74470. }
  74471. });
  74472. return A._asyncStartSync($async$call$0, $async$completer);
  74473. },
  74474. $signature: 2
  74475. };
  74476. A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
  74477. call$1(value) {
  74478. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
  74479. },
  74480. $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
  74481. var $async$goto = 0,
  74482. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
  74483. $async$returnValue, $async$self = this, $async$temp1;
  74484. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74485. if ($async$errorCode === 1)
  74486. return A._asyncRethrow($async$result, $async$completer);
  74487. while (true)
  74488. switch ($async$goto) {
  74489. case 0:
  74490. // Function start
  74491. $async$temp1 = A;
  74492. $async$goto = 3;
  74493. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  74494. case 3:
  74495. // returning from await.
  74496. $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
  74497. // goto return
  74498. $async$goto = 1;
  74499. break;
  74500. case 1:
  74501. // return
  74502. return A._asyncReturn($async$returnValue, $async$completer);
  74503. }
  74504. });
  74505. return A._asyncStartSync($async$call$1, $async$completer);
  74506. },
  74507. $signature: 321
  74508. };
  74509. A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
  74510. call$0() {
  74511. var $async$goto = 0,
  74512. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74513. $async$self = this, t1, t2, t3, _i;
  74514. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74515. if ($async$errorCode === 1)
  74516. return A._asyncRethrow($async$result, $async$completer);
  74517. while (true)
  74518. switch ($async$goto) {
  74519. case 0:
  74520. // Function start
  74521. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74522. case 2:
  74523. // for condition
  74524. if (!(_i < t2)) {
  74525. // goto after for
  74526. $async$goto = 4;
  74527. break;
  74528. }
  74529. $async$goto = 5;
  74530. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74531. case 5:
  74532. // returning from await.
  74533. case 3:
  74534. // for update
  74535. ++_i;
  74536. // goto for condition
  74537. $async$goto = 2;
  74538. break;
  74539. case 4:
  74540. // after for
  74541. // implicit return
  74542. return A._asyncReturn(null, $async$completer);
  74543. }
  74544. });
  74545. return A._asyncStartSync($async$call$0, $async$completer);
  74546. },
  74547. $signature: 2
  74548. };
  74549. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  74550. call$1(value) {
  74551. var t1 = this.$this,
  74552. t2 = this.nodeWithSpan;
  74553. return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  74554. },
  74555. $signature: 56
  74556. };
  74557. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  74558. call$1(value) {
  74559. return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  74560. },
  74561. $signature: 56
  74562. };
  74563. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  74564. call$0() {
  74565. var _this = this,
  74566. t1 = _this.$this;
  74567. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  74568. },
  74569. $signature: 70
  74570. };
  74571. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  74572. call$1(element) {
  74573. var t1;
  74574. this.setVariables.call$1(element);
  74575. t1 = this.$this;
  74576. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  74577. },
  74578. $signature: 324
  74579. };
  74580. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  74581. call$1(child) {
  74582. return child.accept$1(this.$this);
  74583. },
  74584. $signature: 93
  74585. };
  74586. A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
  74587. call$0() {
  74588. var t1 = this.targetText;
  74589. return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
  74590. },
  74591. $signature: 50
  74592. };
  74593. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  74594. call$1(value) {
  74595. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  74596. },
  74597. $signature: 327
  74598. };
  74599. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  74600. call$0() {
  74601. var $async$goto = 0,
  74602. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74603. $async$self = this, t2, t3, _i, t1, styleRule;
  74604. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74605. if ($async$errorCode === 1)
  74606. return A._asyncRethrow($async$result, $async$completer);
  74607. while (true)
  74608. switch ($async$goto) {
  74609. case 0:
  74610. // Function start
  74611. t1 = $async$self.$this;
  74612. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  74613. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
  74614. break;
  74615. case 2:
  74616. // then
  74617. t2 = $async$self.children, t3 = t2.length, _i = 0;
  74618. case 5:
  74619. // for condition
  74620. if (!(_i < t3)) {
  74621. // goto after for
  74622. $async$goto = 7;
  74623. break;
  74624. }
  74625. $async$goto = 8;
  74626. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74627. case 8:
  74628. // returning from await.
  74629. case 6:
  74630. // for update
  74631. ++_i;
  74632. // goto for condition
  74633. $async$goto = 5;
  74634. break;
  74635. case 7:
  74636. // after for
  74637. // goto join
  74638. $async$goto = 3;
  74639. break;
  74640. case 4:
  74641. // else
  74642. $async$goto = 9;
  74643. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  74644. case 9:
  74645. // returning from await.
  74646. case 3:
  74647. // join
  74648. // implicit return
  74649. return A._asyncReturn(null, $async$completer);
  74650. }
  74651. });
  74652. return A._asyncStartSync($async$call$0, $async$completer);
  74653. },
  74654. $signature: 2
  74655. };
  74656. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  74657. call$0() {
  74658. var $async$goto = 0,
  74659. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74660. $async$self = this, t1, t2, t3, _i;
  74661. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74662. if ($async$errorCode === 1)
  74663. return A._asyncRethrow($async$result, $async$completer);
  74664. while (true)
  74665. switch ($async$goto) {
  74666. case 0:
  74667. // Function start
  74668. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74669. case 2:
  74670. // for condition
  74671. if (!(_i < t2)) {
  74672. // goto after for
  74673. $async$goto = 4;
  74674. break;
  74675. }
  74676. $async$goto = 5;
  74677. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74678. case 5:
  74679. // returning from await.
  74680. case 3:
  74681. // for update
  74682. ++_i;
  74683. // goto for condition
  74684. $async$goto = 2;
  74685. break;
  74686. case 4:
  74687. // after for
  74688. // implicit return
  74689. return A._asyncReturn(null, $async$completer);
  74690. }
  74691. });
  74692. return A._asyncStartSync($async$call$0, $async$completer);
  74693. },
  74694. $signature: 2
  74695. };
  74696. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  74697. call$1(node) {
  74698. return type$.CssStyleRule_2._is(node);
  74699. },
  74700. $signature: 7
  74701. };
  74702. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  74703. call$0() {
  74704. var $async$goto = 0,
  74705. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  74706. $async$returnValue, $async$self = this;
  74707. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74708. if ($async$errorCode === 1)
  74709. return A._asyncRethrow($async$result, $async$completer);
  74710. while (true)
  74711. switch ($async$goto) {
  74712. case 0:
  74713. // Function start
  74714. $async$goto = 3;
  74715. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  74716. case 3:
  74717. // returning from await.
  74718. $async$returnValue = $async$result.assertNumber$0();
  74719. // goto return
  74720. $async$goto = 1;
  74721. break;
  74722. case 1:
  74723. // return
  74724. return A._asyncReturn($async$returnValue, $async$completer);
  74725. }
  74726. });
  74727. return A._asyncStartSync($async$call$0, $async$completer);
  74728. },
  74729. $signature: 177
  74730. };
  74731. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  74732. call$0() {
  74733. var $async$goto = 0,
  74734. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  74735. $async$returnValue, $async$self = this;
  74736. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74737. if ($async$errorCode === 1)
  74738. return A._asyncRethrow($async$result, $async$completer);
  74739. while (true)
  74740. switch ($async$goto) {
  74741. case 0:
  74742. // Function start
  74743. $async$goto = 3;
  74744. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  74745. case 3:
  74746. // returning from await.
  74747. $async$returnValue = $async$result.assertNumber$0();
  74748. // goto return
  74749. $async$goto = 1;
  74750. break;
  74751. case 1:
  74752. // return
  74753. return A._asyncReturn($async$returnValue, $async$completer);
  74754. }
  74755. });
  74756. return A._asyncStartSync($async$call$0, $async$completer);
  74757. },
  74758. $signature: 177
  74759. };
  74760. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  74761. call$0() {
  74762. return this.fromNumber.assertInt$0();
  74763. },
  74764. $signature: 12
  74765. };
  74766. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  74767. call$0() {
  74768. var t1 = this.fromNumber;
  74769. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74770. },
  74771. $signature: 12
  74772. };
  74773. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  74774. call$0() {
  74775. var $async$goto = 0,
  74776. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  74777. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  74778. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74779. if ($async$errorCode === 1)
  74780. return A._asyncRethrow($async$result, $async$completer);
  74781. while (true)
  74782. switch ($async$goto) {
  74783. case 0:
  74784. // Function start
  74785. t1 = $async$self.$this;
  74786. t2 = $async$self.node;
  74787. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  74788. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  74789. case 3:
  74790. // for condition
  74791. if (!(i !== t3.to)) {
  74792. // goto after for
  74793. $async$goto = 5;
  74794. break;
  74795. }
  74796. t7 = t1._async_evaluate0$_environment;
  74797. t8 = t6.get$numeratorUnits(t6);
  74798. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74799. $async$goto = 6;
  74800. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  74801. case 6:
  74802. // returning from await.
  74803. result = $async$result;
  74804. if (result != null) {
  74805. $async$returnValue = result;
  74806. // goto return
  74807. $async$goto = 1;
  74808. break;
  74809. }
  74810. case 4:
  74811. // for update
  74812. i += t4;
  74813. // goto for condition
  74814. $async$goto = 3;
  74815. break;
  74816. case 5:
  74817. // after for
  74818. $async$returnValue = null;
  74819. // goto return
  74820. $async$goto = 1;
  74821. break;
  74822. case 1:
  74823. // return
  74824. return A._asyncReturn($async$returnValue, $async$completer);
  74825. }
  74826. });
  74827. return A._asyncStartSync($async$call$0, $async$completer);
  74828. },
  74829. $signature: 70
  74830. };
  74831. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  74832. call$1(child) {
  74833. return child.accept$1(this.$this);
  74834. },
  74835. $signature: 93
  74836. };
  74837. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  74838. call$1(module) {
  74839. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  74840. },
  74841. $signature: 107
  74842. };
  74843. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  74844. call$1(module) {
  74845. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  74846. },
  74847. $signature: 107
  74848. };
  74849. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  74850. call$0() {
  74851. var t1 = this.$this;
  74852. return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
  74853. },
  74854. $signature: 70
  74855. };
  74856. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  74857. call$1(child) {
  74858. return child.accept$1(this.$this);
  74859. },
  74860. $signature: 93
  74861. };
  74862. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  74863. call$0() {
  74864. var $async$goto = 0,
  74865. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74866. $async$returnValue, $async$self = this, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, t1, t2, result, stylesheet, url;
  74867. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74868. if ($async$errorCode === 1)
  74869. return A._asyncRethrow($async$result, $async$completer);
  74870. while (true)
  74871. switch ($async$goto) {
  74872. case 0:
  74873. // Function start
  74874. t1 = $async$self.$this;
  74875. t2 = $async$self.$import;
  74876. $async$goto = 3;
  74877. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74878. case 3:
  74879. // returning from await.
  74880. result = $async$result;
  74881. stylesheet = result.stylesheet;
  74882. url = stylesheet.span.file.url;
  74883. if (url != null) {
  74884. t3 = t1._async_evaluate0$_activeModules;
  74885. if (t3.containsKey$1(url)) {
  74886. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  74887. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  74888. }
  74889. t3.$indexSet(0, url, t2);
  74890. }
  74891. t2 = stylesheet._stylesheet1$_uses;
  74892. t3 = type$.UnmodifiableListView_UseRule_2;
  74893. t4 = new A.UnmodifiableListView(t2, t3);
  74894. if (t4.get$length(t4) === 0) {
  74895. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  74896. t4 = t4.get$length(t4) === 0;
  74897. } else
  74898. t4 = false;
  74899. $async$goto = t4 ? 4 : 5;
  74900. break;
  74901. case 4:
  74902. // then
  74903. oldImporter = t1._async_evaluate0$_importer;
  74904. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  74905. oldInDependency = t1._async_evaluate0$_inDependency;
  74906. t1._async_evaluate0$_importer = result.importer;
  74907. t1._async_evaluate0$__stylesheet = stylesheet;
  74908. t1._async_evaluate0$_inDependency = result.isDependency;
  74909. $async$goto = 6;
  74910. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  74911. case 6:
  74912. // returning from await.
  74913. t1._async_evaluate0$_importer = oldImporter;
  74914. t1._async_evaluate0$__stylesheet = t2;
  74915. t1._async_evaluate0$_inDependency = oldInDependency;
  74916. t1._async_evaluate0$_activeModules.remove$1(0, url);
  74917. // goto return
  74918. $async$goto = 1;
  74919. break;
  74920. case 5:
  74921. // join
  74922. t2 = new A.UnmodifiableListView(t2, t3);
  74923. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  74924. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  74925. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  74926. } else
  74927. loadsUserDefinedModules = true;
  74928. children = A._Cell$();
  74929. t2 = t1._async_evaluate0$_environment;
  74930. t3 = type$.String;
  74931. t4 = type$.Module_AsyncCallable_2;
  74932. t5 = type$.AstNode_2;
  74933. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  74934. t7 = t2._async_environment0$_variables;
  74935. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74936. t8 = t2._async_environment0$_variableNodes;
  74937. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74938. t9 = t2._async_environment0$_functions;
  74939. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74940. t10 = t2._async_environment0$_mixins;
  74941. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74942. environment = A.AsyncEnvironment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._async_environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._async_environment0$_content);
  74943. $async$goto = 7;
  74944. return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(t1, result, stylesheet, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  74945. case 7:
  74946. // returning from await.
  74947. module = environment.toDummyModule$0();
  74948. t1._async_evaluate0$_environment.importForwards$1(module);
  74949. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74950. break;
  74951. case 8:
  74952. // then
  74953. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74954. break;
  74955. case 10:
  74956. // then
  74957. $async$goto = 12;
  74958. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74959. case 12:
  74960. // returning from await.
  74961. case 11:
  74962. // join
  74963. visitor = new A._ImportedCssVisitor2(t1);
  74964. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74965. t2.get$current(t2).accept$1(visitor);
  74966. case 9:
  74967. // join
  74968. t1._async_evaluate0$_activeModules.remove$1(0, url);
  74969. case 1:
  74970. // return
  74971. return A._asyncReturn($async$returnValue, $async$completer);
  74972. }
  74973. });
  74974. return A._asyncStartSync($async$call$0, $async$completer);
  74975. },
  74976. $signature: 38
  74977. };
  74978. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  74979. call$1(previousLoad) {
  74980. return this.$this._async_evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74981. },
  74982. $signature: 98
  74983. };
  74984. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  74985. call$1(rule) {
  74986. return rule.url.get$scheme() !== "sass";
  74987. },
  74988. $signature: 179
  74989. };
  74990. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  74991. call$1(rule) {
  74992. return rule.url.get$scheme() !== "sass";
  74993. },
  74994. $signature: 180
  74995. };
  74996. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  74997. call$0() {
  74998. var $async$goto = 0,
  74999. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75000. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  75001. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75002. if ($async$errorCode === 1)
  75003. return A._asyncRethrow($async$result, $async$completer);
  75004. while (true)
  75005. switch ($async$goto) {
  75006. case 0:
  75007. // Function start
  75008. t1 = $async$self.$this;
  75009. oldImporter = t1._async_evaluate0$_importer;
  75010. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  75011. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  75012. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  75013. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  75014. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  75015. oldConfiguration = t1._async_evaluate0$_configuration;
  75016. oldInDependency = t1._async_evaluate0$_inDependency;
  75017. t6 = $async$self.result;
  75018. t1._async_evaluate0$_importer = t6.importer;
  75019. t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  75020. t8 = $async$self.loadsUserDefinedModules;
  75021. if (t8) {
  75022. t9 = A.ModifiableCssStylesheet$0(t7.span);
  75023. t1._async_evaluate0$__root = t9;
  75024. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
  75025. t1._async_evaluate0$__endOfImports = 0;
  75026. t1._async_evaluate0$_outOfOrderImports = null;
  75027. }
  75028. t1._async_evaluate0$_inDependency = t6.isDependency;
  75029. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  75030. if (!t6.get$isEmpty(t6))
  75031. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  75032. $async$goto = 2;
  75033. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  75034. case 2:
  75035. // returning from await.
  75036. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  75037. $async$self.children._value = t6;
  75038. t1._async_evaluate0$_importer = oldImporter;
  75039. t1._async_evaluate0$__stylesheet = t2;
  75040. if (t8) {
  75041. t1._async_evaluate0$__root = t3;
  75042. t1._async_evaluate0$__parent = t4;
  75043. t1._async_evaluate0$__endOfImports = t5;
  75044. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  75045. }
  75046. t1._async_evaluate0$_configuration = oldConfiguration;
  75047. t1._async_evaluate0$_inDependency = oldInDependency;
  75048. // implicit return
  75049. return A._asyncReturn(null, $async$completer);
  75050. }
  75051. });
  75052. return A._asyncStartSync($async$call$0, $async$completer);
  75053. },
  75054. $signature: 2
  75055. };
  75056. A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
  75057. call$0() {
  75058. var t1 = this.node;
  75059. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  75060. },
  75061. $signature: 126
  75062. };
  75063. A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
  75064. call$0() {
  75065. return this.node.get$spanWithoutContent();
  75066. },
  75067. $signature: 31
  75068. };
  75069. A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
  75070. call$1($content) {
  75071. var t1 = this.$this;
  75072. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  75073. },
  75074. $signature: 333
  75075. };
  75076. A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
  75077. call$0() {
  75078. var $async$goto = 0,
  75079. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75080. $async$self = this, t1;
  75081. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75082. if ($async$errorCode === 1)
  75083. return A._asyncRethrow($async$result, $async$completer);
  75084. while (true)
  75085. switch ($async$goto) {
  75086. case 0:
  75087. // Function start
  75088. t1 = $async$self.$this;
  75089. $async$goto = 2;
  75090. return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor_visitIncludeRule__closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  75091. case 2:
  75092. // returning from await.
  75093. // implicit return
  75094. return A._asyncReturn(null, $async$completer);
  75095. }
  75096. });
  75097. return A._asyncStartSync($async$call$0, $async$completer);
  75098. },
  75099. $signature: 2
  75100. };
  75101. A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
  75102. call$0() {
  75103. var $async$goto = 0,
  75104. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75105. $async$self = this, t1;
  75106. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75107. if ($async$errorCode === 1)
  75108. return A._asyncRethrow($async$result, $async$completer);
  75109. while (true)
  75110. switch ($async$goto) {
  75111. case 0:
  75112. // Function start
  75113. t1 = $async$self.$this;
  75114. $async$goto = 2;
  75115. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  75116. case 2:
  75117. // returning from await.
  75118. // implicit return
  75119. return A._asyncReturn(null, $async$completer);
  75120. }
  75121. });
  75122. return A._asyncStartSync($async$call$0, $async$completer);
  75123. },
  75124. $signature: 38
  75125. };
  75126. A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
  75127. call$0() {
  75128. var $async$goto = 0,
  75129. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75130. $async$self = this, t1, t2, t3, t4, t5, _i;
  75131. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75132. if ($async$errorCode === 1)
  75133. return A._asyncRethrow($async$result, $async$completer);
  75134. while (true)
  75135. switch ($async$goto) {
  75136. case 0:
  75137. // Function start
  75138. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
  75139. case 2:
  75140. // for condition
  75141. if (!(_i < t2)) {
  75142. // goto after for
  75143. $async$goto = 4;
  75144. break;
  75145. }
  75146. $async$goto = 5;
  75147. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
  75148. case 5:
  75149. // returning from await.
  75150. case 3:
  75151. // for update
  75152. ++_i;
  75153. // goto for condition
  75154. $async$goto = 2;
  75155. break;
  75156. case 4:
  75157. // after for
  75158. // implicit return
  75159. return A._asyncReturn(null, $async$completer);
  75160. }
  75161. });
  75162. return A._asyncStartSync($async$call$0, $async$completer);
  75163. },
  75164. $signature: 38
  75165. };
  75166. A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
  75167. call$0() {
  75168. return this.statement.accept$1(this.$this);
  75169. },
  75170. $signature: 70
  75171. };
  75172. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  75173. call$1(mediaQueries) {
  75174. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  75175. },
  75176. $signature: 79
  75177. };
  75178. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  75179. call$0() {
  75180. var $async$goto = 0,
  75181. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75182. $async$self = this, t1, t2;
  75183. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75184. if ($async$errorCode === 1)
  75185. return A._asyncRethrow($async$result, $async$completer);
  75186. while (true)
  75187. switch ($async$goto) {
  75188. case 0:
  75189. // Function start
  75190. t1 = $async$self.$this;
  75191. t2 = $async$self.mergedQueries;
  75192. if (t2 == null)
  75193. t2 = $async$self.queries;
  75194. $async$goto = 2;
  75195. return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  75196. case 2:
  75197. // returning from await.
  75198. // implicit return
  75199. return A._asyncReturn(null, $async$completer);
  75200. }
  75201. });
  75202. return A._asyncStartSync($async$call$0, $async$completer);
  75203. },
  75204. $signature: 2
  75205. };
  75206. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  75207. call$0() {
  75208. var $async$goto = 0,
  75209. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75210. $async$self = this, t2, t3, _i, t1, styleRule;
  75211. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75212. if ($async$errorCode === 1)
  75213. return A._asyncRethrow($async$result, $async$completer);
  75214. while (true)
  75215. switch ($async$goto) {
  75216. case 0:
  75217. // Function start
  75218. t1 = $async$self.$this;
  75219. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  75220. $async$goto = styleRule == null ? 2 : 4;
  75221. break;
  75222. case 2:
  75223. // then
  75224. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  75225. case 5:
  75226. // for condition
  75227. if (!(_i < t3)) {
  75228. // goto after for
  75229. $async$goto = 7;
  75230. break;
  75231. }
  75232. $async$goto = 8;
  75233. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75234. case 8:
  75235. // returning from await.
  75236. case 6:
  75237. // for update
  75238. ++_i;
  75239. // goto for condition
  75240. $async$goto = 5;
  75241. break;
  75242. case 7:
  75243. // after for
  75244. // goto join
  75245. $async$goto = 3;
  75246. break;
  75247. case 4:
  75248. // else
  75249. $async$goto = 9;
  75250. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  75251. case 9:
  75252. // returning from await.
  75253. case 3:
  75254. // join
  75255. // implicit return
  75256. return A._asyncReturn(null, $async$completer);
  75257. }
  75258. });
  75259. return A._asyncStartSync($async$call$0, $async$completer);
  75260. },
  75261. $signature: 2
  75262. };
  75263. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  75264. call$0() {
  75265. var $async$goto = 0,
  75266. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75267. $async$self = this, t1, t2, t3, _i;
  75268. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75269. if ($async$errorCode === 1)
  75270. return A._asyncRethrow($async$result, $async$completer);
  75271. while (true)
  75272. switch ($async$goto) {
  75273. case 0:
  75274. // Function start
  75275. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75276. case 2:
  75277. // for condition
  75278. if (!(_i < t2)) {
  75279. // goto after for
  75280. $async$goto = 4;
  75281. break;
  75282. }
  75283. $async$goto = 5;
  75284. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75285. case 5:
  75286. // returning from await.
  75287. case 3:
  75288. // for update
  75289. ++_i;
  75290. // goto for condition
  75291. $async$goto = 2;
  75292. break;
  75293. case 4:
  75294. // after for
  75295. // implicit return
  75296. return A._asyncReturn(null, $async$completer);
  75297. }
  75298. });
  75299. return A._asyncStartSync($async$call$0, $async$completer);
  75300. },
  75301. $signature: 2
  75302. };
  75303. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  75304. call$1(node) {
  75305. var t1;
  75306. if (!type$.CssStyleRule_2._is(node)) {
  75307. t1 = this.mergedSources;
  75308. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75309. } else
  75310. t1 = true;
  75311. return t1;
  75312. },
  75313. $signature: 7
  75314. };
  75315. A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
  75316. call$0() {
  75317. var t1 = A.SpanScanner$(this.resolved, null);
  75318. return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
  75319. },
  75320. $signature: 109
  75321. };
  75322. A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
  75323. call$0() {
  75324. var t1 = this.selectorText;
  75325. return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
  75326. },
  75327. $signature: 48
  75328. };
  75329. A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
  75330. call$0() {
  75331. var $async$goto = 0,
  75332. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75333. $async$self = this, t1, t2, t3, _i;
  75334. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75335. if ($async$errorCode === 1)
  75336. return A._asyncRethrow($async$result, $async$completer);
  75337. while (true)
  75338. switch ($async$goto) {
  75339. case 0:
  75340. // Function start
  75341. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75342. case 2:
  75343. // for condition
  75344. if (!(_i < t2)) {
  75345. // goto after for
  75346. $async$goto = 4;
  75347. break;
  75348. }
  75349. $async$goto = 5;
  75350. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75351. case 5:
  75352. // returning from await.
  75353. case 3:
  75354. // for update
  75355. ++_i;
  75356. // goto for condition
  75357. $async$goto = 2;
  75358. break;
  75359. case 4:
  75360. // after for
  75361. // implicit return
  75362. return A._asyncReturn(null, $async$completer);
  75363. }
  75364. });
  75365. return A._asyncStartSync($async$call$0, $async$completer);
  75366. },
  75367. $signature: 2
  75368. };
  75369. A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
  75370. call$1(node) {
  75371. return type$.CssStyleRule_2._is(node);
  75372. },
  75373. $signature: 7
  75374. };
  75375. A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
  75376. call$0() {
  75377. var _s11_ = "_stylesheet",
  75378. t1 = this.selectorText,
  75379. t2 = this.$this;
  75380. return A.SelectorList_SelectorList$parse0(t1.get$value(t1), !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, t2._async_evaluate0$_logger);
  75381. },
  75382. $signature: 50
  75383. };
  75384. A._EvaluateVisitor_visitStyleRule_closure27.prototype = {
  75385. call$0() {
  75386. var t1 = this._box_0.parsedSelector,
  75387. t2 = this.$this,
  75388. t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
  75389. t3 = t3 == null ? null : t3.originalSelector;
  75390. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
  75391. },
  75392. $signature: 50
  75393. };
  75394. A._EvaluateVisitor_visitStyleRule_closure28.prototype = {
  75395. call$0() {
  75396. var $async$goto = 0,
  75397. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75398. $async$self = this, t1;
  75399. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75400. if ($async$errorCode === 1)
  75401. return A._asyncRethrow($async$result, $async$completer);
  75402. while (true)
  75403. switch ($async$goto) {
  75404. case 0:
  75405. // Function start
  75406. t1 = $async$self.$this;
  75407. $async$goto = 2;
  75408. return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  75409. case 2:
  75410. // returning from await.
  75411. // implicit return
  75412. return A._asyncReturn(null, $async$completer);
  75413. }
  75414. });
  75415. return A._asyncStartSync($async$call$0, $async$completer);
  75416. },
  75417. $signature: 2
  75418. };
  75419. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  75420. call$0() {
  75421. var $async$goto = 0,
  75422. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75423. $async$self = this, t1, t2, t3, _i;
  75424. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75425. if ($async$errorCode === 1)
  75426. return A._asyncRethrow($async$result, $async$completer);
  75427. while (true)
  75428. switch ($async$goto) {
  75429. case 0:
  75430. // Function start
  75431. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75432. case 2:
  75433. // for condition
  75434. if (!(_i < t2)) {
  75435. // goto after for
  75436. $async$goto = 4;
  75437. break;
  75438. }
  75439. $async$goto = 5;
  75440. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75441. case 5:
  75442. // returning from await.
  75443. case 3:
  75444. // for update
  75445. ++_i;
  75446. // goto for condition
  75447. $async$goto = 2;
  75448. break;
  75449. case 4:
  75450. // after for
  75451. // implicit return
  75452. return A._asyncReturn(null, $async$completer);
  75453. }
  75454. });
  75455. return A._asyncStartSync($async$call$0, $async$completer);
  75456. },
  75457. $signature: 2
  75458. };
  75459. A._EvaluateVisitor_visitStyleRule_closure29.prototype = {
  75460. call$1(node) {
  75461. return type$.CssStyleRule_2._is(node);
  75462. },
  75463. $signature: 7
  75464. };
  75465. A._EvaluateVisitor_visitStyleRule_closure30.prototype = {
  75466. call$1(child) {
  75467. return type$.CssComment_2._is(child);
  75468. },
  75469. $signature: 110
  75470. };
  75471. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  75472. call$0() {
  75473. var $async$goto = 0,
  75474. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75475. $async$self = this, t2, t3, _i, t1, styleRule;
  75476. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75477. if ($async$errorCode === 1)
  75478. return A._asyncRethrow($async$result, $async$completer);
  75479. while (true)
  75480. switch ($async$goto) {
  75481. case 0:
  75482. // Function start
  75483. t1 = $async$self.$this;
  75484. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  75485. $async$goto = styleRule == null ? 2 : 4;
  75486. break;
  75487. case 2:
  75488. // then
  75489. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  75490. case 5:
  75491. // for condition
  75492. if (!(_i < t3)) {
  75493. // goto after for
  75494. $async$goto = 7;
  75495. break;
  75496. }
  75497. $async$goto = 8;
  75498. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75499. case 8:
  75500. // returning from await.
  75501. case 6:
  75502. // for update
  75503. ++_i;
  75504. // goto for condition
  75505. $async$goto = 5;
  75506. break;
  75507. case 7:
  75508. // after for
  75509. // goto join
  75510. $async$goto = 3;
  75511. break;
  75512. case 4:
  75513. // else
  75514. $async$goto = 9;
  75515. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  75516. case 9:
  75517. // returning from await.
  75518. case 3:
  75519. // join
  75520. // implicit return
  75521. return A._asyncReturn(null, $async$completer);
  75522. }
  75523. });
  75524. return A._asyncStartSync($async$call$0, $async$completer);
  75525. },
  75526. $signature: 2
  75527. };
  75528. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  75529. call$0() {
  75530. var $async$goto = 0,
  75531. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75532. $async$self = this, t1, t2, t3, _i;
  75533. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75534. if ($async$errorCode === 1)
  75535. return A._asyncRethrow($async$result, $async$completer);
  75536. while (true)
  75537. switch ($async$goto) {
  75538. case 0:
  75539. // Function start
  75540. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75541. case 2:
  75542. // for condition
  75543. if (!(_i < t2)) {
  75544. // goto after for
  75545. $async$goto = 4;
  75546. break;
  75547. }
  75548. $async$goto = 5;
  75549. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75550. case 5:
  75551. // returning from await.
  75552. case 3:
  75553. // for update
  75554. ++_i;
  75555. // goto for condition
  75556. $async$goto = 2;
  75557. break;
  75558. case 4:
  75559. // after for
  75560. // implicit return
  75561. return A._asyncReturn(null, $async$completer);
  75562. }
  75563. });
  75564. return A._asyncStartSync($async$call$0, $async$completer);
  75565. },
  75566. $signature: 2
  75567. };
  75568. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  75569. call$1(node) {
  75570. return type$.CssStyleRule_2._is(node);
  75571. },
  75572. $signature: 7
  75573. };
  75574. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  75575. call$0() {
  75576. var t1 = this.override;
  75577. this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  75578. },
  75579. $signature: 1
  75580. };
  75581. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  75582. call$0() {
  75583. var t1 = this.node;
  75584. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75585. },
  75586. $signature: 40
  75587. };
  75588. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  75589. call$0() {
  75590. var t1 = this.$this,
  75591. t2 = this.node;
  75592. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  75593. },
  75594. $signature: 1
  75595. };
  75596. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  75597. call$1(module) {
  75598. var t1 = this.node;
  75599. this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  75600. },
  75601. $signature: 107
  75602. };
  75603. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  75604. call$0() {
  75605. return this.node.expression.accept$1(this.$this);
  75606. },
  75607. $signature: 65
  75608. };
  75609. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  75610. call$0() {
  75611. var $async$goto = 0,
  75612. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  75613. $async$returnValue, $async$self = this, t1, t2, t3, result;
  75614. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75615. if ($async$errorCode === 1)
  75616. return A._asyncRethrow($async$result, $async$completer);
  75617. while (true)
  75618. switch ($async$goto) {
  75619. case 0:
  75620. // Function start
  75621. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  75622. case 3:
  75623. // for condition
  75624. $async$goto = 5;
  75625. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  75626. case 5:
  75627. // returning from await.
  75628. if (!$async$result.get$isTruthy()) {
  75629. // goto after for
  75630. $async$goto = 4;
  75631. break;
  75632. }
  75633. $async$goto = 6;
  75634. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  75635. case 6:
  75636. // returning from await.
  75637. result = $async$result;
  75638. if (result != null) {
  75639. $async$returnValue = result;
  75640. // goto return
  75641. $async$goto = 1;
  75642. break;
  75643. }
  75644. // goto for condition
  75645. $async$goto = 3;
  75646. break;
  75647. case 4:
  75648. // after for
  75649. $async$returnValue = null;
  75650. // goto return
  75651. $async$goto = 1;
  75652. break;
  75653. case 1:
  75654. // return
  75655. return A._asyncReturn($async$returnValue, $async$completer);
  75656. }
  75657. });
  75658. return A._asyncStartSync($async$call$0, $async$completer);
  75659. },
  75660. $signature: 70
  75661. };
  75662. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  75663. call$1(child) {
  75664. return child.accept$1(this.$this);
  75665. },
  75666. $signature: 93
  75667. };
  75668. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  75669. call$0() {
  75670. var $async$goto = 0,
  75671. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  75672. $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
  75673. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75674. if ($async$errorCode === 1)
  75675. return A._asyncRethrow($async$result, $async$completer);
  75676. while (true)
  75677. switch ($async$goto) {
  75678. case 0:
  75679. // Function start
  75680. t1 = $async$self.node;
  75681. t2 = $async$self.$this;
  75682. $async$goto = 3;
  75683. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  75684. case 3:
  75685. // returning from await.
  75686. left = $async$result;
  75687. t3 = t1.operator;
  75688. case 4:
  75689. // switch
  75690. switch (t3) {
  75691. case B.BinaryOperator_axY0:
  75692. // goto case
  75693. $async$goto = 6;
  75694. break;
  75695. case B.BinaryOperator_or_or_1_or0:
  75696. // goto case
  75697. $async$goto = 7;
  75698. break;
  75699. case B.BinaryOperator_and_and_2_and0:
  75700. // goto case
  75701. $async$goto = 8;
  75702. break;
  75703. case B.BinaryOperator_nZh0:
  75704. // goto case
  75705. $async$goto = 9;
  75706. break;
  75707. case B.BinaryOperator_Vr90:
  75708. // goto case
  75709. $async$goto = 10;
  75710. break;
  75711. case B.BinaryOperator_cw10:
  75712. // goto case
  75713. $async$goto = 11;
  75714. break;
  75715. case B.BinaryOperator_Wma0:
  75716. // goto case
  75717. $async$goto = 12;
  75718. break;
  75719. case B.BinaryOperator_apg0:
  75720. // goto case
  75721. $async$goto = 13;
  75722. break;
  75723. case B.BinaryOperator_oqF0:
  75724. // goto case
  75725. $async$goto = 14;
  75726. break;
  75727. case B.BinaryOperator_qbf0:
  75728. // goto case
  75729. $async$goto = 15;
  75730. break;
  75731. case B.BinaryOperator_KlB0:
  75732. // goto case
  75733. $async$goto = 16;
  75734. break;
  75735. case B.BinaryOperator_6pl0:
  75736. // goto case
  75737. $async$goto = 17;
  75738. break;
  75739. case B.BinaryOperator_qpm0:
  75740. // goto case
  75741. $async$goto = 18;
  75742. break;
  75743. case B.BinaryOperator_PHH0:
  75744. // goto case
  75745. $async$goto = 19;
  75746. break;
  75747. default:
  75748. // goto default
  75749. $async$goto = 20;
  75750. break;
  75751. }
  75752. break;
  75753. case 6:
  75754. // case
  75755. $async$goto = 21;
  75756. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75757. case 21:
  75758. // returning from await.
  75759. right = $async$result;
  75760. $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  75761. // goto return
  75762. $async$goto = 1;
  75763. break;
  75764. case 7:
  75765. // case
  75766. $async$goto = left.get$isTruthy() ? 22 : 24;
  75767. break;
  75768. case 22:
  75769. // then
  75770. $async$result = left;
  75771. // goto join
  75772. $async$goto = 23;
  75773. break;
  75774. case 24:
  75775. // else
  75776. $async$goto = 25;
  75777. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75778. case 25:
  75779. // returning from await.
  75780. case 23:
  75781. // join
  75782. $async$returnValue = $async$result;
  75783. // goto return
  75784. $async$goto = 1;
  75785. break;
  75786. case 8:
  75787. // case
  75788. $async$goto = left.get$isTruthy() ? 26 : 28;
  75789. break;
  75790. case 26:
  75791. // then
  75792. $async$goto = 29;
  75793. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75794. case 29:
  75795. // returning from await.
  75796. // goto join
  75797. $async$goto = 27;
  75798. break;
  75799. case 28:
  75800. // else
  75801. $async$result = left;
  75802. case 27:
  75803. // join
  75804. $async$returnValue = $async$result;
  75805. // goto return
  75806. $async$goto = 1;
  75807. break;
  75808. case 9:
  75809. // case
  75810. $async$temp1 = left;
  75811. $async$goto = 30;
  75812. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75813. case 30:
  75814. // returning from await.
  75815. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75816. // goto return
  75817. $async$goto = 1;
  75818. break;
  75819. case 10:
  75820. // case
  75821. $async$temp1 = left;
  75822. $async$goto = 31;
  75823. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75824. case 31:
  75825. // returning from await.
  75826. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75827. // goto return
  75828. $async$goto = 1;
  75829. break;
  75830. case 11:
  75831. // case
  75832. $async$temp1 = left;
  75833. $async$goto = 32;
  75834. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75835. case 32:
  75836. // returning from await.
  75837. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  75838. // goto return
  75839. $async$goto = 1;
  75840. break;
  75841. case 12:
  75842. // case
  75843. $async$temp1 = left;
  75844. $async$goto = 33;
  75845. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75846. case 33:
  75847. // returning from await.
  75848. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  75849. // goto return
  75850. $async$goto = 1;
  75851. break;
  75852. case 13:
  75853. // case
  75854. $async$temp1 = left;
  75855. $async$goto = 34;
  75856. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75857. case 34:
  75858. // returning from await.
  75859. $async$returnValue = $async$temp1.lessThan$1($async$result);
  75860. // goto return
  75861. $async$goto = 1;
  75862. break;
  75863. case 14:
  75864. // case
  75865. $async$temp1 = left;
  75866. $async$goto = 35;
  75867. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75868. case 35:
  75869. // returning from await.
  75870. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  75871. // goto return
  75872. $async$goto = 1;
  75873. break;
  75874. case 15:
  75875. // case
  75876. $async$temp1 = left;
  75877. $async$goto = 36;
  75878. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75879. case 36:
  75880. // returning from await.
  75881. $async$returnValue = $async$temp1.plus$1($async$result);
  75882. // goto return
  75883. $async$goto = 1;
  75884. break;
  75885. case 16:
  75886. // case
  75887. $async$temp1 = left;
  75888. $async$goto = 37;
  75889. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75890. case 37:
  75891. // returning from await.
  75892. $async$returnValue = $async$temp1.minus$1($async$result);
  75893. // goto return
  75894. $async$goto = 1;
  75895. break;
  75896. case 17:
  75897. // case
  75898. $async$temp1 = left;
  75899. $async$goto = 38;
  75900. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75901. case 38:
  75902. // returning from await.
  75903. $async$returnValue = $async$temp1.times$1($async$result);
  75904. // goto return
  75905. $async$goto = 1;
  75906. break;
  75907. case 18:
  75908. // case
  75909. $async$goto = 39;
  75910. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75911. case 39:
  75912. // returning from await.
  75913. right = $async$result;
  75914. result = left.dividedBy$1(right);
  75915. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  75916. $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
  75917. // goto return
  75918. $async$goto = 1;
  75919. break;
  75920. } else {
  75921. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  75922. t2._async_evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  75923. $async$returnValue = result;
  75924. // goto return
  75925. $async$goto = 1;
  75926. break;
  75927. }
  75928. case 19:
  75929. // case
  75930. $async$temp1 = left;
  75931. $async$goto = 40;
  75932. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75933. case 40:
  75934. // returning from await.
  75935. $async$returnValue = $async$temp1.modulo$1($async$result);
  75936. // goto return
  75937. $async$goto = 1;
  75938. break;
  75939. case 20:
  75940. // default
  75941. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  75942. case 5:
  75943. // after switch
  75944. case 1:
  75945. // return
  75946. return A._asyncReturn($async$returnValue, $async$completer);
  75947. }
  75948. });
  75949. return A._asyncStartSync($async$call$0, $async$completer);
  75950. },
  75951. $signature: 65
  75952. };
  75953. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
  75954. call$1(expression) {
  75955. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_qpm0)
  75956. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75957. else if (expression instanceof A.ParenthesizedExpression0)
  75958. return expression.expression.toString$0(0);
  75959. else
  75960. return expression.toString$0(0);
  75961. },
  75962. $signature: 113
  75963. };
  75964. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  75965. call$0() {
  75966. var t1 = this.node;
  75967. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75968. },
  75969. $signature: 40
  75970. };
  75971. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  75972. call$0() {
  75973. var _this = this,
  75974. t1 = _this.node.operator;
  75975. switch (t1) {
  75976. case B.UnaryOperator_gg40:
  75977. return _this.operand.unaryPlus$0();
  75978. case B.UnaryOperator_TLI0:
  75979. return _this.operand.unaryMinus$0();
  75980. case B.UnaryOperator_Ix10:
  75981. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  75982. case B.UnaryOperator_not_not_not0:
  75983. return _this.operand.unaryNot$0();
  75984. default:
  75985. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  75986. }
  75987. },
  75988. $signature: 49
  75989. };
  75990. A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
  75991. call$0() {
  75992. var $async$goto = 0,
  75993. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75994. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  75995. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75996. if ($async$errorCode === 1)
  75997. return A._asyncRethrow($async$result, $async$completer);
  75998. while (true)
  75999. switch ($async$goto) {
  76000. case 0:
  76001. // Function start
  76002. t1 = $async$self.$this;
  76003. t2 = $async$self.node;
  76004. t3 = $async$self.inMinMax;
  76005. $async$temp1 = A;
  76006. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
  76007. $async$goto = 3;
  76008. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  76009. case 3:
  76010. // returning from await.
  76011. $async$temp3 = $async$result;
  76012. $async$goto = 4;
  76013. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  76014. case 4:
  76015. // returning from await.
  76016. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  76017. // goto return
  76018. $async$goto = 1;
  76019. break;
  76020. case 1:
  76021. // return
  76022. return A._asyncReturn($async$returnValue, $async$completer);
  76023. }
  76024. });
  76025. return A._asyncStartSync($async$call$0, $async$completer);
  76026. },
  76027. $signature: 215
  76028. };
  76029. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  76030. call$1(expression) {
  76031. return expression.accept$1(this.$this);
  76032. },
  76033. $signature: 341
  76034. };
  76035. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  76036. call$0() {
  76037. var t1 = this.node;
  76038. return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  76039. },
  76040. $signature: 126
  76041. };
  76042. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  76043. call$0() {
  76044. var t1 = this.node;
  76045. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  76046. },
  76047. $signature: 65
  76048. };
  76049. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  76050. call$0() {
  76051. var t1 = this.node;
  76052. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  76053. },
  76054. $signature: 65
  76055. };
  76056. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  76057. call$0() {
  76058. var _this = this,
  76059. t1 = _this.$this,
  76060. t2 = _this.callable,
  76061. t3 = _this.V;
  76062. return t1._async_evaluate0$_withEnvironment$1$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure2(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, t3), t3);
  76063. },
  76064. $signature() {
  76065. return this.V._eval$1("Future<0>()");
  76066. }
  76067. };
  76068. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  76069. call$0() {
  76070. var _this = this,
  76071. t1 = _this.$this,
  76072. t2 = _this.V;
  76073. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  76074. },
  76075. $signature() {
  76076. return this.V._eval$1("Future<0>()");
  76077. }
  76078. };
  76079. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  76080. call$0() {
  76081. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  76082. },
  76083. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  76084. var $async$goto = 0,
  76085. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  76086. $async$returnValue, $async$self = this, declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, t1, t2, t3, t4, t5, t6, $async$temp1;
  76087. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76088. if ($async$errorCode === 1)
  76089. return A._asyncRethrow($async$result, $async$completer);
  76090. while (true)
  76091. switch ($async$goto) {
  76092. case 0:
  76093. // Function start
  76094. t1 = $async$self.$this;
  76095. t2 = $async$self.evaluated;
  76096. t3 = t2.positional;
  76097. t4 = t2.named;
  76098. t5 = $async$self.callable.declaration.$arguments;
  76099. t6 = $async$self.nodeWithSpan;
  76100. t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  76101. declaredArguments = t5.$arguments;
  76102. t7 = declaredArguments.length;
  76103. minLength = Math.min(t3.length, t7);
  76104. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  76105. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  76106. i = t3.length, t8 = t2.namedNodes;
  76107. case 3:
  76108. // for condition
  76109. if (!(i < t7)) {
  76110. // goto after for
  76111. $async$goto = 5;
  76112. break;
  76113. }
  76114. argument = declaredArguments[i];
  76115. t9 = argument.name;
  76116. value = t4.remove$1(0, t9);
  76117. $async$goto = value == null ? 6 : 7;
  76118. break;
  76119. case 6:
  76120. // then
  76121. t10 = argument.defaultValue;
  76122. $async$temp1 = t1;
  76123. $async$goto = 8;
  76124. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  76125. case 8:
  76126. // returning from await.
  76127. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
  76128. case 7:
  76129. // join
  76130. t10 = t1._async_evaluate0$_environment;
  76131. t11 = t8.$index(0, t9);
  76132. if (t11 == null) {
  76133. t11 = argument.defaultValue;
  76134. t11.toString;
  76135. t11 = t1._async_evaluate0$_expressionNode$1(t11);
  76136. }
  76137. t10.setLocalVariable$3(t9, value, t11);
  76138. case 4:
  76139. // for update
  76140. ++i;
  76141. // goto for condition
  76142. $async$goto = 3;
  76143. break;
  76144. case 5:
  76145. // after for
  76146. restArgument = t5.restArgument;
  76147. if (restArgument != null) {
  76148. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  76149. t2 = t2.separator;
  76150. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  76151. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  76152. } else
  76153. argumentList = null;
  76154. $async$goto = 9;
  76155. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  76156. case 9:
  76157. // returning from await.
  76158. result = $async$result;
  76159. if (argumentList == null) {
  76160. $async$returnValue = result;
  76161. // goto return
  76162. $async$goto = 1;
  76163. break;
  76164. }
  76165. t2 = t4.__js_helper$_length;
  76166. if (t2 === 0) {
  76167. $async$returnValue = result;
  76168. // goto return
  76169. $async$goto = 1;
  76170. break;
  76171. }
  76172. if (argumentList._argument_list$_wereKeywordsAccessed) {
  76173. $async$returnValue = result;
  76174. // goto return
  76175. $async$goto = 1;
  76176. break;
  76177. }
  76178. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  76179. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t6.get$span(t6))));
  76180. case 1:
  76181. // return
  76182. return A._asyncReturn($async$returnValue, $async$completer);
  76183. }
  76184. });
  76185. return A._asyncStartSync($async$call$0, $async$completer);
  76186. },
  76187. $signature() {
  76188. return this.V._eval$1("Future<0>()");
  76189. }
  76190. };
  76191. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  76192. call$1($name) {
  76193. return "$" + $name;
  76194. },
  76195. $signature: 5
  76196. };
  76197. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  76198. call$0() {
  76199. var $async$goto = 0,
  76200. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  76201. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  76202. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76203. if ($async$errorCode === 1)
  76204. return A._asyncRethrow($async$result, $async$completer);
  76205. while (true)
  76206. switch ($async$goto) {
  76207. case 0:
  76208. // Function start
  76209. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  76210. case 3:
  76211. // for condition
  76212. if (!(_i < t3)) {
  76213. // goto after for
  76214. $async$goto = 5;
  76215. break;
  76216. }
  76217. $async$goto = 6;
  76218. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  76219. case 6:
  76220. // returning from await.
  76221. $returnValue = $async$result;
  76222. if ($returnValue instanceof A.Value0) {
  76223. $async$returnValue = $returnValue;
  76224. // goto return
  76225. $async$goto = 1;
  76226. break;
  76227. }
  76228. case 4:
  76229. // for update
  76230. ++_i;
  76231. // goto for condition
  76232. $async$goto = 3;
  76233. break;
  76234. case 5:
  76235. // after for
  76236. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  76237. case 1:
  76238. // return
  76239. return A._asyncReturn($async$returnValue, $async$completer);
  76240. }
  76241. });
  76242. return A._asyncStartSync($async$call$0, $async$completer);
  76243. },
  76244. $signature: 65
  76245. };
  76246. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  76247. call$0() {
  76248. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  76249. },
  76250. $signature: 0
  76251. };
  76252. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  76253. call$1($name) {
  76254. return "$" + $name;
  76255. },
  76256. $signature: 5
  76257. };
  76258. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  76259. call$1(value) {
  76260. return value;
  76261. },
  76262. $signature: 39
  76263. };
  76264. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  76265. call$1(value) {
  76266. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  76267. },
  76268. $signature: 39
  76269. };
  76270. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  76271. call$2(key, value) {
  76272. var _this = this,
  76273. t1 = _this.restNodeForSpan;
  76274. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  76275. _this.namedNodes.$indexSet(0, key, t1);
  76276. },
  76277. $signature: 95
  76278. };
  76279. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  76280. call$1(value) {
  76281. return value;
  76282. },
  76283. $signature: 39
  76284. };
  76285. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  76286. call$1(value) {
  76287. var t1 = this.restArgs;
  76288. return new A.ValueExpression0(value, t1.get$span(t1));
  76289. },
  76290. $signature: 59
  76291. };
  76292. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  76293. call$1(value) {
  76294. var t1 = this.restArgs;
  76295. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  76296. },
  76297. $signature: 59
  76298. };
  76299. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  76300. call$2(key, value) {
  76301. var _this = this,
  76302. t1 = _this.restArgs;
  76303. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  76304. },
  76305. $signature: 95
  76306. };
  76307. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  76308. call$1(value) {
  76309. var t1 = this.keywordRestArgs;
  76310. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  76311. },
  76312. $signature: 59
  76313. };
  76314. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  76315. call$2(key, value) {
  76316. var t2, _this = this,
  76317. t1 = _this.$this;
  76318. if (key instanceof A.SassString0)
  76319. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  76320. else {
  76321. t2 = _this.nodeWithSpan;
  76322. throw A.wrapException(t1._async_evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  76323. }
  76324. },
  76325. $signature: 58
  76326. };
  76327. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  76328. call$0() {
  76329. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  76330. },
  76331. $signature: 0
  76332. };
  76333. A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
  76334. call$1(value) {
  76335. var $async$goto = 0,
  76336. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  76337. $async$returnValue, $async$self = this, t1, result;
  76338. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76339. if ($async$errorCode === 1)
  76340. return A._asyncRethrow($async$result, $async$completer);
  76341. while (true)
  76342. switch ($async$goto) {
  76343. case 0:
  76344. // Function start
  76345. if (typeof value == "string") {
  76346. $async$returnValue = value;
  76347. // goto return
  76348. $async$goto = 1;
  76349. break;
  76350. }
  76351. type$.Expression_2._as(value);
  76352. t1 = $async$self.$this;
  76353. $async$goto = 3;
  76354. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  76355. case 3:
  76356. // returning from await.
  76357. result = $async$result;
  76358. $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
  76359. // goto return
  76360. $async$goto = 1;
  76361. break;
  76362. case 1:
  76363. // return
  76364. return A._asyncReturn($async$returnValue, $async$completer);
  76365. }
  76366. });
  76367. return A._asyncStartSync($async$call$1, $async$completer);
  76368. },
  76369. $signature: 80
  76370. };
  76371. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  76372. call$0() {
  76373. var $async$goto = 0,
  76374. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76375. $async$self = this, t1, t2, t3, t4;
  76376. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76377. if ($async$errorCode === 1)
  76378. return A._asyncRethrow($async$result, $async$completer);
  76379. while (true)
  76380. switch ($async$goto) {
  76381. case 0:
  76382. // Function start
  76383. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76384. case 2:
  76385. // for condition
  76386. if (!t1.moveNext$0()) {
  76387. // goto after for
  76388. $async$goto = 3;
  76389. break;
  76390. }
  76391. t4 = t1.__internal$_current;
  76392. $async$goto = 4;
  76393. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76394. case 4:
  76395. // returning from await.
  76396. // goto for condition
  76397. $async$goto = 2;
  76398. break;
  76399. case 3:
  76400. // after for
  76401. // implicit return
  76402. return A._asyncReturn(null, $async$completer);
  76403. }
  76404. });
  76405. return A._asyncStartSync($async$call$0, $async$completer);
  76406. },
  76407. $signature: 2
  76408. };
  76409. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  76410. call$1(node) {
  76411. return type$.CssStyleRule_2._is(node);
  76412. },
  76413. $signature: 7
  76414. };
  76415. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  76416. call$0() {
  76417. var $async$goto = 0,
  76418. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76419. $async$self = this, t1, t2, t3, t4;
  76420. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76421. if ($async$errorCode === 1)
  76422. return A._asyncRethrow($async$result, $async$completer);
  76423. while (true)
  76424. switch ($async$goto) {
  76425. case 0:
  76426. // Function start
  76427. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76428. case 2:
  76429. // for condition
  76430. if (!t1.moveNext$0()) {
  76431. // goto after for
  76432. $async$goto = 3;
  76433. break;
  76434. }
  76435. t4 = t1.__internal$_current;
  76436. $async$goto = 4;
  76437. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76438. case 4:
  76439. // returning from await.
  76440. // goto for condition
  76441. $async$goto = 2;
  76442. break;
  76443. case 3:
  76444. // after for
  76445. // implicit return
  76446. return A._asyncReturn(null, $async$completer);
  76447. }
  76448. });
  76449. return A._asyncStartSync($async$call$0, $async$completer);
  76450. },
  76451. $signature: 2
  76452. };
  76453. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  76454. call$1(node) {
  76455. return type$.CssStyleRule_2._is(node);
  76456. },
  76457. $signature: 7
  76458. };
  76459. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  76460. call$1(mediaQueries) {
  76461. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  76462. },
  76463. $signature: 79
  76464. };
  76465. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  76466. call$0() {
  76467. var $async$goto = 0,
  76468. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76469. $async$self = this, t1, t2;
  76470. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76471. if ($async$errorCode === 1)
  76472. return A._asyncRethrow($async$result, $async$completer);
  76473. while (true)
  76474. switch ($async$goto) {
  76475. case 0:
  76476. // Function start
  76477. t1 = $async$self.$this;
  76478. t2 = $async$self.mergedQueries;
  76479. if (t2 == null)
  76480. t2 = $async$self.node.queries;
  76481. $async$goto = 2;
  76482. return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$3(t2, $async$self.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  76483. case 2:
  76484. // returning from await.
  76485. // implicit return
  76486. return A._asyncReturn(null, $async$completer);
  76487. }
  76488. });
  76489. return A._asyncStartSync($async$call$0, $async$completer);
  76490. },
  76491. $signature: 2
  76492. };
  76493. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  76494. call$0() {
  76495. var $async$goto = 0,
  76496. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76497. $async$self = this, t2, t3, t4, t1, styleRule;
  76498. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76499. if ($async$errorCode === 1)
  76500. return A._asyncRethrow($async$result, $async$completer);
  76501. while (true)
  76502. switch ($async$goto) {
  76503. case 0:
  76504. // Function start
  76505. t1 = $async$self.$this;
  76506. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76507. $async$goto = styleRule == null ? 2 : 4;
  76508. break;
  76509. case 2:
  76510. // then
  76511. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  76512. case 5:
  76513. // for condition
  76514. if (!t2.moveNext$0()) {
  76515. // goto after for
  76516. $async$goto = 6;
  76517. break;
  76518. }
  76519. t4 = t2.__internal$_current;
  76520. $async$goto = 7;
  76521. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76522. case 7:
  76523. // returning from await.
  76524. // goto for condition
  76525. $async$goto = 5;
  76526. break;
  76527. case 6:
  76528. // after for
  76529. // goto join
  76530. $async$goto = 3;
  76531. break;
  76532. case 4:
  76533. // else
  76534. $async$goto = 8;
  76535. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  76536. case 8:
  76537. // returning from await.
  76538. case 3:
  76539. // join
  76540. // implicit return
  76541. return A._asyncReturn(null, $async$completer);
  76542. }
  76543. });
  76544. return A._asyncStartSync($async$call$0, $async$completer);
  76545. },
  76546. $signature: 2
  76547. };
  76548. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  76549. call$0() {
  76550. var $async$goto = 0,
  76551. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76552. $async$self = this, t1, t2, t3, t4;
  76553. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76554. if ($async$errorCode === 1)
  76555. return A._asyncRethrow($async$result, $async$completer);
  76556. while (true)
  76557. switch ($async$goto) {
  76558. case 0:
  76559. // Function start
  76560. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76561. case 2:
  76562. // for condition
  76563. if (!t1.moveNext$0()) {
  76564. // goto after for
  76565. $async$goto = 3;
  76566. break;
  76567. }
  76568. t4 = t1.__internal$_current;
  76569. $async$goto = 4;
  76570. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76571. case 4:
  76572. // returning from await.
  76573. // goto for condition
  76574. $async$goto = 2;
  76575. break;
  76576. case 3:
  76577. // after for
  76578. // implicit return
  76579. return A._asyncReturn(null, $async$completer);
  76580. }
  76581. });
  76582. return A._asyncStartSync($async$call$0, $async$completer);
  76583. },
  76584. $signature: 2
  76585. };
  76586. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  76587. call$1(node) {
  76588. var t1;
  76589. if (!type$.CssStyleRule_2._is(node)) {
  76590. t1 = this.mergedSources;
  76591. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  76592. } else
  76593. t1 = true;
  76594. return t1;
  76595. },
  76596. $signature: 7
  76597. };
  76598. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  76599. call$0() {
  76600. var $async$goto = 0,
  76601. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76602. $async$self = this, t1;
  76603. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76604. if ($async$errorCode === 1)
  76605. return A._asyncRethrow($async$result, $async$completer);
  76606. while (true)
  76607. switch ($async$goto) {
  76608. case 0:
  76609. // Function start
  76610. t1 = $async$self.$this;
  76611. $async$goto = 2;
  76612. return A._asyncAwait(t1._async_evaluate0$_withStyleRule$1$2($async$self.rule, new A._EvaluateVisitor_visitCssStyleRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
  76613. case 2:
  76614. // returning from await.
  76615. // implicit return
  76616. return A._asyncReturn(null, $async$completer);
  76617. }
  76618. });
  76619. return A._asyncStartSync($async$call$0, $async$completer);
  76620. },
  76621. $signature: 2
  76622. };
  76623. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  76624. call$0() {
  76625. var $async$goto = 0,
  76626. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76627. $async$self = this, t1, t2, t3, t4;
  76628. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76629. if ($async$errorCode === 1)
  76630. return A._asyncRethrow($async$result, $async$completer);
  76631. while (true)
  76632. switch ($async$goto) {
  76633. case 0:
  76634. // Function start
  76635. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76636. case 2:
  76637. // for condition
  76638. if (!t1.moveNext$0()) {
  76639. // goto after for
  76640. $async$goto = 3;
  76641. break;
  76642. }
  76643. t4 = t1.__internal$_current;
  76644. $async$goto = 4;
  76645. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76646. case 4:
  76647. // returning from await.
  76648. // goto for condition
  76649. $async$goto = 2;
  76650. break;
  76651. case 3:
  76652. // after for
  76653. // implicit return
  76654. return A._asyncReturn(null, $async$completer);
  76655. }
  76656. });
  76657. return A._asyncStartSync($async$call$0, $async$completer);
  76658. },
  76659. $signature: 2
  76660. };
  76661. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  76662. call$1(node) {
  76663. return type$.CssStyleRule_2._is(node);
  76664. },
  76665. $signature: 7
  76666. };
  76667. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  76668. call$0() {
  76669. var $async$goto = 0,
  76670. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76671. $async$self = this, t2, t3, t4, t1, styleRule;
  76672. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76673. if ($async$errorCode === 1)
  76674. return A._asyncRethrow($async$result, $async$completer);
  76675. while (true)
  76676. switch ($async$goto) {
  76677. case 0:
  76678. // Function start
  76679. t1 = $async$self.$this;
  76680. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76681. $async$goto = styleRule == null ? 2 : 4;
  76682. break;
  76683. case 2:
  76684. // then
  76685. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  76686. case 5:
  76687. // for condition
  76688. if (!t2.moveNext$0()) {
  76689. // goto after for
  76690. $async$goto = 6;
  76691. break;
  76692. }
  76693. t4 = t2.__internal$_current;
  76694. $async$goto = 7;
  76695. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76696. case 7:
  76697. // returning from await.
  76698. // goto for condition
  76699. $async$goto = 5;
  76700. break;
  76701. case 6:
  76702. // after for
  76703. // goto join
  76704. $async$goto = 3;
  76705. break;
  76706. case 4:
  76707. // else
  76708. $async$goto = 8;
  76709. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  76710. case 8:
  76711. // returning from await.
  76712. case 3:
  76713. // join
  76714. // implicit return
  76715. return A._asyncReturn(null, $async$completer);
  76716. }
  76717. });
  76718. return A._asyncStartSync($async$call$0, $async$completer);
  76719. },
  76720. $signature: 2
  76721. };
  76722. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  76723. call$0() {
  76724. var $async$goto = 0,
  76725. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76726. $async$self = this, t1, t2, t3, t4;
  76727. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76728. if ($async$errorCode === 1)
  76729. return A._asyncRethrow($async$result, $async$completer);
  76730. while (true)
  76731. switch ($async$goto) {
  76732. case 0:
  76733. // Function start
  76734. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76735. case 2:
  76736. // for condition
  76737. if (!t1.moveNext$0()) {
  76738. // goto after for
  76739. $async$goto = 3;
  76740. break;
  76741. }
  76742. t4 = t1.__internal$_current;
  76743. $async$goto = 4;
  76744. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76745. case 4:
  76746. // returning from await.
  76747. // goto for condition
  76748. $async$goto = 2;
  76749. break;
  76750. case 3:
  76751. // after for
  76752. // implicit return
  76753. return A._asyncReturn(null, $async$completer);
  76754. }
  76755. });
  76756. return A._asyncStartSync($async$call$0, $async$completer);
  76757. },
  76758. $signature: 2
  76759. };
  76760. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  76761. call$1(node) {
  76762. return type$.CssStyleRule_2._is(node);
  76763. },
  76764. $signature: 7
  76765. };
  76766. A._EvaluateVisitor__performInterpolation_closure2.prototype = {
  76767. call$1(value) {
  76768. var $async$goto = 0,
  76769. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  76770. $async$returnValue, $async$self = this, t1, result, t2, t3;
  76771. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76772. if ($async$errorCode === 1)
  76773. return A._asyncRethrow($async$result, $async$completer);
  76774. while (true)
  76775. switch ($async$goto) {
  76776. case 0:
  76777. // Function start
  76778. if (typeof value == "string") {
  76779. $async$returnValue = value;
  76780. // goto return
  76781. $async$goto = 1;
  76782. break;
  76783. }
  76784. type$.Expression_2._as(value);
  76785. t1 = $async$self.$this;
  76786. $async$goto = 3;
  76787. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  76788. case 3:
  76789. // returning from await.
  76790. result = $async$result;
  76791. if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  76792. t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
  76793. t3 = $.$get$namesByColor0();
  76794. t1._async_evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_qbf0, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  76795. }
  76796. $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
  76797. // goto return
  76798. $async$goto = 1;
  76799. break;
  76800. case 1:
  76801. // return
  76802. return A._asyncReturn($async$returnValue, $async$completer);
  76803. }
  76804. });
  76805. return A._asyncStartSync($async$call$1, $async$completer);
  76806. },
  76807. $signature: 80
  76808. };
  76809. A._EvaluateVisitor__serialize_closure2.prototype = {
  76810. call$0() {
  76811. return A.serializeValue0(this.value, false, this.quote);
  76812. },
  76813. $signature: 30
  76814. };
  76815. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  76816. call$0() {
  76817. var t1 = this.expression;
  76818. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76819. },
  76820. $signature: 191
  76821. };
  76822. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  76823. call$1(number) {
  76824. var asSlash = number.asSlash;
  76825. if (asSlash != null)
  76826. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  76827. else
  76828. return A.serializeValue0(number, true, true);
  76829. },
  76830. $signature: 192
  76831. };
  76832. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  76833. call$1(url) {
  76834. var t1 = this.$this._async_evaluate0$_importCache;
  76835. t1 = t1 == null ? null : t1.humanize$1(url);
  76836. return t1 == null ? url : t1;
  76837. },
  76838. $signature: 81
  76839. };
  76840. A._EvaluateVisitor__stackTrace_closure2.prototype = {
  76841. call$1(tuple) {
  76842. return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  76843. },
  76844. $signature: 193
  76845. };
  76846. A._ImportedCssVisitor2.prototype = {
  76847. visitCssAtRule$1(node) {
  76848. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  76849. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  76850. },
  76851. visitCssComment$1(node) {
  76852. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  76853. },
  76854. visitCssDeclaration$1(node) {
  76855. },
  76856. visitCssImport$1(node) {
  76857. var t2,
  76858. _s13_ = "_endOfImports",
  76859. t1 = this._async_evaluate0$_visitor;
  76860. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  76861. t1._async_evaluate0$_addChild$1(node);
  76862. else if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root").children._collection$_source)) {
  76863. t1._async_evaluate0$_addChild$1(node);
  76864. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  76865. } else {
  76866. t2 = t1._async_evaluate0$_outOfOrderImports;
  76867. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  76868. }
  76869. },
  76870. visitCssKeyframeBlock$1(node) {
  76871. },
  76872. visitCssMediaRule$1(node) {
  76873. var t1 = this._async_evaluate0$_visitor,
  76874. mediaQueries = t1._async_evaluate0$_mediaQueries;
  76875. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76876. },
  76877. visitCssStyleRule$1(node) {
  76878. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  76879. },
  76880. visitCssStylesheet$1(node) {
  76881. var t1, t2, t3;
  76882. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  76883. t3 = t1.__internal$_current;
  76884. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76885. }
  76886. },
  76887. visitCssSupportsRule$1(node) {
  76888. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  76889. }
  76890. };
  76891. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  76892. call$1(node) {
  76893. return type$.CssStyleRule_2._is(node);
  76894. },
  76895. $signature: 7
  76896. };
  76897. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  76898. call$1(node) {
  76899. var t1;
  76900. if (!type$.CssStyleRule_2._is(node))
  76901. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  76902. else
  76903. t1 = true;
  76904. return t1;
  76905. },
  76906. $signature: 7
  76907. };
  76908. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  76909. call$1(node) {
  76910. return type$.CssStyleRule_2._is(node);
  76911. },
  76912. $signature: 7
  76913. };
  76914. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  76915. call$1(node) {
  76916. return type$.CssStyleRule_2._is(node);
  76917. },
  76918. $signature: 7
  76919. };
  76920. A.EvaluateResult0.prototype = {};
  76921. A._EvaluationContext2.prototype = {
  76922. get$currentCallableSpan() {
  76923. var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  76924. if (callableNode != null)
  76925. return callableNode.get$span(callableNode);
  76926. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76927. },
  76928. warn$2$deprecation(_, message, deprecation) {
  76929. var t1 = this._async_evaluate0$_visitor,
  76930. t2 = t1._async_evaluate0$_importSpan;
  76931. if (t2 == null) {
  76932. t2 = t1._async_evaluate0$_callableNode;
  76933. t2 = t2 == null ? null : t2.get$span(t2);
  76934. }
  76935. t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76936. },
  76937. $isEvaluationContext0: 1
  76938. };
  76939. A._ArgumentResults2.prototype = {};
  76940. A._LoadedStylesheet2.prototype = {};
  76941. A.NodeToDartAsyncFileImporter.prototype = {
  76942. canonicalize$1(_, url) {
  76943. return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
  76944. },
  76945. canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
  76946. var $async$goto = 0,
  76947. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  76948. $async$returnValue, $async$self = this, result, t1, resultUrl;
  76949. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76950. if ($async$errorCode === 1)
  76951. return A._asyncRethrow($async$result, $async$completer);
  76952. while (true)
  76953. switch ($async$goto) {
  76954. case 0:
  76955. // Function start
  76956. if (url.get$scheme() === "file") {
  76957. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
  76958. // goto return
  76959. $async$goto = 1;
  76960. break;
  76961. }
  76962. result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  76963. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  76964. break;
  76965. case 3:
  76966. // then
  76967. $async$goto = 5;
  76968. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  76969. case 5:
  76970. // returning from await.
  76971. result = $async$result;
  76972. case 4:
  76973. // join
  76974. if (result == null) {
  76975. $async$returnValue = null;
  76976. // goto return
  76977. $async$goto = 1;
  76978. break;
  76979. }
  76980. t1 = self.URL;
  76981. if (!(result instanceof t1))
  76982. A.jsThrow(new self.Error(string$.The_fie));
  76983. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  76984. if (resultUrl.get$scheme() !== "file")
  76985. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  76986. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
  76987. // goto return
  76988. $async$goto = 1;
  76989. break;
  76990. case 1:
  76991. // return
  76992. return A._asyncReturn($async$returnValue, $async$completer);
  76993. }
  76994. });
  76995. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  76996. },
  76997. load$1(_, url) {
  76998. return $.$get$_filesystemImporter().load$1(0, url);
  76999. }
  77000. };
  77001. A.AsyncImportCache0.prototype = {
  77002. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  77003. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  77004. },
  77005. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  77006. var $async$goto = 0,
  77007. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77008. $async$returnValue, $async$self = this, t1, relativeResult;
  77009. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77010. if ($async$errorCode === 1)
  77011. return A._asyncRethrow($async$result, $async$completer);
  77012. while (true)
  77013. switch ($async$goto) {
  77014. case 0:
  77015. // Function start
  77016. $async$goto = baseImporter != null ? 3 : 4;
  77017. break;
  77018. case 3:
  77019. // then
  77020. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
  77021. $async$goto = 5;
  77022. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_relativeCanonicalizeCache, new A.Tuple4(url, forImport, baseImporter, baseUrl, t1), new A.AsyncImportCache_canonicalize_closure1($async$self, baseUrl, url, baseImporter, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  77023. case 5:
  77024. // returning from await.
  77025. relativeResult = $async$result;
  77026. if (relativeResult != null) {
  77027. $async$returnValue = relativeResult;
  77028. // goto return
  77029. $async$goto = 1;
  77030. break;
  77031. }
  77032. case 4:
  77033. // join
  77034. t1 = type$.Tuple2_Uri_bool;
  77035. $async$goto = 6;
  77036. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_canonicalizeCache, new A.Tuple2(url, forImport, t1), new A.AsyncImportCache_canonicalize_closure2($async$self, url, forImport), t1, type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  77037. case 6:
  77038. // returning from await.
  77039. $async$returnValue = $async$result;
  77040. // goto return
  77041. $async$goto = 1;
  77042. break;
  77043. case 1:
  77044. // return
  77045. return A._asyncReturn($async$returnValue, $async$completer);
  77046. }
  77047. });
  77048. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  77049. },
  77050. _async_import_cache0$_canonicalize$3(importer, url, forImport) {
  77051. return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
  77052. },
  77053. _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
  77054. var $async$goto = 0,
  77055. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  77056. $async$returnValue, $async$self = this, t1, result;
  77057. var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77058. if ($async$errorCode === 1)
  77059. return A._asyncRethrow($async$result, $async$completer);
  77060. while (true)
  77061. switch ($async$goto) {
  77062. case 0:
  77063. // Function start
  77064. if (forImport) {
  77065. t1 = type$.nullable_Object;
  77066. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  77067. } else
  77068. t1 = importer.canonicalize$1(0, url);
  77069. $async$goto = 3;
  77070. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
  77071. case 3:
  77072. // returning from await.
  77073. result = $async$result;
  77074. if ((result == null ? null : result.get$scheme()) === "")
  77075. $async$self._async_import_cache0$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  77076. $async$returnValue = result;
  77077. // goto return
  77078. $async$goto = 1;
  77079. break;
  77080. case 1:
  77081. // return
  77082. return A._asyncReturn($async$returnValue, $async$completer);
  77083. }
  77084. });
  77085. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
  77086. },
  77087. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  77088. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  77089. },
  77090. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  77091. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  77092. },
  77093. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  77094. var $async$goto = 0,
  77095. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  77096. $async$returnValue, $async$self = this;
  77097. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77098. if ($async$errorCode === 1)
  77099. return A._asyncRethrow($async$result, $async$completer);
  77100. while (true)
  77101. switch ($async$goto) {
  77102. case 0:
  77103. // Function start
  77104. $async$goto = 3;
  77105. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure0($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet_2), $async$importCanonical$4$originalUrl$quiet);
  77106. case 3:
  77107. // returning from await.
  77108. $async$returnValue = $async$result;
  77109. // goto return
  77110. $async$goto = 1;
  77111. break;
  77112. case 1:
  77113. // return
  77114. return A._asyncReturn($async$returnValue, $async$completer);
  77115. }
  77116. });
  77117. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  77118. },
  77119. humanize$1(canonicalUrl) {
  77120. var t2, url,
  77121. t1 = this._async_import_cache0$_canonicalizeCache;
  77122. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77123. t2 = t1.$ti;
  77124. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure4());
  77125. if (url == null)
  77126. return canonicalUrl;
  77127. t1 = $.$get$url();
  77128. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  77129. },
  77130. sourceMapUrl$1(_, canonicalUrl) {
  77131. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  77132. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  77133. return t1 == null ? canonicalUrl : t1;
  77134. }
  77135. };
  77136. A.AsyncImportCache_canonicalize_closure1.prototype = {
  77137. call$0() {
  77138. var $async$goto = 0,
  77139. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77140. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  77141. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77142. if ($async$errorCode === 1)
  77143. return A._asyncRethrow($async$result, $async$completer);
  77144. while (true)
  77145. switch ($async$goto) {
  77146. case 0:
  77147. // Function start
  77148. t1 = $async$self.baseUrl;
  77149. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  77150. if (resolvedUrl == null)
  77151. resolvedUrl = $async$self.url;
  77152. t1 = $async$self.baseImporter;
  77153. $async$goto = 3;
  77154. return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  77155. case 3:
  77156. // returning from await.
  77157. canonicalUrl = $async$result;
  77158. if (canonicalUrl == null) {
  77159. $async$returnValue = null;
  77160. // goto return
  77161. $async$goto = 1;
  77162. break;
  77163. }
  77164. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77165. // goto return
  77166. $async$goto = 1;
  77167. break;
  77168. case 1:
  77169. // return
  77170. return A._asyncReturn($async$returnValue, $async$completer);
  77171. }
  77172. });
  77173. return A._asyncStartSync($async$call$0, $async$completer);
  77174. },
  77175. $signature: 194
  77176. };
  77177. A.AsyncImportCache_canonicalize_closure2.prototype = {
  77178. call$0() {
  77179. var $async$goto = 0,
  77180. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77181. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  77182. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77183. if ($async$errorCode === 1)
  77184. return A._asyncRethrow($async$result, $async$completer);
  77185. while (true)
  77186. switch ($async$goto) {
  77187. case 0:
  77188. // Function start
  77189. t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  77190. case 3:
  77191. // for condition
  77192. if (!(_i < t2.length)) {
  77193. // goto after for
  77194. $async$goto = 5;
  77195. break;
  77196. }
  77197. importer = t2[_i];
  77198. $async$goto = 6;
  77199. return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
  77200. case 6:
  77201. // returning from await.
  77202. canonicalUrl = $async$result;
  77203. if (canonicalUrl != null) {
  77204. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77205. // goto return
  77206. $async$goto = 1;
  77207. break;
  77208. }
  77209. case 4:
  77210. // for update
  77211. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  77212. // goto for condition
  77213. $async$goto = 3;
  77214. break;
  77215. case 5:
  77216. // after for
  77217. $async$returnValue = null;
  77218. // goto return
  77219. $async$goto = 1;
  77220. break;
  77221. case 1:
  77222. // return
  77223. return A._asyncReturn($async$returnValue, $async$completer);
  77224. }
  77225. });
  77226. return A._asyncStartSync($async$call$0, $async$completer);
  77227. },
  77228. $signature: 194
  77229. };
  77230. A.AsyncImportCache__canonicalize_closure0.prototype = {
  77231. call$0() {
  77232. return this.importer.canonicalize$1(0, this.url);
  77233. },
  77234. $signature: 199
  77235. };
  77236. A.AsyncImportCache_importCanonical_closure0.prototype = {
  77237. call$0() {
  77238. var $async$goto = 0,
  77239. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  77240. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  77241. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77242. if ($async$errorCode === 1)
  77243. return A._asyncRethrow($async$result, $async$completer);
  77244. while (true)
  77245. switch ($async$goto) {
  77246. case 0:
  77247. // Function start
  77248. t1 = $async$self.canonicalUrl;
  77249. $async$goto = 3;
  77250. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  77251. case 3:
  77252. // returning from await.
  77253. result = $async$result;
  77254. if (result == null) {
  77255. $async$returnValue = null;
  77256. // goto return
  77257. $async$goto = 1;
  77258. break;
  77259. }
  77260. t2 = $async$self.$this;
  77261. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  77262. t3 = result.contents;
  77263. t4 = result.syntax;
  77264. t1 = $async$self.originalUrl.resolveUri$1(t1);
  77265. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  77266. // goto return
  77267. $async$goto = 1;
  77268. break;
  77269. case 1:
  77270. // return
  77271. return A._asyncReturn($async$returnValue, $async$completer);
  77272. }
  77273. });
  77274. return A._asyncStartSync($async$call$0, $async$completer);
  77275. },
  77276. $signature: 349
  77277. };
  77278. A.AsyncImportCache_humanize_closure2.prototype = {
  77279. call$1(tuple) {
  77280. return tuple.item2.$eq(0, this.canonicalUrl);
  77281. },
  77282. $signature: 350
  77283. };
  77284. A.AsyncImportCache_humanize_closure3.prototype = {
  77285. call$1(tuple) {
  77286. return tuple.item3;
  77287. },
  77288. $signature: 351
  77289. };
  77290. A.AsyncImportCache_humanize_closure4.prototype = {
  77291. call$1(url) {
  77292. return url.get$path(url).length;
  77293. },
  77294. $signature: 91
  77295. };
  77296. A.AtRootQueryParser0.prototype = {
  77297. parse$0() {
  77298. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  77299. }
  77300. };
  77301. A.AtRootQueryParser_parse_closure0.prototype = {
  77302. call$0() {
  77303. var include, atRules,
  77304. t1 = this.$this,
  77305. t2 = t1.scanner;
  77306. t2.expectChar$1(40);
  77307. t1.whitespace$0();
  77308. include = t1.scanIdentifier$1("with");
  77309. if (!include)
  77310. t1.expectIdentifier$2$name("without", '"with" or "without"');
  77311. t1.whitespace$0();
  77312. t2.expectChar$1(58);
  77313. t1.whitespace$0();
  77314. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  77315. do {
  77316. atRules.add$1(0, t1.identifier$0().toLowerCase());
  77317. t1.whitespace$0();
  77318. } while (t1.lookingAtIdentifier$0());
  77319. t2.expectChar$1(41);
  77320. t2.expectDone$0();
  77321. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  77322. },
  77323. $signature: 114
  77324. };
  77325. A.AtRootQuery0.prototype = {
  77326. excludes$1(node) {
  77327. var t1, _this = this;
  77328. if (_this._at_root_query0$_all)
  77329. return !_this.include;
  77330. if (type$.CssStyleRule_2._is(node))
  77331. return _this._at_root_query0$_rule !== _this.include;
  77332. if (type$.CssMediaRule_2._is(node))
  77333. return _this.excludesName$1("media");
  77334. if (type$.CssSupportsRule_2._is(node))
  77335. return _this.excludesName$1("supports");
  77336. if (type$.CssAtRule_2._is(node)) {
  77337. t1 = node.name;
  77338. return _this.excludesName$1(t1.get$value(t1).toLowerCase());
  77339. }
  77340. return false;
  77341. },
  77342. excludesName$1($name) {
  77343. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  77344. return t1 !== this.include;
  77345. }
  77346. };
  77347. A.AtRootRule0.prototype = {
  77348. accept$1$1(visitor) {
  77349. return visitor.visitAtRootRule$1(this);
  77350. },
  77351. accept$1(visitor) {
  77352. return this.accept$1$1(visitor, type$.dynamic);
  77353. },
  77354. toString$0(_) {
  77355. var buffer = new A.StringBuffer("@at-root "),
  77356. t1 = this.query;
  77357. if (t1 != null)
  77358. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  77359. t1 = this.children;
  77360. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  77361. },
  77362. get$span(receiver) {
  77363. return this.span;
  77364. }
  77365. };
  77366. A.ModifiableCssAtRule0.prototype = {
  77367. accept$1$1(visitor) {
  77368. return visitor.visitCssAtRule$1(this);
  77369. },
  77370. accept$1(visitor) {
  77371. return this.accept$1$1(visitor, type$.dynamic);
  77372. },
  77373. copyWithoutChildren$0() {
  77374. var _this = this;
  77375. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  77376. },
  77377. addChild$1(child) {
  77378. this.super$ModifiableCssParentNode$addChild0(child);
  77379. },
  77380. $isCssAtRule0: 1,
  77381. get$isChildless() {
  77382. return this.isChildless;
  77383. },
  77384. get$span(receiver) {
  77385. return this.span;
  77386. }
  77387. };
  77388. A.AtRule0.prototype = {
  77389. accept$1$1(visitor) {
  77390. return visitor.visitAtRule$1(this);
  77391. },
  77392. accept$1(visitor) {
  77393. return this.accept$1$1(visitor, type$.dynamic);
  77394. },
  77395. toString$0(_) {
  77396. var children,
  77397. t1 = "@" + this.name.toString$0(0),
  77398. buffer = new A.StringBuffer(t1),
  77399. t2 = this.value;
  77400. if (t2 != null)
  77401. buffer._contents = t1 + (" " + t2.toString$0(0));
  77402. children = this.children;
  77403. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  77404. },
  77405. get$span(receiver) {
  77406. return this.span;
  77407. }
  77408. };
  77409. A.AttributeSelector0.prototype = {
  77410. accept$1$1(visitor) {
  77411. return visitor.visitAttributeSelector$1(this);
  77412. },
  77413. accept$1(visitor) {
  77414. return this.accept$1$1(visitor, type$.dynamic);
  77415. },
  77416. $eq(_, other) {
  77417. var _this = this;
  77418. if (other == null)
  77419. return false;
  77420. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  77421. },
  77422. get$hashCode(_) {
  77423. var _this = this,
  77424. t1 = _this.name;
  77425. return (B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace) ^ J.get$hashCode$(_this.op) ^ J.get$hashCode$(_this.value) ^ J.get$hashCode$(_this.modifier)) >>> 0;
  77426. }
  77427. };
  77428. A.AttributeOperator0.prototype = {
  77429. toString$0(_) {
  77430. return this._attribute0$_text;
  77431. }
  77432. };
  77433. A.BinaryOperationExpression0.prototype = {
  77434. get$span(_) {
  77435. var right,
  77436. left = this.left;
  77437. for (; left instanceof A.BinaryOperationExpression0;)
  77438. left = left.left;
  77439. right = this.right;
  77440. for (; right instanceof A.BinaryOperationExpression0;)
  77441. right = right.right;
  77442. return left.get$span(left).expand$1(0, right.get$span(right));
  77443. },
  77444. accept$1$1(visitor) {
  77445. return visitor.visitBinaryOperationExpression$1(this);
  77446. },
  77447. accept$1(visitor) {
  77448. return this.accept$1$1(visitor, type$.dynamic);
  77449. },
  77450. toString$0(_) {
  77451. var t2, right, rightNeedsParens, _this = this,
  77452. left = _this.left,
  77453. leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
  77454. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  77455. t1 += left.toString$0(0);
  77456. if (leftNeedsParens)
  77457. t1 += A.Primitives_stringFromCharCode(41);
  77458. t2 = _this.operator;
  77459. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  77460. right = _this.right;
  77461. rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
  77462. if (rightNeedsParens)
  77463. t1 += A.Primitives_stringFromCharCode(40);
  77464. t1 += right.toString$0(0);
  77465. if (rightNeedsParens)
  77466. t1 += A.Primitives_stringFromCharCode(41);
  77467. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77468. },
  77469. $isExpression0: 1,
  77470. $isAstNode0: 1
  77471. };
  77472. A.BinaryOperator0.prototype = {
  77473. toString$0(_) {
  77474. return this.name;
  77475. }
  77476. };
  77477. A.BooleanExpression0.prototype = {
  77478. accept$1$1(visitor) {
  77479. return visitor.visitBooleanExpression$1(this);
  77480. },
  77481. accept$1(visitor) {
  77482. return this.accept$1$1(visitor, type$.dynamic);
  77483. },
  77484. toString$0(_) {
  77485. return String(this.value);
  77486. },
  77487. $isExpression0: 1,
  77488. $isAstNode0: 1,
  77489. get$span(receiver) {
  77490. return this.span;
  77491. }
  77492. };
  77493. A.legacyBooleanClass_closure.prototype = {
  77494. call$0() {
  77495. var t1 = type$.JSClass,
  77496. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  77497. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  77498. jsClass.TRUE = B.SassBoolean_true0;
  77499. jsClass.FALSE = B.SassBoolean_false0;
  77500. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  77501. return jsClass;
  77502. },
  77503. $signature: 25
  77504. };
  77505. A.legacyBooleanClass__closure.prototype = {
  77506. call$2(_, __) {
  77507. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  77508. },
  77509. call$1(_) {
  77510. return this.call$2(_, null);
  77511. },
  77512. "call*": "call$2",
  77513. $requiredArgCount: 1,
  77514. $defaultValues() {
  77515. return [null];
  77516. },
  77517. $signature: 195
  77518. };
  77519. A.legacyBooleanClass__closure0.prototype = {
  77520. call$1($self) {
  77521. return $self === B.SassBoolean_true0;
  77522. },
  77523. $signature: 112
  77524. };
  77525. A.booleanClass_closure.prototype = {
  77526. call$0() {
  77527. var t1 = type$.JSClass,
  77528. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  77529. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  77530. return jsClass;
  77531. },
  77532. $signature: 25
  77533. };
  77534. A.booleanClass__closure.prototype = {
  77535. call$2($self, _) {
  77536. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  77537. },
  77538. call$1($self) {
  77539. return this.call$2($self, null);
  77540. },
  77541. "call*": "call$2",
  77542. $requiredArgCount: 1,
  77543. $defaultValues() {
  77544. return [null];
  77545. },
  77546. $signature: 353
  77547. };
  77548. A.SassBoolean0.prototype = {
  77549. get$isTruthy() {
  77550. return this.value;
  77551. },
  77552. accept$1$1(visitor) {
  77553. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  77554. },
  77555. accept$1(visitor) {
  77556. return this.accept$1$1(visitor, type$.dynamic);
  77557. },
  77558. assertBoolean$1($name) {
  77559. return this;
  77560. },
  77561. unaryNot$0() {
  77562. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  77563. }
  77564. };
  77565. A.BuiltInCallable0.prototype = {
  77566. callbackFor$2(positional, names) {
  77567. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  77568. for (t1 = this._built_in$_overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  77569. overload = t1[_i];
  77570. t3 = overload.item1;
  77571. if (t3.matches$2(positional, names))
  77572. return overload;
  77573. mismatchDistance = t3.$arguments.length - positional;
  77574. if (minMismatchDistance != null) {
  77575. t3 = Math.abs(mismatchDistance);
  77576. t4 = Math.abs(minMismatchDistance);
  77577. if (t3 > t4)
  77578. continue;
  77579. if (t3 === t4 && mismatchDistance < 0)
  77580. continue;
  77581. }
  77582. minMismatchDistance = mismatchDistance;
  77583. fuzzyMatch = overload;
  77584. }
  77585. if (fuzzyMatch != null)
  77586. return fuzzyMatch;
  77587. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  77588. },
  77589. withName$1($name) {
  77590. return new A.BuiltInCallable0($name, this._built_in$_overloads);
  77591. },
  77592. $isAsyncCallable0: 1,
  77593. $isAsyncBuiltInCallable0: 1,
  77594. $isCallable0: 1,
  77595. get$name(receiver) {
  77596. return this.name;
  77597. }
  77598. };
  77599. A.BuiltInCallable$mixin_closure0.prototype = {
  77600. call$1($arguments) {
  77601. this.callback.call$1($arguments);
  77602. return B.C__SassNull0;
  77603. },
  77604. $signature: 3
  77605. };
  77606. A.BuiltInModule0.prototype = {
  77607. get$upstream() {
  77608. return B.List_empty18;
  77609. },
  77610. get$variableNodes() {
  77611. return B.Map_empty7;
  77612. },
  77613. get$extensionStore() {
  77614. return B.C_EmptyExtensionStore0;
  77615. },
  77616. get$css(_) {
  77617. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  77618. },
  77619. get$transitivelyContainsCss() {
  77620. return false;
  77621. },
  77622. get$transitivelyContainsExtensions() {
  77623. return false;
  77624. },
  77625. setVariable$3($name, value, nodeWithSpan) {
  77626. if (!this.variables.containsKey$1($name))
  77627. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  77628. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  77629. },
  77630. variableIdentity$1($name) {
  77631. return this;
  77632. },
  77633. cloneCss$0() {
  77634. return this;
  77635. },
  77636. $isModule0: 1,
  77637. get$url(receiver) {
  77638. return this.url;
  77639. },
  77640. get$functions(receiver) {
  77641. return this.functions;
  77642. },
  77643. get$mixins() {
  77644. return this.mixins;
  77645. },
  77646. get$variables() {
  77647. return this.variables;
  77648. }
  77649. };
  77650. A.CalculationExpression0.prototype = {
  77651. accept$1$1(visitor) {
  77652. return visitor.visitCalculationExpression$1(this);
  77653. },
  77654. accept$1(visitor) {
  77655. return this.accept$1$1(visitor, type$.dynamic);
  77656. },
  77657. toString$0(_) {
  77658. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  77659. },
  77660. $isExpression0: 1,
  77661. $isAstNode0: 1,
  77662. get$span(receiver) {
  77663. return this.span;
  77664. }
  77665. };
  77666. A.CalculationExpression__verifyArguments_closure0.prototype = {
  77667. call$1(arg) {
  77668. A.CalculationExpression__verify0(arg);
  77669. return arg;
  77670. },
  77671. $signature: 355
  77672. };
  77673. A.SassCalculation0.prototype = {
  77674. get$isSpecialNumber() {
  77675. return true;
  77676. },
  77677. accept$1$1(visitor) {
  77678. var t2,
  77679. t1 = visitor._serialize0$_buffer;
  77680. t1.write$1(0, this.name);
  77681. t1.writeCharCode$1(40);
  77682. t2 = visitor._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  77683. visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
  77684. t1.writeCharCode$1(41);
  77685. return null;
  77686. },
  77687. accept$1(visitor) {
  77688. return this.accept$1$1(visitor, type$.dynamic);
  77689. },
  77690. assertCalculation$1($name) {
  77691. return this;
  77692. },
  77693. plus$1(other) {
  77694. if (other instanceof A.SassString0)
  77695. return this.super$Value$plus0(other);
  77696. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  77697. },
  77698. minus$1(other) {
  77699. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  77700. },
  77701. unaryPlus$0() {
  77702. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  77703. },
  77704. unaryMinus$0() {
  77705. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  77706. },
  77707. $eq(_, other) {
  77708. if (other == null)
  77709. return false;
  77710. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  77711. },
  77712. get$hashCode(_) {
  77713. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  77714. }
  77715. };
  77716. A.SassCalculation__verifyLength_closure0.prototype = {
  77717. call$1(arg) {
  77718. return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
  77719. },
  77720. $signature: 112
  77721. };
  77722. A.CalculationOperation0.prototype = {
  77723. $eq(_, other) {
  77724. if (other == null)
  77725. return false;
  77726. return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  77727. },
  77728. get$hashCode(_) {
  77729. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  77730. },
  77731. toString$0(_) {
  77732. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  77733. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  77734. }
  77735. };
  77736. A.CalculationOperator0.prototype = {
  77737. toString$0(_) {
  77738. return this.name;
  77739. }
  77740. };
  77741. A.CalculationInterpolation0.prototype = {
  77742. $eq(_, other) {
  77743. if (other == null)
  77744. return false;
  77745. return other instanceof A.CalculationInterpolation0 && this.value === other.value;
  77746. },
  77747. get$hashCode(_) {
  77748. return B.JSString_methods.get$hashCode(this.value);
  77749. },
  77750. toString$0(_) {
  77751. return this.value;
  77752. }
  77753. };
  77754. A.CallableDeclaration0.prototype = {
  77755. get$span(receiver) {
  77756. return this.span;
  77757. }
  77758. };
  77759. A.Chokidar0.prototype = {};
  77760. A.ChokidarOptions0.prototype = {};
  77761. A.ChokidarWatcher0.prototype = {};
  77762. A.ClassSelector0.prototype = {
  77763. $eq(_, other) {
  77764. if (other == null)
  77765. return false;
  77766. return other instanceof A.ClassSelector0 && other.name === this.name;
  77767. },
  77768. accept$1$1(visitor) {
  77769. return visitor.visitClassSelector$1(this);
  77770. },
  77771. accept$1(visitor) {
  77772. return this.accept$1$1(visitor, type$.dynamic);
  77773. },
  77774. addSuffix$1(suffix) {
  77775. return new A.ClassSelector0(this.name + suffix);
  77776. },
  77777. get$hashCode(_) {
  77778. return B.JSString_methods.get$hashCode(this.name);
  77779. }
  77780. };
  77781. A._CloneCssVisitor0.prototype = {
  77782. visitCssAtRule$1(node) {
  77783. var t1 = node.isChildless,
  77784. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  77785. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  77786. },
  77787. visitCssComment$1(node) {
  77788. return new A.ModifiableCssComment0(node.text, node.span);
  77789. },
  77790. visitCssDeclaration$1(node) {
  77791. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  77792. },
  77793. visitCssImport$1(node) {
  77794. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  77795. },
  77796. visitCssKeyframeBlock$1(node) {
  77797. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  77798. },
  77799. visitCssMediaRule$1(node) {
  77800. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  77801. },
  77802. visitCssStyleRule$1(node) {
  77803. var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
  77804. if (newSelector == null)
  77805. throw A.wrapException(A.StateError$(string$.The_Ex));
  77806. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
  77807. },
  77808. visitCssStylesheet$1(node) {
  77809. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  77810. },
  77811. visitCssSupportsRule$1(node) {
  77812. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  77813. },
  77814. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  77815. var t1, t2, newChild;
  77816. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  77817. t2 = t1.get$current(t1);
  77818. newChild = t2.accept$1(this);
  77819. newChild.isGroupEnd = t2.get$isGroupEnd();
  77820. newParent.addChild$1(newChild);
  77821. }
  77822. return newParent;
  77823. },
  77824. _clone_css$_visitChildren$2(newParent, oldParent) {
  77825. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  77826. }
  77827. };
  77828. A.ColorExpression0.prototype = {
  77829. accept$1$1(visitor) {
  77830. return visitor.visitColorExpression$1(this);
  77831. },
  77832. accept$1(visitor) {
  77833. return this.accept$1$1(visitor, type$.dynamic);
  77834. },
  77835. toString$0(_) {
  77836. return A.serializeValue0(this.value, true, true);
  77837. },
  77838. $isExpression0: 1,
  77839. $isAstNode0: 1,
  77840. get$span(receiver) {
  77841. return this.span;
  77842. }
  77843. };
  77844. A.global_closure30.prototype = {
  77845. call$1($arguments) {
  77846. return A._rgb0("rgb", $arguments);
  77847. },
  77848. $signature: 3
  77849. };
  77850. A.global_closure31.prototype = {
  77851. call$1($arguments) {
  77852. return A._rgb0("rgb", $arguments);
  77853. },
  77854. $signature: 3
  77855. };
  77856. A.global_closure32.prototype = {
  77857. call$1($arguments) {
  77858. return A._rgbTwoArg0("rgb", $arguments);
  77859. },
  77860. $signature: 3
  77861. };
  77862. A.global_closure33.prototype = {
  77863. call$1($arguments) {
  77864. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  77865. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  77866. },
  77867. $signature: 3
  77868. };
  77869. A.global_closure34.prototype = {
  77870. call$1($arguments) {
  77871. return A._rgb0("rgba", $arguments);
  77872. },
  77873. $signature: 3
  77874. };
  77875. A.global_closure35.prototype = {
  77876. call$1($arguments) {
  77877. return A._rgb0("rgba", $arguments);
  77878. },
  77879. $signature: 3
  77880. };
  77881. A.global_closure36.prototype = {
  77882. call$1($arguments) {
  77883. return A._rgbTwoArg0("rgba", $arguments);
  77884. },
  77885. $signature: 3
  77886. };
  77887. A.global_closure37.prototype = {
  77888. call$1($arguments) {
  77889. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  77890. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  77891. },
  77892. $signature: 3
  77893. };
  77894. A.global_closure38.prototype = {
  77895. call$1($arguments) {
  77896. var color, t2,
  77897. t1 = J.getInterceptor$asx($arguments),
  77898. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  77899. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  77900. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  77901. throw A.wrapException(string$.Only_oa);
  77902. return A._functionString0("invert", t1.take$1($arguments, 1));
  77903. }
  77904. color = t1.$index($arguments, 0).assertColor$1("color");
  77905. t1 = color.get$red(color);
  77906. t2 = color.get$green(color);
  77907. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  77908. },
  77909. $signature: 3
  77910. };
  77911. A.global_closure39.prototype = {
  77912. call$1($arguments) {
  77913. return A._hsl0("hsl", $arguments);
  77914. },
  77915. $signature: 3
  77916. };
  77917. A.global_closure40.prototype = {
  77918. call$1($arguments) {
  77919. return A._hsl0("hsl", $arguments);
  77920. },
  77921. $signature: 3
  77922. };
  77923. A.global_closure41.prototype = {
  77924. call$1($arguments) {
  77925. var t1 = J.getInterceptor$asx($arguments);
  77926. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  77927. return A._functionString0("hsl", $arguments);
  77928. else
  77929. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  77930. },
  77931. $signature: 17
  77932. };
  77933. A.global_closure42.prototype = {
  77934. call$1($arguments) {
  77935. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  77936. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  77937. },
  77938. $signature: 3
  77939. };
  77940. A.global_closure43.prototype = {
  77941. call$1($arguments) {
  77942. return A._hsl0("hsla", $arguments);
  77943. },
  77944. $signature: 3
  77945. };
  77946. A.global_closure44.prototype = {
  77947. call$1($arguments) {
  77948. return A._hsl0("hsla", $arguments);
  77949. },
  77950. $signature: 3
  77951. };
  77952. A.global_closure45.prototype = {
  77953. call$1($arguments) {
  77954. var t1 = J.getInterceptor$asx($arguments);
  77955. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  77956. return A._functionString0("hsla", $arguments);
  77957. else
  77958. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  77959. },
  77960. $signature: 17
  77961. };
  77962. A.global_closure46.prototype = {
  77963. call$1($arguments) {
  77964. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  77965. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  77966. },
  77967. $signature: 3
  77968. };
  77969. A.global_closure47.prototype = {
  77970. call$1($arguments) {
  77971. var t1 = J.getInterceptor$asx($arguments);
  77972. if (t1.$index($arguments, 0) instanceof A.SassNumber0)
  77973. return A._functionString0("grayscale", $arguments);
  77974. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  77975. },
  77976. $signature: 3
  77977. };
  77978. A.global_closure48.prototype = {
  77979. call$1($arguments) {
  77980. var t1 = J.getInterceptor$asx($arguments),
  77981. color = t1.$index($arguments, 0).assertColor$1("color"),
  77982. degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
  77983. A._checkAngle0(degrees, "degrees");
  77984. return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
  77985. },
  77986. $signature: 24
  77987. };
  77988. A.global_closure49.prototype = {
  77989. call$1($arguments) {
  77990. var t1 = J.getInterceptor$asx($arguments),
  77991. color = t1.$index($arguments, 0).assertColor$1("color"),
  77992. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  77993. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  77994. },
  77995. $signature: 24
  77996. };
  77997. A.global_closure50.prototype = {
  77998. call$1($arguments) {
  77999. var t1 = J.getInterceptor$asx($arguments),
  78000. color = t1.$index($arguments, 0).assertColor$1("color"),
  78001. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78002. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78003. },
  78004. $signature: 24
  78005. };
  78006. A.global_closure51.prototype = {
  78007. call$1($arguments) {
  78008. return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  78009. },
  78010. $signature: 17
  78011. };
  78012. A.global_closure52.prototype = {
  78013. call$1($arguments) {
  78014. var t1 = J.getInterceptor$asx($arguments),
  78015. color = t1.$index($arguments, 0).assertColor$1("color"),
  78016. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78017. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78018. },
  78019. $signature: 24
  78020. };
  78021. A.global_closure53.prototype = {
  78022. call$1($arguments) {
  78023. var t1 = J.getInterceptor$asx($arguments),
  78024. color = t1.$index($arguments, 0).assertColor$1("color"),
  78025. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78026. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78027. },
  78028. $signature: 24
  78029. };
  78030. A.global_closure54.prototype = {
  78031. call$1($arguments) {
  78032. var argument = J.$index$asx($arguments, 0);
  78033. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  78034. return A._functionString0("alpha", $arguments);
  78035. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  78036. },
  78037. $signature: 3
  78038. };
  78039. A.global_closure55.prototype = {
  78040. call$1($arguments) {
  78041. var t1,
  78042. argList = J.$index$asx($arguments, 0).get$asList();
  78043. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  78044. return A._functionString0("alpha", $arguments);
  78045. t1 = argList.length;
  78046. if (t1 === 0)
  78047. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  78048. else
  78049. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  78050. },
  78051. $signature: 17
  78052. };
  78053. A.global__closure0.prototype = {
  78054. call$1(argument) {
  78055. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  78056. },
  78057. $signature: 44
  78058. };
  78059. A.global_closure56.prototype = {
  78060. call$1($arguments) {
  78061. var t1 = J.getInterceptor$asx($arguments);
  78062. if (t1.$index($arguments, 0) instanceof A.SassNumber0)
  78063. return A._functionString0("opacity", $arguments);
  78064. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  78065. },
  78066. $signature: 3
  78067. };
  78068. A.module_closure8.prototype = {
  78069. call$1($arguments) {
  78070. var result, t2, color,
  78071. t1 = J.getInterceptor$asx($arguments),
  78072. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  78073. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78074. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  78075. throw A.wrapException(string$.Only_oa);
  78076. result = A._functionString0("invert", t1.take$1($arguments, 1));
  78077. t1 = A.S(t1.$index($arguments, 0));
  78078. t2 = result.toString$0(0);
  78079. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
  78080. return result;
  78081. }
  78082. color = t1.$index($arguments, 0).assertColor$1("color");
  78083. t1 = color.get$red(color);
  78084. t2 = color.get$green(color);
  78085. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  78086. },
  78087. $signature: 3
  78088. };
  78089. A.module_closure9.prototype = {
  78090. call$1($arguments) {
  78091. var result, t2,
  78092. t1 = J.getInterceptor$asx($arguments);
  78093. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78094. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  78095. t1 = A.S(t1.$index($arguments, 0));
  78096. t2 = result.toString$0(0);
  78097. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
  78098. return result;
  78099. }
  78100. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  78101. },
  78102. $signature: 3
  78103. };
  78104. A.module_closure10.prototype = {
  78105. call$1($arguments) {
  78106. return A._hwb0($arguments);
  78107. },
  78108. $signature: 3
  78109. };
  78110. A.module_closure11.prototype = {
  78111. call$1($arguments) {
  78112. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  78113. if (parsed instanceof A.SassString0)
  78114. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  78115. else
  78116. return A._hwb0(type$.List_Value_2._as(parsed));
  78117. },
  78118. $signature: 3
  78119. };
  78120. A.module_closure12.prototype = {
  78121. call$1($arguments) {
  78122. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78123. return A.SassNumber_SassNumber0(t1.get$whiteness(t1), "%");
  78124. },
  78125. $signature: 11
  78126. };
  78127. A.module_closure13.prototype = {
  78128. call$1($arguments) {
  78129. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78130. return A.SassNumber_SassNumber0(t1.get$blackness(t1), "%");
  78131. },
  78132. $signature: 11
  78133. };
  78134. A.module_closure14.prototype = {
  78135. call$1($arguments) {
  78136. var result, t1,
  78137. argument = J.$index$asx($arguments, 0);
  78138. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  78139. result = A._functionString0("alpha", $arguments);
  78140. t1 = result.toString$0(0);
  78141. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
  78142. return result;
  78143. }
  78144. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  78145. },
  78146. $signature: 3
  78147. };
  78148. A.module_closure15.prototype = {
  78149. call$1($arguments) {
  78150. var result,
  78151. t1 = J.getInterceptor$asx($arguments);
  78152. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
  78153. result = A._functionString0("alpha", $arguments);
  78154. t1 = result.toString$0(0);
  78155. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
  78156. return result;
  78157. }
  78158. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  78159. },
  78160. $signature: 17
  78161. };
  78162. A.module__closure0.prototype = {
  78163. call$1(argument) {
  78164. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  78165. },
  78166. $signature: 44
  78167. };
  78168. A.module_closure16.prototype = {
  78169. call$1($arguments) {
  78170. var result, t2,
  78171. t1 = J.getInterceptor$asx($arguments);
  78172. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78173. result = A._functionString0("opacity", $arguments);
  78174. t1 = A.S(t1.$index($arguments, 0));
  78175. t2 = result.toString$0(0);
  78176. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
  78177. return result;
  78178. }
  78179. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  78180. },
  78181. $signature: 3
  78182. };
  78183. A._red_closure0.prototype = {
  78184. call$1($arguments) {
  78185. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78186. return A.SassNumber_SassNumber0(t1.get$red(t1), null);
  78187. },
  78188. $signature: 11
  78189. };
  78190. A._green_closure0.prototype = {
  78191. call$1($arguments) {
  78192. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78193. return A.SassNumber_SassNumber0(t1.get$green(t1), null);
  78194. },
  78195. $signature: 11
  78196. };
  78197. A._blue_closure0.prototype = {
  78198. call$1($arguments) {
  78199. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78200. return A.SassNumber_SassNumber0(t1.get$blue(t1), null);
  78201. },
  78202. $signature: 11
  78203. };
  78204. A._mix_closure0.prototype = {
  78205. call$1($arguments) {
  78206. var t1 = J.getInterceptor$asx($arguments);
  78207. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  78208. },
  78209. $signature: 24
  78210. };
  78211. A._hue_closure0.prototype = {
  78212. call$1($arguments) {
  78213. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78214. return A.SassNumber_SassNumber0(t1.get$hue(t1), "deg");
  78215. },
  78216. $signature: 11
  78217. };
  78218. A._saturation_closure0.prototype = {
  78219. call$1($arguments) {
  78220. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78221. return A.SassNumber_SassNumber0(t1.get$saturation(t1), "%");
  78222. },
  78223. $signature: 11
  78224. };
  78225. A._lightness_closure0.prototype = {
  78226. call$1($arguments) {
  78227. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78228. return A.SassNumber_SassNumber0(t1.get$lightness(t1), "%");
  78229. },
  78230. $signature: 11
  78231. };
  78232. A._complement_closure0.prototype = {
  78233. call$1($arguments) {
  78234. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  78235. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  78236. },
  78237. $signature: 24
  78238. };
  78239. A._adjust_closure0.prototype = {
  78240. call$1($arguments) {
  78241. return A._updateComponents0($arguments, true, false, false);
  78242. },
  78243. $signature: 24
  78244. };
  78245. A._scale_closure0.prototype = {
  78246. call$1($arguments) {
  78247. return A._updateComponents0($arguments, false, false, true);
  78248. },
  78249. $signature: 24
  78250. };
  78251. A._change_closure0.prototype = {
  78252. call$1($arguments) {
  78253. return A._updateComponents0($arguments, false, true, false);
  78254. },
  78255. $signature: 24
  78256. };
  78257. A._ieHexStr_closure0.prototype = {
  78258. call$1($arguments) {
  78259. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  78260. t1 = new A._ieHexStr_closure_hexString0();
  78261. return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
  78262. },
  78263. $signature: 17
  78264. };
  78265. A._ieHexStr_closure_hexString0.prototype = {
  78266. call$1(component) {
  78267. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  78268. },
  78269. $signature: 174
  78270. };
  78271. A._updateComponents_getParam0.prototype = {
  78272. call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
  78273. var t2, _this = this,
  78274. t1 = _this.keywords.remove$1(0, $name),
  78275. number = t1 == null ? null : t1.assertNumber$1($name);
  78276. if (number == null)
  78277. return null;
  78278. t1 = _this.scale;
  78279. t2 = !t1;
  78280. if (t2 && checkPercent)
  78281. A._checkPercent0(number, $name);
  78282. if (!t2 || assertPercent)
  78283. number.assertUnit$2("%", $name);
  78284. if (t1)
  78285. max = 100;
  78286. if (!t2 || assertPercent)
  78287. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  78288. else {
  78289. t1 = _this.change ? 0 : -max;
  78290. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  78291. }
  78292. return t1;
  78293. },
  78294. call$2($name, max) {
  78295. return this.call$4$assertPercent$checkPercent($name, max, false, false);
  78296. },
  78297. call$3$checkPercent($name, max, checkPercent) {
  78298. return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
  78299. },
  78300. call$3$assertPercent($name, max, assertPercent) {
  78301. return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
  78302. },
  78303. $signature: 176
  78304. };
  78305. A._updateComponents_closure0.prototype = {
  78306. call$1($name) {
  78307. return "$" + $name;
  78308. },
  78309. $signature: 5
  78310. };
  78311. A._updateComponents_updateValue0.prototype = {
  78312. call$3(current, param, max) {
  78313. var t1;
  78314. if (param == null)
  78315. return current;
  78316. if (this.change)
  78317. return param;
  78318. if (this.adjust)
  78319. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  78320. t1 = param > 0 ? max - current : current;
  78321. return current + t1 * (param / 100);
  78322. },
  78323. $signature: 181
  78324. };
  78325. A._updateComponents_updateRgb0.prototype = {
  78326. call$2(current, param) {
  78327. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  78328. },
  78329. $signature: 185
  78330. };
  78331. A._functionString_closure0.prototype = {
  78332. call$1(argument) {
  78333. return A.serializeValue0(argument, false, true);
  78334. },
  78335. $signature: 201
  78336. };
  78337. A._removedColorFunction_closure0.prototype = {
  78338. call$1($arguments) {
  78339. var t1 = this.name,
  78340. t2 = J.getInterceptor$asx($arguments),
  78341. t3 = A.S(t2.$index($arguments, 0)),
  78342. t4 = this.negative ? "-" : "";
  78343. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1, null));
  78344. },
  78345. $signature: 361
  78346. };
  78347. A._rgb_closure0.prototype = {
  78348. call$1(alpha) {
  78349. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78350. },
  78351. $signature: 123
  78352. };
  78353. A._hsl_closure0.prototype = {
  78354. call$1(alpha) {
  78355. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78356. },
  78357. $signature: 123
  78358. };
  78359. A._removeUnits_closure1.prototype = {
  78360. call$1(unit) {
  78361. return " * 1" + unit;
  78362. },
  78363. $signature: 5
  78364. };
  78365. A._removeUnits_closure2.prototype = {
  78366. call$1(unit) {
  78367. return " / 1" + unit;
  78368. },
  78369. $signature: 5
  78370. };
  78371. A._hwb_closure0.prototype = {
  78372. call$1(alpha) {
  78373. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78374. },
  78375. $signature: 123
  78376. };
  78377. A._parseChannels_closure0.prototype = {
  78378. call$1(value) {
  78379. return value.get$isVar();
  78380. },
  78381. $signature: 44
  78382. };
  78383. A._NodeSassColor.prototype = {};
  78384. A.legacyColorClass_closure.prototype = {
  78385. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  78386. var red, t1, t2, t3, t4;
  78387. if (dartValue != null) {
  78388. J.set$dartValue$x(thisArg, dartValue);
  78389. return;
  78390. }
  78391. if (green == null || blue == null) {
  78392. A._asInt(redOrArgb);
  78393. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  78394. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  78395. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  78396. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  78397. } else {
  78398. redOrArgb.toString;
  78399. red = redOrArgb;
  78400. }
  78401. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  78402. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  78403. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  78404. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  78405. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  78406. },
  78407. call$2(thisArg, redOrArgb) {
  78408. return this.call$6(thisArg, redOrArgb, null, null, null, null);
  78409. },
  78410. call$3(thisArg, redOrArgb, green) {
  78411. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  78412. },
  78413. call$4(thisArg, redOrArgb, green, blue) {
  78414. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  78415. },
  78416. call$5(thisArg, redOrArgb, green, blue, alpha) {
  78417. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  78418. },
  78419. "call*": "call$6",
  78420. $requiredArgCount: 2,
  78421. $defaultValues() {
  78422. return [null, null, null, null];
  78423. },
  78424. $signature: 363
  78425. };
  78426. A.legacyColorClass_closure0.prototype = {
  78427. call$1(thisArg) {
  78428. return J.get$red$x(J.get$dartValue$x(thisArg));
  78429. },
  78430. $signature: 124
  78431. };
  78432. A.legacyColorClass_closure1.prototype = {
  78433. call$1(thisArg) {
  78434. return J.get$green$x(J.get$dartValue$x(thisArg));
  78435. },
  78436. $signature: 124
  78437. };
  78438. A.legacyColorClass_closure2.prototype = {
  78439. call$1(thisArg) {
  78440. return J.get$blue$x(J.get$dartValue$x(thisArg));
  78441. },
  78442. $signature: 124
  78443. };
  78444. A.legacyColorClass_closure3.prototype = {
  78445. call$1(thisArg) {
  78446. return J.get$dartValue$x(thisArg)._color1$_alpha;
  78447. },
  78448. $signature: 365
  78449. };
  78450. A.legacyColorClass_closure4.prototype = {
  78451. call$2(thisArg, value) {
  78452. var t1 = J.getInterceptor$x(thisArg);
  78453. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78454. },
  78455. $signature: 83
  78456. };
  78457. A.legacyColorClass_closure5.prototype = {
  78458. call$2(thisArg, value) {
  78459. var t1 = J.getInterceptor$x(thisArg);
  78460. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78461. },
  78462. $signature: 83
  78463. };
  78464. A.legacyColorClass_closure6.prototype = {
  78465. call$2(thisArg, value) {
  78466. var t1 = J.getInterceptor$x(thisArg);
  78467. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78468. },
  78469. $signature: 83
  78470. };
  78471. A.legacyColorClass_closure7.prototype = {
  78472. call$2(thisArg, value) {
  78473. var t1 = J.getInterceptor$x(thisArg);
  78474. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  78475. },
  78476. $signature: 83
  78477. };
  78478. A.colorClass_closure.prototype = {
  78479. call$0() {
  78480. var t1 = type$.JSClass,
  78481. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  78482. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  78483. A.LinkedHashMap_LinkedHashMap$_literal(["red", new A.colorClass__closure1(), "green", new A.colorClass__closure2(), "blue", new A.colorClass__closure3(), "hue", new A.colorClass__closure4(), "saturation", new A.colorClass__closure5(), "lightness", new A.colorClass__closure6(), "whiteness", new A.colorClass__closure7(), "blackness", new A.colorClass__closure8(), "alpha", new A.colorClass__closure9()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  78484. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
  78485. return jsClass;
  78486. },
  78487. $signature: 25
  78488. };
  78489. A.colorClass__closure.prototype = {
  78490. call$2($self, color) {
  78491. var t2, t3, t4,
  78492. t1 = J.getInterceptor$x(color);
  78493. if (t1.get$red(color) != null) {
  78494. t2 = t1.get$red(color);
  78495. t2.toString;
  78496. t2 = A.fuzzyRound0(t2);
  78497. t3 = t1.get$green(color);
  78498. t3.toString;
  78499. t3 = A.fuzzyRound0(t3);
  78500. t4 = t1.get$blue(color);
  78501. t4.toString;
  78502. return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
  78503. } else if (t1.get$saturation(color) != null) {
  78504. t2 = t1.get$hue(color);
  78505. t2.toString;
  78506. t3 = t1.get$saturation(color);
  78507. t3.toString;
  78508. t4 = t1.get$lightness(color);
  78509. t4.toString;
  78510. return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
  78511. } else {
  78512. t2 = t1.get$hue(color);
  78513. t2.toString;
  78514. t3 = t1.get$whiteness(color);
  78515. t3.toString;
  78516. t4 = t1.get$blackness(color);
  78517. t4.toString;
  78518. return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
  78519. }
  78520. },
  78521. $signature: 367
  78522. };
  78523. A.colorClass__closure0.prototype = {
  78524. call$2($self, options) {
  78525. var t2, t3, t4,
  78526. t1 = J.getInterceptor$x(options);
  78527. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  78528. t2 = t1.get$hue(options);
  78529. if (t2 == null)
  78530. t2 = $self.get$hue($self);
  78531. t3 = t1.get$whiteness(options);
  78532. if (t3 == null)
  78533. t3 = $self.get$whiteness($self);
  78534. t4 = t1.get$blackness(options);
  78535. if (t4 == null)
  78536. t4 = $self.get$blackness($self);
  78537. t1 = t1.get$alpha(options);
  78538. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  78539. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  78540. t2 = t1.get$hue(options);
  78541. if (t2 == null)
  78542. t2 = $self.get$hue($self);
  78543. t3 = t1.get$saturation(options);
  78544. if (t3 == null)
  78545. t3 = $self.get$saturation($self);
  78546. t4 = t1.get$lightness(options);
  78547. if (t4 == null)
  78548. t4 = $self.get$lightness($self);
  78549. t1 = t1.get$alpha(options);
  78550. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  78551. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  78552. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  78553. if (t2 == null)
  78554. t2 = $self.get$red($self);
  78555. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  78556. if (t3 == null)
  78557. t3 = $self.get$green($self);
  78558. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  78559. if (t4 == null)
  78560. t4 = $self.get$blue($self);
  78561. t1 = t1.get$alpha(options);
  78562. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  78563. } else {
  78564. t1 = t1.get$alpha(options);
  78565. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  78566. }
  78567. },
  78568. $signature: 368
  78569. };
  78570. A.colorClass__closure1.prototype = {
  78571. call$1($self) {
  78572. return $self.get$red($self);
  78573. },
  78574. $signature: 140
  78575. };
  78576. A.colorClass__closure2.prototype = {
  78577. call$1($self) {
  78578. return $self.get$green($self);
  78579. },
  78580. $signature: 140
  78581. };
  78582. A.colorClass__closure3.prototype = {
  78583. call$1($self) {
  78584. return $self.get$blue($self);
  78585. },
  78586. $signature: 140
  78587. };
  78588. A.colorClass__closure4.prototype = {
  78589. call$1($self) {
  78590. return $self.get$hue($self);
  78591. },
  78592. $signature: 55
  78593. };
  78594. A.colorClass__closure5.prototype = {
  78595. call$1($self) {
  78596. return $self.get$saturation($self);
  78597. },
  78598. $signature: 55
  78599. };
  78600. A.colorClass__closure6.prototype = {
  78601. call$1($self) {
  78602. return $self.get$lightness($self);
  78603. },
  78604. $signature: 55
  78605. };
  78606. A.colorClass__closure7.prototype = {
  78607. call$1($self) {
  78608. return $self.get$whiteness($self);
  78609. },
  78610. $signature: 55
  78611. };
  78612. A.colorClass__closure8.prototype = {
  78613. call$1($self) {
  78614. return $self.get$blackness($self);
  78615. },
  78616. $signature: 55
  78617. };
  78618. A.colorClass__closure9.prototype = {
  78619. call$1($self) {
  78620. return $self._color1$_alpha;
  78621. },
  78622. $signature: 55
  78623. };
  78624. A._Channels.prototype = {};
  78625. A.SassColor0.prototype = {
  78626. get$red(_) {
  78627. var t1;
  78628. if (this._color1$_red == null)
  78629. this._color1$_hslToRgb$0();
  78630. t1 = this._color1$_red;
  78631. t1.toString;
  78632. return t1;
  78633. },
  78634. get$green(_) {
  78635. var t1;
  78636. if (this._color1$_green == null)
  78637. this._color1$_hslToRgb$0();
  78638. t1 = this._color1$_green;
  78639. t1.toString;
  78640. return t1;
  78641. },
  78642. get$blue(_) {
  78643. var t1;
  78644. if (this._color1$_blue == null)
  78645. this._color1$_hslToRgb$0();
  78646. t1 = this._color1$_blue;
  78647. t1.toString;
  78648. return t1;
  78649. },
  78650. get$hue(_) {
  78651. var t1;
  78652. if (this._color1$_hue == null)
  78653. this._color1$_rgbToHsl$0();
  78654. t1 = this._color1$_hue;
  78655. t1.toString;
  78656. return t1;
  78657. },
  78658. get$saturation(_) {
  78659. var t1;
  78660. if (this._color1$_saturation == null)
  78661. this._color1$_rgbToHsl$0();
  78662. t1 = this._color1$_saturation;
  78663. t1.toString;
  78664. return t1;
  78665. },
  78666. get$lightness(_) {
  78667. var t1;
  78668. if (this._color1$_lightness == null)
  78669. this._color1$_rgbToHsl$0();
  78670. t1 = this._color1$_lightness;
  78671. t1.toString;
  78672. return t1;
  78673. },
  78674. get$whiteness(_) {
  78675. var _this = this;
  78676. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  78677. },
  78678. get$blackness(_) {
  78679. var _this = this;
  78680. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  78681. },
  78682. accept$1$1(visitor) {
  78683. var $name, hexLength, t1, format, t2, opaque, _this = this;
  78684. if (visitor._serialize0$_style === B.OutputStyle_10)
  78685. if (!A.fuzzyEquals0(_this._color1$_alpha, 1))
  78686. visitor._serialize0$_writeRgb$1(_this);
  78687. else {
  78688. $name = $.$get$namesByColor0().$index(0, _this);
  78689. hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
  78690. if ($name != null && $name.length <= hexLength)
  78691. visitor._serialize0$_buffer.write$1(0, $name);
  78692. else {
  78693. t1 = visitor._serialize0$_buffer;
  78694. if (visitor._serialize0$_canUseShortHex$1(_this)) {
  78695. t1.writeCharCode$1(35);
  78696. t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
  78697. t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
  78698. t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
  78699. } else {
  78700. t1.writeCharCode$1(35);
  78701. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  78702. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  78703. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  78704. }
  78705. }
  78706. }
  78707. else {
  78708. format = _this.format;
  78709. if (format != null)
  78710. if (format === B._ColorFormatEnum_rgbFunction0)
  78711. visitor._serialize0$_writeRgb$1(_this);
  78712. else {
  78713. t1 = visitor._serialize0$_buffer;
  78714. if (format === B._ColorFormatEnum_hslFunction0) {
  78715. t2 = _this._color1$_alpha;
  78716. opaque = A.fuzzyEquals0(t2, 1);
  78717. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  78718. visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
  78719. t1.write$1(0, "deg");
  78720. t1.write$1(0, ", ");
  78721. visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
  78722. t1.writeCharCode$1(37);
  78723. t1.write$1(0, ", ");
  78724. visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
  78725. t1.writeCharCode$1(37);
  78726. if (!opaque) {
  78727. t1.write$1(0, ", ");
  78728. visitor._serialize0$_writeNumber$1(t2);
  78729. }
  78730. t1.writeCharCode$1(41);
  78731. } else
  78732. t1.write$1(0, type$.SpanColorFormat_2._as(format)._color1$_span.get$text());
  78733. }
  78734. else {
  78735. t1 = $.$get$namesByColor0();
  78736. if (t1.containsKey$1(_this) && !A.fuzzyEquals0(_this._color1$_alpha, 0))
  78737. visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
  78738. else if (A.fuzzyEquals0(_this._color1$_alpha, 1)) {
  78739. visitor._serialize0$_buffer.writeCharCode$1(35);
  78740. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  78741. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  78742. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  78743. } else
  78744. visitor._serialize0$_writeRgb$1(_this);
  78745. }
  78746. }
  78747. return null;
  78748. },
  78749. accept$1(visitor) {
  78750. return this.accept$1$1(visitor, type$.dynamic);
  78751. },
  78752. assertColor$1($name) {
  78753. return this;
  78754. },
  78755. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  78756. var _this = this,
  78757. t1 = red == null ? _this.get$red(_this) : red,
  78758. t2 = green == null ? _this.get$green(_this) : green,
  78759. t3 = blue == null ? _this.get$blue(_this) : blue;
  78760. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  78761. },
  78762. changeRgb$3$blue$green$red(blue, green, red) {
  78763. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  78764. },
  78765. changeRgb$1$alpha(alpha) {
  78766. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  78767. },
  78768. changeRgb$1$blue(blue) {
  78769. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  78770. },
  78771. changeRgb$1$green(green) {
  78772. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  78773. },
  78774. changeRgb$1$red(red) {
  78775. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  78776. },
  78777. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  78778. var _this = this,
  78779. t1 = hue == null ? _this.get$hue(_this) : hue,
  78780. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  78781. t3 = lightness == null ? _this.get$lightness(_this) : lightness;
  78782. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  78783. },
  78784. changeHsl$1$saturation(saturation) {
  78785. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  78786. },
  78787. changeHsl$1$lightness(lightness) {
  78788. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  78789. },
  78790. changeHsl$1$hue(hue) {
  78791. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  78792. },
  78793. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  78794. var t1 = hue == null ? this.get$hue(this) : hue;
  78795. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  78796. },
  78797. changeAlpha$1(alpha) {
  78798. var _this = this;
  78799. return new A.SassColor0(_this._color1$_red, _this._color1$_green, _this._color1$_blue, _this._color1$_hue, _this._color1$_saturation, _this._color1$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
  78800. },
  78801. plus$1(other) {
  78802. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78803. return this.super$Value$plus0(other);
  78804. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  78805. },
  78806. minus$1(other) {
  78807. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78808. return this.super$Value$minus0(other);
  78809. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  78810. },
  78811. dividedBy$1(other) {
  78812. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78813. return this.super$Value$dividedBy0(other);
  78814. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  78815. },
  78816. $eq(_, other) {
  78817. var _this = this;
  78818. if (other == null)
  78819. return false;
  78820. return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color1$_alpha === _this._color1$_alpha;
  78821. },
  78822. get$hashCode(_) {
  78823. var _this = this;
  78824. return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
  78825. },
  78826. _color1$_rgbToHsl$0() {
  78827. var t2, lightness, _this = this,
  78828. scaledRed = _this.get$red(_this) / 255,
  78829. scaledGreen = _this.get$green(_this) / 255,
  78830. scaledBlue = _this.get$blue(_this) / 255,
  78831. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  78832. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  78833. delta = max - min,
  78834. t1 = max === min;
  78835. if (t1)
  78836. _this._color1$_hue = 0;
  78837. else if (max === scaledRed)
  78838. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  78839. else if (max === scaledGreen)
  78840. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  78841. else if (max === scaledBlue)
  78842. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  78843. t2 = max + min;
  78844. lightness = 50 * t2;
  78845. _this._color1$_lightness = lightness;
  78846. if (t1)
  78847. _this._color1$_saturation = 0;
  78848. else {
  78849. t1 = 100 * delta;
  78850. if (lightness < 50)
  78851. _this._color1$_saturation = t1 / t2;
  78852. else
  78853. _this._color1$_saturation = t1 / (2 - max - min);
  78854. }
  78855. },
  78856. _color1$_hslToRgb$0() {
  78857. var _this = this,
  78858. scaledHue = _this.get$hue(_this) / 360,
  78859. scaledSaturation = _this.get$saturation(_this) / 100,
  78860. scaledLightness = _this.get$lightness(_this) / 100,
  78861. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  78862. m1 = scaledLightness * 2 - m2;
  78863. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  78864. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  78865. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  78866. }
  78867. };
  78868. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  78869. call$1(hue) {
  78870. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  78871. },
  78872. $signature: 178
  78873. };
  78874. A._ColorFormatEnum0.prototype = {
  78875. toString$0(_) {
  78876. return this._color1$_name;
  78877. }
  78878. };
  78879. A.SpanColorFormat0.prototype = {};
  78880. A.Combinator0.prototype = {
  78881. toString$0(_) {
  78882. return this._combinator0$_text;
  78883. }
  78884. };
  78885. A.ModifiableCssComment0.prototype = {
  78886. accept$1$1(visitor) {
  78887. return visitor.visitCssComment$1(this);
  78888. },
  78889. accept$1(visitor) {
  78890. return this.accept$1$1(visitor, type$.dynamic);
  78891. },
  78892. $isCssComment0: 1,
  78893. get$span(receiver) {
  78894. return this.span;
  78895. }
  78896. };
  78897. A.compileAsync_closure.prototype = {
  78898. call$0() {
  78899. var $async$goto = 0,
  78900. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  78901. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  78902. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78903. if ($async$errorCode === 1)
  78904. return A._asyncRethrow($async$result, $async$completer);
  78905. while (true)
  78906. switch ($async$goto) {
  78907. case 0:
  78908. // Function start
  78909. t1 = $async$self.options;
  78910. t2 = t1 == null;
  78911. t3 = t2 ? null : J.get$loadPaths$x(t1);
  78912. t4 = t2 ? null : J.get$quietDeps$x(t1);
  78913. if (t4 == null)
  78914. t4 = false;
  78915. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  78916. t6 = t2 ? null : J.get$verbose$x(t1);
  78917. if (t6 == null)
  78918. t6 = false;
  78919. t7 = t2 ? null : J.get$charset$x(t1);
  78920. if (t7 == null)
  78921. t7 = true;
  78922. t8 = t2 ? null : J.get$sourceMap$x(t1);
  78923. if (t8 == null)
  78924. t8 = false;
  78925. t9 = t2 ? null : J.get$logger$x(t1);
  78926. t9 = new A.NodeToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  78927. if (t2)
  78928. t10 = null;
  78929. else {
  78930. t10 = J.get$importers$x(t1);
  78931. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  78932. }
  78933. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  78934. $async$goto = 3;
  78935. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t11, A.AsyncImportCache$(t10, t3, t9, null), null, null, t9, null, t4, t8, t5, null, true, t6), $async$call$0);
  78936. case 3:
  78937. // returning from await.
  78938. result = $async$result;
  78939. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  78940. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  78941. // goto return
  78942. $async$goto = 1;
  78943. break;
  78944. case 1:
  78945. // return
  78946. return A._asyncReturn($async$returnValue, $async$completer);
  78947. }
  78948. });
  78949. return A._asyncStartSync($async$call$0, $async$completer);
  78950. },
  78951. $signature: 207
  78952. };
  78953. A.compileAsync__closure.prototype = {
  78954. call$1(importer) {
  78955. return A._parseAsyncImporter(importer);
  78956. },
  78957. $signature: 208
  78958. };
  78959. A.compileStringAsync_closure.prototype = {
  78960. call$0() {
  78961. var $async$goto = 0,
  78962. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  78963. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  78964. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78965. if ($async$errorCode === 1)
  78966. return A._asyncRethrow($async$result, $async$completer);
  78967. while (true)
  78968. switch ($async$goto) {
  78969. case 0:
  78970. // Function start
  78971. t1 = $async$self.options;
  78972. t2 = t1 == null;
  78973. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  78974. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  78975. t5 = t2 ? null : J.get$loadPaths$x(t1);
  78976. t6 = t2 ? null : J.get$quietDeps$x(t1);
  78977. if (t6 == null)
  78978. t6 = false;
  78979. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  78980. t8 = t2 ? null : J.get$verbose$x(t1);
  78981. if (t8 == null)
  78982. t8 = false;
  78983. t9 = t2 ? null : J.get$charset$x(t1);
  78984. if (t9 == null)
  78985. t9 = true;
  78986. t10 = t2 ? null : J.get$sourceMap$x(t1);
  78987. if (t10 == null)
  78988. t10 = false;
  78989. t11 = t2 ? null : J.get$logger$x(t1);
  78990. t11 = new A.NodeToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  78991. if (t2)
  78992. t12 = null;
  78993. else {
  78994. t12 = J.get$importers$x(t1);
  78995. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  78996. }
  78997. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  78998. if (t13 == null)
  78999. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
  79000. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  79001. $async$goto = 3;
  79002. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t14, A.AsyncImportCache$(t12, t5, t11, null), t13, null, null, t11, null, t6, t10, t7, t3, t4, true, t8), $async$call$0);
  79003. case 3:
  79004. // returning from await.
  79005. result = $async$result;
  79006. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  79007. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  79008. // goto return
  79009. $async$goto = 1;
  79010. break;
  79011. case 1:
  79012. // return
  79013. return A._asyncReturn($async$returnValue, $async$completer);
  79014. }
  79015. });
  79016. return A._asyncStartSync($async$call$0, $async$completer);
  79017. },
  79018. $signature: 207
  79019. };
  79020. A.compileStringAsync__closure.prototype = {
  79021. call$1(importer) {
  79022. return A._parseAsyncImporter(importer);
  79023. },
  79024. $signature: 208
  79025. };
  79026. A.compileStringAsync__closure0.prototype = {
  79027. call$1(importer) {
  79028. return A._parseAsyncImporter(importer);
  79029. },
  79030. $signature: 373
  79031. };
  79032. A._wrapAsyncSassExceptions_closure.prototype = {
  79033. call$1(error) {
  79034. var t1;
  79035. if (error instanceof A.SassException0)
  79036. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  79037. else
  79038. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  79039. return t1;
  79040. },
  79041. $signature: 374
  79042. };
  79043. A._parseFunctions_closure0.prototype = {
  79044. call$2(signature, callback) {
  79045. var error, stackTrace, exception, t2, t3, t4, t1 = {};
  79046. t1.tuple = null;
  79047. try {
  79048. t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
  79049. } catch (exception) {
  79050. t2 = A.unwrapException(exception);
  79051. if (t2 instanceof A.SassFormatException0) {
  79052. error = t2;
  79053. stackTrace = A.getTraceFromException(exception);
  79054. t2 = error;
  79055. t3 = J.getInterceptor$z(t2);
  79056. A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
  79057. } else
  79058. throw exception;
  79059. }
  79060. t2 = this.result;
  79061. t3 = t1.tuple;
  79062. t4 = t3.item1;
  79063. t3 = t3.item2;
  79064. if (!this.asynch)
  79065. t2.push(new A.BuiltInCallable0(t4, A._setArrayType([new A.Tuple2(t3, new A._parseFunctions__closure2(t1, callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  79066. else
  79067. t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
  79068. },
  79069. $signature: 128
  79070. };
  79071. A._parseFunctions__closure2.prototype = {
  79072. call$1($arguments) {
  79073. var t1, t2,
  79074. _s42_ = string$.Invali,
  79075. result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
  79076. if (result instanceof A.Value0)
  79077. return result;
  79078. t1 = result != null && result instanceof self.Promise;
  79079. t2 = this._box_0.tuple;
  79080. if (t1)
  79081. throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  79082. else
  79083. throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
  79084. },
  79085. $signature: 3
  79086. };
  79087. A._parseFunctions__closure3.prototype = {
  79088. call$1($arguments) {
  79089. return this.$call$body$_parseFunctions__closure0($arguments);
  79090. },
  79091. $call$body$_parseFunctions__closure0($arguments) {
  79092. var $async$goto = 0,
  79093. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  79094. $async$returnValue, $async$self = this, result;
  79095. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79096. if ($async$errorCode === 1)
  79097. return A._asyncRethrow($async$result, $async$completer);
  79098. while (true)
  79099. switch ($async$goto) {
  79100. case 0:
  79101. // Function start
  79102. result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
  79103. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79104. break;
  79105. case 3:
  79106. // then
  79107. $async$goto = 5;
  79108. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  79109. case 5:
  79110. // returning from await.
  79111. result = $async$result;
  79112. case 4:
  79113. // join
  79114. if (result instanceof A.Value0) {
  79115. $async$returnValue = result;
  79116. // goto return
  79117. $async$goto = 1;
  79118. break;
  79119. }
  79120. throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
  79121. case 1:
  79122. // return
  79123. return A._asyncReturn($async$returnValue, $async$completer);
  79124. }
  79125. });
  79126. return A._asyncStartSync($async$call$1, $async$completer);
  79127. },
  79128. $signature: 96
  79129. };
  79130. A._compileStylesheet_closure1.prototype = {
  79131. call$1(url) {
  79132. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  79133. },
  79134. $signature: 5
  79135. };
  79136. A.CompileOptions.prototype = {};
  79137. A.CompileStringOptions.prototype = {};
  79138. A.NodeCompileResult.prototype = {};
  79139. A.CompileResult0.prototype = {};
  79140. A.ComplexSassNumber0.prototype = {
  79141. get$numeratorUnits(_) {
  79142. return this._complex0$_numeratorUnits;
  79143. },
  79144. get$denominatorUnits(_) {
  79145. return this._complex0$_denominatorUnits;
  79146. },
  79147. get$hasUnits() {
  79148. return true;
  79149. },
  79150. hasUnit$1(unit) {
  79151. return false;
  79152. },
  79153. compatibleWithUnit$1(unit) {
  79154. return false;
  79155. },
  79156. hasPossiblyCompatibleUnits$1(other) {
  79157. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  79158. },
  79159. withValue$1(value) {
  79160. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  79161. },
  79162. withSlash$2(numerator, denominator) {
  79163. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  79164. }
  79165. };
  79166. A.ComplexSelector0.prototype = {
  79167. get$specificity() {
  79168. var result, _this = this,
  79169. value = _this._complex$__ComplexSelector_specificity_FI;
  79170. if (value === $) {
  79171. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  79172. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  79173. _this._complex$__ComplexSelector_specificity_FI = result;
  79174. value = result;
  79175. }
  79176. return value;
  79177. },
  79178. get$singleCompound() {
  79179. if (this.leadingCombinators.length === 0) {
  79180. var t1 = this.components;
  79181. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  79182. } else
  79183. t1 = false;
  79184. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  79185. },
  79186. accept$1$1(visitor) {
  79187. return visitor.visitComplexSelector$1(this);
  79188. },
  79189. accept$1(visitor) {
  79190. return this.accept$1$1(visitor, type$.dynamic);
  79191. },
  79192. isSuperselector$1(other) {
  79193. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  79194. },
  79195. withAdditionalCombinators$1(combinators) {
  79196. var t1, t2, t3, _this = this;
  79197. if (combinators.length === 0)
  79198. return _this;
  79199. else {
  79200. t1 = _this.components;
  79201. t2 = _this.leadingCombinators;
  79202. if (t1.length === 0) {
  79203. t1 = A.List_List$of(t2, true, type$.Combinator_2);
  79204. B.JSArray_methods.addAll$1(t1, combinators);
  79205. return A.ComplexSelector$0(t1, B.List_empty15, _this.lineBreak || false);
  79206. } else {
  79207. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  79208. t3.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  79209. return A.ComplexSelector$0(t2, t3, _this.lineBreak || false);
  79210. }
  79211. }
  79212. },
  79213. concatenate$2$forceLineBreak(child, forceLineBreak) {
  79214. var t2, t3, t4, t5, _this = this,
  79215. t1 = child.leadingCombinators;
  79216. if (t1.length === 0) {
  79217. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent_2);
  79218. B.JSArray_methods.addAll$1(t1, child.components);
  79219. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  79220. return A.ComplexSelector$0(_this.leadingCombinators, t1, t2);
  79221. } else {
  79222. t2 = _this.components;
  79223. t3 = _this.leadingCombinators;
  79224. t4 = child.components;
  79225. if (t2.length === 0) {
  79226. t2 = A.List_List$of(t3, true, type$.Combinator_2);
  79227. B.JSArray_methods.addAll$1(t2, t1);
  79228. return A.ComplexSelector$0(t2, t4, _this.lineBreak || child.lineBreak || forceLineBreak);
  79229. } else {
  79230. t5 = A.List_List$of(A.IterableExtension_get_exceptLast0(t2), true, type$.ComplexSelectorComponent_2);
  79231. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  79232. B.JSArray_methods.addAll$1(t5, t4);
  79233. return A.ComplexSelector$0(t3, t5, _this.lineBreak || child.lineBreak || forceLineBreak);
  79234. }
  79235. }
  79236. },
  79237. concatenate$1(child) {
  79238. return this.concatenate$2$forceLineBreak(child, false);
  79239. },
  79240. get$hashCode(_) {
  79241. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  79242. },
  79243. $eq(_, other) {
  79244. if (other == null)
  79245. return false;
  79246. return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.leadingCombinators, other.leadingCombinators) && B.C_ListEquality.equals$2(0, this.components, other.components);
  79247. }
  79248. };
  79249. A.ComplexSelector_specificity_closure0.prototype = {
  79250. call$2(sum, component) {
  79251. return sum + component.selector.get$specificity();
  79252. },
  79253. $signature: 376
  79254. };
  79255. A.ComplexSelectorComponent0.prototype = {
  79256. withAdditionalCombinators$1(combinators) {
  79257. var t1, t2;
  79258. if (combinators.length === 0)
  79259. t1 = this;
  79260. else {
  79261. t1 = type$.Combinator_2;
  79262. t2 = A.List_List$of(this.combinators, true, t1);
  79263. B.JSArray_methods.addAll$1(t2, combinators);
  79264. t1 = new A.ComplexSelectorComponent0(this.selector, A.List_List$unmodifiable(t2, t1));
  79265. }
  79266. return t1;
  79267. },
  79268. get$hashCode(_) {
  79269. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  79270. },
  79271. $eq(_, other) {
  79272. var t1;
  79273. if (other == null)
  79274. return false;
  79275. if (other instanceof A.ComplexSelectorComponent0) {
  79276. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  79277. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  79278. } else
  79279. t1 = false;
  79280. return t1;
  79281. },
  79282. toString$0(_) {
  79283. var t1 = this.combinators;
  79284. return A.serializeSelector0(this.selector, true) + new A.MappedListIterable(t1, new A.ComplexSelectorComponent_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, "");
  79285. }
  79286. };
  79287. A.ComplexSelectorComponent_toString_closure0.prototype = {
  79288. call$1(combinator) {
  79289. return " " + combinator.toString$0(0);
  79290. },
  79291. $signature: 377
  79292. };
  79293. A.CompoundSelector0.prototype = {
  79294. get$specificity() {
  79295. var result, _this = this,
  79296. value = _this._compound$__CompoundSelector_specificity_FI;
  79297. if (value === $) {
  79298. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  79299. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  79300. _this._compound$__CompoundSelector_specificity_FI = result;
  79301. value = result;
  79302. }
  79303. return value;
  79304. },
  79305. accept$1$1(visitor) {
  79306. return visitor.visitCompoundSelector$1(this);
  79307. },
  79308. accept$1(visitor) {
  79309. return this.accept$1$1(visitor, type$.dynamic);
  79310. },
  79311. get$hashCode(_) {
  79312. return B.C_ListEquality0.hash$1(this.components);
  79313. },
  79314. $eq(_, other) {
  79315. if (other == null)
  79316. return false;
  79317. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  79318. }
  79319. };
  79320. A.CompoundSelector_specificity_closure0.prototype = {
  79321. call$2(sum, component) {
  79322. return sum + component.get$specificity();
  79323. },
  79324. $signature: 378
  79325. };
  79326. A.Configuration0.prototype = {
  79327. throughForward$1($forward) {
  79328. var prefix, shownVariables, hiddenVariables, t1,
  79329. newValues = this._configuration$_values;
  79330. if (newValues.get$isEmpty(newValues))
  79331. return B.Configuration_Map_empty_null0;
  79332. prefix = $forward.prefix;
  79333. if (prefix != null)
  79334. newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
  79335. shownVariables = $forward.shownVariables;
  79336. hiddenVariables = $forward.hiddenVariables;
  79337. if (shownVariables != null)
  79338. newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  79339. else {
  79340. if (hiddenVariables != null) {
  79341. t1 = hiddenVariables._base;
  79342. t1 = t1.get$isNotEmpty(t1);
  79343. } else
  79344. t1 = false;
  79345. if (t1)
  79346. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  79347. }
  79348. return this._configuration$_withValues$1(newValues);
  79349. },
  79350. _configuration$_withValues$1(values) {
  79351. var t1 = this._configuration$__originalConfiguration;
  79352. return new A.Configuration0(values, t1 == null ? this : t1);
  79353. },
  79354. toString$0(_) {
  79355. var t1 = this._configuration$_values;
  79356. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
  79357. }
  79358. };
  79359. A.Configuration_toString_closure0.prototype = {
  79360. call$1(entry) {
  79361. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  79362. },
  79363. $signature: 379
  79364. };
  79365. A.ExplicitConfiguration0.prototype = {
  79366. _configuration$_withValues$1(values) {
  79367. var t1 = this._configuration$__originalConfiguration;
  79368. if (t1 == null)
  79369. t1 = this;
  79370. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  79371. }
  79372. };
  79373. A.ConfiguredValue0.prototype = {
  79374. toString$0(_) {
  79375. return A.serializeValue0(this.value, true, true);
  79376. }
  79377. };
  79378. A.ConfiguredVariable0.prototype = {
  79379. toString$0(_) {
  79380. var t1 = this.expression.toString$0(0),
  79381. t2 = this.isGuarded ? " !default" : "";
  79382. return "$" + this.name + ": " + t1 + t2;
  79383. },
  79384. $isAstNode0: 1,
  79385. get$span(receiver) {
  79386. return this.span;
  79387. }
  79388. };
  79389. A.ContentBlock0.prototype = {
  79390. accept$1$1(visitor) {
  79391. return visitor.visitContentBlock$1(this);
  79392. },
  79393. accept$1(visitor) {
  79394. return this.accept$1$1(visitor, type$.dynamic);
  79395. },
  79396. toString$0(_) {
  79397. var t2,
  79398. t1 = this.$arguments;
  79399. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  79400. t2 = this.children;
  79401. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  79402. }
  79403. };
  79404. A.ContentRule0.prototype = {
  79405. accept$1$1(visitor) {
  79406. return visitor.visitContentRule$1(this);
  79407. },
  79408. accept$1(visitor) {
  79409. return this.accept$1$1(visitor, type$.dynamic);
  79410. },
  79411. toString$0(_) {
  79412. var t1 = this.$arguments;
  79413. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  79414. },
  79415. $isAstNode0: 1,
  79416. $isStatement0: 1,
  79417. get$span(receiver) {
  79418. return this.span;
  79419. }
  79420. };
  79421. A._disallowedFunctionNames_closure0.prototype = {
  79422. call$1($function) {
  79423. return $function.name;
  79424. },
  79425. $signature: 380
  79426. };
  79427. A.CssParser0.prototype = {
  79428. get$plainCss() {
  79429. return true;
  79430. },
  79431. silentComment$0() {
  79432. var t1 = this.scanner,
  79433. t2 = t1._string_scanner$_position;
  79434. this.super$Parser$silentComment0();
  79435. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  79436. },
  79437. atRule$2$root(child, root) {
  79438. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  79439. t1 = _this.scanner,
  79440. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  79441. t1.expectChar$1(64);
  79442. $name = _this.interpolatedIdentifier$0();
  79443. _this.whitespace$0();
  79444. switch ($name.get$asPlain()) {
  79445. case "at-root":
  79446. case "content":
  79447. case "debug":
  79448. case "each":
  79449. case "error":
  79450. case "extend":
  79451. case "for":
  79452. case "function":
  79453. case "if":
  79454. case "include":
  79455. case "mixin":
  79456. case "return":
  79457. case "warn":
  79458. case "while":
  79459. _this.almostAnyValue$0();
  79460. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  79461. break;
  79462. case "import":
  79463. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  79464. next = t1.peekChar$0();
  79465. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  79466. urlSpan = t1.spanFrom$1(urlStart);
  79467. _this.whitespace$0();
  79468. modifiers = _this.tryImportModifiers$0();
  79469. _this.expectStatementSeparator$1("@import rule");
  79470. t2 = A._setArrayType([new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import_2);
  79471. t1 = t1.spanFrom$1(start);
  79472. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  79473. case "media":
  79474. return _this.mediaRule$1(start);
  79475. case "-moz-document":
  79476. return _this.mozDocumentRule$2(start, $name);
  79477. case "supports":
  79478. return _this.supportsRule$1(start);
  79479. default:
  79480. return _this.unknownAtRule$2(start, $name);
  79481. }
  79482. },
  79483. identifierLike$0() {
  79484. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  79485. t1 = _this.scanner,
  79486. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  79487. identifier = _this.interpolatedIdentifier$0(),
  79488. plain = identifier.get$asPlain(),
  79489. lower = plain.toLowerCase(),
  79490. specialFunction = _this.trySpecialFunction$2(lower, start);
  79491. if (specialFunction != null)
  79492. return specialFunction;
  79493. t2 = t1._string_scanner$_position;
  79494. if (!t1.scanChar$1(40))
  79495. return new A.StringExpression0(identifier, false);
  79496. allowEmptySecondArg = lower === "var";
  79497. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  79498. if (!t1.scanChar$1(41)) {
  79499. do {
  79500. _this.whitespace$0();
  79501. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  79502. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  79503. t4 = t3.offset;
  79504. t4 = A._FileSpan$(t3.file, t4, t4);
  79505. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  79506. break;
  79507. }
  79508. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  79509. _this.whitespace$0();
  79510. } while (t1.scanChar$1(44));
  79511. t1.expectChar$1(41);
  79512. }
  79513. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  79514. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  79515. t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
  79516. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  79517. t4 = type$.Expression_2;
  79518. return new A.InterpolatedFunctionExpression0(t3, new A.ArgumentInvocation0(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty9, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
  79519. },
  79520. namespacedExpression$2(namespace, start) {
  79521. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  79522. this.error$2(0, string$.Modulen, expression.get$span(expression));
  79523. }
  79524. };
  79525. A.DebugRule0.prototype = {
  79526. accept$1$1(visitor) {
  79527. return visitor.visitDebugRule$1(this);
  79528. },
  79529. accept$1(visitor) {
  79530. return this.accept$1$1(visitor, type$.dynamic);
  79531. },
  79532. toString$0(_) {
  79533. return "@debug " + this.expression.toString$0(0) + ";";
  79534. },
  79535. $isAstNode0: 1,
  79536. $isStatement0: 1,
  79537. get$span(receiver) {
  79538. return this.span;
  79539. }
  79540. };
  79541. A.ModifiableCssDeclaration0.prototype = {
  79542. accept$1$1(visitor) {
  79543. return visitor.visitCssDeclaration$1(this);
  79544. },
  79545. accept$1(visitor) {
  79546. return this.accept$1$1(visitor, type$.dynamic);
  79547. },
  79548. toString$0(_) {
  79549. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  79550. },
  79551. get$span(receiver) {
  79552. return this.span;
  79553. }
  79554. };
  79555. A.Declaration0.prototype = {
  79556. accept$1$1(visitor) {
  79557. return visitor.visitDeclaration$1(this);
  79558. },
  79559. accept$1(visitor) {
  79560. return this.accept$1$1(visitor, type$.dynamic);
  79561. },
  79562. toString$0(_) {
  79563. var t3, children,
  79564. buffer = new A.StringBuffer(""),
  79565. t1 = this.name,
  79566. t2 = "" + t1.toString$0(0);
  79567. buffer._contents = t2;
  79568. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  79569. t3 = this.value;
  79570. if (t3 != null) {
  79571. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  79572. buffer._contents = t1 + t3.toString$0(0);
  79573. }
  79574. children = this.children;
  79575. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  79576. },
  79577. get$span(receiver) {
  79578. return this.span;
  79579. }
  79580. };
  79581. A.SupportsDeclaration0.prototype = {
  79582. get$isCustomProperty() {
  79583. var $name = this.name;
  79584. return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  79585. },
  79586. toString$0(_) {
  79587. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  79588. },
  79589. $isAstNode0: 1,
  79590. get$span(receiver) {
  79591. return this.span;
  79592. }
  79593. };
  79594. A.DynamicImport0.prototype = {
  79595. toString$0(_) {
  79596. return A.StringExpression_quoteText0(this.urlString);
  79597. },
  79598. $isImport0: 1,
  79599. $isAstNode0: 1,
  79600. get$span(receiver) {
  79601. return this.span;
  79602. }
  79603. };
  79604. A.EachRule0.prototype = {
  79605. accept$1$1(visitor) {
  79606. return visitor.visitEachRule$1(this);
  79607. },
  79608. accept$1(visitor) {
  79609. return this.accept$1$1(visitor, type$.dynamic);
  79610. },
  79611. toString$0(_) {
  79612. var t1 = this.variables,
  79613. t2 = this.children;
  79614. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  79615. },
  79616. get$span(receiver) {
  79617. return this.span;
  79618. }
  79619. };
  79620. A.EachRule_toString_closure0.prototype = {
  79621. call$1(variable) {
  79622. return "$" + variable;
  79623. },
  79624. $signature: 5
  79625. };
  79626. A.EmptyExtensionStore0.prototype = {
  79627. get$isEmpty(_) {
  79628. return true;
  79629. },
  79630. get$simpleSelectors() {
  79631. return B.C_EmptyUnmodifiableSet0;
  79632. },
  79633. extensionsWhereTarget$1(callback) {
  79634. return B.List_empty17;
  79635. },
  79636. addSelector$3(selector, span, mediaContext) {
  79637. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  79638. },
  79639. addExtension$4(extender, target, extend, mediaContext) {
  79640. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  79641. },
  79642. addExtensions$1(extenders) {
  79643. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  79644. },
  79645. clone$0() {
  79646. return B.Tuple2_EmptyExtensionStore_Map_empty0;
  79647. },
  79648. $isExtensionStore0: 1
  79649. };
  79650. A.Environment0.prototype = {
  79651. closure$0() {
  79652. var t4, t5, t6, _this = this,
  79653. t1 = _this._environment0$_forwardedModules,
  79654. t2 = _this._environment0$_nestedForwardedModules,
  79655. t3 = _this._environment0$_variables;
  79656. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  79657. t4 = _this._environment0$_variableNodes;
  79658. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  79659. t5 = _this._environment0$_functions;
  79660. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  79661. t6 = _this._environment0$_mixins;
  79662. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  79663. return A.Environment$_0(_this._environment0$_modules, _this._environment0$_namespaceNodes, _this._environment0$_globalModules, _this._environment0$_importedModules, t1, t2, _this._environment0$_allModules, t3, t4, t5, t6, _this._environment0$_content);
  79664. },
  79665. addModule$3$namespace(module, nodeWithSpan, namespace) {
  79666. var t1, t2, span, _this = this;
  79667. if (namespace == null) {
  79668. _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  79669. _this._environment0$_allModules.push(module);
  79670. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
  79671. t2 = t1.get$current(t1);
  79672. if (module.get$variables().containsKey$1(t2))
  79673. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  79674. }
  79675. } else {
  79676. t1 = _this._environment0$_modules;
  79677. if (t1.containsKey$1(namespace)) {
  79678. t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
  79679. span = t1 == null ? null : t1.span;
  79680. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79681. if (span != null)
  79682. t1.$indexSet(0, span, "original @use");
  79683. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  79684. }
  79685. t1.$indexSet(0, namespace, module);
  79686. _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  79687. _this._environment0$_allModules.push(module);
  79688. }
  79689. },
  79690. forwardModule$2(module, rule) {
  79691. var view, t1, t2, _this = this,
  79692. forwardedModules = _this._environment0$_forwardedModules;
  79693. if (forwardedModules == null)
  79694. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79695. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  79696. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  79697. t2 = t1.__js_helper$_current;
  79698. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  79699. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  79700. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  79701. }
  79702. _this._environment0$_allModules.push(module);
  79703. forwardedModules.$indexSet(0, view, rule);
  79704. },
  79705. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  79706. var larger, smaller, t1, t2, $name, span;
  79707. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  79708. larger = oldMembers;
  79709. smaller = newMembers;
  79710. } else {
  79711. larger = newMembers;
  79712. smaller = oldMembers;
  79713. }
  79714. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  79715. $name = t1.get$current(t1);
  79716. if (!larger.containsKey$1($name))
  79717. continue;
  79718. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  79719. continue;
  79720. if (t2)
  79721. $name = "$" + $name;
  79722. t1 = this._environment0$_forwardedModules;
  79723. if (t1 == null)
  79724. span = null;
  79725. else {
  79726. t1 = t1.$index(0, oldModule);
  79727. span = t1 == null ? null : J.get$span$z(t1);
  79728. }
  79729. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79730. if (span != null)
  79731. t1.$indexSet(0, span, "original @forward");
  79732. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  79733. }
  79734. },
  79735. importForwards$1(module) {
  79736. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  79737. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  79738. if (forwarded == null)
  79739. return;
  79740. forwardedModules = _this._environment0$_forwardedModules;
  79741. if (forwardedModules != null) {
  79742. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79743. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
  79744. t4 = t2.get$current(t2);
  79745. t5 = t4.key;
  79746. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  79747. t1.$indexSet(0, t5, t4.value);
  79748. }
  79749. forwarded = t1;
  79750. } else
  79751. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79752. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  79753. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  79754. t3 = t2._eval$1("Iterable.E");
  79755. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
  79756. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
  79757. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
  79758. t2 = _this._environment0$_variables;
  79759. t3 = t2.length;
  79760. if (t3 === 1) {
  79761. for (t1 = _this._environment0$_importedModules, t3 = t1.get$entries(t1).toList$0(0), t4 = t3.length, t5 = type$.Callable_2, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  79762. entry = t3[_i];
  79763. module = entry.key;
  79764. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  79765. if (shadowed != null) {
  79766. t1.remove$1(0, module);
  79767. t6 = shadowed.variables;
  79768. if (t6.get$isEmpty(t6)) {
  79769. t6 = shadowed.functions;
  79770. if (t6.get$isEmpty(t6)) {
  79771. t6 = shadowed.mixins;
  79772. if (t6.get$isEmpty(t6)) {
  79773. t6 = shadowed._shadowed_view0$_inner;
  79774. t6 = t6.get$css(t6);
  79775. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  79776. } else
  79777. t6 = false;
  79778. } else
  79779. t6 = false;
  79780. } else
  79781. t6 = false;
  79782. if (!t6)
  79783. t1.$indexSet(0, shadowed, entry.value);
  79784. }
  79785. }
  79786. for (t3 = forwardedModules.get$entries(forwardedModules).toList$0(0), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  79787. entry = t3[_i];
  79788. module = entry.key;
  79789. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  79790. if (shadowed != null) {
  79791. forwardedModules.remove$1(0, module);
  79792. t6 = shadowed.variables;
  79793. if (t6.get$isEmpty(t6)) {
  79794. t6 = shadowed.functions;
  79795. if (t6.get$isEmpty(t6)) {
  79796. t6 = shadowed.mixins;
  79797. if (t6.get$isEmpty(t6)) {
  79798. t6 = shadowed._shadowed_view0$_inner;
  79799. t6 = t6.get$css(t6);
  79800. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  79801. } else
  79802. t6 = false;
  79803. } else
  79804. t6 = false;
  79805. } else
  79806. t6 = false;
  79807. if (!t6)
  79808. forwardedModules.$indexSet(0, shadowed, entry.value);
  79809. }
  79810. }
  79811. t1.addAll$1(0, forwarded);
  79812. forwardedModules.addAll$1(0, forwarded);
  79813. } else {
  79814. t4 = _this._environment0$_nestedForwardedModules;
  79815. if (t4 == null) {
  79816. _length = t3 - 1;
  79817. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  79818. for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  79819. _list[_i] = A._setArrayType([], t3);
  79820. _this._environment0$_nestedForwardedModules = _list;
  79821. t3 = _list;
  79822. } else
  79823. t3 = t4;
  79824. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  79825. }
  79826. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79827. t6 = t1._collection$_current;
  79828. if (t6 == null)
  79829. t6 = t5._as(t6);
  79830. t3.remove$1(0, t6);
  79831. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  79832. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  79833. }
  79834. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79835. t5 = t1._collection$_current;
  79836. if (t5 == null)
  79837. t5 = t4._as(t5);
  79838. t2.remove$1(0, t5);
  79839. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  79840. }
  79841. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79842. t5 = t1._collection$_current;
  79843. if (t5 == null)
  79844. t5 = t4._as(t5);
  79845. t2.remove$1(0, t5);
  79846. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  79847. }
  79848. },
  79849. getVariable$2$namespace($name, namespace) {
  79850. var t1, index, _this = this;
  79851. if (namespace != null)
  79852. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  79853. if (_this._environment0$_lastVariableName === $name) {
  79854. t1 = _this._environment0$_lastVariableIndex;
  79855. t1.toString;
  79856. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  79857. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79858. }
  79859. t1 = _this._environment0$_variableIndices;
  79860. index = t1.$index(0, $name);
  79861. if (index != null) {
  79862. _this._environment0$_lastVariableName = $name;
  79863. _this._environment0$_lastVariableIndex = index;
  79864. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  79865. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79866. }
  79867. index = _this._environment0$_variableIndex$1($name);
  79868. if (index == null)
  79869. return _this._environment0$_getVariableFromGlobalModule$1($name);
  79870. _this._environment0$_lastVariableName = $name;
  79871. _this._environment0$_lastVariableIndex = index;
  79872. t1.$indexSet(0, $name, index);
  79873. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  79874. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79875. },
  79876. getVariable$1($name) {
  79877. return this.getVariable$2$namespace($name, null);
  79878. },
  79879. _environment0$_getVariableFromGlobalModule$1($name) {
  79880. return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  79881. },
  79882. getVariableNode$2$namespace($name, namespace) {
  79883. var t1, index, _this = this;
  79884. if (namespace != null)
  79885. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  79886. if (_this._environment0$_lastVariableName === $name) {
  79887. t1 = _this._environment0$_lastVariableIndex;
  79888. t1.toString;
  79889. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  79890. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79891. }
  79892. t1 = _this._environment0$_variableIndices;
  79893. index = t1.$index(0, $name);
  79894. if (index != null) {
  79895. _this._environment0$_lastVariableName = $name;
  79896. _this._environment0$_lastVariableIndex = index;
  79897. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  79898. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79899. }
  79900. index = _this._environment0$_variableIndex$1($name);
  79901. if (index == null)
  79902. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  79903. _this._environment0$_lastVariableName = $name;
  79904. _this._environment0$_lastVariableIndex = index;
  79905. t1.$indexSet(0, $name, index);
  79906. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  79907. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79908. },
  79909. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  79910. var t1, t2, value;
  79911. for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  79912. t1 = t2._currentIterator;
  79913. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  79914. if (value != null)
  79915. return value;
  79916. }
  79917. return null;
  79918. },
  79919. globalVariableExists$2$namespace($name, namespace) {
  79920. if (namespace != null)
  79921. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  79922. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  79923. return true;
  79924. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  79925. },
  79926. globalVariableExists$1($name) {
  79927. return this.globalVariableExists$2$namespace($name, null);
  79928. },
  79929. _environment0$_variableIndex$1($name) {
  79930. var t1, i;
  79931. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  79932. if (t1[i].containsKey$1($name))
  79933. return i;
  79934. return null;
  79935. },
  79936. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  79937. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  79938. if (namespace != null) {
  79939. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  79940. return;
  79941. }
  79942. if (global || _this._environment0$_variables.length === 1) {
  79943. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  79944. t1 = _this._environment0$_variables;
  79945. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  79946. moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
  79947. if (moduleWithName != null) {
  79948. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  79949. return;
  79950. }
  79951. }
  79952. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  79953. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  79954. return;
  79955. }
  79956. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  79957. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  79958. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79959. t3 = t1.__internal$_current;
  79960. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  79961. t5 = t3.__internal$_current;
  79962. if (t5 == null)
  79963. t5 = t4._as(t5);
  79964. if (t5.get$variables().containsKey$1($name)) {
  79965. t5.setVariable$3($name, value, nodeWithSpan);
  79966. return;
  79967. }
  79968. }
  79969. }
  79970. if (_this._environment0$_lastVariableName === $name) {
  79971. t1 = _this._environment0$_lastVariableIndex;
  79972. t1.toString;
  79973. index = t1;
  79974. } else
  79975. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  79976. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  79977. index = _this._environment0$_variables.length - 1;
  79978. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  79979. }
  79980. _this._environment0$_lastVariableName = $name;
  79981. _this._environment0$_lastVariableIndex = index;
  79982. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  79983. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  79984. },
  79985. setVariable$4$global($name, value, nodeWithSpan, global) {
  79986. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  79987. },
  79988. setLocalVariable$3($name, value, nodeWithSpan) {
  79989. var index, _this = this,
  79990. t1 = _this._environment0$_variables,
  79991. t2 = t1.length;
  79992. _this._environment0$_lastVariableName = $name;
  79993. index = _this._environment0$_lastVariableIndex = t2 - 1;
  79994. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  79995. J.$indexSet$ax(t1[index], $name, value);
  79996. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  79997. },
  79998. getFunction$2$namespace($name, namespace) {
  79999. var t1, index, _this = this;
  80000. if (namespace != null) {
  80001. t1 = _this._environment0$_getModule$1(namespace);
  80002. return t1.get$functions(t1).$index(0, $name);
  80003. }
  80004. t1 = _this._environment0$_functionIndices;
  80005. index = t1.$index(0, $name);
  80006. if (index != null) {
  80007. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  80008. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80009. }
  80010. index = _this._environment0$_functionIndex$1($name);
  80011. if (index == null)
  80012. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  80013. t1.$indexSet(0, $name, index);
  80014. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  80015. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80016. },
  80017. _environment0$_getFunctionFromGlobalModule$1($name) {
  80018. return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
  80019. },
  80020. _environment0$_functionIndex$1($name) {
  80021. var t1, i;
  80022. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  80023. if (t1[i].containsKey$1($name))
  80024. return i;
  80025. return null;
  80026. },
  80027. getMixin$2$namespace($name, namespace) {
  80028. var t1, index, _this = this;
  80029. if (namespace != null)
  80030. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  80031. t1 = _this._environment0$_mixinIndices;
  80032. index = t1.$index(0, $name);
  80033. if (index != null) {
  80034. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  80035. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  80036. }
  80037. index = _this._environment0$_mixinIndex$1($name);
  80038. if (index == null)
  80039. return _this._environment0$_getMixinFromGlobalModule$1($name);
  80040. t1.$indexSet(0, $name, index);
  80041. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  80042. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  80043. },
  80044. _environment0$_getMixinFromGlobalModule$1($name) {
  80045. return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
  80046. },
  80047. _environment0$_mixinIndex$1($name) {
  80048. var t1, i;
  80049. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80050. if (t1[i].containsKey$1($name))
  80051. return i;
  80052. return null;
  80053. },
  80054. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  80055. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  80056. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  80057. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  80058. _this._environment0$_inSemiGlobalScope = semiGlobal;
  80059. if (!when)
  80060. try {
  80061. t1 = callback.call$0();
  80062. return t1;
  80063. } finally {
  80064. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80065. }
  80066. t1 = _this._environment0$_variables;
  80067. t2 = type$.String;
  80068. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80069. t3 = _this._environment0$_variableNodes;
  80070. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80071. t4 = _this._environment0$_functions;
  80072. t5 = type$.Callable_2;
  80073. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80074. t6 = _this._environment0$_mixins;
  80075. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80076. t5 = _this._environment0$_nestedForwardedModules;
  80077. if (t5 != null)
  80078. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  80079. try {
  80080. t2 = callback.call$0();
  80081. return t2;
  80082. } finally {
  80083. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80084. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  80085. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  80086. $name = t1.get$current(t1);
  80087. t2.remove$1(0, $name);
  80088. }
  80089. B.JSArray_methods.removeLast$0(t3);
  80090. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  80091. name0 = t1.get$current(t1);
  80092. t2.remove$1(0, name0);
  80093. }
  80094. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  80095. name1 = t1.get$current(t1);
  80096. t2.remove$1(0, name1);
  80097. }
  80098. t1 = _this._environment0$_nestedForwardedModules;
  80099. if (t1 != null)
  80100. t1.pop();
  80101. }
  80102. },
  80103. scope$1$1(callback, $T) {
  80104. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80105. },
  80106. scope$1$2$when(callback, when, $T) {
  80107. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80108. },
  80109. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80110. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80111. },
  80112. toImplicitConfiguration$0() {
  80113. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  80114. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  80115. for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  80116. values = t1[i];
  80117. nodes = t2[i];
  80118. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  80119. t4 = t3.get$current(t3);
  80120. t5 = t4.key;
  80121. t4 = t4.value;
  80122. t6 = nodes.$index(0, t5);
  80123. t6.toString;
  80124. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  80125. }
  80126. }
  80127. return new A.Configuration0(configuration, null);
  80128. },
  80129. toModule$2(css, extensionStore) {
  80130. return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  80131. },
  80132. toDummyModule$0() {
  80133. return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty16, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  80134. },
  80135. _environment0$_getModule$1(namespace) {
  80136. var module = this._environment0$_modules.$index(0, namespace);
  80137. if (module != null)
  80138. return module;
  80139. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80140. },
  80141. _environment0$_fromOneModule$1$3($name, type, callback, $T) {
  80142. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  80143. nestedForwardedModules = this._environment0$_nestedForwardedModules;
  80144. if (nestedForwardedModules != null)
  80145. for (t1 = new A.ReversedListIterable(nestedForwardedModules, A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>")), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  80146. t3 = t1.__internal$_current;
  80147. for (t3 = J.get$reversed$ax(t3 == null ? t2._as(t3) : t3), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  80148. t5 = t3.__internal$_current;
  80149. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80150. if (value != null)
  80151. return value;
  80152. }
  80153. }
  80154. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  80155. value = callback.call$1(t1.__js_helper$_current);
  80156. if (value != null)
  80157. return value;
  80158. }
  80159. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  80160. t4 = t2.__js_helper$_current;
  80161. valueInModule = callback.call$1(t4);
  80162. if (valueInModule == null)
  80163. continue;
  80164. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  80165. if (identityFromModule.$eq(0, identity))
  80166. continue;
  80167. if (value != null) {
  80168. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  80169. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80170. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  80171. t4 = t1.get$current(t1);
  80172. if (t4 != null)
  80173. t2.$indexSet(0, t4, t3);
  80174. }
  80175. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  80176. }
  80177. identity = identityFromModule;
  80178. value = valueInModule;
  80179. }
  80180. return value;
  80181. }
  80182. };
  80183. A.Environment_importForwards_closure2.prototype = {
  80184. call$1(module) {
  80185. var t1 = module.get$variables();
  80186. return t1.get$keys(t1);
  80187. },
  80188. $signature: 129
  80189. };
  80190. A.Environment_importForwards_closure3.prototype = {
  80191. call$1(module) {
  80192. var t1 = module.get$functions(module);
  80193. return t1.get$keys(t1);
  80194. },
  80195. $signature: 129
  80196. };
  80197. A.Environment_importForwards_closure4.prototype = {
  80198. call$1(module) {
  80199. var t1 = module.get$mixins();
  80200. return t1.get$keys(t1);
  80201. },
  80202. $signature: 129
  80203. };
  80204. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  80205. call$1(module) {
  80206. return module.get$variables().$index(0, this.name);
  80207. },
  80208. $signature: 383
  80209. };
  80210. A.Environment_setVariable_closure2.prototype = {
  80211. call$0() {
  80212. var t1 = this.$this;
  80213. t1._environment0$_lastVariableName = this.name;
  80214. return t1._environment0$_lastVariableIndex = 0;
  80215. },
  80216. $signature: 12
  80217. };
  80218. A.Environment_setVariable_closure3.prototype = {
  80219. call$1(module) {
  80220. return module.get$variables().containsKey$1(this.name) ? module : null;
  80221. },
  80222. $signature: 384
  80223. };
  80224. A.Environment_setVariable_closure4.prototype = {
  80225. call$0() {
  80226. var t1 = this.$this,
  80227. t2 = t1._environment0$_variableIndex$1(this.name);
  80228. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  80229. },
  80230. $signature: 12
  80231. };
  80232. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  80233. call$1(module) {
  80234. return module.get$functions(module).$index(0, this.name);
  80235. },
  80236. $signature: 212
  80237. };
  80238. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  80239. call$1(module) {
  80240. return module.get$mixins().$index(0, this.name);
  80241. },
  80242. $signature: 212
  80243. };
  80244. A.Environment_toModule_closure0.prototype = {
  80245. call$1(modules) {
  80246. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  80247. },
  80248. $signature: 213
  80249. };
  80250. A.Environment_toDummyModule_closure0.prototype = {
  80251. call$1(modules) {
  80252. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  80253. },
  80254. $signature: 213
  80255. };
  80256. A.Environment__fromOneModule_closure0.prototype = {
  80257. call$1(entry) {
  80258. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
  80259. },
  80260. $signature: 387
  80261. };
  80262. A.Environment__fromOneModule__closure0.prototype = {
  80263. call$1(_) {
  80264. return J.get$span$z(this.entry.value);
  80265. },
  80266. $signature() {
  80267. return this.T._eval$1("FileSpan(0)");
  80268. }
  80269. };
  80270. A._EnvironmentModule1.prototype = {
  80271. get$url(_) {
  80272. var t1 = this.css;
  80273. return t1.get$span(t1).file.url;
  80274. },
  80275. setVariable$3($name, value, nodeWithSpan) {
  80276. var t1, t2,
  80277. module = this._environment0$_modulesByVariable.$index(0, $name);
  80278. if (module != null) {
  80279. module.setVariable$3($name, value, nodeWithSpan);
  80280. return;
  80281. }
  80282. t1 = this._environment0$_environment;
  80283. t2 = t1._environment0$_variables;
  80284. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  80285. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  80286. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  80287. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  80288. return;
  80289. },
  80290. variableIdentity$1($name) {
  80291. var module = this._environment0$_modulesByVariable.$index(0, $name);
  80292. return module == null ? this : module.variableIdentity$1($name);
  80293. },
  80294. cloneCss$0() {
  80295. var newCssAndExtensionStore, _this = this,
  80296. t1 = _this.css;
  80297. if (J.get$isEmpty$asx(t1.get$children(t1)))
  80298. return _this;
  80299. newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
  80300. return A._EnvironmentModule$_1(_this._environment0$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
  80301. },
  80302. toString$0(_) {
  80303. var t1 = this.css;
  80304. if (t1.get$span(t1).file.url == null)
  80305. t1 = "<unknown url>";
  80306. else {
  80307. t1 = t1.get$span(t1);
  80308. t1 = $.$get$context().prettyUri$1(t1.file.url);
  80309. }
  80310. return t1;
  80311. },
  80312. $isModule0: 1,
  80313. get$upstream() {
  80314. return this.upstream;
  80315. },
  80316. get$variables() {
  80317. return this.variables;
  80318. },
  80319. get$variableNodes() {
  80320. return this.variableNodes;
  80321. },
  80322. get$functions(receiver) {
  80323. return this.functions;
  80324. },
  80325. get$mixins() {
  80326. return this.mixins;
  80327. },
  80328. get$extensionStore() {
  80329. return this.extensionStore;
  80330. },
  80331. get$css(receiver) {
  80332. return this.css;
  80333. },
  80334. get$transitivelyContainsCss() {
  80335. return this.transitivelyContainsCss;
  80336. },
  80337. get$transitivelyContainsExtensions() {
  80338. return this.transitivelyContainsExtensions;
  80339. }
  80340. };
  80341. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  80342. call$1(module) {
  80343. return module.get$variables();
  80344. },
  80345. $signature: 388
  80346. };
  80347. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  80348. call$1(module) {
  80349. return module.get$variableNodes();
  80350. },
  80351. $signature: 389
  80352. };
  80353. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  80354. call$1(module) {
  80355. return module.get$functions(module);
  80356. },
  80357. $signature: 214
  80358. };
  80359. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  80360. call$1(module) {
  80361. return module.get$mixins();
  80362. },
  80363. $signature: 214
  80364. };
  80365. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  80366. call$1(module) {
  80367. return module.get$transitivelyContainsCss();
  80368. },
  80369. $signature: 130
  80370. };
  80371. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  80372. call$1(module) {
  80373. return module.get$transitivelyContainsExtensions();
  80374. },
  80375. $signature: 130
  80376. };
  80377. A.ErrorRule0.prototype = {
  80378. accept$1$1(visitor) {
  80379. return visitor.visitErrorRule$1(this);
  80380. },
  80381. accept$1(visitor) {
  80382. return this.accept$1$1(visitor, type$.dynamic);
  80383. },
  80384. toString$0(_) {
  80385. return "@error " + this.expression.toString$0(0) + ";";
  80386. },
  80387. $isAstNode0: 1,
  80388. $isStatement0: 1,
  80389. get$span(receiver) {
  80390. return this.span;
  80391. }
  80392. };
  80393. A._EvaluateVisitor1.prototype = {
  80394. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  80395. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  80396. _s20_ = "$name, $module: null",
  80397. _s9_ = "sass:meta",
  80398. t1 = type$.JSArray_BuiltInCallable_2,
  80399. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure22(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure23(_this), _s9_), A.BuiltInCallable$function0("module-variables", "$module", new A._EvaluateVisitor_closure24(_this), _s9_), A.BuiltInCallable$function0("module-functions", "$module", new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure27(_this), _s9_)], t1),
  80400. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
  80401. t1 = type$.BuiltInCallable_2;
  80402. t2 = A.List_List$of($.$get$global6(), true, t1);
  80403. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  80404. B.JSArray_methods.addAll$1(t2, metaFunctions);
  80405. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  80406. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_BuiltInCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  80407. module = t1[_i];
  80408. t3.$indexSet(0, module.url, module);
  80409. }
  80410. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  80411. B.JSArray_methods.addAll$1(t1, functions);
  80412. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  80413. B.JSArray_methods.addAll$1(t1, metaFunctions);
  80414. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  80415. $function = t1[_i];
  80416. t4 = J.get$name$x($function);
  80417. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  80418. }
  80419. },
  80420. run$2(_, importer, node) {
  80421. var t1 = type$.nullable_Object;
  80422. return A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.EvaluateResult_2);
  80423. },
  80424. _evaluate0$_assertInModule$1$2(value, $name) {
  80425. if (value != null)
  80426. return value;
  80427. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  80428. },
  80429. _evaluate0$_assertInModule$2(value, $name) {
  80430. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  80431. },
  80432. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  80433. var t1, t2, _this = this,
  80434. builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
  80435. if (builtInModule != null) {
  80436. if (configuration instanceof A.ExplicitConfiguration0) {
  80437. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  80438. t2 = configuration.nodeWithSpan;
  80439. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  80440. }
  80441. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
  80442. return;
  80443. }
  80444. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  80445. },
  80446. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  80447. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  80448. },
  80449. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  80450. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  80451. },
  80452. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  80453. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  80454. url = stylesheet.span.file.url,
  80455. t1 = _this._evaluate0$_modules,
  80456. alreadyLoaded = t1.$index(0, url);
  80457. if (alreadyLoaded != null) {
  80458. t1 = configuration == null;
  80459. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  80460. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  80461. t3 = t2._configuration$__originalConfiguration;
  80462. t2 = t3 == null ? t2 : t3;
  80463. t3 = currentConfiguration._configuration$__originalConfiguration;
  80464. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  80465. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  80466. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  80467. existingSpan = t2 == null ? null : J.get$span$z(t2);
  80468. if (t1) {
  80469. t1 = currentConfiguration.nodeWithSpan;
  80470. configurationSpan = t1.get$span(t1);
  80471. } else
  80472. configurationSpan = null;
  80473. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80474. if (existingSpan != null)
  80475. t1.$indexSet(0, existingSpan, "original load");
  80476. if (configurationSpan != null)
  80477. t1.$indexSet(0, configurationSpan, "configuration");
  80478. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  80479. }
  80480. return alreadyLoaded;
  80481. }
  80482. environment = A.Environment$0();
  80483. css = A._Cell$();
  80484. extensionStore = A.ExtensionStore$0();
  80485. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
  80486. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  80487. if (url != null) {
  80488. t1.$indexSet(0, url, module);
  80489. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  80490. if (nodeWithSpan != null)
  80491. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  80492. }
  80493. return module;
  80494. },
  80495. _evaluate0$_execute$2(importer, stylesheet) {
  80496. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  80497. },
  80498. _evaluate0$_addOutOfOrderImports$0() {
  80499. var t1, t2, _this = this, _s5_ = "_root",
  80500. _s13_ = "_endOfImports",
  80501. outOfOrderImports = _this._evaluate0$_outOfOrderImports;
  80502. if (outOfOrderImports == null)
  80503. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80504. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80505. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
  80506. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  80507. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80508. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  80509. return t1;
  80510. },
  80511. _evaluate0$_combineCss$2$clone(root, clone) {
  80512. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  80513. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  80514. selectors = root.get$extensionStore().get$simpleSelectors();
  80515. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  80516. if (unsatisfiedExtension != null)
  80517. _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  80518. return root.get$css(root);
  80519. }
  80520. sortedModules = _this._evaluate0$_topologicalModules$1(root);
  80521. if (clone) {
  80522. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
  80523. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
  80524. }
  80525. _this._evaluate0$_extendModules$1(sortedModules);
  80526. t1 = type$.JSArray_CssNode_2;
  80527. imports = A._setArrayType([], t1);
  80528. css = A._setArrayType([], t1);
  80529. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  80530. t3 = t1.__internal$_current;
  80531. if (t3 == null)
  80532. t3 = t2._as(t3);
  80533. t3 = t3.get$css(t3);
  80534. statements = t3.get$children(t3);
  80535. index = _this._evaluate0$_indexAfterImports$1(statements);
  80536. t3 = J.getInterceptor$ax(statements);
  80537. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  80538. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  80539. }
  80540. t1 = B.JSArray_methods.$add(imports, css);
  80541. t2 = root.get$css(root);
  80542. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  80543. },
  80544. _evaluate0$_combineCss$1(root) {
  80545. return this._evaluate0$_combineCss$2$clone(root, false);
  80546. },
  80547. _evaluate0$_extendModules$1(sortedModules) {
  80548. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  80549. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  80550. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  80551. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  80552. t2 = t1.get$current(t1);
  80553. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  80554. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  80555. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  80556. t3 = t2.get$extensionStore().get$addExtensions();
  80557. if ($self != null)
  80558. t3.call$1($self);
  80559. t3 = t2.get$extensionStore();
  80560. if (t3.get$isEmpty(t3))
  80561. continue;
  80562. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  80563. upstream = t3[_i];
  80564. url = upstream.get$url(upstream);
  80565. if (url == null)
  80566. continue;
  80567. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
  80568. }
  80569. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  80570. }
  80571. if (unsatisfiedExtensions._collection$_length !== 0)
  80572. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  80573. },
  80574. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  80575. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  80576. },
  80577. _evaluate0$_topologicalModules$1(root) {
  80578. var t1 = type$.Module_Callable_2,
  80579. sorted = A.QueueList$(null, t1);
  80580. new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  80581. return sorted;
  80582. },
  80583. _evaluate0$_indexAfterImports$1(statements) {
  80584. var t1, t2, t3, lastImport, i, statement;
  80585. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  80586. statement = t1.$index(statements, i);
  80587. if (t3._is(statement))
  80588. lastImport = i;
  80589. else if (!t2._is(statement))
  80590. break;
  80591. }
  80592. return lastImport + 1;
  80593. },
  80594. visitStylesheet$1(node) {
  80595. var t1, t2, _i;
  80596. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80597. t1[_i].accept$1(this);
  80598. return null;
  80599. },
  80600. visitAtRootRule$1(node) {
  80601. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
  80602. _s8_ = "__parent",
  80603. unparsedQuery = node.query,
  80604. query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
  80605. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  80606. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  80607. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  80608. if (!query.excludes$1($parent))
  80609. included.push($parent);
  80610. grandparent = $parent._node0$_parent;
  80611. if (grandparent == null)
  80612. throw A.wrapException(A.StateError$(string$.CssNod));
  80613. }
  80614. root = _this._evaluate0$_trimIncluded$1(included);
  80615. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  80616. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
  80617. return null;
  80618. }
  80619. if (included.length !== 0) {
  80620. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  80621. for (t1 = A.SubListIterable$(included, 1, null, type$.ModifiableCssParentNode_2), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, outerCopy = innerCopy; t1.moveNext$0(); outerCopy = copy) {
  80622. t3 = t1.__internal$_current;
  80623. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  80624. copy.addChild$1(outerCopy);
  80625. }
  80626. root.addChild$1(outerCopy);
  80627. } else
  80628. innerCopy = root;
  80629. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
  80630. return null;
  80631. },
  80632. _evaluate0$_trimIncluded$1(nodes) {
  80633. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  80634. _s22_ = " to be an ancestor of ";
  80635. if (nodes.length === 0)
  80636. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80637. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  80638. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  80639. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  80640. grandparent = $parent._node0$_parent;
  80641. if (grandparent == null)
  80642. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  80643. }
  80644. if (innermostContiguous == null)
  80645. innermostContiguous = i;
  80646. grandparent = $parent._node0$_parent;
  80647. if (grandparent == null)
  80648. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  80649. }
  80650. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  80651. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80652. innermostContiguous.toString;
  80653. root = nodes[innermostContiguous];
  80654. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  80655. return root;
  80656. },
  80657. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  80658. var _this = this,
  80659. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  80660. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  80661. if (t1 !== query.include)
  80662. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  80663. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  80664. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  80665. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  80666. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  80667. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  80668. },
  80669. visitContentBlock$1(node) {
  80670. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  80671. },
  80672. visitContentRule$1(node) {
  80673. var $content = this._evaluate0$_environment._environment0$_content;
  80674. if ($content == null)
  80675. return null;
  80676. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  80677. return null;
  80678. },
  80679. visitDebugRule$1(node) {
  80680. var value = node.expression.accept$1(this),
  80681. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  80682. this._evaluate0$_logger.debug$2(0, t1, node.span);
  80683. return null;
  80684. },
  80685. visitDeclaration$1(node) {
  80686. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  80687. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  80688. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  80689. t1 = node.name;
  80690. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  80691. t2 = _this._evaluate0$_declarationName;
  80692. if (t2 != null)
  80693. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  80694. t2 = node.value;
  80695. cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
  80696. t3 = cssValue != null;
  80697. if (t3)
  80698. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  80699. else
  80700. t4 = false;
  80701. if (t4) {
  80702. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  80703. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  80704. if (_this._evaluate0$_sourceMap) {
  80705. t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
  80706. t2 = t2 == null ? _null : J.get$span$z(t2);
  80707. } else
  80708. t2 = _null;
  80709. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  80710. } else if (J.startsWith$1$s($name.value, "--") && t3)
  80711. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  80712. children = node.children;
  80713. if (children != null) {
  80714. oldDeclarationName = _this._evaluate0$_declarationName;
  80715. _this._evaluate0$_declarationName = $name.value;
  80716. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
  80717. _this._evaluate0$_declarationName = oldDeclarationName;
  80718. }
  80719. return _null;
  80720. },
  80721. visitEachRule$1(node) {
  80722. var _this = this,
  80723. t1 = node.list,
  80724. list = t1.accept$1(_this),
  80725. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  80726. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
  80727. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
  80728. },
  80729. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  80730. var i,
  80731. list = value.get$asList(),
  80732. t1 = variables.length,
  80733. minLength = Math.min(t1, list.length);
  80734. for (i = 0; i < minLength; ++i)
  80735. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  80736. for (i = minLength; i < t1; ++i)
  80737. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  80738. },
  80739. visitErrorRule$1(node) {
  80740. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  80741. },
  80742. visitExtendRule$1(node) {
  80743. var t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, _this = this, _null = null,
  80744. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  80745. if (styleRule == null || _this._evaluate0$_declarationName != null)
  80746. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  80747. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  80748. complex = t1[_i];
  80749. if (!complex.accept$1(B._IsBogusVisitor_true0))
  80750. continue;
  80751. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  80752. complex.accept$1(visitor);
  80753. t8 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  80754. t9 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  80755. _this._evaluate0$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan0(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  80756. }
  80757. targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
  80758. for (t1 = _this._evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure1(_this, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80759. complex = t1[_i];
  80760. if (complex.leadingCombinators.length === 0) {
  80761. t4 = complex.components;
  80762. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  80763. } else
  80764. t4 = false;
  80765. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  80766. if (compound == null)
  80767. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
  80768. t4 = compound.components;
  80769. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  80770. if (t5 == null)
  80771. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
  80772. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, _this._evaluate0$_mediaQueries);
  80773. }
  80774. return _null;
  80775. },
  80776. visitAtRule$1(node) {
  80777. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  80778. if (_this._evaluate0$_declarationName != null)
  80779. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  80780. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  80781. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  80782. children = node.children;
  80783. if (children == null) {
  80784. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  80785. return null;
  80786. }
  80787. wasInKeyframes = _this._evaluate0$_inKeyframes;
  80788. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  80789. if (A.unvendor0($name.value) === "keyframes")
  80790. _this._evaluate0$_inKeyframes = true;
  80791. else
  80792. _this._evaluate0$_inUnknownAtRule = true;
  80793. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
  80794. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  80795. _this._evaluate0$_inKeyframes = wasInKeyframes;
  80796. return null;
  80797. },
  80798. visitForRule$1(node) {
  80799. var _this = this, t1 = {},
  80800. t2 = node.from,
  80801. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  80802. t3 = node.to,
  80803. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  80804. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  80805. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  80806. direction = from > to ? -1 : 1;
  80807. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  80808. return null;
  80809. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  80810. },
  80811. visitForwardRule$1(node) {
  80812. var newConfiguration, t4, _i, variable, $name, _this = this,
  80813. _s8_ = "@forward",
  80814. oldConfiguration = _this._evaluate0$_configuration,
  80815. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  80816. t1 = node.configuration,
  80817. t2 = t1.length,
  80818. t3 = node.url;
  80819. if (t2 !== 0) {
  80820. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  80821. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  80822. t3 = type$.String;
  80823. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  80824. for (_i = 0; _i < t2; ++_i) {
  80825. variable = t1[_i];
  80826. if (!variable.isGuarded)
  80827. t4.add$1(0, variable.name);
  80828. }
  80829. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  80830. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  80831. for (_i = 0; _i < t2; ++_i)
  80832. t3.add$1(0, t1[_i].name);
  80833. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  80834. $name = t2[_i];
  80835. if (!t3.contains$1(0, $name))
  80836. if (!t1.get$isEmpty(t1))
  80837. t1.remove$1(0, $name);
  80838. }
  80839. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  80840. } else {
  80841. _this._evaluate0$_configuration = adjustedConfiguration;
  80842. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  80843. _this._evaluate0$_configuration = oldConfiguration;
  80844. }
  80845. return null;
  80846. },
  80847. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  80848. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  80849. t1 = configuration._configuration$_values,
  80850. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  80851. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80852. variable = t2[_i];
  80853. if (variable.isGuarded) {
  80854. t4 = variable.name;
  80855. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  80856. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  80857. newValues.$indexSet(0, t4, t5);
  80858. continue;
  80859. }
  80860. }
  80861. t4 = variable.expression;
  80862. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  80863. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  80864. }
  80865. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  80866. return new A.ExplicitConfiguration0(node, newValues, null);
  80867. else
  80868. return new A.Configuration0(newValues, null);
  80869. },
  80870. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  80871. var t1, t2, t3, t4, _i, $name;
  80872. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  80873. $name = t2[_i];
  80874. if (except.contains$1(0, $name))
  80875. continue;
  80876. if (!t4.containsKey$1($name))
  80877. if (!t1.get$isEmpty(t1))
  80878. t1.remove$1(0, $name);
  80879. }
  80880. },
  80881. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  80882. var t1, entry;
  80883. if (!(configuration instanceof A.ExplicitConfiguration0))
  80884. return;
  80885. t1 = configuration._configuration$_values;
  80886. if (t1.get$isEmpty(t1))
  80887. return;
  80888. t1 = t1.get$entries(t1);
  80889. entry = t1.get$first(t1);
  80890. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  80891. throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
  80892. },
  80893. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  80894. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  80895. },
  80896. visitFunctionRule$1(node) {
  80897. var t1 = this._evaluate0$_environment,
  80898. t2 = t1.closure$0(),
  80899. t3 = this._evaluate0$_inDependency,
  80900. t4 = t1._environment0$_functions,
  80901. index = t4.length - 1,
  80902. t5 = node.name;
  80903. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  80904. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  80905. return null;
  80906. },
  80907. visitIfRule$1(node) {
  80908. var t1, t2, _i, clauseToCheck, _box_0 = {};
  80909. _box_0.clause = node.lastClause;
  80910. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80911. clauseToCheck = t1[_i];
  80912. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  80913. _box_0.clause = clauseToCheck;
  80914. break;
  80915. }
  80916. }
  80917. t1 = _box_0.clause;
  80918. if (t1 == null)
  80919. return null;
  80920. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
  80921. },
  80922. visitImportRule$1(node) {
  80923. var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
  80924. _s8_ = "__parent",
  80925. _s5_ = "_root",
  80926. _s13_ = "_endOfImports";
  80927. for (t1 = node.imports, t2 = t1.length, t3 = type$.CssValue_String_2, t4 = _this.get$_evaluate0$_interpolationToValue(), t5 = type$.StaticImport_2, t6 = type$.JSArray_ModifiableCssImport_2, _i = 0; _i < t2; ++_i) {
  80928. $import = t1[_i];
  80929. if ($import instanceof A.DynamicImport0)
  80930. _this._evaluate0$_visitDynamicImport$1($import);
  80931. else {
  80932. t5._as($import);
  80933. t7 = $import.url;
  80934. result = _this._evaluate0$_performInterpolation$2$warnForColor(t7, false);
  80935. $self = $import.modifiers;
  80936. t8 = $self == null ? null : t4.call$1($self);
  80937. node = new A.ModifiableCssImport0(new A.CssValue0(result, t7.span, t3), t8, $import.span);
  80938. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  80939. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  80940. else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
  80941. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80942. node._node0$_parent = t7;
  80943. t7 = t7._node0$_children;
  80944. node._node0$_indexInParent = t7.length;
  80945. t7.push(node);
  80946. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  80947. } else {
  80948. t7 = _this._evaluate0$_outOfOrderImports;
  80949. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  80950. }
  80951. }
  80952. }
  80953. return null;
  80954. },
  80955. _evaluate0$_visitDynamicImport$1($import) {
  80956. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  80957. },
  80958. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  80959. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  80960. _s11_ = "_stylesheet";
  80961. baseUrl = baseUrl;
  80962. try {
  80963. _this._evaluate0$_importSpan = span;
  80964. importCache = _this._evaluate0$_importCache;
  80965. if (importCache != null) {
  80966. if (baseUrl == null)
  80967. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  80968. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  80969. if (tuple != null) {
  80970. isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
  80971. t1 = tuple.item1;
  80972. t2 = tuple.item2;
  80973. t3 = tuple.item3;
  80974. t4 = _this._evaluate0$_quietDeps && isDependency;
  80975. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  80976. if (stylesheet != null) {
  80977. _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
  80978. t1 = tuple.item1;
  80979. return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
  80980. }
  80981. }
  80982. } else {
  80983. t1 = baseUrl;
  80984. result = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  80985. if (result != null) {
  80986. t1 = _this._evaluate0$_loadedUrls;
  80987. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  80988. return result;
  80989. }
  80990. }
  80991. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  80992. throw A.wrapException(string$.x22packa);
  80993. else
  80994. throw A.wrapException("Can't find stylesheet to import.");
  80995. } catch (exception) {
  80996. t1 = A.unwrapException(exception);
  80997. if (t1 instanceof A.SassException0) {
  80998. error = t1;
  80999. stackTrace = A.getTraceFromException(exception);
  81000. t1 = error;
  81001. t2 = J.getInterceptor$z(t1);
  81002. A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  81003. } else {
  81004. error0 = t1;
  81005. stackTrace0 = A.getTraceFromException(exception);
  81006. message = null;
  81007. try {
  81008. message = A._asString(J.get$message$x(error0));
  81009. } catch (exception) {
  81010. message0 = J.toString$0$(error0);
  81011. message = message0;
  81012. }
  81013. A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
  81014. }
  81015. } finally {
  81016. _this._evaluate0$_importSpan = null;
  81017. }
  81018. },
  81019. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  81020. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  81021. },
  81022. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  81023. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  81024. },
  81025. _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  81026. var isDependency, url, t2, _this = this,
  81027. t1 = _this._evaluate0$_nodeImporter,
  81028. result = t1.loadRelative$3(originalUrl, previous, forImport);
  81029. if (result != null)
  81030. isDependency = _this._evaluate0$_inDependency;
  81031. else {
  81032. result = t1.load$3(0, originalUrl, previous, forImport);
  81033. if (result == null)
  81034. return null;
  81035. isDependency = true;
  81036. }
  81037. url = result.item2;
  81038. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  81039. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  81040. return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  81041. },
  81042. visitIncludeRule$1(node) {
  81043. var nodeWithSpan, t1, _this = this,
  81044. _s37_ = "Mixin doesn't accept a content block.",
  81045. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
  81046. if (mixin == null)
  81047. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
  81048. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
  81049. if (mixin instanceof A.BuiltInCallable0) {
  81050. if (node.content != null)
  81051. throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
  81052. _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  81053. } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
  81054. t1 = node.content;
  81055. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  81056. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, node.get$spanWithoutContent(), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(node.get$spanWithoutContent())));
  81057. _this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, mixin, nodeWithSpan, new A._EvaluateVisitor_visitIncludeRule_closure9(_this, A.NullableExtension_andThen0(t1, new A._EvaluateVisitor_visitIncludeRule_closure10(_this)), mixin, nodeWithSpan), type$.Null);
  81058. } else
  81059. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  81060. return null;
  81061. },
  81062. visitMixinRule$1(node) {
  81063. var t1 = this._evaluate0$_environment,
  81064. t2 = t1.closure$0(),
  81065. t3 = this._evaluate0$_inDependency,
  81066. t4 = t1._environment0$_mixins,
  81067. index = t4.length - 1,
  81068. t5 = node.name;
  81069. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  81070. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  81071. return null;
  81072. },
  81073. visitLoudComment$1(node) {
  81074. var t1, _this = this,
  81075. _s8_ = "__parent",
  81076. _s13_ = "_endOfImports";
  81077. if (_this._evaluate0$_inFunction)
  81078. return null;
  81079. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
  81080. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81081. t1 = node.text;
  81082. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  81083. return null;
  81084. },
  81085. visitMediaRule$1(node) {
  81086. var queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  81087. if (_this._evaluate0$_declarationName != null)
  81088. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  81089. queries = _this._evaluate0$_visitMediaQueries$1(node.query);
  81090. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  81091. t1 = mergedQueries == null;
  81092. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  81093. return null;
  81094. if (t1)
  81095. mergedSources = B.Set_empty4;
  81096. else {
  81097. t2 = _this._evaluate0$_mediaQuerySources;
  81098. t2.toString;
  81099. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  81100. t3 = _this._evaluate0$_mediaQueries;
  81101. t3.toString;
  81102. t2.addAll$1(0, t3);
  81103. t2.addAll$1(0, queries);
  81104. mergedSources = t2;
  81105. }
  81106. t1 = t1 ? queries : mergedQueries;
  81107. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitMediaRule_closure6(_this, mergedQueries, queries, mergedSources, node), node.hasDeclarations, new A._EvaluateVisitor_visitMediaRule_closure7(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null);
  81108. return null;
  81109. },
  81110. _evaluate0$_visitMediaQueries$1(interpolation) {
  81111. return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
  81112. },
  81113. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  81114. var t1, t2, t3, t4, t5, result,
  81115. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  81116. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  81117. t4 = t1.get$current(t1);
  81118. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  81119. result = t4.merge$1(t5.get$current(t5));
  81120. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  81121. continue;
  81122. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  81123. return null;
  81124. queries.push(t3._as(result).query);
  81125. }
  81126. }
  81127. return queries;
  81128. },
  81129. visitReturnRule$1(node) {
  81130. var t1 = node.expression;
  81131. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  81132. },
  81133. visitSilentComment$1(node) {
  81134. return null;
  81135. },
  81136. visitStyleRule$1(node) {
  81137. var t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _this = this, _null = null,
  81138. _s8_ = "__parent",
  81139. _box_0 = {};
  81140. if (_this._evaluate0$_declarationName != null)
  81141. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  81142. t1 = node.selector;
  81143. selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t1, true, true);
  81144. if (_this._evaluate0$_inKeyframes) {
  81145. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(_this._evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure15(_this, selectorText)), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure16(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure17(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  81146. return _null;
  81147. }
  81148. _box_0.parsedSelector = _this._evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure18(_this, selectorText));
  81149. _box_0.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure19(_box_0, _this));
  81150. t1 = t1.span;
  81151. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, _this._evaluate0$_mediaQueries), node.span, _box_0.parsedSelector);
  81152. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  81153. _this._evaluate0$_atRootExcludingStyleRule = false;
  81154. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure20(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure21(), type$.ModifiableCssStyleRule_2, type$.Null);
  81155. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  81156. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  81157. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  81158. complex = t2[_i];
  81159. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81160. continue;
  81161. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  81162. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81163. complex.accept$1(visitor);
  81164. _this._evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  81165. } else if (complex.leadingCombinators.length !== 0) {
  81166. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81167. complex.accept$1(visitor);
  81168. _this._evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  81169. } else {
  81170. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81171. complex.accept$1(visitor);
  81172. t7 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81173. t8 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  81174. if (t6.get$length(t6) === 0)
  81175. A.throwExpression(A.IterableElementError_noElement());
  81176. t9 = J.get$span$z(t6.$index(0, 0));
  81177. _this._evaluate0$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan0(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure22()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  81178. }
  81179. }
  81180. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  81181. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81182. t1 = !t1.get$isEmpty(t1);
  81183. } else
  81184. t1 = false;
  81185. if (t1) {
  81186. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81187. t1.get$last(t1).isGroupEnd = true;
  81188. }
  81189. return _null;
  81190. },
  81191. visitSupportsRule$1(node) {
  81192. var t1, _this = this;
  81193. if (_this._evaluate0$_declarationName != null)
  81194. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  81195. t1 = node.condition;
  81196. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(new A.CssValue0(_this._evaluate0$_visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure3(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
  81197. return null;
  81198. },
  81199. _evaluate0$_visitSupportsCondition$1(condition) {
  81200. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  81201. if (condition instanceof A.SupportsOperation0) {
  81202. t1 = condition.operator;
  81203. return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  81204. } else if (condition instanceof A.SupportsNegation0)
  81205. return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  81206. else if (condition instanceof A.SupportsInterpolation0) {
  81207. t1 = condition.expression;
  81208. return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  81209. } else if (condition instanceof A.SupportsDeclaration0) {
  81210. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81211. _this._evaluate0$_inSupportsDeclaration = true;
  81212. t1 = condition.name;
  81213. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
  81214. t2 = condition.get$isCustomProperty() ? "" : " ";
  81215. t3 = condition.value;
  81216. t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  81217. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81218. return "(" + t1 + ":" + t2 + t3 + ")";
  81219. } else if (condition instanceof A.SupportsFunction0)
  81220. return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  81221. else if (condition instanceof A.SupportsAnything0)
  81222. return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  81223. else
  81224. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  81225. },
  81226. _evaluate0$_parenthesize$2(condition, operator) {
  81227. var t1;
  81228. if (!(condition instanceof A.SupportsNegation0))
  81229. if (condition instanceof A.SupportsOperation0)
  81230. t1 = operator == null || operator !== condition.operator;
  81231. else
  81232. t1 = false;
  81233. else
  81234. t1 = true;
  81235. if (t1)
  81236. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  81237. else
  81238. return this._evaluate0$_visitSupportsCondition$1(condition);
  81239. },
  81240. _evaluate0$_parenthesize$1(condition) {
  81241. return this._evaluate0$_parenthesize$2(condition, null);
  81242. },
  81243. visitVariableDeclaration$1(node) {
  81244. var t1, value, _this = this, _null = null;
  81245. if (node.isGuarded) {
  81246. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  81247. t1 = _this._evaluate0$_configuration._configuration$_values;
  81248. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  81249. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  81250. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
  81251. return _null;
  81252. }
  81253. }
  81254. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  81255. if (value != null && !value.$eq(0, B.C__SassNull0))
  81256. return _null;
  81257. }
  81258. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  81259. t1 = _this._evaluate0$_environment._environment0$_variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName0(node.span) + ": null` at the stylesheet root.";
  81260. _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
  81261. }
  81262. t1 = node.expression;
  81263. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  81264. return _null;
  81265. },
  81266. visitUseRule$1(node) {
  81267. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  81268. t1 = node.configuration,
  81269. t2 = t1.length;
  81270. if (t2 !== 0) {
  81271. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  81272. for (_i = 0; _i < t2; ++_i) {
  81273. variable = t1[_i];
  81274. t3 = variable.expression;
  81275. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  81276. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  81277. }
  81278. configuration = new A.ExplicitConfiguration0(node, values, null);
  81279. } else
  81280. configuration = B.Configuration_Map_empty_null0;
  81281. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  81282. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  81283. return null;
  81284. },
  81285. visitWarnRule$1(node) {
  81286. var _this = this,
  81287. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  81288. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  81289. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  81290. return null;
  81291. },
  81292. visitWhileRule$1(node) {
  81293. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  81294. },
  81295. visitBinaryOperationExpression$1(node) {
  81296. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
  81297. },
  81298. visitValueExpression$1(node) {
  81299. return node.value;
  81300. },
  81301. visitVariableExpression$1(node) {
  81302. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  81303. if (result != null)
  81304. return result;
  81305. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  81306. },
  81307. visitUnaryOperationExpression$1(node) {
  81308. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  81309. },
  81310. visitBooleanExpression$1(node) {
  81311. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  81312. },
  81313. visitIfExpression$1(node) {
  81314. var condition, t2, ifTrue, ifFalse, result, _this = this,
  81315. pair = _this._evaluate0$_evaluateMacroArguments$1(node),
  81316. positional = pair.item1,
  81317. named = pair.item2,
  81318. t1 = J.getInterceptor$asx(positional);
  81319. _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  81320. if (t1.get$length(positional) > 0)
  81321. condition = t1.$index(positional, 0);
  81322. else {
  81323. t2 = named.$index(0, "condition");
  81324. t2.toString;
  81325. condition = t2;
  81326. }
  81327. if (t1.get$length(positional) > 1)
  81328. ifTrue = t1.$index(positional, 1);
  81329. else {
  81330. t2 = named.$index(0, "if-true");
  81331. t2.toString;
  81332. ifTrue = t2;
  81333. }
  81334. if (t1.get$length(positional) > 2)
  81335. ifFalse = t1.$index(positional, 2);
  81336. else {
  81337. t1 = named.$index(0, "if-false");
  81338. t1.toString;
  81339. ifFalse = t1;
  81340. }
  81341. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  81342. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  81343. },
  81344. visitNullExpression$1(node) {
  81345. return B.C__SassNull0;
  81346. },
  81347. visitNumberExpression$1(node) {
  81348. return A.SassNumber_SassNumber0(node.value, node.unit);
  81349. },
  81350. visitParenthesizedExpression$1(node) {
  81351. return node.expression.accept$1(this);
  81352. },
  81353. visitCalculationExpression$1(node) {
  81354. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  81355. t1 = A._setArrayType([], type$.JSArray_Object);
  81356. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  81357. argument = t2[_i];
  81358. t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  81359. }
  81360. $arguments = t1;
  81361. if (_this._evaluate0$_inSupportsDeclaration)
  81362. return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  81363. try {
  81364. switch (t4) {
  81365. case "calc":
  81366. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  81367. return t1;
  81368. case "min":
  81369. t1 = A.SassCalculation_min0($arguments);
  81370. return t1;
  81371. case "max":
  81372. t1 = A.SassCalculation_max0($arguments);
  81373. return t1;
  81374. case "clamp":
  81375. t1 = J.$index$asx($arguments, 0);
  81376. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  81377. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  81378. return t1;
  81379. default:
  81380. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  81381. throw A.wrapException(t1);
  81382. }
  81383. } catch (exception) {
  81384. t1 = A.unwrapException(exception);
  81385. if (t1 instanceof A.SassScriptException0) {
  81386. error = t1;
  81387. stackTrace = A.getTraceFromException(exception);
  81388. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  81389. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
  81390. } else
  81391. throw exception;
  81392. }
  81393. },
  81394. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  81395. var i, t1, arg, number1, j, number2;
  81396. for (i = 0; t1 = args.length, i < t1; ++i) {
  81397. arg = args[i];
  81398. if (!(arg instanceof A.SassNumber0))
  81399. continue;
  81400. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  81401. throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  81402. }
  81403. for (i = 0; i < t1 - 1; ++i) {
  81404. number1 = args[i];
  81405. if (!(number1 instanceof A.SassNumber0))
  81406. continue;
  81407. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  81408. number2 = args[j];
  81409. if (!(number2 instanceof A.SassNumber0))
  81410. continue;
  81411. if (number1.hasPossiblyCompatibleUnits$1(number2))
  81412. continue;
  81413. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i]))));
  81414. }
  81415. }
  81416. },
  81417. _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  81418. var inner, result, t1, _this = this;
  81419. if (node instanceof A.ParenthesizedExpression0) {
  81420. inner = node.expression;
  81421. result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
  81422. if (inner instanceof A.FunctionExpression0)
  81423. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  81424. else
  81425. t1 = false;
  81426. return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  81427. } else if (node instanceof A.StringExpression0)
  81428. return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
  81429. else if (node instanceof A.BinaryOperationExpression0)
  81430. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
  81431. else {
  81432. result = node.accept$1(_this);
  81433. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
  81434. return result;
  81435. if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
  81436. return result;
  81437. throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  81438. }
  81439. },
  81440. _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  81441. switch (operator) {
  81442. case B.BinaryOperator_qbf0:
  81443. return B.CalculationOperator_IyK0;
  81444. case B.BinaryOperator_KlB0:
  81445. return B.CalculationOperator_2bx0;
  81446. case B.BinaryOperator_6pl0:
  81447. return B.CalculationOperator_jFr0;
  81448. case B.BinaryOperator_qpm0:
  81449. return B.CalculationOperator_OvN0;
  81450. default:
  81451. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  81452. }
  81453. },
  81454. visitColorExpression$1(node) {
  81455. return node.value;
  81456. },
  81457. visitListExpression$1(node) {
  81458. var t1 = node.contents;
  81459. return A.SassList$0(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitListExpression_closure1(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), node.separator, node.hasBrackets);
  81460. },
  81461. visitMapExpression$1(node) {
  81462. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  81463. t1 = type$.Value_2,
  81464. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  81465. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  81466. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  81467. pair = t2[_i];
  81468. t4 = pair.item1;
  81469. keyValue = t4.accept$1(this);
  81470. valueValue = pair.item2.accept$1(this);
  81471. if (map.$index(0, keyValue) != null) {
  81472. t1 = keyNodes.$index(0, keyValue);
  81473. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  81474. t1 = J.getInterceptor$z(t4);
  81475. t2 = t1.get$span(t4);
  81476. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81477. if (oldValueSpan != null)
  81478. t3.$indexSet(0, oldValueSpan, "first key");
  81479. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
  81480. }
  81481. map.$indexSet(0, keyValue, valueValue);
  81482. keyNodes.$indexSet(0, keyValue, t4);
  81483. }
  81484. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  81485. },
  81486. visitFunctionExpression$1(node) {
  81487. var oldInFunction, result, _this = this, t1 = {},
  81488. $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
  81489. t1.$function = $function;
  81490. if ($function == null) {
  81491. if (node.namespace != null)
  81492. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  81493. t1.$function = new A.PlainCssCallable0(node.originalName);
  81494. }
  81495. oldInFunction = _this._evaluate0$_inFunction;
  81496. _this._evaluate0$_inFunction = true;
  81497. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
  81498. _this._evaluate0$_inFunction = oldInFunction;
  81499. return result;
  81500. },
  81501. visitInterpolatedFunctionExpression$1(node) {
  81502. var result, _this = this,
  81503. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  81504. oldInFunction = _this._evaluate0$_inFunction;
  81505. _this._evaluate0$_inFunction = true;
  81506. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  81507. _this._evaluate0$_inFunction = oldInFunction;
  81508. return result;
  81509. },
  81510. _evaluate0$_getFunction$2$namespace($name, namespace) {
  81511. var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
  81512. if (local != null || namespace != null)
  81513. return local;
  81514. return this._evaluate0$_builtInFunctions.$index(0, $name);
  81515. },
  81516. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  81517. var oldCallable, result, _this = this,
  81518. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  81519. $name = callable.declaration.name;
  81520. if ($name !== "@content")
  81521. $name += "()";
  81522. oldCallable = _this._evaluate0$_currentCallable;
  81523. _this._evaluate0$_currentCallable = callable;
  81524. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  81525. _this._evaluate0$_currentCallable = oldCallable;
  81526. return result;
  81527. },
  81528. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  81529. var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
  81530. if (callable instanceof A.BuiltInCallable0)
  81531. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  81532. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  81533. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  81534. else if (callable instanceof A.PlainCssCallable0) {
  81535. t1 = $arguments.named;
  81536. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  81537. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  81538. t1 = callable.name + "(";
  81539. for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
  81540. argument = t2[_i];
  81541. if (first)
  81542. first = false;
  81543. else
  81544. t1 += ", ";
  81545. t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
  81546. }
  81547. restArg = $arguments.rest;
  81548. if (restArg != null) {
  81549. rest = restArg.accept$1(_this);
  81550. if (!first)
  81551. t1 += ", ";
  81552. t1 += _this._evaluate0$_serialize$2(rest, restArg);
  81553. }
  81554. t1 += A.Primitives_stringFromCharCode(41);
  81555. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  81556. } else
  81557. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  81558. },
  81559. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  81560. var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
  81561. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  81562. oldCallableNode = _this._evaluate0$_callableNode;
  81563. _this._evaluate0$_callableNode = nodeWithSpan;
  81564. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  81565. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  81566. overload = tuple.item1;
  81567. callback = tuple.item2;
  81568. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
  81569. declaredArguments = overload.$arguments;
  81570. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  81571. argument = declaredArguments[i];
  81572. t2 = evaluated.positional;
  81573. t3 = evaluated.named.remove$1(0, argument.name);
  81574. if (t3 == null) {
  81575. t3 = argument.defaultValue;
  81576. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  81577. }
  81578. t2.push(t3);
  81579. }
  81580. if (overload.restArgument != null) {
  81581. if (evaluated.positional.length > t1) {
  81582. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  81583. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  81584. } else
  81585. rest = B.List_empty19;
  81586. t1 = evaluated.named;
  81587. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  81588. evaluated.positional.push(argumentList);
  81589. } else
  81590. argumentList = null;
  81591. result = null;
  81592. try {
  81593. result = callback.call$1(evaluated.positional);
  81594. } catch (exception) {
  81595. t1 = A.unwrapException(exception);
  81596. if (type$.SassRuntimeException_2._is(t1))
  81597. throw exception;
  81598. else if (t1 instanceof A.MultiSpanSassScriptException0) {
  81599. error = t1;
  81600. stackTrace = A.getTraceFromException(exception);
  81601. t1 = error.message;
  81602. t2 = nodeWithSpan.get$span(nodeWithSpan);
  81603. t3 = error.primaryLabel;
  81604. t4 = error.secondarySpans;
  81605. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  81606. } else if (t1 instanceof A.MultiSpanSassException0) {
  81607. error0 = t1;
  81608. stackTrace0 = A.getTraceFromException(exception);
  81609. t1 = error0._span_exception$_message;
  81610. t2 = error0;
  81611. t3 = J.getInterceptor$z(t2);
  81612. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  81613. t3 = error0.primaryLabel;
  81614. t4 = error0.secondarySpans;
  81615. t5 = error0;
  81616. t6 = J.getInterceptor$z(t5);
  81617. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  81618. } else {
  81619. error1 = t1;
  81620. stackTrace1 = A.getTraceFromException(exception);
  81621. message = null;
  81622. try {
  81623. message = A._asString(J.get$message$x(error1));
  81624. } catch (exception) {
  81625. message0 = J.toString$0$(error1);
  81626. message = message0;
  81627. }
  81628. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  81629. }
  81630. }
  81631. _this._evaluate0$_callableNode = oldCallableNode;
  81632. if (argumentList == null)
  81633. return result;
  81634. if (evaluated.named.__js_helper$_length === 0)
  81635. return result;
  81636. if (argumentList._argument_list$_wereKeywordsAccessed)
  81637. return result;
  81638. t1 = evaluated.named;
  81639. t1 = t1.get$keys(t1);
  81640. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  81641. t2 = evaluated.named;
  81642. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.S(A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or")) + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan))));
  81643. },
  81644. _evaluate0$_evaluateArguments$1($arguments) {
  81645. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  81646. positional = A._setArrayType([], type$.JSArray_Value_2),
  81647. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  81648. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  81649. expression = t1[_i];
  81650. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  81651. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  81652. positionalNodes.push(nodeForSpan);
  81653. }
  81654. t1 = type$.String;
  81655. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  81656. t2 = type$.AstNode_2;
  81657. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81658. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  81659. t4 = t3.get$current(t3);
  81660. t5 = t4.value;
  81661. nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
  81662. t4 = t4.key;
  81663. named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  81664. namedNodes.$indexSet(0, t4, nodeForSpan);
  81665. }
  81666. restArgs = $arguments.rest;
  81667. if (restArgs == null)
  81668. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  81669. rest = restArgs.accept$1(_this);
  81670. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  81671. if (rest instanceof A.SassMap0) {
  81672. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  81673. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81674. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  81675. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  81676. namedNodes.addAll$1(0, t3);
  81677. separator = B.ListSeparator_undecided_null_undecided0;
  81678. } else if (rest instanceof A.SassList0) {
  81679. t3 = rest._list1$_contents;
  81680. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t3, new A._EvaluateVisitor__evaluateArguments_closure8(_this, restNodeForSpan), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Value0>")));
  81681. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  81682. separator = rest._list1$_separator;
  81683. if (rest instanceof A.SassArgumentList0) {
  81684. rest._argument_list$_wereKeywordsAccessed = true;
  81685. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  81686. }
  81687. } else {
  81688. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  81689. positionalNodes.push(restNodeForSpan);
  81690. separator = B.ListSeparator_undecided_null_undecided0;
  81691. }
  81692. keywordRestArgs = $arguments.keywordRest;
  81693. if (keywordRestArgs == null)
  81694. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  81695. keywordRest = keywordRestArgs.accept$1(_this);
  81696. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  81697. if (keywordRest instanceof A.SassMap0) {
  81698. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  81699. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81700. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  81701. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  81702. namedNodes.addAll$1(0, t1);
  81703. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  81704. } else
  81705. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  81706. },
  81707. _evaluate0$_evaluateMacroArguments$1(invocation) {
  81708. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  81709. t1 = invocation.$arguments,
  81710. restArgs_ = t1.rest;
  81711. if (restArgs_ == null)
  81712. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81713. t2 = t1.positional;
  81714. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  81715. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  81716. rest = restArgs_.accept$1(_this);
  81717. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  81718. if (rest instanceof A.SassMap0)
  81719. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  81720. else if (rest instanceof A.SassList0) {
  81721. t2 = rest._list1$_contents;
  81722. B.JSArray_methods.addAll$1(positional, new A.MappedListIterable(t2, new A._EvaluateVisitor__evaluateMacroArguments_closure8(_this, restNodeForSpan, restArgs_), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Expression0>")));
  81723. if (rest instanceof A.SassArgumentList0) {
  81724. rest._argument_list$_wereKeywordsAccessed = true;
  81725. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  81726. }
  81727. } else
  81728. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  81729. keywordRestArgs_ = t1.keywordRest;
  81730. if (keywordRestArgs_ == null)
  81731. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81732. keywordRest = keywordRestArgs_.accept$1(_this);
  81733. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  81734. if (keywordRest instanceof A.SassMap0) {
  81735. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  81736. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81737. } else
  81738. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  81739. },
  81740. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  81741. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  81742. },
  81743. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  81744. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  81745. },
  81746. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  81747. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  81748. },
  81749. visitSelectorExpression$1(node) {
  81750. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  81751. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  81752. return t1 == null ? B.C__SassNull0 : t1;
  81753. },
  81754. visitStringExpression$1(node) {
  81755. var t1, _this = this,
  81756. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81757. _this._evaluate0$_inSupportsDeclaration = false;
  81758. t1 = node.text.contents;
  81759. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  81760. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81761. return new A.SassString0(t1, node.hasQuotes);
  81762. },
  81763. visitSupportsExpression$1(expression) {
  81764. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  81765. },
  81766. visitCssAtRule$1(node) {
  81767. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  81768. if (_this._evaluate0$_declarationName != null)
  81769. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  81770. if (node.isChildless) {
  81771. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  81772. return;
  81773. }
  81774. wasInKeyframes = _this._evaluate0$_inKeyframes;
  81775. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  81776. t1 = node.name;
  81777. if (A.unvendor0(t1.get$value(t1)) === "keyframes")
  81778. _this._evaluate0$_inKeyframes = true;
  81779. else
  81780. _this._evaluate0$_inUnknownAtRule = true;
  81781. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0(t1, node.span, false, node.value), new A._EvaluateVisitor_visitCssAtRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssAtRule_closure4(), type$.ModifiableCssAtRule_2, type$.Null);
  81782. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  81783. _this._evaluate0$_inKeyframes = wasInKeyframes;
  81784. },
  81785. visitCssComment$1(node) {
  81786. var _this = this,
  81787. _s8_ = "__parent",
  81788. _s13_ = "_endOfImports";
  81789. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) === _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root") && _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, "_root").children._collection$_source))
  81790. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81791. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  81792. },
  81793. visitCssDeclaration$1(node) {
  81794. var t1 = node.name;
  81795. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  81796. },
  81797. visitCssImport$1(node) {
  81798. var t1, _this = this,
  81799. _s8_ = "__parent",
  81800. _s5_ = "_root",
  81801. _s13_ = "_endOfImports",
  81802. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  81803. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  81804. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  81805. else if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) === J.get$length$asx(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source)) {
  81806. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  81807. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81808. } else {
  81809. t1 = _this._evaluate0$_outOfOrderImports;
  81810. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  81811. }
  81812. },
  81813. visitCssKeyframeBlock$1(node) {
  81814. this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), new A._EvaluateVisitor_visitCssKeyframeBlock_closure3(this, node), false, new A._EvaluateVisitor_visitCssKeyframeBlock_closure4(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  81815. },
  81816. visitCssMediaRule$1(node) {
  81817. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  81818. if (_this._evaluate0$_declarationName != null)
  81819. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  81820. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  81821. t1 = mergedQueries == null;
  81822. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  81823. return;
  81824. if (t1)
  81825. mergedSources = B.Set_empty4;
  81826. else {
  81827. t2 = _this._evaluate0$_mediaQuerySources;
  81828. t2.toString;
  81829. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  81830. t3 = _this._evaluate0$_mediaQueries;
  81831. t3.toString;
  81832. t2.addAll$1(0, t3);
  81833. t2.addAll$1(0, node.queries);
  81834. mergedSources = t2;
  81835. }
  81836. t1 = t1 ? node.queries : mergedQueries;
  81837. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(t1, node.span), new A._EvaluateVisitor_visitCssMediaRule_closure6(_this, mergedQueries, node, mergedSources), false, new A._EvaluateVisitor_visitCssMediaRule_closure7(mergedSources), type$.ModifiableCssMediaRule_2, type$.Null);
  81838. },
  81839. visitCssStyleRule$1(node) {
  81840. var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  81841. _s8_ = "__parent";
  81842. if (_this._evaluate0$_declarationName != null)
  81843. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  81844. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  81845. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  81846. t2 = node.selector;
  81847. t3 = t2.value;
  81848. t4 = styleRule == null;
  81849. t5 = t4 ? null : styleRule.originalSelector;
  81850. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  81851. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  81852. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  81853. _this._evaluate0$_atRootExcludingStyleRule = false;
  81854. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure3(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure4(), type$.ModifiableCssStyleRule_2, type$.Null);
  81855. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  81856. if (t4) {
  81857. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81858. t1 = !t1.get$isEmpty(t1);
  81859. } else
  81860. t1 = false;
  81861. if (t1) {
  81862. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81863. t1.get$last(t1).isGroupEnd = true;
  81864. }
  81865. },
  81866. visitCssStylesheet$1(node) {
  81867. var t1;
  81868. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  81869. t1.get$current(t1).accept$1(this);
  81870. },
  81871. visitCssSupportsRule$1(node) {
  81872. var _this = this;
  81873. if (_this._evaluate0$_declarationName != null)
  81874. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  81875. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(node.condition, node.span), new A._EvaluateVisitor_visitCssSupportsRule_closure3(_this, node), false, new A._EvaluateVisitor_visitCssSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
  81876. },
  81877. _evaluate0$_handleReturn$1$2(list, callback) {
  81878. var t1, _i, result;
  81879. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  81880. result = callback.call$1(list[_i]);
  81881. if (result != null)
  81882. return result;
  81883. }
  81884. return null;
  81885. },
  81886. _evaluate0$_handleReturn$2(list, callback) {
  81887. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  81888. },
  81889. _evaluate0$_withEnvironment$1$2(environment, callback) {
  81890. var result,
  81891. oldEnvironment = this._evaluate0$_environment;
  81892. this._evaluate0$_environment = environment;
  81893. result = callback.call$0();
  81894. this._evaluate0$_environment = oldEnvironment;
  81895. return result;
  81896. },
  81897. _evaluate0$_withEnvironment$2(environment, callback) {
  81898. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  81899. },
  81900. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  81901. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  81902. t1 = trim ? A.trimAscii0(result, true) : result;
  81903. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  81904. },
  81905. _evaluate0$_interpolationToValue$1(interpolation) {
  81906. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  81907. },
  81908. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  81909. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  81910. },
  81911. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  81912. var t1, result, _this = this,
  81913. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81914. _this._evaluate0$_inSupportsDeclaration = false;
  81915. t1 = interpolation.contents;
  81916. result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  81917. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81918. return result;
  81919. },
  81920. _evaluate0$_performInterpolation$1(interpolation) {
  81921. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  81922. },
  81923. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  81924. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  81925. },
  81926. _evaluate0$_serialize$2(value, nodeWithSpan) {
  81927. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  81928. },
  81929. _evaluate0$_expressionNode$1(expression) {
  81930. var t1;
  81931. if (expression instanceof A.VariableExpression0) {
  81932. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  81933. return t1 == null ? expression : t1;
  81934. } else
  81935. return expression;
  81936. },
  81937. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  81938. var t1, result, _this = this;
  81939. _this._evaluate0$_addChild$2$through(node, through);
  81940. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  81941. _this._evaluate0$__parent = node;
  81942. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  81943. _this._evaluate0$__parent = t1;
  81944. return result;
  81945. },
  81946. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  81947. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  81948. },
  81949. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  81950. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  81951. },
  81952. _evaluate0$_addChild$2$through(node, through) {
  81953. var grandparent, t1,
  81954. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  81955. if (through != null) {
  81956. for (; through.call$1($parent); $parent = grandparent) {
  81957. grandparent = $parent._node0$_parent;
  81958. if (grandparent == null)
  81959. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  81960. }
  81961. if ($parent.get$hasFollowingSibling()) {
  81962. t1 = $parent._node0$_parent;
  81963. t1.toString;
  81964. $parent = $parent.copyWithoutChildren$0();
  81965. t1.addChild$1($parent);
  81966. }
  81967. }
  81968. $parent.addChild$1(node);
  81969. },
  81970. _evaluate0$_addChild$1(node) {
  81971. return this._evaluate0$_addChild$2$through(node, null);
  81972. },
  81973. _evaluate0$_withStyleRule$1$2(rule, callback) {
  81974. var result,
  81975. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  81976. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  81977. result = callback.call$0();
  81978. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  81979. return result;
  81980. },
  81981. _evaluate0$_withStyleRule$2(rule, callback) {
  81982. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  81983. },
  81984. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  81985. var result, _this = this,
  81986. oldMediaQueries = _this._evaluate0$_mediaQueries,
  81987. oldSources = _this._evaluate0$_mediaQuerySources;
  81988. _this._evaluate0$_mediaQueries = queries;
  81989. _this._evaluate0$_mediaQuerySources = sources;
  81990. result = callback.call$0();
  81991. _this._evaluate0$_mediaQueries = oldMediaQueries;
  81992. _this._evaluate0$_mediaQuerySources = oldSources;
  81993. return result;
  81994. },
  81995. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  81996. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  81997. },
  81998. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  81999. var oldMember, result, _this = this,
  82000. t1 = _this._evaluate0$_stack;
  82001. t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  82002. oldMember = _this._evaluate0$_member;
  82003. _this._evaluate0$_member = member;
  82004. result = callback.call$0();
  82005. _this._evaluate0$_member = oldMember;
  82006. t1.pop();
  82007. return result;
  82008. },
  82009. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  82010. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  82011. },
  82012. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  82013. if (value instanceof A.SassNumber0 && value.asSlash != null)
  82014. this._evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_More, nodeForSpan.get$span(nodeForSpan), true);
  82015. return value.withoutSlash$0();
  82016. },
  82017. _evaluate0$_stackFrame$2(member, span) {
  82018. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  82019. },
  82020. _evaluate0$_stackTrace$1(span) {
  82021. var _this = this,
  82022. t1 = _this._evaluate0$_stack;
  82023. t1 = A.List_List$of(new A.MappedListIterable(t1, new A._EvaluateVisitor__stackTrace_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Frame>")), true, type$.Frame);
  82024. if (span != null)
  82025. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  82026. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  82027. },
  82028. _evaluate0$_stackTrace$0() {
  82029. return this._evaluate0$_stackTrace$1(null);
  82030. },
  82031. _evaluate0$_warn$3$deprecation(message, span, deprecation) {
  82032. var t1, _this = this;
  82033. if (_this._evaluate0$_quietDeps)
  82034. if (!_this._evaluate0$_inDependency) {
  82035. t1 = _this._evaluate0$_currentCallable;
  82036. t1 = t1 == null ? null : t1.inDependency;
  82037. t1 = t1 === true;
  82038. } else
  82039. t1 = true;
  82040. else
  82041. t1 = false;
  82042. if (t1)
  82043. return;
  82044. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  82045. return;
  82046. _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
  82047. },
  82048. _evaluate0$_warn$2(message, span) {
  82049. return this._evaluate0$_warn$3$deprecation(message, span, false);
  82050. },
  82051. _evaluate0$_exception$2(message, span) {
  82052. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
  82053. return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
  82054. },
  82055. _evaluate0$_exception$1(message) {
  82056. return this._evaluate0$_exception$2(message, null);
  82057. },
  82058. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  82059. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
  82060. return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  82061. },
  82062. _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
  82063. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  82064. try {
  82065. t1 = callback.call$0();
  82066. return t1;
  82067. } catch (exception) {
  82068. t1 = A.unwrapException(exception);
  82069. if (t1 instanceof A.SassFormatException0) {
  82070. error = t1;
  82071. stackTrace = A.getTraceFromException(exception);
  82072. t1 = error;
  82073. t2 = J.getInterceptor$z(t1);
  82074. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  82075. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  82076. span = nodeWithSpan.get$span(nodeWithSpan);
  82077. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  82078. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  82079. t2 = J.get$start$z(span);
  82080. t3 = error;
  82081. t4 = J.getInterceptor$z(t3);
  82082. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  82083. t3 = t3.get$start(t3);
  82084. t4 = J.get$start$z(span);
  82085. t5 = error;
  82086. t6 = J.getInterceptor$z(t5);
  82087. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  82088. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  82089. A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  82090. } else
  82091. throw exception;
  82092. }
  82093. },
  82094. _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
  82095. return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  82096. },
  82097. _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  82098. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  82099. try {
  82100. t1 = callback.call$0();
  82101. return t1;
  82102. } catch (exception) {
  82103. t1 = A.unwrapException(exception);
  82104. if (t1 instanceof A.MultiSpanSassScriptException0) {
  82105. error = t1;
  82106. stackTrace = A.getTraceFromException(exception);
  82107. t1 = error.message;
  82108. t2 = nodeWithSpan.get$span(nodeWithSpan);
  82109. t3 = error.primaryLabel;
  82110. t4 = error.secondarySpans;
  82111. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  82112. } else if (t1 instanceof A.SassScriptException0) {
  82113. error0 = t1;
  82114. stackTrace0 = A.getTraceFromException(exception);
  82115. A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  82116. } else
  82117. throw exception;
  82118. }
  82119. },
  82120. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  82121. return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  82122. },
  82123. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  82124. var error, stackTrace, t1, exception, t2;
  82125. try {
  82126. t1 = callback.call$0();
  82127. return t1;
  82128. } catch (exception) {
  82129. t1 = A.unwrapException(exception);
  82130. if (type$.SassRuntimeException_2._is(t1)) {
  82131. error = t1;
  82132. stackTrace = A.getTraceFromException(exception);
  82133. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  82134. throw exception;
  82135. t1 = error._span_exception$_message;
  82136. t2 = nodeWithSpan.get$span(nodeWithSpan);
  82137. A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  82138. } else
  82139. throw exception;
  82140. }
  82141. },
  82142. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  82143. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  82144. }
  82145. };
  82146. A._EvaluateVisitor_closure19.prototype = {
  82147. call$1($arguments) {
  82148. var module, t2,
  82149. t1 = J.getInterceptor$asx($arguments),
  82150. variable = t1.$index($arguments, 0).assertString$1("name");
  82151. t1 = t1.$index($arguments, 1).get$realNull();
  82152. module = t1 == null ? null : t1.assertString$1("module");
  82153. t1 = this.$this._evaluate0$_environment;
  82154. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  82155. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82156. },
  82157. $signature: 19
  82158. };
  82159. A._EvaluateVisitor_closure20.prototype = {
  82160. call$1($arguments) {
  82161. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  82162. t1 = this.$this._evaluate0$_environment;
  82163. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82164. },
  82165. $signature: 19
  82166. };
  82167. A._EvaluateVisitor_closure21.prototype = {
  82168. call$1($arguments) {
  82169. var module, t2, t3, t4,
  82170. t1 = J.getInterceptor$asx($arguments),
  82171. variable = t1.$index($arguments, 0).assertString$1("name");
  82172. t1 = t1.$index($arguments, 1).get$realNull();
  82173. module = t1 == null ? null : t1.assertString$1("module");
  82174. t1 = this.$this;
  82175. t2 = t1._evaluate0$_environment;
  82176. t3 = variable._string0$_text;
  82177. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  82178. return t2.getFunction$2$namespace(t4, module == null ? null : module._string0$_text) != null || t1._evaluate0$_builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82179. },
  82180. $signature: 19
  82181. };
  82182. A._EvaluateVisitor_closure22.prototype = {
  82183. call$1($arguments) {
  82184. var module, t2,
  82185. t1 = J.getInterceptor$asx($arguments),
  82186. variable = t1.$index($arguments, 0).assertString$1("name");
  82187. t1 = t1.$index($arguments, 1).get$realNull();
  82188. module = t1 == null ? null : t1.assertString$1("module");
  82189. t1 = this.$this._evaluate0$_environment;
  82190. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  82191. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82192. },
  82193. $signature: 19
  82194. };
  82195. A._EvaluateVisitor_closure23.prototype = {
  82196. call$1($arguments) {
  82197. var t1 = this.$this._evaluate0$_environment;
  82198. if (!t1._environment0$_inMixin)
  82199. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  82200. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82201. },
  82202. $signature: 19
  82203. };
  82204. A._EvaluateVisitor_closure24.prototype = {
  82205. call$1($arguments) {
  82206. var t2, t3, t4,
  82207. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  82208. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  82209. if (module == null)
  82210. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  82211. t1 = type$.Value_2;
  82212. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  82213. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82214. t4 = t3.get$current(t3);
  82215. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  82216. }
  82217. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  82218. },
  82219. $signature: 34
  82220. };
  82221. A._EvaluateVisitor_closure25.prototype = {
  82222. call$1($arguments) {
  82223. var t2, t3, t4,
  82224. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  82225. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  82226. if (module == null)
  82227. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  82228. t1 = type$.Value_2;
  82229. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  82230. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82231. t4 = t3.get$current(t3);
  82232. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  82233. }
  82234. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  82235. },
  82236. $signature: 34
  82237. };
  82238. A._EvaluateVisitor_closure26.prototype = {
  82239. call$1($arguments) {
  82240. var module, callable, t2,
  82241. t1 = J.getInterceptor$asx($arguments),
  82242. $name = t1.$index($arguments, 0).assertString$1("name"),
  82243. css = t1.$index($arguments, 1).get$isTruthy();
  82244. t1 = t1.$index($arguments, 2).get$realNull();
  82245. module = t1 == null ? null : t1.assertString$1("module");
  82246. if (css && module != null)
  82247. throw A.wrapException(string$.x24css_a);
  82248. if (css)
  82249. callable = new A.PlainCssCallable0($name._string0$_text);
  82250. else {
  82251. t1 = this.$this;
  82252. t2 = t1._evaluate0$_callableNode;
  82253. t2.toString;
  82254. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
  82255. }
  82256. if (callable != null)
  82257. return new A.SassFunction0(callable);
  82258. throw A.wrapException("Function not found: " + $name.toString$0(0));
  82259. },
  82260. $signature: 164
  82261. };
  82262. A._EvaluateVisitor__closure7.prototype = {
  82263. call$0() {
  82264. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  82265. t2 = this.module;
  82266. t2 = t2 == null ? null : t2._string0$_text;
  82267. return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
  82268. },
  82269. $signature: 131
  82270. };
  82271. A._EvaluateVisitor_closure27.prototype = {
  82272. call$1($arguments) {
  82273. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  82274. t1 = J.getInterceptor$asx($arguments),
  82275. $function = t1.$index($arguments, 0),
  82276. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  82277. t1 = this.$this;
  82278. t2 = t1._evaluate0$_callableNode;
  82279. t2.toString;
  82280. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  82281. t4 = type$.String;
  82282. t5 = type$.Expression_2;
  82283. t6 = t2.get$span(t2);
  82284. t7 = t2.get$span(t2);
  82285. args._argument_list$_wereKeywordsAccessed = true;
  82286. t8 = args._argument_list$_keywords;
  82287. if (t8.get$isEmpty(t8))
  82288. t2 = null;
  82289. else {
  82290. t9 = type$.Value_2;
  82291. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  82292. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  82293. t11 = t8.get$current(t8);
  82294. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  82295. }
  82296. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  82297. }
  82298. invocation = new A.ArgumentInvocation0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  82299. if ($function instanceof A.SassString0) {
  82300. t2 = $function.toString$0(0);
  82301. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  82302. callableNode = t1._evaluate0$_callableNode;
  82303. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  82304. }
  82305. callable = $function.assertFunction$1("function").callable;
  82306. if (type$.Callable_2._is(callable)) {
  82307. t2 = t1._evaluate0$_callableNode;
  82308. t2.toString;
  82309. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  82310. } else
  82311. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  82312. },
  82313. $signature: 3
  82314. };
  82315. A._EvaluateVisitor_closure28.prototype = {
  82316. call$1($arguments) {
  82317. var withMap, t2, values, configuration, t3,
  82318. t1 = J.getInterceptor$asx($arguments),
  82319. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  82320. t1 = t1.$index($arguments, 1).get$realNull();
  82321. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  82322. t1 = this.$this;
  82323. t2 = t1._evaluate0$_callableNode;
  82324. t2.toString;
  82325. if (withMap != null) {
  82326. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  82327. withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
  82328. configuration = new A.ExplicitConfiguration0(t2, values, null);
  82329. } else
  82330. configuration = B.Configuration_Map_empty_null0;
  82331. t3 = t2.get$span(t2);
  82332. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t3.get$sourceUrl(t3), configuration, true);
  82333. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  82334. },
  82335. $signature: 394
  82336. };
  82337. A._EvaluateVisitor__closure5.prototype = {
  82338. call$2(variable, value) {
  82339. var t1 = variable.assertString$1("with key"),
  82340. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  82341. t1 = this.values;
  82342. if (t1.containsKey$1($name))
  82343. throw A.wrapException("The variable $" + $name + " was configured twice.");
  82344. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  82345. },
  82346. $signature: 58
  82347. };
  82348. A._EvaluateVisitor__closure6.prototype = {
  82349. call$1(module) {
  82350. var t1 = this.$this;
  82351. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  82352. },
  82353. $signature: 74
  82354. };
  82355. A._EvaluateVisitor_run_closure1.prototype = {
  82356. call$0() {
  82357. var t2, _this = this,
  82358. t1 = _this.node,
  82359. url = t1.span.file.url;
  82360. if (url != null) {
  82361. t2 = _this.$this;
  82362. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  82363. if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  82364. t2._evaluate0$_loadedUrls.add$1(0, url);
  82365. }
  82366. t2 = _this.$this;
  82367. return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
  82368. },
  82369. $signature: 396
  82370. };
  82371. A._EvaluateVisitor__loadModule_closure3.prototype = {
  82372. call$0() {
  82373. return this.callback.call$1(this.builtInModule);
  82374. },
  82375. $signature: 0
  82376. };
  82377. A._EvaluateVisitor__loadModule_closure4.prototype = {
  82378. call$0() {
  82379. var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
  82380. t1 = _this.$this,
  82381. t2 = _this.nodeWithSpan,
  82382. result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
  82383. stylesheet = result.stylesheet,
  82384. canonicalUrl = stylesheet.span.file.url;
  82385. if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  82386. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  82387. t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
  82388. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
  82389. }
  82390. if (canonicalUrl != null)
  82391. t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
  82392. oldInDependency = t1._evaluate0$_inDependency;
  82393. t1._evaluate0$_inDependency = result.isDependency;
  82394. module = null;
  82395. try {
  82396. module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
  82397. } finally {
  82398. t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  82399. t1._evaluate0$_inDependency = oldInDependency;
  82400. }
  82401. try {
  82402. _this.callback.call$1(module);
  82403. } catch (exception) {
  82404. t2 = A.unwrapException(exception);
  82405. if (type$.SassRuntimeException_2._is(t2))
  82406. throw exception;
  82407. else if (t2 instanceof A.MultiSpanSassException0) {
  82408. error = t2;
  82409. stackTrace = A.getTraceFromException(exception);
  82410. t2 = error._span_exception$_message;
  82411. t3 = error;
  82412. t4 = J.getInterceptor$z(t3);
  82413. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  82414. t4 = error.primaryLabel;
  82415. t5 = error.secondarySpans;
  82416. t6 = error;
  82417. t7 = J.getInterceptor$z(t6);
  82418. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  82419. } else if (t2 instanceof A.SassException0) {
  82420. error0 = t2;
  82421. stackTrace0 = A.getTraceFromException(exception);
  82422. t2 = error0;
  82423. t3 = J.getInterceptor$z(t2);
  82424. A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  82425. } else if (t2 instanceof A.MultiSpanSassScriptException0) {
  82426. error1 = t2;
  82427. stackTrace1 = A.getTraceFromException(exception);
  82428. A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  82429. } else if (t2 instanceof A.SassScriptException0) {
  82430. error2 = t2;
  82431. stackTrace2 = A.getTraceFromException(exception);
  82432. A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
  82433. } else
  82434. throw exception;
  82435. }
  82436. },
  82437. $signature: 1
  82438. };
  82439. A._EvaluateVisitor__loadModule__closure1.prototype = {
  82440. call$1(previousLoad) {
  82441. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  82442. },
  82443. $signature: 98
  82444. };
  82445. A._EvaluateVisitor__execute_closure1.prototype = {
  82446. call$0() {
  82447. var t3, t4, t5, t6, _this = this,
  82448. t1 = _this.$this,
  82449. oldImporter = t1._evaluate0$_importer,
  82450. oldStylesheet = t1._evaluate0$__stylesheet,
  82451. oldRoot = t1._evaluate0$__root,
  82452. oldParent = t1._evaluate0$__parent,
  82453. oldEndOfImports = t1._evaluate0$__endOfImports,
  82454. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  82455. oldExtensionStore = t1._evaluate0$__extensionStore,
  82456. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  82457. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  82458. oldMediaQueries = t1._evaluate0$_mediaQueries,
  82459. oldDeclarationName = t1._evaluate0$_declarationName,
  82460. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  82461. oldInKeyframes = t1._evaluate0$_inKeyframes,
  82462. oldConfiguration = t1._evaluate0$_configuration;
  82463. t1._evaluate0$_importer = _this.importer;
  82464. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  82465. t4 = t3.span;
  82466. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  82467. t1._evaluate0$__endOfImports = 0;
  82468. t1._evaluate0$_outOfOrderImports = null;
  82469. t1._evaluate0$__extensionStore = _this.extensionStore;
  82470. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  82471. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  82472. t6 = _this.configuration;
  82473. if (t6 != null)
  82474. t1._evaluate0$_configuration = t6;
  82475. t1.visitStylesheet$1(t3);
  82476. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  82477. _this.css._value = t3;
  82478. t1._evaluate0$_importer = oldImporter;
  82479. t1._evaluate0$__stylesheet = oldStylesheet;
  82480. t1._evaluate0$__root = oldRoot;
  82481. t1._evaluate0$__parent = oldParent;
  82482. t1._evaluate0$__endOfImports = oldEndOfImports;
  82483. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  82484. t1._evaluate0$__extensionStore = oldExtensionStore;
  82485. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  82486. t1._evaluate0$_mediaQueries = oldMediaQueries;
  82487. t1._evaluate0$_declarationName = oldDeclarationName;
  82488. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  82489. t1._evaluate0$_atRootExcludingStyleRule = t2;
  82490. t1._evaluate0$_inKeyframes = oldInKeyframes;
  82491. t1._evaluate0$_configuration = oldConfiguration;
  82492. },
  82493. $signature: 1
  82494. };
  82495. A._EvaluateVisitor__combineCss_closure5.prototype = {
  82496. call$1(module) {
  82497. return module.get$transitivelyContainsCss();
  82498. },
  82499. $signature: 130
  82500. };
  82501. A._EvaluateVisitor__combineCss_closure6.prototype = {
  82502. call$1(target) {
  82503. return !this.selectors.contains$1(0, target);
  82504. },
  82505. $signature: 13
  82506. };
  82507. A._EvaluateVisitor__combineCss_closure7.prototype = {
  82508. call$1(module) {
  82509. return module.cloneCss$0();
  82510. },
  82511. $signature: 397
  82512. };
  82513. A._EvaluateVisitor__extendModules_closure3.prototype = {
  82514. call$1(target) {
  82515. return !this.originalSelectors.contains$1(0, target);
  82516. },
  82517. $signature: 13
  82518. };
  82519. A._EvaluateVisitor__extendModules_closure4.prototype = {
  82520. call$0() {
  82521. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  82522. },
  82523. $signature: 255
  82524. };
  82525. A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
  82526. call$1(module) {
  82527. var t1, t2, t3, _i, upstream;
  82528. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  82529. upstream = t1[_i];
  82530. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  82531. this.call$1(upstream);
  82532. }
  82533. this.sorted.addFirst$1(module);
  82534. },
  82535. $signature: 74
  82536. };
  82537. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  82538. call$0() {
  82539. var t1 = A.SpanScanner$(this.resolved, null);
  82540. return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
  82541. },
  82542. $signature: 114
  82543. };
  82544. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  82545. call$0() {
  82546. var t1, t2, t3, _i;
  82547. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82548. t1[_i].accept$1(t3);
  82549. },
  82550. $signature: 1
  82551. };
  82552. A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
  82553. call$0() {
  82554. var t1, t2, t3, _i;
  82555. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82556. t1[_i].accept$1(t3);
  82557. },
  82558. $signature: 0
  82559. };
  82560. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  82561. call$1(callback) {
  82562. var t1 = this.$this,
  82563. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  82564. t1._evaluate0$__parent = this.newParent;
  82565. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  82566. t1._evaluate0$__parent = t2;
  82567. },
  82568. $signature: 27
  82569. };
  82570. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  82571. call$1(callback) {
  82572. var t1 = this.$this,
  82573. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  82574. t1._evaluate0$_atRootExcludingStyleRule = true;
  82575. this.innerScope.call$1(callback);
  82576. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  82577. },
  82578. $signature: 27
  82579. };
  82580. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  82581. call$1(callback) {
  82582. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  82583. },
  82584. $signature: 27
  82585. };
  82586. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  82587. call$0() {
  82588. return this.innerScope.call$1(this.callback);
  82589. },
  82590. $signature: 1
  82591. };
  82592. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  82593. call$1(callback) {
  82594. var t1 = this.$this,
  82595. wasInKeyframes = t1._evaluate0$_inKeyframes;
  82596. t1._evaluate0$_inKeyframes = false;
  82597. this.innerScope.call$1(callback);
  82598. t1._evaluate0$_inKeyframes = wasInKeyframes;
  82599. },
  82600. $signature: 27
  82601. };
  82602. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  82603. call$1($parent) {
  82604. return type$.CssAtRule_2._is($parent);
  82605. },
  82606. $signature: 171
  82607. };
  82608. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  82609. call$1(callback) {
  82610. var t1 = this.$this,
  82611. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  82612. t1._evaluate0$_inUnknownAtRule = false;
  82613. this.innerScope.call$1(callback);
  82614. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  82615. },
  82616. $signature: 27
  82617. };
  82618. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  82619. call$0() {
  82620. var t1, t2, t3, _i;
  82621. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82622. t1[_i].accept$1(t3);
  82623. return null;
  82624. },
  82625. $signature: 1
  82626. };
  82627. A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
  82628. call$1(value) {
  82629. return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
  82630. },
  82631. $signature: 398
  82632. };
  82633. A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
  82634. call$0() {
  82635. var t1, t2, t3, _i;
  82636. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82637. t1[_i].accept$1(t3);
  82638. },
  82639. $signature: 1
  82640. };
  82641. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  82642. call$1(value) {
  82643. var t1 = this.$this,
  82644. t2 = this.nodeWithSpan;
  82645. return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
  82646. },
  82647. $signature: 56
  82648. };
  82649. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  82650. call$1(value) {
  82651. return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  82652. },
  82653. $signature: 56
  82654. };
  82655. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  82656. call$0() {
  82657. var _this = this,
  82658. t1 = _this.$this;
  82659. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  82660. },
  82661. $signature: 40
  82662. };
  82663. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  82664. call$1(element) {
  82665. var t1;
  82666. this.setVariables.call$1(element);
  82667. t1 = this.$this;
  82668. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  82669. },
  82670. $signature: 218
  82671. };
  82672. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  82673. call$1(child) {
  82674. return child.accept$1(this.$this);
  82675. },
  82676. $signature: 77
  82677. };
  82678. A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
  82679. call$0() {
  82680. return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
  82681. },
  82682. $signature: 50
  82683. };
  82684. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  82685. call$1(value) {
  82686. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  82687. },
  82688. $signature: 401
  82689. };
  82690. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  82691. call$0() {
  82692. var t2, t3, _i,
  82693. t1 = this.$this,
  82694. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  82695. if (styleRule == null || t1._evaluate0$_inKeyframes)
  82696. for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82697. t2[_i].accept$1(t1);
  82698. else
  82699. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  82700. },
  82701. $signature: 1
  82702. };
  82703. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  82704. call$0() {
  82705. var t1, t2, t3, _i;
  82706. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82707. t1[_i].accept$1(t3);
  82708. },
  82709. $signature: 1
  82710. };
  82711. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  82712. call$1(node) {
  82713. return type$.CssStyleRule_2._is(node);
  82714. },
  82715. $signature: 7
  82716. };
  82717. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  82718. call$0() {
  82719. return this.node.from.accept$1(this.$this).assertNumber$0();
  82720. },
  82721. $signature: 220
  82722. };
  82723. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  82724. call$0() {
  82725. return this.node.to.accept$1(this.$this).assertNumber$0();
  82726. },
  82727. $signature: 220
  82728. };
  82729. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  82730. call$0() {
  82731. return this.fromNumber.assertInt$0();
  82732. },
  82733. $signature: 12
  82734. };
  82735. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  82736. call$0() {
  82737. var t1 = this.fromNumber;
  82738. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  82739. },
  82740. $signature: 12
  82741. };
  82742. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  82743. call$0() {
  82744. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  82745. t1 = _this.$this,
  82746. t2 = _this.node,
  82747. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  82748. for (i = _this.from, t3 = _this._box_0, t4 = _this.direction, t5 = t2.variable, t6 = _this.fromNumber, t2 = t2.children; i !== t3.to; i += t4) {
  82749. t7 = t1._evaluate0$_environment;
  82750. t8 = t6.get$numeratorUnits(t6);
  82751. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  82752. result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  82753. if (result != null)
  82754. return result;
  82755. }
  82756. return null;
  82757. },
  82758. $signature: 40
  82759. };
  82760. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  82761. call$1(child) {
  82762. return child.accept$1(this.$this);
  82763. },
  82764. $signature: 77
  82765. };
  82766. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  82767. call$1(module) {
  82768. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  82769. },
  82770. $signature: 74
  82771. };
  82772. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  82773. call$1(module) {
  82774. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  82775. },
  82776. $signature: 74
  82777. };
  82778. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  82779. call$0() {
  82780. var t1 = this.$this;
  82781. return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
  82782. },
  82783. $signature: 40
  82784. };
  82785. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  82786. call$1(child) {
  82787. return child.accept$1(this.$this);
  82788. },
  82789. $signature: 77
  82790. };
  82791. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  82792. call$0() {
  82793. var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  82794. t1 = this.$this,
  82795. t2 = this.$import,
  82796. result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  82797. stylesheet = result.stylesheet,
  82798. url = stylesheet.span.file.url;
  82799. if (url != null) {
  82800. t3 = t1._evaluate0$_activeModules;
  82801. if (t3.containsKey$1(url)) {
  82802. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  82803. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  82804. }
  82805. t3.$indexSet(0, url, t2);
  82806. }
  82807. t2 = stylesheet._stylesheet1$_uses;
  82808. t3 = type$.UnmodifiableListView_UseRule_2;
  82809. t4 = new A.UnmodifiableListView(t2, t3);
  82810. if (t4.get$length(t4) === 0) {
  82811. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82812. t4 = t4.get$length(t4) === 0;
  82813. } else
  82814. t4 = false;
  82815. if (t4) {
  82816. oldImporter = t1._evaluate0$_importer;
  82817. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  82818. oldInDependency = t1._evaluate0$_inDependency;
  82819. t1._evaluate0$_importer = result.importer;
  82820. t1._evaluate0$__stylesheet = stylesheet;
  82821. t1._evaluate0$_inDependency = result.isDependency;
  82822. t1.visitStylesheet$1(stylesheet);
  82823. t1._evaluate0$_importer = oldImporter;
  82824. t1._evaluate0$__stylesheet = t2;
  82825. t1._evaluate0$_inDependency = oldInDependency;
  82826. t1._evaluate0$_activeModules.remove$1(0, url);
  82827. return;
  82828. }
  82829. t2 = new A.UnmodifiableListView(t2, t3);
  82830. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  82831. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82832. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  82833. } else
  82834. loadsUserDefinedModules = true;
  82835. children = A._Cell$();
  82836. t2 = t1._evaluate0$_environment;
  82837. t3 = type$.String;
  82838. t4 = type$.Module_Callable_2;
  82839. t5 = type$.AstNode_2;
  82840. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  82841. t7 = t2._environment0$_variables;
  82842. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  82843. t8 = t2._environment0$_variableNodes;
  82844. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  82845. t9 = t2._environment0$_functions;
  82846. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  82847. t10 = t2._environment0$_mixins;
  82848. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  82849. environment = A.Environment$_0(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t5), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t2._environment0$_importedModules, null, null, t6, t7, t8, t9, t10, t2._environment0$_content);
  82850. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  82851. module = environment.toDummyModule$0();
  82852. t1._evaluate0$_environment.importForwards$1(module);
  82853. if (loadsUserDefinedModules) {
  82854. if (module.transitivelyContainsCss)
  82855. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  82856. visitor = new A._ImportedCssVisitor1(t1);
  82857. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  82858. t2.get$current(t2).accept$1(visitor);
  82859. }
  82860. t1._evaluate0$_activeModules.remove$1(0, url);
  82861. },
  82862. $signature: 0
  82863. };
  82864. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  82865. call$1(previousLoad) {
  82866. return this.$this._evaluate0$_multiSpanException$3("This file is already being loaded.", "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  82867. },
  82868. $signature: 98
  82869. };
  82870. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  82871. call$1(rule) {
  82872. return rule.url.get$scheme() !== "sass";
  82873. },
  82874. $signature: 179
  82875. };
  82876. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  82877. call$1(rule) {
  82878. return rule.url.get$scheme() !== "sass";
  82879. },
  82880. $signature: 180
  82881. };
  82882. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  82883. call$0() {
  82884. var t7, t8, t9, _this = this,
  82885. t1 = _this.$this,
  82886. oldImporter = t1._evaluate0$_importer,
  82887. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  82888. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  82889. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  82890. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  82891. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  82892. oldConfiguration = t1._evaluate0$_configuration,
  82893. oldInDependency = t1._evaluate0$_inDependency,
  82894. t6 = _this.result;
  82895. t1._evaluate0$_importer = t6.importer;
  82896. t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
  82897. t8 = _this.loadsUserDefinedModules;
  82898. if (t8) {
  82899. t9 = A.ModifiableCssStylesheet$0(t7.span);
  82900. t1._evaluate0$__root = t9;
  82901. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
  82902. t1._evaluate0$__endOfImports = 0;
  82903. t1._evaluate0$_outOfOrderImports = null;
  82904. }
  82905. t1._evaluate0$_inDependency = t6.isDependency;
  82906. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82907. if (!t6.get$isEmpty(t6))
  82908. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  82909. t1.visitStylesheet$1(t7);
  82910. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  82911. _this.children._value = t6;
  82912. t1._evaluate0$_importer = oldImporter;
  82913. t1._evaluate0$__stylesheet = t2;
  82914. if (t8) {
  82915. t1._evaluate0$__root = t3;
  82916. t1._evaluate0$__parent = t4;
  82917. t1._evaluate0$__endOfImports = t5;
  82918. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  82919. }
  82920. t1._evaluate0$_configuration = oldConfiguration;
  82921. t1._evaluate0$_inDependency = oldInDependency;
  82922. },
  82923. $signature: 1
  82924. };
  82925. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  82926. call$0() {
  82927. var t1 = this.node;
  82928. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  82929. },
  82930. $signature: 131
  82931. };
  82932. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  82933. call$0() {
  82934. return this.node.get$spanWithoutContent();
  82935. },
  82936. $signature: 31
  82937. };
  82938. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  82939. call$1($content) {
  82940. var t1 = this.$this;
  82941. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  82942. },
  82943. $signature: 403
  82944. };
  82945. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  82946. call$0() {
  82947. var _this = this,
  82948. t1 = _this.$this,
  82949. t2 = t1._evaluate0$_environment,
  82950. oldContent = t2._environment0$_content;
  82951. t2._environment0$_content = _this.contentCallable;
  82952. new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
  82953. t2._environment0$_content = oldContent;
  82954. },
  82955. $signature: 1
  82956. };
  82957. A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
  82958. call$0() {
  82959. var t1 = this.$this,
  82960. t2 = t1._evaluate0$_environment,
  82961. oldInMixin = t2._environment0$_inMixin;
  82962. t2._environment0$_inMixin = true;
  82963. new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
  82964. t2._environment0$_inMixin = oldInMixin;
  82965. },
  82966. $signature: 0
  82967. };
  82968. A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
  82969. call$0() {
  82970. var t1, t2, t3, t4, _i;
  82971. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  82972. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
  82973. },
  82974. $signature: 0
  82975. };
  82976. A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
  82977. call$0() {
  82978. return this.statement.accept$1(this.$this);
  82979. },
  82980. $signature: 40
  82981. };
  82982. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  82983. call$1(mediaQueries) {
  82984. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  82985. },
  82986. $signature: 79
  82987. };
  82988. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  82989. call$0() {
  82990. var _this = this,
  82991. t1 = _this.$this,
  82992. t2 = _this.mergedQueries;
  82993. if (t2 == null)
  82994. t2 = _this.queries;
  82995. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  82996. },
  82997. $signature: 1
  82998. };
  82999. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  83000. call$0() {
  83001. var t2, t3, _i,
  83002. t1 = this.$this,
  83003. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83004. if (styleRule == null)
  83005. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  83006. t2[_i].accept$1(t1);
  83007. else
  83008. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  83009. },
  83010. $signature: 1
  83011. };
  83012. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  83013. call$0() {
  83014. var t1, t2, t3, _i;
  83015. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83016. t1[_i].accept$1(t3);
  83017. },
  83018. $signature: 1
  83019. };
  83020. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  83021. call$1(node) {
  83022. var t1;
  83023. if (!type$.CssStyleRule_2._is(node)) {
  83024. t1 = this.mergedSources;
  83025. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  83026. } else
  83027. t1 = true;
  83028. return t1;
  83029. },
  83030. $signature: 7
  83031. };
  83032. A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
  83033. call$0() {
  83034. var t1 = A.SpanScanner$(this.resolved, null);
  83035. return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
  83036. },
  83037. $signature: 109
  83038. };
  83039. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  83040. call$0() {
  83041. return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
  83042. },
  83043. $signature: 48
  83044. };
  83045. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  83046. call$0() {
  83047. var t1, t2, t3, _i;
  83048. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83049. t1[_i].accept$1(t3);
  83050. },
  83051. $signature: 1
  83052. };
  83053. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  83054. call$1(node) {
  83055. return type$.CssStyleRule_2._is(node);
  83056. },
  83057. $signature: 7
  83058. };
  83059. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  83060. call$0() {
  83061. var _s11_ = "_stylesheet",
  83062. t1 = this.$this;
  83063. return A.SelectorList_SelectorList$parse0(this.selectorText.value, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, t1._evaluate0$_logger);
  83064. },
  83065. $signature: 50
  83066. };
  83067. A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
  83068. call$0() {
  83069. var t1 = this._box_0.parsedSelector,
  83070. t2 = this.$this,
  83071. t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
  83072. t3 = t3 == null ? null : t3.originalSelector;
  83073. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
  83074. },
  83075. $signature: 50
  83076. };
  83077. A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
  83078. call$0() {
  83079. var t1 = this.$this;
  83080. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  83081. },
  83082. $signature: 1
  83083. };
  83084. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  83085. call$0() {
  83086. var t1, t2, t3, _i;
  83087. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83088. t1[_i].accept$1(t3);
  83089. },
  83090. $signature: 1
  83091. };
  83092. A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
  83093. call$1(node) {
  83094. return type$.CssStyleRule_2._is(node);
  83095. },
  83096. $signature: 7
  83097. };
  83098. A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
  83099. call$1(child) {
  83100. return type$.CssComment_2._is(child);
  83101. },
  83102. $signature: 110
  83103. };
  83104. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  83105. call$0() {
  83106. var t2, t3, _i,
  83107. t1 = this.$this,
  83108. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83109. if (styleRule == null)
  83110. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  83111. t2[_i].accept$1(t1);
  83112. else
  83113. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  83114. },
  83115. $signature: 1
  83116. };
  83117. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  83118. call$0() {
  83119. var t1, t2, t3, _i;
  83120. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83121. t1[_i].accept$1(t3);
  83122. },
  83123. $signature: 1
  83124. };
  83125. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  83126. call$1(node) {
  83127. return type$.CssStyleRule_2._is(node);
  83128. },
  83129. $signature: 7
  83130. };
  83131. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  83132. call$0() {
  83133. var t1 = this.override;
  83134. this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  83135. },
  83136. $signature: 1
  83137. };
  83138. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  83139. call$0() {
  83140. var t1 = this.node;
  83141. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  83142. },
  83143. $signature: 40
  83144. };
  83145. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  83146. call$0() {
  83147. var t1 = this.$this,
  83148. t2 = this.node;
  83149. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  83150. },
  83151. $signature: 1
  83152. };
  83153. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  83154. call$1(module) {
  83155. var t1 = this.node;
  83156. this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  83157. },
  83158. $signature: 74
  83159. };
  83160. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  83161. call$0() {
  83162. return this.node.expression.accept$1(this.$this);
  83163. },
  83164. $signature: 49
  83165. };
  83166. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  83167. call$0() {
  83168. var t1, t2, t3, result;
  83169. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  83170. result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  83171. if (result != null)
  83172. return result;
  83173. }
  83174. return null;
  83175. },
  83176. $signature: 40
  83177. };
  83178. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  83179. call$1(child) {
  83180. return child.accept$1(this.$this);
  83181. },
  83182. $signature: 77
  83183. };
  83184. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  83185. call$0() {
  83186. var right, result,
  83187. t1 = this.node,
  83188. t2 = this.$this,
  83189. left = t1.left.accept$1(t2),
  83190. t3 = t1.operator;
  83191. switch (t3) {
  83192. case B.BinaryOperator_axY0:
  83193. right = t1.right.accept$1(t2);
  83194. return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  83195. case B.BinaryOperator_or_or_1_or0:
  83196. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  83197. case B.BinaryOperator_and_and_2_and0:
  83198. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  83199. case B.BinaryOperator_nZh0:
  83200. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83201. case B.BinaryOperator_Vr90:
  83202. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83203. case B.BinaryOperator_cw10:
  83204. return left.greaterThan$1(t1.right.accept$1(t2));
  83205. case B.BinaryOperator_Wma0:
  83206. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  83207. case B.BinaryOperator_apg0:
  83208. return left.lessThan$1(t1.right.accept$1(t2));
  83209. case B.BinaryOperator_oqF0:
  83210. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  83211. case B.BinaryOperator_qbf0:
  83212. return left.plus$1(t1.right.accept$1(t2));
  83213. case B.BinaryOperator_KlB0:
  83214. return left.minus$1(t1.right.accept$1(t2));
  83215. case B.BinaryOperator_6pl0:
  83216. return left.times$1(t1.right.accept$1(t2));
  83217. case B.BinaryOperator_qpm0:
  83218. right = t1.right.accept$1(t2);
  83219. result = left.dividedBy$1(right);
  83220. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  83221. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  83222. else {
  83223. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  83224. t2._evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  83225. return result;
  83226. }
  83227. case B.BinaryOperator_PHH0:
  83228. return left.modulo$1(t1.right.accept$1(t2));
  83229. default:
  83230. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  83231. }
  83232. },
  83233. $signature: 49
  83234. };
  83235. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
  83236. call$1(expression) {
  83237. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_qpm0)
  83238. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  83239. else if (expression instanceof A.ParenthesizedExpression0)
  83240. return expression.expression.toString$0(0);
  83241. else
  83242. return expression.toString$0(0);
  83243. },
  83244. $signature: 113
  83245. };
  83246. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  83247. call$0() {
  83248. var t1 = this.node;
  83249. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  83250. },
  83251. $signature: 40
  83252. };
  83253. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  83254. call$0() {
  83255. var _this = this,
  83256. t1 = _this.node.operator;
  83257. switch (t1) {
  83258. case B.UnaryOperator_gg40:
  83259. return _this.operand.unaryPlus$0();
  83260. case B.UnaryOperator_TLI0:
  83261. return _this.operand.unaryMinus$0();
  83262. case B.UnaryOperator_Ix10:
  83263. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  83264. case B.UnaryOperator_not_not_not0:
  83265. return _this.operand.unaryNot$0();
  83266. default:
  83267. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  83268. }
  83269. },
  83270. $signature: 49
  83271. };
  83272. A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
  83273. call$0() {
  83274. var t1 = this.$this,
  83275. t2 = this.node,
  83276. t3 = this.inMinMax;
  83277. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), t1._evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
  83278. },
  83279. $signature: 85
  83280. };
  83281. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  83282. call$1(expression) {
  83283. return expression.accept$1(this.$this);
  83284. },
  83285. $signature: 404
  83286. };
  83287. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  83288. call$0() {
  83289. var t1 = this.node;
  83290. return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  83291. },
  83292. $signature: 131
  83293. };
  83294. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  83295. call$0() {
  83296. var t1 = this.node;
  83297. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  83298. },
  83299. $signature: 49
  83300. };
  83301. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  83302. call$0() {
  83303. var t1 = this.node;
  83304. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  83305. },
  83306. $signature: 49
  83307. };
  83308. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  83309. call$0() {
  83310. var _this = this,
  83311. t1 = _this.$this,
  83312. t2 = _this.callable;
  83313. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  83314. },
  83315. $signature() {
  83316. return this.V._eval$1("0()");
  83317. }
  83318. };
  83319. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  83320. call$0() {
  83321. var _this = this,
  83322. t1 = _this.$this,
  83323. t2 = _this.V;
  83324. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  83325. },
  83326. $signature() {
  83327. return this.V._eval$1("0()");
  83328. }
  83329. };
  83330. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  83331. call$0() {
  83332. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  83333. t1 = _this.$this,
  83334. t2 = _this.evaluated,
  83335. t3 = t2.positional,
  83336. t4 = t2.named,
  83337. t5 = _this.callable.declaration.$arguments,
  83338. t6 = _this.nodeWithSpan;
  83339. t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  83340. declaredArguments = t5.$arguments;
  83341. t7 = declaredArguments.length;
  83342. minLength = Math.min(t3.length, t7);
  83343. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  83344. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  83345. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  83346. argument = declaredArguments[i];
  83347. t9 = argument.name;
  83348. value = t4.remove$1(0, t9);
  83349. if (value == null) {
  83350. t10 = argument.defaultValue;
  83351. value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
  83352. }
  83353. t10 = t1._evaluate0$_environment;
  83354. t11 = t8.$index(0, t9);
  83355. if (t11 == null) {
  83356. t11 = argument.defaultValue;
  83357. t11.toString;
  83358. t11 = t1._evaluate0$_expressionNode$1(t11);
  83359. }
  83360. t10.setLocalVariable$3(t9, value, t11);
  83361. }
  83362. restArgument = t5.restArgument;
  83363. if (restArgument != null) {
  83364. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  83365. t2 = t2.separator;
  83366. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  83367. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  83368. } else
  83369. argumentList = null;
  83370. result = _this.run.call$0();
  83371. if (argumentList == null)
  83372. return result;
  83373. t2 = t4.__js_helper$_length;
  83374. if (t2 === 0)
  83375. return result;
  83376. if (argumentList._argument_list$_wereKeywordsAccessed)
  83377. return result;
  83378. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  83379. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", t2, null) + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t4, t3), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t3._eval$1("Iterable.E"), type$.Object), "or") + ".", t6.get$span(t6), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t5.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t6.get$span(t6))));
  83380. },
  83381. $signature() {
  83382. return this.V._eval$1("0()");
  83383. }
  83384. };
  83385. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  83386. call$1($name) {
  83387. return "$" + $name;
  83388. },
  83389. $signature: 5
  83390. };
  83391. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  83392. call$0() {
  83393. var t1, t2, t3, t4, _i, $returnValue;
  83394. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  83395. $returnValue = t2[_i].accept$1(t4);
  83396. if ($returnValue instanceof A.Value0)
  83397. return $returnValue;
  83398. }
  83399. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  83400. },
  83401. $signature: 49
  83402. };
  83403. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  83404. call$0() {
  83405. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  83406. },
  83407. $signature: 0
  83408. };
  83409. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  83410. call$1($name) {
  83411. return "$" + $name;
  83412. },
  83413. $signature: 5
  83414. };
  83415. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  83416. call$1(value) {
  83417. return value;
  83418. },
  83419. $signature: 39
  83420. };
  83421. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  83422. call$1(value) {
  83423. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  83424. },
  83425. $signature: 39
  83426. };
  83427. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  83428. call$2(key, value) {
  83429. var _this = this,
  83430. t1 = _this.restNodeForSpan;
  83431. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  83432. _this.namedNodes.$indexSet(0, key, t1);
  83433. },
  83434. $signature: 95
  83435. };
  83436. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  83437. call$1(value) {
  83438. return value;
  83439. },
  83440. $signature: 39
  83441. };
  83442. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  83443. call$1(value) {
  83444. var t1 = this.restArgs;
  83445. return new A.ValueExpression0(value, t1.get$span(t1));
  83446. },
  83447. $signature: 59
  83448. };
  83449. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  83450. call$1(value) {
  83451. var t1 = this.restArgs;
  83452. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  83453. },
  83454. $signature: 59
  83455. };
  83456. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  83457. call$2(key, value) {
  83458. var _this = this,
  83459. t1 = _this.restArgs;
  83460. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  83461. },
  83462. $signature: 95
  83463. };
  83464. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  83465. call$1(value) {
  83466. var t1 = this.keywordRestArgs;
  83467. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  83468. },
  83469. $signature: 59
  83470. };
  83471. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  83472. call$2(key, value) {
  83473. var t2, _this = this,
  83474. t1 = _this.$this;
  83475. if (key instanceof A.SassString0)
  83476. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  83477. else {
  83478. t2 = _this.nodeWithSpan;
  83479. throw A.wrapException(t1._evaluate0$_exception$2(string$.Variab_ + key.toString$0(0) + " is not a string in " + _this.map.toString$0(0) + ".", t2.get$span(t2)));
  83480. }
  83481. },
  83482. $signature: 58
  83483. };
  83484. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  83485. call$0() {
  83486. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  83487. },
  83488. $signature: 0
  83489. };
  83490. A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
  83491. call$1(value) {
  83492. var t1, result;
  83493. if (typeof value == "string")
  83494. return value;
  83495. type$.Expression_2._as(value);
  83496. t1 = this.$this;
  83497. result = value.accept$1(t1);
  83498. return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
  83499. },
  83500. $signature: 46
  83501. };
  83502. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  83503. call$0() {
  83504. var t1, t2, t3, t4;
  83505. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83506. t4 = t1.__internal$_current;
  83507. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83508. }
  83509. },
  83510. $signature: 1
  83511. };
  83512. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  83513. call$1(node) {
  83514. return type$.CssStyleRule_2._is(node);
  83515. },
  83516. $signature: 7
  83517. };
  83518. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  83519. call$0() {
  83520. var t1, t2, t3, t4;
  83521. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83522. t4 = t1.__internal$_current;
  83523. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83524. }
  83525. },
  83526. $signature: 1
  83527. };
  83528. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  83529. call$1(node) {
  83530. return type$.CssStyleRule_2._is(node);
  83531. },
  83532. $signature: 7
  83533. };
  83534. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  83535. call$1(mediaQueries) {
  83536. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  83537. },
  83538. $signature: 79
  83539. };
  83540. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  83541. call$0() {
  83542. var _this = this,
  83543. t1 = _this.$this,
  83544. t2 = _this.mergedQueries;
  83545. if (t2 == null)
  83546. t2 = _this.node.queries;
  83547. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  83548. },
  83549. $signature: 1
  83550. };
  83551. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  83552. call$0() {
  83553. var t2, t3, t4,
  83554. t1 = this.$this,
  83555. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83556. if (styleRule == null)
  83557. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  83558. t4 = t2.__internal$_current;
  83559. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  83560. }
  83561. else
  83562. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  83563. },
  83564. $signature: 1
  83565. };
  83566. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  83567. call$0() {
  83568. var t1, t2, t3, t4;
  83569. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83570. t4 = t1.__internal$_current;
  83571. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83572. }
  83573. },
  83574. $signature: 1
  83575. };
  83576. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  83577. call$1(node) {
  83578. var t1;
  83579. if (!type$.CssStyleRule_2._is(node)) {
  83580. t1 = this.mergedSources;
  83581. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  83582. } else
  83583. t1 = true;
  83584. return t1;
  83585. },
  83586. $signature: 7
  83587. };
  83588. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  83589. call$0() {
  83590. var t1 = this.$this;
  83591. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  83592. },
  83593. $signature: 1
  83594. };
  83595. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  83596. call$0() {
  83597. var t1, t2, t3, t4;
  83598. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83599. t4 = t1.__internal$_current;
  83600. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83601. }
  83602. },
  83603. $signature: 1
  83604. };
  83605. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  83606. call$1(node) {
  83607. return type$.CssStyleRule_2._is(node);
  83608. },
  83609. $signature: 7
  83610. };
  83611. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  83612. call$0() {
  83613. var t2, t3, t4,
  83614. t1 = this.$this,
  83615. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83616. if (styleRule == null)
  83617. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  83618. t4 = t2.__internal$_current;
  83619. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  83620. }
  83621. else
  83622. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  83623. },
  83624. $signature: 1
  83625. };
  83626. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  83627. call$0() {
  83628. var t1, t2, t3, t4;
  83629. for (t1 = this.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = this.$this, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83630. t4 = t1.__internal$_current;
  83631. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83632. }
  83633. },
  83634. $signature: 1
  83635. };
  83636. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  83637. call$1(node) {
  83638. return type$.CssStyleRule_2._is(node);
  83639. },
  83640. $signature: 7
  83641. };
  83642. A._EvaluateVisitor__performInterpolation_closure1.prototype = {
  83643. call$1(value) {
  83644. var t1, result, t2, t3;
  83645. if (typeof value == "string")
  83646. return value;
  83647. type$.Expression_2._as(value);
  83648. t1 = this.$this;
  83649. result = value.accept$1(t1);
  83650. if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  83651. t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
  83652. t3 = $.$get$namesByColor0();
  83653. t1._evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_qbf0, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  83654. }
  83655. return t1._evaluate0$_serialize$3$quote(result, value, false);
  83656. },
  83657. $signature: 46
  83658. };
  83659. A._EvaluateVisitor__serialize_closure1.prototype = {
  83660. call$0() {
  83661. return A.serializeValue0(this.value, false, this.quote);
  83662. },
  83663. $signature: 30
  83664. };
  83665. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  83666. call$0() {
  83667. var t1 = this.expression;
  83668. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  83669. },
  83670. $signature: 191
  83671. };
  83672. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  83673. call$1(number) {
  83674. var asSlash = number.asSlash;
  83675. if (asSlash != null)
  83676. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  83677. else
  83678. return A.serializeValue0(number, true, true);
  83679. },
  83680. $signature: 192
  83681. };
  83682. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  83683. call$1(url) {
  83684. var t1 = this.$this._evaluate0$_importCache;
  83685. t1 = t1 == null ? null : t1.humanize$1(url);
  83686. return t1 == null ? url : t1;
  83687. },
  83688. $signature: 81
  83689. };
  83690. A._EvaluateVisitor__stackTrace_closure1.prototype = {
  83691. call$1(tuple) {
  83692. return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  83693. },
  83694. $signature: 193
  83695. };
  83696. A._ImportedCssVisitor1.prototype = {
  83697. visitCssAtRule$1(node) {
  83698. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  83699. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  83700. },
  83701. visitCssComment$1(node) {
  83702. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  83703. },
  83704. visitCssDeclaration$1(node) {
  83705. },
  83706. visitCssImport$1(node) {
  83707. var t2,
  83708. _s13_ = "_endOfImports",
  83709. t1 = this._evaluate0$_visitor;
  83710. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  83711. t1._evaluate0$_addChild$1(node);
  83712. else if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) === J.get$length$asx(t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root").children._collection$_source)) {
  83713. t1._evaluate0$_addChild$1(node);
  83714. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  83715. } else {
  83716. t2 = t1._evaluate0$_outOfOrderImports;
  83717. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  83718. }
  83719. },
  83720. visitCssKeyframeBlock$1(node) {
  83721. },
  83722. visitCssMediaRule$1(node) {
  83723. var t1 = this._evaluate0$_visitor,
  83724. mediaQueries = t1._evaluate0$_mediaQueries;
  83725. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  83726. },
  83727. visitCssStyleRule$1(node) {
  83728. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  83729. },
  83730. visitCssStylesheet$1(node) {
  83731. var t1, t2, t3;
  83732. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83733. t3 = t1.__internal$_current;
  83734. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  83735. }
  83736. },
  83737. visitCssSupportsRule$1(node) {
  83738. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  83739. }
  83740. };
  83741. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  83742. call$1(node) {
  83743. return type$.CssStyleRule_2._is(node);
  83744. },
  83745. $signature: 7
  83746. };
  83747. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  83748. call$1(node) {
  83749. var t1;
  83750. if (!type$.CssStyleRule_2._is(node))
  83751. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  83752. else
  83753. t1 = true;
  83754. return t1;
  83755. },
  83756. $signature: 7
  83757. };
  83758. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  83759. call$1(node) {
  83760. return type$.CssStyleRule_2._is(node);
  83761. },
  83762. $signature: 7
  83763. };
  83764. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  83765. call$1(node) {
  83766. return type$.CssStyleRule_2._is(node);
  83767. },
  83768. $signature: 7
  83769. };
  83770. A._EvaluationContext1.prototype = {
  83771. get$currentCallableSpan() {
  83772. var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
  83773. if (callableNode != null)
  83774. return callableNode.get$span(callableNode);
  83775. throw A.wrapException(A.StateError$(string$.No_Sasc));
  83776. },
  83777. warn$2$deprecation(_, message, deprecation) {
  83778. var t1 = this._evaluate0$_visitor,
  83779. t2 = t1._evaluate0$_importSpan;
  83780. if (t2 == null) {
  83781. t2 = t1._evaluate0$_callableNode;
  83782. t2 = t2 == null ? null : t2.get$span(t2);
  83783. }
  83784. t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  83785. },
  83786. $isEvaluationContext0: 1
  83787. };
  83788. A._ArgumentResults1.prototype = {};
  83789. A._LoadedStylesheet1.prototype = {};
  83790. A.EveryCssVisitor0.prototype = {
  83791. visitCssAtRule$1(node) {
  83792. var t1 = node.children;
  83793. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  83794. },
  83795. visitCssComment$1(node) {
  83796. return false;
  83797. },
  83798. visitCssDeclaration$1(node) {
  83799. return false;
  83800. },
  83801. visitCssImport$1(node) {
  83802. return false;
  83803. },
  83804. visitCssKeyframeBlock$1(node) {
  83805. var t1 = node.children;
  83806. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  83807. },
  83808. visitCssMediaRule$1(node) {
  83809. var t1 = node.children;
  83810. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  83811. },
  83812. visitCssStyleRule$1(node) {
  83813. var t1 = node.children;
  83814. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  83815. },
  83816. visitCssStylesheet$1(node) {
  83817. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  83818. },
  83819. visitCssSupportsRule$1(node) {
  83820. var t1 = node.children;
  83821. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  83822. }
  83823. };
  83824. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  83825. call$1(child) {
  83826. return child.accept$1(this.$this);
  83827. },
  83828. $signature: 7
  83829. };
  83830. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  83831. call$1(child) {
  83832. return child.accept$1(this.$this);
  83833. },
  83834. $signature: 7
  83835. };
  83836. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  83837. call$1(child) {
  83838. return child.accept$1(this.$this);
  83839. },
  83840. $signature: 7
  83841. };
  83842. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  83843. call$1(child) {
  83844. return child.accept$1(this.$this);
  83845. },
  83846. $signature: 7
  83847. };
  83848. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  83849. call$1(child) {
  83850. return child.accept$1(this.$this);
  83851. },
  83852. $signature: 7
  83853. };
  83854. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  83855. call$1(child) {
  83856. return child.accept$1(this.$this);
  83857. },
  83858. $signature: 7
  83859. };
  83860. A._NodeException.prototype = {};
  83861. A.exceptionClass_closure.prototype = {
  83862. call$0() {
  83863. var jsClass = type$.JSClass._as(new self.Function("", " return class Exception extends Error {\n constructor(dartException, message) {\n super(message);\n\n // Define this as non-enumerable so that it doesn't show up when the\n // exception hits the top level.\n Object.defineProperty(this, '_dartException', {\n value: dartException,\n enumerable: false\n });\n }\n\n toString() {\n return this.message;\n }\n }\n ").call$0());
  83864. A.defineGetter(jsClass, "name", null, "sass.Exception");
  83865. A.LinkedHashMap_LinkedHashMap$_literal(["sassMessage", new A.exceptionClass__closure(), "sassStack", new A.exceptionClass__closure0(), "span", new A.exceptionClass__closure1()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  83866. return jsClass;
  83867. },
  83868. $signature: 25
  83869. };
  83870. A.exceptionClass__closure.prototype = {
  83871. call$1(exception) {
  83872. return J.get$_dartException$x(exception)._span_exception$_message;
  83873. },
  83874. $signature: 221
  83875. };
  83876. A.exceptionClass__closure0.prototype = {
  83877. call$1(exception) {
  83878. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  83879. },
  83880. $signature: 221
  83881. };
  83882. A.exceptionClass__closure1.prototype = {
  83883. call$1(exception) {
  83884. var t1 = J.get$_dartException$x(exception),
  83885. t2 = J.getInterceptor$z(t1);
  83886. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  83887. },
  83888. $signature: 406
  83889. };
  83890. A.SassException0.prototype = {
  83891. get$trace(_) {
  83892. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  83893. },
  83894. get$span(_) {
  83895. return A.SourceSpanException.prototype.get$span.call(this, this);
  83896. },
  83897. toString$1$color(_, color) {
  83898. var t2, _i, frame, t3, _this = this,
  83899. buffer = new A.StringBuffer(""),
  83900. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  83901. buffer._contents = t1;
  83902. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  83903. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83904. frame = t1[_i];
  83905. if (J.get$length$asx(frame) === 0)
  83906. continue;
  83907. t3 = buffer._contents += "\n";
  83908. buffer._contents = t3 + (" " + A.S(frame));
  83909. }
  83910. t1 = buffer._contents;
  83911. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83912. },
  83913. toString$0($receiver) {
  83914. return this.toString$1$color($receiver, null);
  83915. }
  83916. };
  83917. A.MultiSpanSassException0.prototype = {
  83918. toString$1$color(_, color) {
  83919. var t1, t2, _i, frame, _this = this,
  83920. useColor = color === true && true,
  83921. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  83922. A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  83923. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83924. frame = t1[_i];
  83925. if (J.get$length$asx(frame) === 0)
  83926. continue;
  83927. buffer._contents += "\n";
  83928. buffer._contents += " " + A.S(frame);
  83929. }
  83930. t1 = buffer._contents;
  83931. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83932. },
  83933. toString$0($receiver) {
  83934. return this.toString$1$color($receiver, null);
  83935. }
  83936. };
  83937. A.SassRuntimeException0.prototype = {
  83938. get$trace(receiver) {
  83939. return this.trace;
  83940. }
  83941. };
  83942. A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
  83943. get$trace(receiver) {
  83944. return this.trace;
  83945. }
  83946. };
  83947. A.SassFormatException0.prototype = {
  83948. get$source() {
  83949. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  83950. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  83951. },
  83952. $isFormatException: 1,
  83953. $isSourceSpanFormatException: 1
  83954. };
  83955. A.SassScriptException0.prototype = {
  83956. toString$0(_) {
  83957. return this.message + string$.x0a_BUG_;
  83958. },
  83959. get$message(receiver) {
  83960. return this.message;
  83961. }
  83962. };
  83963. A.MultiSpanSassScriptException0.prototype = {};
  83964. A.Exports.prototype = {};
  83965. A.LoggerNamespace.prototype = {};
  83966. A.ExtendRule0.prototype = {
  83967. accept$1$1(visitor) {
  83968. return visitor.visitExtendRule$1(this);
  83969. },
  83970. accept$1(visitor) {
  83971. return this.accept$1$1(visitor, type$.dynamic);
  83972. },
  83973. toString$0(_) {
  83974. var t1 = this.selector.toString$0(0),
  83975. t2 = this.isOptional ? " !optional" : "";
  83976. return "@extend " + t1 + t2 + ";";
  83977. },
  83978. $isAstNode0: 1,
  83979. $isStatement0: 1,
  83980. get$span(receiver) {
  83981. return this.span;
  83982. }
  83983. };
  83984. A.Extension0.prototype = {
  83985. toString$0(_) {
  83986. var t1 = this.extender.toString$0(0),
  83987. t2 = this.target.toString$0(0),
  83988. t3 = this.isOptional ? " !optional" : "";
  83989. return t1 + " {@extend " + t2 + t3 + "}";
  83990. }
  83991. };
  83992. A.Extender0.prototype = {
  83993. assertCompatibleMediaContext$1(mediaContext) {
  83994. var expectedMediaContext,
  83995. extension = this._extension$_extension;
  83996. if (extension == null)
  83997. return;
  83998. expectedMediaContext = extension.mediaContext;
  83999. if (expectedMediaContext == null)
  84000. return;
  84001. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  84002. return;
  84003. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
  84004. },
  84005. toString$0(_) {
  84006. return A.serializeSelector0(this.selector, true);
  84007. }
  84008. };
  84009. A.ExtensionStore0.prototype = {
  84010. get$isEmpty(_) {
  84011. return this._extension_store$_extensions.__js_helper$_length === 0;
  84012. },
  84013. get$simpleSelectors() {
  84014. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  84015. },
  84016. extensionsWhereTarget$1($async$callback) {
  84017. var $async$self = this;
  84018. return A._makeSyncStarIterable(function() {
  84019. var callback = $async$callback;
  84020. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  84021. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  84022. if ($async$errorCode === 1) {
  84023. $async$currentError = $async$result;
  84024. $async$goto = $async$handler;
  84025. }
  84026. while (true)
  84027. switch ($async$goto) {
  84028. case 0:
  84029. // Function start
  84030. t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  84031. case 2:
  84032. // for condition
  84033. if (!t1.moveNext$0()) {
  84034. // goto after for
  84035. $async$goto = 3;
  84036. break;
  84037. }
  84038. t2 = t1.get$current(t1);
  84039. if (!callback.call$1(t2.key)) {
  84040. // goto for condition
  84041. $async$goto = 2;
  84042. break;
  84043. }
  84044. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  84045. case 4:
  84046. // for condition
  84047. if (!t2.moveNext$0()) {
  84048. // goto after for
  84049. $async$goto = 5;
  84050. break;
  84051. }
  84052. t3 = t2.get$current(t2);
  84053. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  84054. break;
  84055. case 6:
  84056. // then
  84057. t3 = t3.unmerge$0();
  84058. $async$goto = 9;
  84059. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  84060. case 9:
  84061. // after yield
  84062. // goto join
  84063. $async$goto = 7;
  84064. break;
  84065. case 8:
  84066. // else
  84067. $async$goto = !t3.isOptional ? 10 : 11;
  84068. break;
  84069. case 10:
  84070. // then
  84071. $async$goto = 12;
  84072. return t3;
  84073. case 12:
  84074. // after yield
  84075. case 11:
  84076. // join
  84077. case 7:
  84078. // join
  84079. // goto for condition
  84080. $async$goto = 4;
  84081. break;
  84082. case 5:
  84083. // after for
  84084. // goto for condition
  84085. $async$goto = 2;
  84086. break;
  84087. case 3:
  84088. // after for
  84089. // implicit return
  84090. return A._IterationMarker_endOfIteration();
  84091. case 1:
  84092. // rethrow
  84093. return A._IterationMarker_uncaughtError($async$currentError);
  84094. }
  84095. };
  84096. }, type$.Extension_2);
  84097. },
  84098. addSelector$3(selector, selectorSpan, mediaContext) {
  84099. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  84100. selector = selector;
  84101. originalSelector = selector;
  84102. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  84103. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
  84104. t3.add$1(0, t1[_i]);
  84105. t1 = _this._extension_store$_extensions;
  84106. if (t1.__js_helper$_length !== 0)
  84107. try {
  84108. selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
  84109. } catch (exception) {
  84110. t1 = A.unwrapException(exception);
  84111. if (t1 instanceof A.SassException0) {
  84112. error = t1;
  84113. stackTrace = A.getTraceFromException(exception);
  84114. t1 = error;
  84115. t2 = J.getInterceptor$z(t1);
  84116. t3 = error;
  84117. t4 = J.getInterceptor$z(t3);
  84118. A.throwWithTrace0(new A.SassException0("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  84119. } else
  84120. throw exception;
  84121. }
  84122. modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
  84123. if (mediaContext != null)
  84124. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  84125. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  84126. return modifiableSelector;
  84127. },
  84128. _extension_store$_registerSelector$2(list, selector) {
  84129. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  84130. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
  84131. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  84132. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  84133. simple = t6[_i1];
  84134. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  84135. if (!(simple instanceof A.PseudoSelector0))
  84136. continue;
  84137. selectorInPseudo = simple.selector;
  84138. if (selectorInPseudo != null)
  84139. this._extension_store$_registerSelector$2(selectorInPseudo, selector);
  84140. }
  84141. },
  84142. addExtension$4(extender, target, extend, mediaContext) {
  84143. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
  84144. selectors = _this._extension_store$_selectors.$index(0, target),
  84145. t1 = _this._extension_store$_extensionsByExtender,
  84146. existingExtensions = t1.$index(0, target),
  84147. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  84148. for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector_2, t11 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
  84149. complex = t2[_i];
  84150. if (complex.accept$1(B.C__IsUselessVisitor0))
  84151. continue;
  84152. complex.get$specificity();
  84153. t12 = new A.Extender0(complex, false, t6);
  84154. extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
  84155. existingExtension = sources.$index(0, complex);
  84156. if (existingExtension != null) {
  84157. sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
  84158. continue;
  84159. }
  84160. sources.$indexSet(0, complex, extension);
  84161. for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
  84162. t13 = t12.get$current(t12);
  84163. J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
  84164. t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
  84165. }
  84166. if (!t4 || t9) {
  84167. if (newExtensions == null)
  84168. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
  84169. newExtensions.$indexSet(0, complex, extension);
  84170. }
  84171. }
  84172. if (newExtensions == null)
  84173. return;
  84174. t1 = type$.SimpleSelector_2;
  84175. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  84176. if (t9) {
  84177. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  84178. if (additionalExtensions != null)
  84179. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
  84180. }
  84181. if (!t4)
  84182. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  84183. },
  84184. _extension_store$_simpleSelectors$1(complex) {
  84185. return this._simpleSelectors$body$ExtensionStore0(complex);
  84186. },
  84187. _simpleSelectors$body$ExtensionStore0($async$complex) {
  84188. var $async$self = this;
  84189. return A._makeSyncStarIterable(function() {
  84190. var complex = $async$complex;
  84191. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  84192. return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
  84193. if ($async$errorCode === 1) {
  84194. $async$currentError = $async$result;
  84195. $async$goto = $async$handler;
  84196. }
  84197. while (true)
  84198. switch ($async$goto) {
  84199. case 0:
  84200. // Function start
  84201. t1 = complex.components, t2 = t1.length, _i = 0;
  84202. case 2:
  84203. // for condition
  84204. if (!(_i < t2)) {
  84205. // goto after for
  84206. $async$goto = 4;
  84207. break;
  84208. }
  84209. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  84210. case 5:
  84211. // for condition
  84212. if (!(_i0 < t4)) {
  84213. // goto after for
  84214. $async$goto = 7;
  84215. break;
  84216. }
  84217. simple = t3[_i0];
  84218. $async$goto = 8;
  84219. return simple;
  84220. case 8:
  84221. // after yield
  84222. if (!(simple instanceof A.PseudoSelector0)) {
  84223. // goto for update
  84224. $async$goto = 6;
  84225. break;
  84226. }
  84227. selector = simple.selector;
  84228. if (selector == null) {
  84229. // goto for update
  84230. $async$goto = 6;
  84231. break;
  84232. }
  84233. t5 = selector.components, t6 = t5.length, _i1 = 0;
  84234. case 9:
  84235. // for condition
  84236. if (!(_i1 < t6)) {
  84237. // goto after for
  84238. $async$goto = 11;
  84239. break;
  84240. }
  84241. $async$goto = 12;
  84242. return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
  84243. case 12:
  84244. // after yield
  84245. case 10:
  84246. // for update
  84247. ++_i1;
  84248. // goto for condition
  84249. $async$goto = 9;
  84250. break;
  84251. case 11:
  84252. // after for
  84253. case 6:
  84254. // for update
  84255. ++_i0;
  84256. // goto for condition
  84257. $async$goto = 5;
  84258. break;
  84259. case 7:
  84260. // after for
  84261. case 3:
  84262. // for update
  84263. ++_i;
  84264. // goto for condition
  84265. $async$goto = 2;
  84266. break;
  84267. case 4:
  84268. // after for
  84269. // implicit return
  84270. return A._IterationMarker_endOfIteration();
  84271. case 1:
  84272. // rethrow
  84273. return A._IterationMarker_uncaughtError($async$currentError);
  84274. }
  84275. };
  84276. }, type$.SimpleSelector_2);
  84277. },
  84278. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  84279. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, containsExtension, first, _i0, complex, t10, t11, t12, t13, t14, withExtender, existingExtension, _i1, _i2;
  84280. for (t1 = J.toList$0$ax(extensions), t2 = t1.length, t3 = this._extension_store$_extensionsByExtender, t4 = type$.SimpleSelector_2, t5 = type$.Map_ComplexSelector_Extension_2, t6 = this._extension_store$_extensions, additionalExtensions = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  84281. extension = t1[_i];
  84282. t7 = t6.$index(0, extension.target);
  84283. t7.toString;
  84284. selectors = null;
  84285. try {
  84286. selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
  84287. if (selectors == null)
  84288. continue;
  84289. } catch (exception) {
  84290. t8 = A.unwrapException(exception);
  84291. if (t8 instanceof A.SassException0) {
  84292. error = t8;
  84293. stackTrace = A.getTraceFromException(exception);
  84294. t8 = error;
  84295. t9 = J.getInterceptor$z(t8);
  84296. A.throwWithTrace0(new A.SassException0("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
  84297. } else
  84298. throw exception;
  84299. }
  84300. t8 = J.get$first$ax(selectors);
  84301. t9 = extension.extender.selector;
  84302. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  84303. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  84304. complex = t8[_i0];
  84305. if (containsExtension && first) {
  84306. first = false;
  84307. continue;
  84308. }
  84309. t10 = extension;
  84310. t11 = t10.extender;
  84311. t12 = t10.target;
  84312. t13 = t10.span;
  84313. t14 = t10.mediaContext;
  84314. t10 = t10.isOptional;
  84315. complex.get$specificity();
  84316. t11 = new A.Extender0(complex, false, t11.span);
  84317. withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
  84318. existingExtension = t7.$index(0, complex);
  84319. if (existingExtension != null)
  84320. t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
  84321. else {
  84322. t7.$indexSet(0, complex, withExtender);
  84323. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  84324. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  84325. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  84326. if (newExtensions.containsKey$1(extension.target)) {
  84327. if (additionalExtensions == null)
  84328. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  84329. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
  84330. }
  84331. }
  84332. }
  84333. if (!containsExtension)
  84334. t7.remove$1(0, extension.extender);
  84335. }
  84336. return additionalExtensions;
  84337. },
  84338. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  84339. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  84340. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  84341. selector = t1.get$current(t1);
  84342. oldValue = selector.value;
  84343. try {
  84344. selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
  84345. } catch (exception) {
  84346. t3 = A.unwrapException(exception);
  84347. if (t3 instanceof A.SassException0) {
  84348. error = t3;
  84349. stackTrace = A.getTraceFromException(exception);
  84350. t3 = error;
  84351. t4 = J.getInterceptor$z(t3);
  84352. A.throwWithTrace0(new A.SassException0("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  84353. } else
  84354. throw exception;
  84355. }
  84356. if (oldValue === selector.value)
  84357. continue;
  84358. this._extension_store$_registerSelector$2(selector.value, selector);
  84359. }
  84360. },
  84361. addExtensions$1(extensionStores) {
  84362. var t1, t2, t3, _box_0 = {};
  84363. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  84364. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
  84365. t3 = t1.get$current(t1);
  84366. if (t3.get$isEmpty(t3))
  84367. continue;
  84368. t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
  84369. t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
  84370. }
  84371. A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
  84372. },
  84373. _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
  84374. var t1, t2, t3, extended, i, complex, result, t4;
  84375. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  84376. complex = t1[i];
  84377. result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
  84378. if (result == null) {
  84379. if (extended != null)
  84380. extended.push(complex);
  84381. } else {
  84382. if (extended == null)
  84383. if (i === 0)
  84384. extended = A._setArrayType([], t3);
  84385. else {
  84386. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  84387. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  84388. }
  84389. B.JSArray_methods.addAll$1(extended, result);
  84390. }
  84391. }
  84392. if (extended == null)
  84393. return list;
  84394. t1 = this._extension_store$_originals;
  84395. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
  84396. },
  84397. _extension_store$_extendList$3(list, listSpan, extensions) {
  84398. return this._extension_store$_extendList$4(list, listSpan, extensions, null);
  84399. },
  84400. _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
  84401. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, t11, extendedNotExpanded, i, component, extended, t12, result, t13, t14, t15, t16, _null = null,
  84402. _s56_ = string$.leadin,
  84403. _box_0 = {},
  84404. t1 = complex.leadingCombinators,
  84405. t2 = t1.length;
  84406. if (t2 > 1)
  84407. return _null;
  84408. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  84409. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector_2, t6 = type$.Combinator_2, t7 = type$.ComplexSelectorComponent_2, t8 = complex.lineBreak, t9 = !t8, t10 = type$.JSArray_ComplexSelector_2, t2 = t2 === 0, t11 = type$.JSArray_ComplexSelectorComponent_2, extendedNotExpanded = _null, i = 0; i < t4; ++i) {
  84410. component = t3[i];
  84411. extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
  84412. if (extended == null) {
  84413. if (extendedNotExpanded != null) {
  84414. t12 = A._setArrayType([component], t11);
  84415. result = A.List_List$from(B.List_empty13, false, t6);
  84416. result.fixed$length = Array;
  84417. result.immutable$list = Array;
  84418. t13 = result;
  84419. result = A.List_List$from(t12, false, t7);
  84420. result.fixed$length = Array;
  84421. result.immutable$list = Array;
  84422. t12 = result;
  84423. if (t13.length === 0 && t12.length === 0)
  84424. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84425. extendedNotExpanded.push(A._setArrayType([new A.ComplexSelector0(t13, t12, t8)], t10));
  84426. }
  84427. } else if (extendedNotExpanded != null)
  84428. extendedNotExpanded.push(extended);
  84429. else if (i !== 0) {
  84430. t12 = A._arrayInstanceType(t3);
  84431. t13 = new A.SubListIterable(t3, 0, i, t12._eval$1("SubListIterable<1>"));
  84432. t13.SubListIterable$3(t3, 0, i, t12._precomputed1);
  84433. result = A.List_List$from(t1, false, t6);
  84434. result.fixed$length = Array;
  84435. result.immutable$list = Array;
  84436. t12 = result;
  84437. result = A.List_List$from(t13, false, t7);
  84438. result.fixed$length = Array;
  84439. result.immutable$list = Array;
  84440. t13 = result;
  84441. if (t12.length === 0 && t13.length === 0)
  84442. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84443. extendedNotExpanded = A._setArrayType([A._setArrayType([new A.ComplexSelector0(t12, t13, t8)], t10), extended], t5);
  84444. } else if (t2)
  84445. extendedNotExpanded = A._setArrayType([extended], t5);
  84446. else {
  84447. t12 = A._setArrayType([], t10);
  84448. for (t13 = J.get$iterator$ax(extended); t13.moveNext$0();) {
  84449. t14 = t13.get$current(t13);
  84450. t15 = t14.leadingCombinators;
  84451. if (t15.length === 0 || B.C_ListEquality.equals$2(0, t1, t15)) {
  84452. t15 = t14.components;
  84453. t14 = !t9 || t14.lineBreak;
  84454. result = A.List_List$from(t1, false, t6);
  84455. result.fixed$length = Array;
  84456. result.immutable$list = Array;
  84457. t16 = result;
  84458. result = A.List_List$from(t15, false, t7);
  84459. result.fixed$length = Array;
  84460. result.immutable$list = Array;
  84461. t15 = result;
  84462. if (t16.length === 0 && t15.length === 0)
  84463. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84464. t12.push(new A.ComplexSelector0(t16, t15, t14));
  84465. }
  84466. }
  84467. extendedNotExpanded = A._setArrayType([t12], t5);
  84468. }
  84469. }
  84470. if (extendedNotExpanded == null)
  84471. return _null;
  84472. _box_0.first = true;
  84473. t1 = type$.ComplexSelector_2;
  84474. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  84475. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  84476. },
  84477. _extension_store$_extendCompound$5$inOriginal(component, componentSpan, extensions, mediaQueryContext, inOriginal) {
  84478. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, options, i, simple, extended, result, t13, t14, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  84479. _s28_ = "components may not be empty.",
  84480. _s56_ = string$.leadin,
  84481. t1 = _this._extension_store$_mode,
  84482. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  84483. simples = component.selector.components;
  84484. for (t2 = simples.length, t3 = type$.JSArray_List_Extender_2, t4 = type$.JSArray_Extender_2, t5 = type$.Combinator_2, t6 = type$.JSArray_ComplexSelectorComponent_2, t7 = type$.ComplexSelectorComponent_2, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = type$.SimpleSelector_2, t11 = _this._extension_store$_sourceSpecificity, t12 = type$.JSArray_SimpleSelector_2, options = _null, i = 0; i < t2; ++i) {
  84485. simple = simples[i];
  84486. extended = _this._extension_store$_extendSimple$5(simple, componentSpan, extensions, mediaQueryContext, targetsUsed);
  84487. if (extended == null) {
  84488. if (options != null) {
  84489. result = A.List_List$from(A._setArrayType([simple], t12), false, t10);
  84490. result.fixed$length = Array;
  84491. result.immutable$list = Array;
  84492. t13 = result;
  84493. if (t13.length === 0)
  84494. A.throwExpression(A.ArgumentError$(_s28_, _null));
  84495. result = A.List_List$from(B.List_empty13, false, t5);
  84496. result.fixed$length = Array;
  84497. result.immutable$list = Array;
  84498. t13 = A._setArrayType([new A.ComplexSelectorComponent0(new A.CompoundSelector0(t13), result)], t6);
  84499. result = A.List_List$from(B.List_empty13, false, t5);
  84500. result.fixed$length = Array;
  84501. result.immutable$list = Array;
  84502. t14 = result;
  84503. result = A.List_List$from(t13, false, t7);
  84504. result.fixed$length = Array;
  84505. result.immutable$list = Array;
  84506. t13 = result;
  84507. if (t14.length === 0 && t13.length === 0)
  84508. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84509. t11.$index(0, simple);
  84510. options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t14, t13, false), true, componentSpan)], t4));
  84511. }
  84512. } else {
  84513. if (options == null) {
  84514. options = A._setArrayType([], t3);
  84515. if (i !== 0) {
  84516. t13 = new A.SubListIterable(simples, 0, i, t8);
  84517. t13.SubListIterable$3(simples, 0, i, t9);
  84518. result = A.List_List$from(t13, false, t10);
  84519. result.fixed$length = Array;
  84520. result.immutable$list = Array;
  84521. t13 = result;
  84522. compound = new A.CompoundSelector0(t13);
  84523. if (t13.length === 0)
  84524. A.throwExpression(A.ArgumentError$(_s28_, _null));
  84525. result = A.List_List$from(B.List_empty13, false, t5);
  84526. result.fixed$length = Array;
  84527. result.immutable$list = Array;
  84528. t13 = A._setArrayType([new A.ComplexSelectorComponent0(compound, result)], t6);
  84529. result = A.List_List$from(B.List_empty13, false, t5);
  84530. result.fixed$length = Array;
  84531. result.immutable$list = Array;
  84532. t14 = result;
  84533. result = A.List_List$from(t13, false, t7);
  84534. result.fixed$length = Array;
  84535. result.immutable$list = Array;
  84536. t13 = result;
  84537. if (t14.length === 0 && t13.length === 0)
  84538. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84539. _this._extension_store$_sourceSpecificityFor$1(compound);
  84540. options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t14, t13, false), true, componentSpan)], t4));
  84541. }
  84542. }
  84543. B.JSArray_methods.addAll$1(options, extended);
  84544. }
  84545. }
  84546. if (options == null)
  84547. return _null;
  84548. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  84549. return _null;
  84550. if (options.length === 1) {
  84551. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  84552. t4 = t1.get$current(t1);
  84553. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  84554. complex = t4.selector.withAdditionalCombinators$1(t2);
  84555. if (complex.accept$1(B.C__IsUselessVisitor0))
  84556. continue;
  84557. if (result == null)
  84558. result = A._setArrayType([], t3);
  84559. result.push(complex);
  84560. }
  84561. return result;
  84562. }
  84563. extenderPaths = A.paths0(options, type$.Extender_2);
  84564. t2 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84565. t1 = t1 === B.ExtendMode_replace_replace0;
  84566. t3 = !t1;
  84567. if (t3)
  84568. t2.push(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t10)), A.List_List$unmodifiable(component.combinators, t5))], t6), false));
  84569. t4 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  84570. t4 = t4.get$iterator(t4);
  84571. t5 = component.combinators;
  84572. for (; t4.moveNext$0();) {
  84573. extended = _this._extension_store$_unifyExtenders$2(t4.get$current(t4), mediaQueryContext);
  84574. if (extended == null)
  84575. continue;
  84576. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  84577. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  84578. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  84579. t2.push(withCombinators);
  84580. }
  84581. }
  84582. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  84583. return _this._extension_store$_trim$2(t2, inOriginal && t3 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t2)) : isOriginal);
  84584. },
  84585. _extension_store$_unifyExtenders$2(extenders, mediaQueryContext) {
  84586. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  84587. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  84588. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  84589. t4 = t2.get$current(t2);
  84590. if (t4.isOriginal) {
  84591. if (originals == null)
  84592. originals = A._setArrayType([], t3);
  84593. t4 = t4.selector;
  84594. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  84595. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  84596. } else {
  84597. t4 = t4.selector;
  84598. if (t4.accept$1(B.C__IsUselessVisitor0))
  84599. return _null;
  84600. else
  84601. toUnify._queue_list$_add$1(t4);
  84602. }
  84603. }
  84604. if (originals != null)
  84605. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), originalsLineBreak));
  84606. complexes = A.unifyComplex0(toUnify);
  84607. if (complexes == null)
  84608. return _null;
  84609. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  84610. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  84611. return complexes;
  84612. },
  84613. _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
  84614. var extended,
  84615. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
  84616. if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
  84617. extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
  84618. if (extended != null)
  84619. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
  84620. }
  84621. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  84622. },
  84623. _extension_store$_extenderForSimple$2(simple, span) {
  84624. var t1 = A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2)), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), false);
  84625. this._extension_store$_sourceSpecificity.$index(0, simple);
  84626. return new A.Extender0(t1, true, span);
  84627. },
  84628. _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
  84629. var extended, complexes, t1, result,
  84630. selector = pseudo.selector;
  84631. if (selector == null)
  84632. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  84633. extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
  84634. if (extended === selector)
  84635. return null;
  84636. complexes = extended.components;
  84637. t1 = pseudo.normalizedName === "not";
  84638. if (t1 && !B.JSArray_methods.any$1(selector.components, new A.ExtensionStore__extendPseudo_closure4()) && B.JSArray_methods.any$1(complexes, new A.ExtensionStore__extendPseudo_closure5()))
  84639. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  84640. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  84641. if (t1 && selector.components.length === 1) {
  84642. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  84643. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  84644. return result.length === 0 ? null : result;
  84645. } else
  84646. return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
  84647. },
  84648. _extension_store$_trim$2(selectors, isOriginal) {
  84649. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  84650. if (selectors.length > 100)
  84651. return selectors;
  84652. result = A.QueueList$(null, type$.ComplexSelector_2);
  84653. $label0$0:
  84654. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  84655. _box_0 = {};
  84656. complex1 = selectors[i];
  84657. if (isOriginal.call$1(complex1)) {
  84658. for (j = 0; j < numOriginals; ++j)
  84659. if (J.$eq$(result.$index(0, j), complex1)) {
  84660. A.rotateSlice0(result, 0, j + 1);
  84661. continue $label0$0;
  84662. }
  84663. ++numOriginals;
  84664. result.addFirst$1(complex1);
  84665. continue $label0$0;
  84666. }
  84667. _box_0.maxSpecificity = 0;
  84668. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  84669. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  84670. _box_0.maxSpecificity = maxSpecificity;
  84671. }
  84672. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  84673. continue $label0$0;
  84674. t3 = new A.SubListIterable(selectors, 0, i, t1);
  84675. t3.SubListIterable$3(selectors, 0, i, t2);
  84676. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  84677. continue $label0$0;
  84678. result.addFirst$1(complex1);
  84679. }
  84680. return result;
  84681. },
  84682. _extension_store$_sourceSpecificityFor$1(compound) {
  84683. var t1, t2, t3, specificity, _i, t4;
  84684. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  84685. t4 = t3.$index(0, t1[_i]);
  84686. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  84687. }
  84688. return specificity;
  84689. },
  84690. clone$0() {
  84691. var t3, t4, _this = this,
  84692. t1 = type$.SimpleSelector_2,
  84693. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
  84694. t2 = type$.ModifiableCssValue_SelectorList_2,
  84695. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
  84696. oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
  84697. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  84698. t2 = type$.Extension_2;
  84699. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  84700. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  84701. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
  84702. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  84703. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  84704. t4.addAll$1(0, _this._extension_store$_originals);
  84705. return new A.Tuple2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
  84706. },
  84707. get$_extension_store$_extensions() {
  84708. return this._extension_store$_extensions;
  84709. },
  84710. get$_extension_store$_sourceSpecificity() {
  84711. return this._extension_store$_sourceSpecificity;
  84712. }
  84713. };
  84714. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  84715. call$1(extension) {
  84716. return !extension.isOptional;
  84717. },
  84718. $signature: 407
  84719. };
  84720. A.ExtensionStore__registerSelector_closure0.prototype = {
  84721. call$0() {
  84722. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
  84723. },
  84724. $signature: 408
  84725. };
  84726. A.ExtensionStore_addExtension_closure2.prototype = {
  84727. call$0() {
  84728. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84729. },
  84730. $signature: 134
  84731. };
  84732. A.ExtensionStore_addExtension_closure3.prototype = {
  84733. call$0() {
  84734. return A._setArrayType([], type$.JSArray_Extension_2);
  84735. },
  84736. $signature: 223
  84737. };
  84738. A.ExtensionStore_addExtension_closure4.prototype = {
  84739. call$0() {
  84740. return this.complex.get$specificity();
  84741. },
  84742. $signature: 12
  84743. };
  84744. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  84745. call$0() {
  84746. return A._setArrayType([], type$.JSArray_Extension_2);
  84747. },
  84748. $signature: 223
  84749. };
  84750. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  84751. call$0() {
  84752. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84753. },
  84754. $signature: 134
  84755. };
  84756. A.ExtensionStore_addExtensions_closure1.prototype = {
  84757. call$2(target, newSources) {
  84758. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  84759. if (target instanceof A.PlaceholderSelector0) {
  84760. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  84761. t1 = first === 45 || first === 95;
  84762. } else
  84763. t1 = false;
  84764. if (t1)
  84765. return;
  84766. t1 = _this.$this;
  84767. extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
  84768. t2 = extensionsForTarget == null;
  84769. if (!t2) {
  84770. t3 = _this._box_0;
  84771. t4 = t3.extensionsToExtend;
  84772. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
  84773. }
  84774. selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
  84775. t3 = selectorsForTarget != null;
  84776. if (t3) {
  84777. t4 = _this._box_0;
  84778. t5 = t4.selectorsToExtend;
  84779. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
  84780. }
  84781. t1 = t1._extension_store$_extensions;
  84782. existingSources = t1.$index(0, target);
  84783. if (existingSources == null) {
  84784. t4 = type$.ComplexSelector_2;
  84785. t5 = type$.Extension_2;
  84786. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  84787. if (!t2 || t3) {
  84788. t1 = _this._box_0;
  84789. t2 = t1.newExtensions;
  84790. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  84791. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  84792. }
  84793. } else
  84794. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  84795. },
  84796. $signature: 411
  84797. };
  84798. A.ExtensionStore_addExtensions__closure4.prototype = {
  84799. call$2(extender, extension) {
  84800. var t2, _this = this,
  84801. t1 = _this.existingSources;
  84802. if (t1.containsKey$1(extender)) {
  84803. t2 = t1.$index(0, extender);
  84804. extension = A.MergedExtension_merge0(t2, extension);
  84805. t1.$indexSet(0, extender, extension);
  84806. } else
  84807. t1.$indexSet(0, extender, extension);
  84808. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  84809. t1 = _this._box_0;
  84810. t2 = t1.newExtensions;
  84811. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  84812. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
  84813. }
  84814. },
  84815. $signature: 412
  84816. };
  84817. A.ExtensionStore_addExtensions___closure0.prototype = {
  84818. call$0() {
  84819. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84820. },
  84821. $signature: 134
  84822. };
  84823. A.ExtensionStore_addExtensions_closure2.prototype = {
  84824. call$1(newExtensions) {
  84825. var t1 = this._box_0,
  84826. t2 = this.$this;
  84827. A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
  84828. A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
  84829. },
  84830. $signature: 413
  84831. };
  84832. A.ExtensionStore_addExtensions__closure2.prototype = {
  84833. call$1(extensionsToExtend) {
  84834. return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  84835. },
  84836. $signature: 414
  84837. };
  84838. A.ExtensionStore_addExtensions__closure3.prototype = {
  84839. call$1(selectorsToExtend) {
  84840. return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  84841. },
  84842. $signature: 415
  84843. };
  84844. A.ExtensionStore__extendComplex_closure0.prototype = {
  84845. call$1(path) {
  84846. var t1 = this.complex;
  84847. return J.map$1$1$ax(A.weave0(path, t1.lineBreak), new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, t1), type$.ComplexSelector_2);
  84848. },
  84849. $signature: 416
  84850. };
  84851. A.ExtensionStore__extendComplex__closure0.prototype = {
  84852. call$1(outputComplex) {
  84853. var _this = this,
  84854. t1 = _this._box_0;
  84855. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  84856. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  84857. t1.first = false;
  84858. return outputComplex;
  84859. },
  84860. $signature: 69
  84861. };
  84862. A.ExtensionStore__extendCompound_closure2.prototype = {
  84863. call$1(extender) {
  84864. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  84865. },
  84866. $signature: 418
  84867. };
  84868. A.ExtensionStore__extendCompound_closure3.prototype = {
  84869. call$1(_) {
  84870. return false;
  84871. },
  84872. $signature: 15
  84873. };
  84874. A.ExtensionStore__extendCompound_closure4.prototype = {
  84875. call$1(complex) {
  84876. return complex.$eq(0, this.original);
  84877. },
  84878. $signature: 15
  84879. };
  84880. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  84881. call$1(simple) {
  84882. var t1, t2, _this = this,
  84883. extensionsForSimple = _this.extensions.$index(0, simple);
  84884. if (extensionsForSimple == null)
  84885. return null;
  84886. t1 = _this.targetsUsed;
  84887. if (t1 != null)
  84888. t1.add$1(0, simple);
  84889. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  84890. t2 = _this.$this;
  84891. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  84892. t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
  84893. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  84894. t1.push(t2.get$current(t2).extender);
  84895. return t1;
  84896. },
  84897. $signature: 419
  84898. };
  84899. A.ExtensionStore__extendSimple_closure1.prototype = {
  84900. call$1(pseudo) {
  84901. var t1 = this.withoutPseudo.call$1(pseudo);
  84902. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
  84903. },
  84904. $signature: 420
  84905. };
  84906. A.ExtensionStore__extendSimple_closure2.prototype = {
  84907. call$1(result) {
  84908. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  84909. },
  84910. $signature: 421
  84911. };
  84912. A.ExtensionStore__extendPseudo_closure4.prototype = {
  84913. call$1(complex) {
  84914. return complex.components.length > 1;
  84915. },
  84916. $signature: 15
  84917. };
  84918. A.ExtensionStore__extendPseudo_closure5.prototype = {
  84919. call$1(complex) {
  84920. return complex.components.length === 1;
  84921. },
  84922. $signature: 15
  84923. };
  84924. A.ExtensionStore__extendPseudo_closure6.prototype = {
  84925. call$1(complex) {
  84926. return complex.components.length <= 1;
  84927. },
  84928. $signature: 15
  84929. };
  84930. A.ExtensionStore__extendPseudo_closure7.prototype = {
  84931. call$1(complex) {
  84932. var innerPseudo, innerSelector,
  84933. t1 = complex.get$singleCompound();
  84934. if (t1 == null)
  84935. innerPseudo = null;
  84936. else {
  84937. t1 = t1.components;
  84938. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  84939. }
  84940. if (!(innerPseudo instanceof A.PseudoSelector0))
  84941. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84942. innerSelector = innerPseudo.selector;
  84943. if (innerSelector == null)
  84944. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84945. t1 = this.pseudo;
  84946. switch (t1.normalizedName) {
  84947. case "not":
  84948. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  84949. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84950. return innerSelector.components;
  84951. case "is":
  84952. case "matches":
  84953. case "where":
  84954. case "any":
  84955. case "current":
  84956. case "nth-child":
  84957. case "nth-last-child":
  84958. if (innerPseudo.name !== t1.name)
  84959. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84960. if (innerPseudo.argument != t1.argument)
  84961. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84962. return innerSelector.components;
  84963. case "has":
  84964. case "host":
  84965. case "host-context":
  84966. case "slotted":
  84967. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84968. default:
  84969. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84970. }
  84971. },
  84972. $signature: 422
  84973. };
  84974. A.ExtensionStore__extendPseudo_closure8.prototype = {
  84975. call$1(complex) {
  84976. var t1 = this.pseudo;
  84977. return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
  84978. },
  84979. $signature: 423
  84980. };
  84981. A.ExtensionStore__trim_closure1.prototype = {
  84982. call$1(complex2) {
  84983. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  84984. },
  84985. $signature: 15
  84986. };
  84987. A.ExtensionStore__trim_closure2.prototype = {
  84988. call$1(complex2) {
  84989. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  84990. },
  84991. $signature: 15
  84992. };
  84993. A.ExtensionStore_clone_closure0.prototype = {
  84994. call$2(simple, selectors) {
  84995. var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
  84996. t1 = type$.ModifiableCssValue_SelectorList_2,
  84997. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  84998. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  84999. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
  85000. t6 = t2.get$current(t2);
  85001. newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
  85002. newSelectorSet.add$1(0, newSelector);
  85003. t3.$indexSet(0, t6, newSelector);
  85004. mediaContext = t4.$index(0, t6);
  85005. if (mediaContext != null)
  85006. t5.$indexSet(0, newSelector, mediaContext);
  85007. }
  85008. },
  85009. $signature: 424
  85010. };
  85011. A.FiberClass.prototype = {};
  85012. A.Fiber.prototype = {};
  85013. A.NodeToDartFileImporter.prototype = {
  85014. canonicalize$1(_, url) {
  85015. var result, t1, resultUrl;
  85016. if (url.get$scheme() === "file")
  85017. return $.$get$_filesystemImporter0().canonicalize$1(0, url);
  85018. result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  85019. if (result == null)
  85020. return null;
  85021. t1 = self.Promise;
  85022. if (result instanceof t1)
  85023. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  85024. else {
  85025. t1 = self.URL;
  85026. if (!(result instanceof t1))
  85027. A.jsThrow(new self.Error(string$.The_fie));
  85028. }
  85029. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85030. if (resultUrl.get$scheme() !== "file")
  85031. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  85032. return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
  85033. },
  85034. load$1(_, url) {
  85035. return $.$get$_filesystemImporter0().load$1(0, url);
  85036. }
  85037. };
  85038. A.FilesystemImporter0.prototype = {
  85039. canonicalize$1(_, url) {
  85040. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  85041. return null;
  85042. return A.NullableExtension_andThen0(A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure0());
  85043. },
  85044. load$1(_, url) {
  85045. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  85046. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  85047. },
  85048. toString$0(_) {
  85049. return this._filesystem$_loadPath;
  85050. }
  85051. };
  85052. A.FilesystemImporter_canonicalize_closure0.prototype = {
  85053. call$1(resolved) {
  85054. var t1, t2, t0, _null = null;
  85055. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  85056. t1 = $.$get$context();
  85057. t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
  85058. t0 = t2;
  85059. t2 = t1;
  85060. t1 = t0;
  85061. } else {
  85062. t1 = $.$get$context();
  85063. t2 = t1.canonicalize$1(0, resolved);
  85064. t0 = t2;
  85065. t2 = t1;
  85066. t1 = t0;
  85067. }
  85068. return t2.toUri$1(t1);
  85069. },
  85070. $signature: 219
  85071. };
  85072. A.ForRule0.prototype = {
  85073. accept$1$1(visitor) {
  85074. return visitor.visitForRule$1(this);
  85075. },
  85076. accept$1(visitor) {
  85077. return this.accept$1$1(visitor, type$.dynamic);
  85078. },
  85079. toString$0(_) {
  85080. var _this = this,
  85081. t1 = _this.from.toString$0(0),
  85082. t2 = _this.isExclusive ? "to" : "through",
  85083. t3 = _this.children;
  85084. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  85085. },
  85086. get$span(receiver) {
  85087. return this.span;
  85088. }
  85089. };
  85090. A.ForwardRule0.prototype = {
  85091. accept$1$1(visitor) {
  85092. return visitor.visitForwardRule$1(this);
  85093. },
  85094. accept$1(visitor) {
  85095. return this.accept$1$1(visitor, type$.dynamic);
  85096. },
  85097. toString$0(_) {
  85098. var t2, prefix, _this = this,
  85099. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  85100. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  85101. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  85102. if (shownMixinsAndFunctions != null) {
  85103. t2 = _this.shownVariables;
  85104. t2.toString;
  85105. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  85106. t1 = t2;
  85107. } else {
  85108. if (hiddenMixinsAndFunctions != null) {
  85109. t2 = hiddenMixinsAndFunctions._base;
  85110. t2 = t2.get$isNotEmpty(t2);
  85111. } else
  85112. t2 = false;
  85113. if (t2) {
  85114. t2 = _this.hiddenVariables;
  85115. t2.toString;
  85116. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  85117. t1 = t2;
  85118. }
  85119. }
  85120. prefix = _this.prefix;
  85121. if (prefix != null)
  85122. t1 += " as " + prefix + "*";
  85123. t2 = _this.configuration;
  85124. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  85125. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85126. },
  85127. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  85128. var t2,
  85129. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  85130. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  85131. t1.push("$" + t2.get$current(t2));
  85132. return B.JSArray_methods.join$1(t1, ", ");
  85133. },
  85134. $isAstNode0: 1,
  85135. $isStatement0: 1,
  85136. get$span(receiver) {
  85137. return this.span;
  85138. }
  85139. };
  85140. A.ForwardedModuleView0.prototype = {
  85141. get$url(_) {
  85142. var t1 = this._forwarded_view0$_inner;
  85143. return t1.get$url(t1);
  85144. },
  85145. get$upstream() {
  85146. return this._forwarded_view0$_inner.get$upstream();
  85147. },
  85148. get$extensionStore() {
  85149. return this._forwarded_view0$_inner.get$extensionStore();
  85150. },
  85151. get$css(_) {
  85152. var t1 = this._forwarded_view0$_inner;
  85153. return t1.get$css(t1);
  85154. },
  85155. get$transitivelyContainsCss() {
  85156. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  85157. },
  85158. get$transitivelyContainsExtensions() {
  85159. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  85160. },
  85161. setVariable$3($name, value, nodeWithSpan) {
  85162. var prefix,
  85163. _s19_ = "Undefined variable.",
  85164. t1 = this._forwarded_view0$_rule,
  85165. shownVariables = t1.shownVariables,
  85166. hiddenVariables = t1.hiddenVariables;
  85167. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  85168. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85169. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  85170. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85171. prefix = t1.prefix;
  85172. if (prefix != null) {
  85173. if (!B.JSString_methods.startsWith$1($name, prefix))
  85174. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85175. $name = B.JSString_methods.substring$1($name, prefix.length);
  85176. }
  85177. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  85178. },
  85179. variableIdentity$1($name) {
  85180. var prefix = this._forwarded_view0$_rule.prefix;
  85181. if (prefix != null)
  85182. $name = B.JSString_methods.substring$1($name, prefix.length);
  85183. return this._forwarded_view0$_inner.variableIdentity$1($name);
  85184. },
  85185. $eq(_, other) {
  85186. if (other == null)
  85187. return false;
  85188. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  85189. },
  85190. get$hashCode(_) {
  85191. var t1 = this._forwarded_view0$_inner;
  85192. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  85193. },
  85194. cloneCss$0() {
  85195. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  85196. },
  85197. toString$0(_) {
  85198. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  85199. },
  85200. $isModule0: 1,
  85201. get$variables() {
  85202. return this.variables;
  85203. },
  85204. get$variableNodes() {
  85205. return this.variableNodes;
  85206. },
  85207. get$functions(receiver) {
  85208. return this.functions;
  85209. },
  85210. get$mixins() {
  85211. return this.mixins;
  85212. }
  85213. };
  85214. A.FunctionExpression0.prototype = {
  85215. accept$1$1(visitor) {
  85216. return visitor.visitFunctionExpression$1(this);
  85217. },
  85218. accept$1(visitor) {
  85219. return this.accept$1$1(visitor, type$.dynamic);
  85220. },
  85221. toString$0(_) {
  85222. var t1 = this.namespace;
  85223. t1 = t1 != null ? "" + (t1 + ".") : "";
  85224. t1 += this.originalName + this.$arguments.toString$0(0);
  85225. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85226. },
  85227. $isExpression0: 1,
  85228. $isAstNode0: 1,
  85229. get$span(receiver) {
  85230. return this.span;
  85231. }
  85232. };
  85233. A.JSFunction0.prototype = {};
  85234. A.SupportsFunction0.prototype = {
  85235. toString$0(_) {
  85236. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  85237. },
  85238. $isAstNode0: 1,
  85239. get$span(receiver) {
  85240. return this.span;
  85241. }
  85242. };
  85243. A.functionClass_closure.prototype = {
  85244. call$0() {
  85245. var t1 = type$.JSClass,
  85246. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  85247. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  85248. return jsClass;
  85249. },
  85250. $signature: 25
  85251. };
  85252. A.functionClass__closure.prototype = {
  85253. call$3($self, signature, callback) {
  85254. var paren = B.JSString_methods.indexOf$1(signature, "(");
  85255. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  85256. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  85257. return new A.SassFunction0(A.BuiltInCallable$function0(B.JSString_methods.substring$2(signature, 0, paren), B.JSString_methods.substring$2(signature, paren + 1, signature.length - 1), callback, null));
  85258. },
  85259. "call*": "call$3",
  85260. $requiredArgCount: 3,
  85261. $signature: 425
  85262. };
  85263. A.functionClass__closure0.prototype = {
  85264. call$1(_) {
  85265. return B.C__SassNull0;
  85266. },
  85267. $signature: 3
  85268. };
  85269. A.SassFunction0.prototype = {
  85270. accept$1$1(visitor) {
  85271. var t1, t2;
  85272. if (!visitor._serialize0$_inspect)
  85273. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  85274. t1 = visitor._serialize0$_buffer;
  85275. t1.write$1(0, "get-function(");
  85276. t2 = this.callable;
  85277. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  85278. t1.writeCharCode$1(41);
  85279. return null;
  85280. },
  85281. accept$1(visitor) {
  85282. return this.accept$1$1(visitor, type$.dynamic);
  85283. },
  85284. assertFunction$1($name) {
  85285. return this;
  85286. },
  85287. $eq(_, other) {
  85288. if (other == null)
  85289. return false;
  85290. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  85291. },
  85292. get$hashCode(_) {
  85293. var t1 = this.callable;
  85294. return t1.get$hashCode(t1);
  85295. }
  85296. };
  85297. A.FunctionRule0.prototype = {
  85298. accept$1$1(visitor) {
  85299. return visitor.visitFunctionRule$1(this);
  85300. },
  85301. accept$1(visitor) {
  85302. return this.accept$1$1(visitor, type$.dynamic);
  85303. },
  85304. toString$0(_) {
  85305. var t1 = this.children;
  85306. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  85307. }
  85308. };
  85309. A.unifyComplex_closure0.prototype = {
  85310. call$1(complex) {
  85311. return complex.lineBreak;
  85312. },
  85313. $signature: 15
  85314. };
  85315. A._weaveParents_closure3.prototype = {
  85316. call$2(group1, group2) {
  85317. var unified, t1;
  85318. if (B.C_ListEquality.equals$2(0, group1, group2))
  85319. return group1;
  85320. if (A._complexIsParentSuperselector0(group1, group2))
  85321. return group2;
  85322. if (A._complexIsParentSuperselector0(group2, group1))
  85323. return group1;
  85324. if (!A._mustUnify0(group1, group2))
  85325. return null;
  85326. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty13, group1, false), A.ComplexSelector$0(B.List_empty13, group2, false)], type$.JSArray_ComplexSelector_2));
  85327. if (unified == null)
  85328. return null;
  85329. t1 = J.getInterceptor$asx(unified);
  85330. if (t1.get$length(unified) > 1)
  85331. return null;
  85332. return t1.get$first(unified).components;
  85333. },
  85334. $signature: 426
  85335. };
  85336. A._weaveParents_closure4.prototype = {
  85337. call$1(sequence) {
  85338. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  85339. },
  85340. $signature: 427
  85341. };
  85342. A._weaveParents_closure5.prototype = {
  85343. call$1(sequence) {
  85344. return sequence.get$length(sequence) === 0;
  85345. },
  85346. $signature: 162
  85347. };
  85348. A._weaveParents_closure6.prototype = {
  85349. call$1(choice) {
  85350. return J.get$isNotEmpty$asx(choice);
  85351. },
  85352. $signature: 428
  85353. };
  85354. A._mustUnify_closure0.prototype = {
  85355. call$1(component) {
  85356. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  85357. },
  85358. $signature: 51
  85359. };
  85360. A._mustUnify__closure0.prototype = {
  85361. call$1(simple) {
  85362. var t1;
  85363. if (!(simple instanceof A.IDSelector0))
  85364. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  85365. else
  85366. t1 = true;
  85367. return t1 && this.uniqueSelectors.contains$1(0, simple);
  85368. },
  85369. $signature: 13
  85370. };
  85371. A.paths_closure0.prototype = {
  85372. call$2(paths, choice) {
  85373. var t1 = this.T;
  85374. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  85375. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  85376. },
  85377. $signature() {
  85378. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  85379. }
  85380. };
  85381. A.paths__closure0.prototype = {
  85382. call$1(option) {
  85383. var t1 = this.T;
  85384. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  85385. },
  85386. $signature() {
  85387. return this.T._eval$1("Iterable<List<0>>(0)");
  85388. }
  85389. };
  85390. A.paths___closure0.prototype = {
  85391. call$1(path) {
  85392. var t1 = A.List_List$of(path, true, this.T);
  85393. t1.push(this.option);
  85394. return t1;
  85395. },
  85396. $signature() {
  85397. return this.T._eval$1("List<0>(List<0>)");
  85398. }
  85399. };
  85400. A.listIsSuperselector_closure0.prototype = {
  85401. call$1(complex1) {
  85402. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  85403. },
  85404. $signature: 15
  85405. };
  85406. A.listIsSuperselector__closure0.prototype = {
  85407. call$1(complex2) {
  85408. return complex2.isSuperselector$1(this.complex1);
  85409. },
  85410. $signature: 15
  85411. };
  85412. A.complexIsSuperselector_closure1.prototype = {
  85413. call$1($parent) {
  85414. return $parent.combinators.length > 1;
  85415. },
  85416. $signature: 51
  85417. };
  85418. A.complexIsSuperselector_closure2.prototype = {
  85419. call$1(component) {
  85420. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  85421. },
  85422. $signature: 51
  85423. };
  85424. A._selectorPseudoIsSuperselector_closure6.prototype = {
  85425. call$1(selector2) {
  85426. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85427. },
  85428. $signature: 66
  85429. };
  85430. A._selectorPseudoIsSuperselector_closure7.prototype = {
  85431. call$1(complex1) {
  85432. var t1, t2, t3;
  85433. if (complex1.leadingCombinators.length === 0) {
  85434. t1 = complex1.components;
  85435. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  85436. t3 = this.parents;
  85437. if (t3 != null)
  85438. B.JSArray_methods.addAll$1(t2, t3);
  85439. t2.push(new A.ComplexSelectorComponent0(this.compound2, A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2)));
  85440. t1 = A.complexIsSuperselector0(t1, t2);
  85441. } else
  85442. t1 = false;
  85443. return t1;
  85444. },
  85445. $signature: 15
  85446. };
  85447. A._selectorPseudoIsSuperselector_closure8.prototype = {
  85448. call$1(selector2) {
  85449. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85450. },
  85451. $signature: 66
  85452. };
  85453. A._selectorPseudoIsSuperselector_closure9.prototype = {
  85454. call$1(selector2) {
  85455. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85456. },
  85457. $signature: 66
  85458. };
  85459. A._selectorPseudoIsSuperselector_closure10.prototype = {
  85460. call$1(complex) {
  85461. if (complex.accept$1(B._IsBogusVisitor_true0))
  85462. return false;
  85463. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  85464. },
  85465. $signature: 15
  85466. };
  85467. A._selectorPseudoIsSuperselector__closure0.prototype = {
  85468. call$1(simple2) {
  85469. var selector2, _this = this;
  85470. if (simple2 instanceof A.TypeSelector0)
  85471. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  85472. else if (simple2 instanceof A.IDSelector0)
  85473. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  85474. else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
  85475. selector2 = simple2.selector;
  85476. if (selector2 == null)
  85477. return false;
  85478. return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  85479. } else
  85480. return false;
  85481. },
  85482. $signature: 13
  85483. };
  85484. A._selectorPseudoIsSuperselector___closure1.prototype = {
  85485. call$1(simple1) {
  85486. var t1;
  85487. if (simple1 instanceof A.TypeSelector0) {
  85488. t1 = this.simple2.name.$eq(0, simple1.name);
  85489. t1 = !t1;
  85490. } else
  85491. t1 = false;
  85492. return t1;
  85493. },
  85494. $signature: 13
  85495. };
  85496. A._selectorPseudoIsSuperselector___closure2.prototype = {
  85497. call$1(simple1) {
  85498. var t1;
  85499. if (simple1 instanceof A.IDSelector0) {
  85500. t1 = simple1.name;
  85501. t1 = this.simple2.name !== t1;
  85502. } else
  85503. t1 = false;
  85504. return t1;
  85505. },
  85506. $signature: 13
  85507. };
  85508. A._selectorPseudoIsSuperselector_closure11.prototype = {
  85509. call$1(selector2) {
  85510. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  85511. return t1;
  85512. },
  85513. $signature: 66
  85514. };
  85515. A._selectorPseudoIsSuperselector_closure12.prototype = {
  85516. call$1(pseudo2) {
  85517. var t1, selector2;
  85518. if (!(pseudo2 instanceof A.PseudoSelector0))
  85519. return false;
  85520. t1 = this.pseudo1;
  85521. if (pseudo2.name !== t1.name)
  85522. return false;
  85523. if (pseudo2.argument != t1.argument)
  85524. return false;
  85525. selector2 = pseudo2.selector;
  85526. if (selector2 == null)
  85527. return false;
  85528. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85529. },
  85530. $signature: 13
  85531. };
  85532. A._selectorPseudoArgs_closure1.prototype = {
  85533. call$1(pseudo) {
  85534. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  85535. },
  85536. $signature: 430
  85537. };
  85538. A._selectorPseudoArgs_closure2.prototype = {
  85539. call$1(pseudo) {
  85540. return pseudo.selector;
  85541. },
  85542. $signature: 431
  85543. };
  85544. A.globalFunctions_closure0.prototype = {
  85545. call$1($arguments) {
  85546. var t1 = J.getInterceptor$asx($arguments);
  85547. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  85548. },
  85549. $signature: 3
  85550. };
  85551. A.IDSelector0.prototype = {
  85552. get$specificity() {
  85553. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  85554. },
  85555. accept$1$1(visitor) {
  85556. return visitor.visitIDSelector$1(this);
  85557. },
  85558. accept$1(visitor) {
  85559. return this.accept$1$1(visitor, type$.dynamic);
  85560. },
  85561. addSuffix$1(suffix) {
  85562. return new A.IDSelector0(this.name + suffix);
  85563. },
  85564. unify$1(compound) {
  85565. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  85566. return null;
  85567. return this.super$SimpleSelector$unify0(compound);
  85568. },
  85569. $eq(_, other) {
  85570. if (other == null)
  85571. return false;
  85572. return other instanceof A.IDSelector0 && other.name === this.name;
  85573. },
  85574. get$hashCode(_) {
  85575. return B.JSString_methods.get$hashCode(this.name);
  85576. }
  85577. };
  85578. A.IDSelector_unify_closure0.prototype = {
  85579. call$1(simple) {
  85580. var t1;
  85581. if (simple instanceof A.IDSelector0) {
  85582. t1 = simple.name;
  85583. t1 = this.$this.name !== t1;
  85584. } else
  85585. t1 = false;
  85586. return t1;
  85587. },
  85588. $signature: 13
  85589. };
  85590. A.IfExpression0.prototype = {
  85591. accept$1$1(visitor) {
  85592. return visitor.visitIfExpression$1(this);
  85593. },
  85594. accept$1(visitor) {
  85595. return this.accept$1$1(visitor, type$.dynamic);
  85596. },
  85597. toString$0(_) {
  85598. return "if" + this.$arguments.toString$0(0);
  85599. },
  85600. $isExpression0: 1,
  85601. $isAstNode0: 1,
  85602. get$span(receiver) {
  85603. return this.span;
  85604. }
  85605. };
  85606. A.IfRule0.prototype = {
  85607. accept$1$1(visitor) {
  85608. return visitor.visitIfRule$1(this);
  85609. },
  85610. accept$1(visitor) {
  85611. return this.accept$1$1(visitor, type$.dynamic);
  85612. },
  85613. toString$0(_) {
  85614. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  85615. lastClause = this.lastClause;
  85616. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  85617. },
  85618. $isAstNode0: 1,
  85619. $isStatement0: 1,
  85620. get$span(receiver) {
  85621. return this.span;
  85622. }
  85623. };
  85624. A.IfRule_toString_closure0.prototype = {
  85625. call$2(index, clause) {
  85626. var t1 = index === 0 ? "if" : "else if";
  85627. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  85628. },
  85629. $signature: 432
  85630. };
  85631. A.IfRuleClause0.prototype = {};
  85632. A.IfRuleClause$__closure0.prototype = {
  85633. call$1(child) {
  85634. var t1;
  85635. if (!(child instanceof A.VariableDeclaration0))
  85636. if (!(child instanceof A.FunctionRule0))
  85637. if (!(child instanceof A.MixinRule0))
  85638. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  85639. else
  85640. t1 = true;
  85641. else
  85642. t1 = true;
  85643. else
  85644. t1 = true;
  85645. return t1;
  85646. },
  85647. $signature: 226
  85648. };
  85649. A.IfRuleClause$___closure0.prototype = {
  85650. call$1($import) {
  85651. return $import instanceof A.DynamicImport0;
  85652. },
  85653. $signature: 227
  85654. };
  85655. A.IfClause0.prototype = {
  85656. toString$0(_) {
  85657. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  85658. }
  85659. };
  85660. A.ElseClause0.prototype = {
  85661. toString$0(_) {
  85662. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  85663. }
  85664. };
  85665. A.ImmutableList.prototype = {};
  85666. A.ImmutableMap.prototype = {};
  85667. A.immutableMapToDartMap_closure.prototype = {
  85668. call$3(value, key, _) {
  85669. this.dartMap.$indexSet(0, key, value);
  85670. },
  85671. "call*": "call$3",
  85672. $requiredArgCount: 3,
  85673. $signature: 435
  85674. };
  85675. A.NodeImporter.prototype = {
  85676. loadRelative$3(url, previous, forImport) {
  85677. var t1, t2, _null = null;
  85678. if ($.$get$url().style.rootLength$1(url) > 0) {
  85679. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  85680. return _null;
  85681. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  85682. }
  85683. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  85684. return _null;
  85685. t1 = $.$get$context();
  85686. t2 = t1.style;
  85687. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  85688. },
  85689. load$3(_, url, previous, forImport) {
  85690. var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
  85691. previousString = _this._previousToString$1(previous);
  85692. for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
  85693. importer = t1[_i];
  85694. context = {options: t4._as(t3), fromImport: forImport};
  85695. J.set$context$x(J.get$options$x(context), context);
  85696. value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
  85697. if (value != null)
  85698. return _this._handleImportResult$4(url, previous, value, forImport);
  85699. }
  85700. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  85701. },
  85702. loadAsync$3(url, previous, forImport) {
  85703. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  85704. },
  85705. loadAsync$body$NodeImporter(url, previous, forImport) {
  85706. var $async$goto = 0,
  85707. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
  85708. $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
  85709. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85710. if ($async$errorCode === 1)
  85711. return A._asyncRethrow($async$result, $async$completer);
  85712. while (true)
  85713. switch ($async$goto) {
  85714. case 0:
  85715. // Function start
  85716. previousString = $async$self._previousToString$1(previous);
  85717. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  85718. case 3:
  85719. // for condition
  85720. if (!(_i < t2)) {
  85721. // goto after for
  85722. $async$goto = 5;
  85723. break;
  85724. }
  85725. $async$goto = 6;
  85726. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  85727. case 6:
  85728. // returning from await.
  85729. value = $async$result;
  85730. if (value != null) {
  85731. $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
  85732. // goto return
  85733. $async$goto = 1;
  85734. break;
  85735. }
  85736. case 4:
  85737. // for update
  85738. ++_i;
  85739. // goto for condition
  85740. $async$goto = 3;
  85741. break;
  85742. case 5:
  85743. // after for
  85744. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  85745. // goto return
  85746. $async$goto = 1;
  85747. break;
  85748. case 1:
  85749. // return
  85750. return A._asyncReturn($async$returnValue, $async$completer);
  85751. }
  85752. });
  85753. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  85754. },
  85755. _previousToString$1(previous) {
  85756. if (previous == null)
  85757. return "stdin";
  85758. if (previous.get$scheme() === "file")
  85759. return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  85760. return previous.toString$0(0);
  85761. },
  85762. _resolveLoadPathFromUrl$2(url, forImport) {
  85763. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  85764. },
  85765. _resolveLoadPath$2(path, forImport) {
  85766. var t2, t3, t4, t5, _i, parts, result, _null = null,
  85767. t1 = $.$get$context(),
  85768. cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
  85769. if (cwdResult != null)
  85770. return cwdResult;
  85771. for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
  85772. parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
  85773. A._validateArgList("join", parts);
  85774. result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
  85775. if (result != null)
  85776. return result;
  85777. }
  85778. return _null;
  85779. },
  85780. _tryPath$2(path, forImport) {
  85781. var t1;
  85782. if (forImport) {
  85783. t1 = type$.nullable_Object;
  85784. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  85785. } else
  85786. t1 = A.resolveImportPath0(path);
  85787. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  85788. },
  85789. _handleImportResult$4(url, previous, value, forImport) {
  85790. var t1, file, contents, resolved;
  85791. if (value instanceof self.Error)
  85792. throw A.wrapException(value);
  85793. if (!type$.NodeImporterResult_2._is(value))
  85794. return null;
  85795. t1 = J.getInterceptor$x(value);
  85796. file = t1.get$file(value);
  85797. contents = t1.get$contents(value);
  85798. if (file == null) {
  85799. t1 = contents == null ? "" : contents;
  85800. return new A.Tuple2(t1, url, type$.Tuple2_String_String);
  85801. } else if (contents != null)
  85802. return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
  85803. else {
  85804. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  85805. if (resolved == null)
  85806. resolved = this._resolveLoadPath$2(file, forImport);
  85807. if (resolved != null)
  85808. return resolved;
  85809. throw A.wrapException("Can't find stylesheet to import.");
  85810. }
  85811. },
  85812. _callImporterAsync$4(importer, url, previousString, forImport) {
  85813. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  85814. },
  85815. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  85816. var $async$goto = 0,
  85817. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  85818. $async$returnValue, $async$self = this, t1, result;
  85819. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85820. if ($async$errorCode === 1)
  85821. return A._asyncRethrow($async$result, $async$completer);
  85822. while (true)
  85823. switch ($async$goto) {
  85824. case 0:
  85825. // Function start
  85826. t1 = new A._Future($.Zone__current, type$._Future_Object);
  85827. result = J.apply$2$x(importer, $async$self._renderContext$1(forImport), A._setArrayType([url, previousString, A.allowInterop(new A._AsyncCompleter(t1, type$._AsyncCompleter_Object).get$complete())], type$.JSArray_Object));
  85828. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  85829. break;
  85830. case 3:
  85831. // then
  85832. $async$goto = 5;
  85833. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  85834. case 5:
  85835. // returning from await.
  85836. $async$returnValue = $async$result;
  85837. // goto return
  85838. $async$goto = 1;
  85839. break;
  85840. case 4:
  85841. // join
  85842. $async$returnValue = result;
  85843. // goto return
  85844. $async$goto = 1;
  85845. break;
  85846. case 1:
  85847. // return
  85848. return A._asyncReturn($async$returnValue, $async$completer);
  85849. }
  85850. });
  85851. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  85852. },
  85853. _renderContext$1(fromImport) {
  85854. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  85855. J.set$context$x(J.get$options$x(context), context);
  85856. return context;
  85857. }
  85858. };
  85859. A.NodeImporter__tryPath_closure.prototype = {
  85860. call$0() {
  85861. return A.resolveImportPath0(this.path);
  85862. },
  85863. $signature: 42
  85864. };
  85865. A.NodeImporter__tryPath_closure0.prototype = {
  85866. call$1(resolved) {
  85867. return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
  85868. },
  85869. $signature: 436
  85870. };
  85871. A.ModifiableCssImport0.prototype = {
  85872. accept$1$1(visitor) {
  85873. return visitor.visitCssImport$1(this);
  85874. },
  85875. accept$1(visitor) {
  85876. return this.accept$1$1(visitor, type$.dynamic);
  85877. },
  85878. $isCssImport0: 1,
  85879. get$span(receiver) {
  85880. return this.span;
  85881. }
  85882. };
  85883. A.ImportCache0.prototype = {
  85884. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  85885. var relativeResult, _this = this;
  85886. if (baseImporter != null) {
  85887. relativeResult = _this._import_cache$_relativeCanonicalizeCache.putIfAbsent$2(new A.Tuple4(url, forImport, baseImporter, baseUrl, type$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2), new A.ImportCache_canonicalize_closure1(_this, baseUrl, url, baseImporter, forImport));
  85888. if (relativeResult != null)
  85889. return relativeResult;
  85890. }
  85891. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
  85892. },
  85893. _import_cache$_canonicalize$3(importer, url, forImport) {
  85894. var t1, result;
  85895. if (forImport) {
  85896. t1 = type$.nullable_Object;
  85897. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  85898. } else
  85899. result = importer.canonicalize$1(0, url);
  85900. if ((result == null ? null : result.get$scheme()) === "")
  85901. this._import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  85902. return result;
  85903. },
  85904. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  85905. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  85906. },
  85907. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  85908. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  85909. },
  85910. humanize$1(canonicalUrl) {
  85911. var t2, url,
  85912. t1 = this._import_cache$_canonicalizeCache;
  85913. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
  85914. t2 = t1.$ti;
  85915. url = A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure2(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure3(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure4());
  85916. if (url == null)
  85917. return canonicalUrl;
  85918. t1 = $.$get$url();
  85919. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  85920. },
  85921. sourceMapUrl$1(_, canonicalUrl) {
  85922. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  85923. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  85924. return t1 == null ? canonicalUrl : t1;
  85925. }
  85926. };
  85927. A.ImportCache_canonicalize_closure1.prototype = {
  85928. call$0() {
  85929. var canonicalUrl, _this = this,
  85930. t1 = _this.baseUrl,
  85931. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  85932. if (resolvedUrl == null)
  85933. resolvedUrl = _this.url;
  85934. t1 = _this.baseImporter;
  85935. canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
  85936. if (canonicalUrl == null)
  85937. return null;
  85938. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
  85939. },
  85940. $signature: 228
  85941. };
  85942. A.ImportCache_canonicalize_closure2.prototype = {
  85943. call$0() {
  85944. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  85945. for (t1 = this.$this, t2 = t1._import_cache$_importers, t3 = t2.length, t4 = this.url, t5 = this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  85946. importer = t2[_i];
  85947. canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
  85948. if (canonicalUrl != null)
  85949. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
  85950. }
  85951. return null;
  85952. },
  85953. $signature: 228
  85954. };
  85955. A.ImportCache__canonicalize_closure0.prototype = {
  85956. call$0() {
  85957. return this.importer.canonicalize$1(0, this.url);
  85958. },
  85959. $signature: 216
  85960. };
  85961. A.ImportCache_importCanonical_closure0.prototype = {
  85962. call$0() {
  85963. var t2, t3, t4, _this = this,
  85964. t1 = _this.canonicalUrl,
  85965. result = _this.importer.load$1(0, t1);
  85966. if (result == null)
  85967. return null;
  85968. t2 = _this.$this;
  85969. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  85970. t3 = result.contents;
  85971. t4 = result.syntax;
  85972. t1 = _this.originalUrl.resolveUri$1(t1);
  85973. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  85974. },
  85975. $signature: 438
  85976. };
  85977. A.ImportCache_humanize_closure2.prototype = {
  85978. call$1(tuple) {
  85979. return tuple.item2.$eq(0, this.canonicalUrl);
  85980. },
  85981. $signature: 439
  85982. };
  85983. A.ImportCache_humanize_closure3.prototype = {
  85984. call$1(tuple) {
  85985. return tuple.item3;
  85986. },
  85987. $signature: 440
  85988. };
  85989. A.ImportCache_humanize_closure4.prototype = {
  85990. call$1(url) {
  85991. return url.get$path(url).length;
  85992. },
  85993. $signature: 91
  85994. };
  85995. A.ImportRule0.prototype = {
  85996. accept$1$1(visitor) {
  85997. return visitor.visitImportRule$1(this);
  85998. },
  85999. accept$1(visitor) {
  86000. return this.accept$1$1(visitor, type$.dynamic);
  86001. },
  86002. toString$0(_) {
  86003. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  86004. },
  86005. $isAstNode0: 1,
  86006. $isStatement0: 1,
  86007. get$span(receiver) {
  86008. return this.span;
  86009. }
  86010. };
  86011. A.NodeImporter0.prototype = {};
  86012. A.CanonicalizeOptions.prototype = {};
  86013. A.NodeImporterResult0.prototype = {};
  86014. A.Importer0.prototype = {};
  86015. A.NodeImporterResult1.prototype = {};
  86016. A.IncludeRule0.prototype = {
  86017. get$spanWithoutContent() {
  86018. var t2, t3,
  86019. t1 = this.span;
  86020. if (!(this.content == null)) {
  86021. t2 = t1.file;
  86022. t3 = this.$arguments.span;
  86023. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  86024. t1 = t3;
  86025. }
  86026. return t1;
  86027. },
  86028. accept$1$1(visitor) {
  86029. return visitor.visitIncludeRule$1(this);
  86030. },
  86031. accept$1(visitor) {
  86032. return this.accept$1$1(visitor, type$.dynamic);
  86033. },
  86034. toString$0(_) {
  86035. var t2, _this = this,
  86036. t1 = _this.namespace;
  86037. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  86038. t1 += _this.name;
  86039. t2 = _this.$arguments;
  86040. if (!t2.get$isEmpty(t2))
  86041. t1 += "(" + t2.toString$0(0) + ")";
  86042. t2 = _this.content;
  86043. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  86044. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86045. },
  86046. $isAstNode0: 1,
  86047. $isStatement0: 1,
  86048. get$span(receiver) {
  86049. return this.span;
  86050. }
  86051. };
  86052. A.InterpolatedFunctionExpression0.prototype = {
  86053. accept$1$1(visitor) {
  86054. return visitor.visitInterpolatedFunctionExpression$1(this);
  86055. },
  86056. accept$1(visitor) {
  86057. return this.accept$1$1(visitor, type$.dynamic);
  86058. },
  86059. toString$0(_) {
  86060. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  86061. },
  86062. $isExpression0: 1,
  86063. $isAstNode0: 1,
  86064. get$span(receiver) {
  86065. return this.span;
  86066. }
  86067. };
  86068. A.Interpolation0.prototype = {
  86069. get$asPlain() {
  86070. var first,
  86071. t1 = this.contents,
  86072. t2 = t1.length;
  86073. if (t2 === 0)
  86074. return "";
  86075. if (t2 > 1)
  86076. return null;
  86077. first = B.JSArray_methods.get$first(t1);
  86078. return typeof first == "string" ? first : null;
  86079. },
  86080. get$initialPlain() {
  86081. var first = B.JSArray_methods.get$first(this.contents);
  86082. return typeof first == "string" ? first : "";
  86083. },
  86084. Interpolation$20(contents, span) {
  86085. var t1, t2, t3, i, t4, t5,
  86086. _s8_ = "contents";
  86087. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  86088. t4 = t1[i];
  86089. t5 = typeof t4 == "string";
  86090. if (!t5 && !t3._is(t4))
  86091. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  86092. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  86093. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  86094. }
  86095. },
  86096. toString$0(_) {
  86097. var t1 = this.contents;
  86098. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  86099. },
  86100. $isAstNode0: 1,
  86101. get$span(receiver) {
  86102. return this.span;
  86103. }
  86104. };
  86105. A.Interpolation_toString_closure0.prototype = {
  86106. call$1(value) {
  86107. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  86108. },
  86109. $signature: 46
  86110. };
  86111. A.SupportsInterpolation0.prototype = {
  86112. toString$0(_) {
  86113. return "#{" + this.expression.toString$0(0) + "}";
  86114. },
  86115. $isAstNode0: 1,
  86116. get$span(receiver) {
  86117. return this.span;
  86118. }
  86119. };
  86120. A.InterpolationBuffer0.prototype = {
  86121. writeCharCode$1(character) {
  86122. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  86123. return null;
  86124. },
  86125. add$1(_, expression) {
  86126. this._interpolation_buffer0$_flushText$0();
  86127. this._interpolation_buffer0$_contents.push(expression);
  86128. },
  86129. addInterpolation$1(interpolation) {
  86130. var first, t1, _this = this,
  86131. toAdd = interpolation.contents;
  86132. if (toAdd.length === 0)
  86133. return;
  86134. first = B.JSArray_methods.get$first(toAdd);
  86135. if (typeof first == "string") {
  86136. _this._interpolation_buffer0$_text._contents += first;
  86137. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  86138. }
  86139. _this._interpolation_buffer0$_flushText$0();
  86140. t1 = _this._interpolation_buffer0$_contents;
  86141. B.JSArray_methods.addAll$1(t1, toAdd);
  86142. if (typeof B.JSArray_methods.get$last(t1) == "string")
  86143. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  86144. },
  86145. _interpolation_buffer0$_flushText$0() {
  86146. var t1 = this._interpolation_buffer0$_text,
  86147. t2 = t1._contents;
  86148. if (t2.length === 0)
  86149. return;
  86150. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  86151. t1._contents = "";
  86152. },
  86153. interpolation$1(span) {
  86154. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  86155. t2 = this._interpolation_buffer0$_text._contents;
  86156. if (t2.length !== 0)
  86157. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  86158. return A.Interpolation$0(t1, span);
  86159. },
  86160. toString$0(_) {
  86161. var t1, t2, _i, t3, element;
  86162. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86163. element = t1[_i];
  86164. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  86165. }
  86166. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  86167. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86168. }
  86169. };
  86170. A._realCasePath_helper0.prototype = {
  86171. call$1(path) {
  86172. var dirname = $.$get$context().dirname$1(path);
  86173. if (dirname === path)
  86174. return path;
  86175. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  86176. },
  86177. $signature: 5
  86178. };
  86179. A._realCasePath_helper_closure0.prototype = {
  86180. call$0() {
  86181. var matches, t2, exception,
  86182. realDirname = this.helper.call$1(this.dirname),
  86183. t1 = this.path,
  86184. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  86185. try {
  86186. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  86187. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  86188. return t2;
  86189. } catch (exception) {
  86190. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  86191. return t1;
  86192. else
  86193. throw exception;
  86194. }
  86195. },
  86196. $signature: 30
  86197. };
  86198. A._realCasePath_helper__closure0.prototype = {
  86199. call$1(realPath) {
  86200. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  86201. },
  86202. $signature: 8
  86203. };
  86204. A.ModifiableCssKeyframeBlock0.prototype = {
  86205. accept$1$1(visitor) {
  86206. return visitor.visitCssKeyframeBlock$1(this);
  86207. },
  86208. accept$1(visitor) {
  86209. return this.accept$1$1(visitor, type$.dynamic);
  86210. },
  86211. copyWithoutChildren$0() {
  86212. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  86213. },
  86214. get$span(receiver) {
  86215. return this.span;
  86216. }
  86217. };
  86218. A.KeyframeSelectorParser0.prototype = {
  86219. parse$0() {
  86220. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  86221. },
  86222. _keyframe_selector$_percentage$0() {
  86223. var t3, next,
  86224. t1 = this.scanner,
  86225. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  86226. second = t1.peekChar$0();
  86227. if (!A.isDigit0(second) && second !== 46)
  86228. t1.error$1(0, "Expected number.");
  86229. while (true) {
  86230. t3 = t1.peekChar$0();
  86231. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86232. break;
  86233. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86234. }
  86235. if (t1.peekChar$0() === 46) {
  86236. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86237. while (true) {
  86238. t3 = t1.peekChar$0();
  86239. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86240. break;
  86241. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86242. }
  86243. }
  86244. if (this.scanIdentChar$1(101)) {
  86245. t2 += A.Primitives_stringFromCharCode(101);
  86246. next = t1.peekChar$0();
  86247. if (next === 43 || next === 45)
  86248. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86249. if (!A.isDigit0(t1.peekChar$0()))
  86250. t1.error$1(0, "Expected digit.");
  86251. while (true) {
  86252. t3 = t1.peekChar$0();
  86253. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86254. break;
  86255. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86256. }
  86257. }
  86258. t1.expectChar$1(37);
  86259. t2 += A.Primitives_stringFromCharCode(37);
  86260. return t2.charCodeAt(0) == 0 ? t2 : t2;
  86261. }
  86262. };
  86263. A.KeyframeSelectorParser_parse_closure0.prototype = {
  86264. call$0() {
  86265. var selectors = A._setArrayType([], type$.JSArray_String),
  86266. t1 = this.$this,
  86267. t2 = t1.scanner;
  86268. do {
  86269. t1.whitespace$0();
  86270. if (t1.lookingAtIdentifier$0())
  86271. if (t1.scanIdentifier$1("from"))
  86272. selectors.push("from");
  86273. else {
  86274. t1.expectIdentifier$2$name("to", '"to" or "from"');
  86275. selectors.push("to");
  86276. }
  86277. else
  86278. selectors.push(t1._keyframe_selector$_percentage$0());
  86279. t1.whitespace$0();
  86280. } while (t2.scanChar$1(44));
  86281. t2.expectDone$0();
  86282. return selectors;
  86283. },
  86284. $signature: 48
  86285. };
  86286. A.render_closure.prototype = {
  86287. call$0() {
  86288. var error, exception;
  86289. try {
  86290. this.callback.call$2(null, A.renderSync(this.options));
  86291. } catch (exception) {
  86292. error = A.unwrapException(exception);
  86293. this.callback.call$2(error, null);
  86294. }
  86295. return null;
  86296. },
  86297. $signature: 1
  86298. };
  86299. A.render_closure0.prototype = {
  86300. call$1(result) {
  86301. this.callback.call$2(null, result);
  86302. },
  86303. $signature: 441
  86304. };
  86305. A.render_closure1.prototype = {
  86306. call$2(error, stackTrace) {
  86307. var t2, t3, _null = null,
  86308. t1 = this.callback;
  86309. if (error instanceof A.SassException0)
  86310. t1.call$2(A._wrapException(error, stackTrace), _null);
  86311. else {
  86312. t2 = J.toString$0$(error);
  86313. t3 = A.getTrace0(error);
  86314. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  86315. }
  86316. },
  86317. $signature: 73
  86318. };
  86319. A._parseFunctions_closure.prototype = {
  86320. call$2(signature, callback) {
  86321. var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
  86322. try {
  86323. tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
  86324. } catch (exception) {
  86325. t1 = A.unwrapException(exception);
  86326. if (t1 instanceof A.SassFormatException0) {
  86327. error = t1;
  86328. stackTrace = A.getTraceFromException(exception);
  86329. t1 = error;
  86330. t2 = J.getInterceptor$z(t1);
  86331. A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  86332. } else
  86333. throw exception;
  86334. }
  86335. t1 = _this.options;
  86336. context = {options: A._contextOptions(t1, _this.start)};
  86337. J.set$context$x(J.get$options$x(context), context);
  86338. fiber = J.get$fiber$x(t1);
  86339. if (fiber != null)
  86340. _this.result.push(new A.BuiltInCallable0(tuple.item1, A._setArrayType([new A.Tuple2(tuple.item2, new A._parseFunctions__closure(fiber, callback, context), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  86341. else {
  86342. t1 = _this.result;
  86343. if (!_this.asynch)
  86344. t1.push(new A.BuiltInCallable0(tuple.item1, A._setArrayType([new A.Tuple2(tuple.item2, new A._parseFunctions__closure0(callback, context), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  86345. else
  86346. t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
  86347. }
  86348. },
  86349. $signature: 128
  86350. };
  86351. A._parseFunctions__closure.prototype = {
  86352. call$1($arguments) {
  86353. var result,
  86354. t1 = this.fiber,
  86355. currentFiber = J.get$current$x(t1),
  86356. t2 = type$.Object;
  86357. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  86358. t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
  86359. result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
  86360. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
  86361. },
  86362. $signature: 3
  86363. };
  86364. A._parseFunctions___closure0.prototype = {
  86365. call$1(result) {
  86366. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  86367. },
  86368. call$0() {
  86369. return this.call$1(null);
  86370. },
  86371. "call*": "call$1",
  86372. $requiredArgCount: 0,
  86373. $defaultValues() {
  86374. return [null];
  86375. },
  86376. $signature: 97
  86377. };
  86378. A._parseFunctions____closure.prototype = {
  86379. call$0() {
  86380. return J.run$1$x(this.currentFiber, this.result);
  86381. },
  86382. $signature: 0
  86383. };
  86384. A._parseFunctions___closure1.prototype = {
  86385. call$0() {
  86386. return J.yield$0$x(this.fiber);
  86387. },
  86388. $signature: 85
  86389. };
  86390. A._parseFunctions__closure0.prototype = {
  86391. call$1($arguments) {
  86392. return A.unwrapValue(J.apply$2$x(type$.JSFunction._as(this.callback), this.context, J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), type$.Object).toList$0(0)));
  86393. },
  86394. $signature: 3
  86395. };
  86396. A._parseFunctions__closure1.prototype = {
  86397. call$1($arguments) {
  86398. return this.$call$body$_parseFunctions__closure($arguments);
  86399. },
  86400. $call$body$_parseFunctions__closure($arguments) {
  86401. var $async$goto = 0,
  86402. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86403. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  86404. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86405. if ($async$errorCode === 1)
  86406. return A._asyncRethrow($async$result, $async$completer);
  86407. while (true)
  86408. switch ($async$goto) {
  86409. case 0:
  86410. // Function start
  86411. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  86412. t2 = type$.Object;
  86413. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  86414. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  86415. result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
  86416. $async$temp1 = A;
  86417. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  86418. break;
  86419. case 3:
  86420. // then
  86421. $async$goto = 6;
  86422. return A._asyncAwait(t1, $async$call$1);
  86423. case 6:
  86424. // returning from await.
  86425. // goto join
  86426. $async$goto = 4;
  86427. break;
  86428. case 5:
  86429. // else
  86430. $async$result = result;
  86431. case 4:
  86432. // join
  86433. $async$returnValue = $async$temp1.unwrapValue($async$result);
  86434. // goto return
  86435. $async$goto = 1;
  86436. break;
  86437. case 1:
  86438. // return
  86439. return A._asyncReturn($async$returnValue, $async$completer);
  86440. }
  86441. });
  86442. return A._asyncStartSync($async$call$1, $async$completer);
  86443. },
  86444. $signature: 96
  86445. };
  86446. A._parseFunctions___closure.prototype = {
  86447. call$1(result) {
  86448. return this.completer.complete$1(result);
  86449. },
  86450. call$0() {
  86451. return this.call$1(null);
  86452. },
  86453. "call*": "call$1",
  86454. $requiredArgCount: 0,
  86455. $defaultValues() {
  86456. return [null];
  86457. },
  86458. $signature: 173
  86459. };
  86460. A._parseImporter_closure.prototype = {
  86461. call$1(importer) {
  86462. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
  86463. },
  86464. $signature: 442
  86465. };
  86466. A._parseImporter__closure.prototype = {
  86467. call$4(thisArg, url, previous, _) {
  86468. var t1 = this.fiber,
  86469. result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1)))], type$.JSArray_Object));
  86470. if (A._asBool($.$get$_isUndefined().call$1(result)))
  86471. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  86472. return result;
  86473. },
  86474. call$3(thisArg, url, previous) {
  86475. return this.call$4(thisArg, url, previous, null);
  86476. },
  86477. "call*": "call$4",
  86478. $requiredArgCount: 3,
  86479. $defaultValues() {
  86480. return [null];
  86481. },
  86482. $signature: 443
  86483. };
  86484. A._parseImporter___closure.prototype = {
  86485. call$1(result) {
  86486. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  86487. },
  86488. $signature: 444
  86489. };
  86490. A._parseImporter____closure.prototype = {
  86491. call$0() {
  86492. return J.run$1$x(this.currentFiber, this.result);
  86493. },
  86494. $signature: 0
  86495. };
  86496. A._parseImporter___closure0.prototype = {
  86497. call$0() {
  86498. return J.yield$0$x(this.fiber);
  86499. },
  86500. $signature: 85
  86501. };
  86502. A.LimitedMapView0.prototype = {
  86503. get$keys(_) {
  86504. return this._limited_map_view0$_keys;
  86505. },
  86506. get$length(_) {
  86507. return this._limited_map_view0$_keys._collection$_length;
  86508. },
  86509. get$isEmpty(_) {
  86510. return this._limited_map_view0$_keys._collection$_length === 0;
  86511. },
  86512. get$isNotEmpty(_) {
  86513. return this._limited_map_view0$_keys._collection$_length !== 0;
  86514. },
  86515. $index(_, key) {
  86516. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  86517. },
  86518. containsKey$1(key) {
  86519. return this._limited_map_view0$_keys.contains$1(0, key);
  86520. },
  86521. remove$1(_, key) {
  86522. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  86523. }
  86524. };
  86525. A.ListExpression0.prototype = {
  86526. accept$1$1(visitor) {
  86527. return visitor.visitListExpression$1(this);
  86528. },
  86529. accept$1(visitor) {
  86530. return this.accept$1$1(visitor, type$.dynamic);
  86531. },
  86532. toString$0(_) {
  86533. var _this = this,
  86534. t1 = _this.hasBrackets,
  86535. t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
  86536. t3 = _this.contents,
  86537. t4 = _this.separator === B.ListSeparator_rXA0 ? ", " : " ";
  86538. t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
  86539. t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
  86540. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86541. },
  86542. _list3$_elementNeedsParens$1(expression) {
  86543. var t1;
  86544. if (expression instanceof A.ListExpression0) {
  86545. if (expression.contents.length < 2)
  86546. return false;
  86547. if (expression.hasBrackets)
  86548. return false;
  86549. t1 = expression.separator;
  86550. return this.separator === B.ListSeparator_rXA0 ? t1 === B.ListSeparator_rXA0 : t1 !== B.ListSeparator_undecided_null_undecided0;
  86551. }
  86552. if (this.separator !== B.ListSeparator_EVt0)
  86553. return false;
  86554. if (expression instanceof A.UnaryOperationExpression0) {
  86555. t1 = expression.operator;
  86556. return t1 === B.UnaryOperator_gg40 || t1 === B.UnaryOperator_TLI0;
  86557. }
  86558. return false;
  86559. },
  86560. $isExpression0: 1,
  86561. $isAstNode0: 1,
  86562. get$span(receiver) {
  86563. return this.span;
  86564. }
  86565. };
  86566. A.ListExpression_toString_closure0.prototype = {
  86567. call$1(element) {
  86568. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  86569. },
  86570. $signature: 113
  86571. };
  86572. A._length_closure2.prototype = {
  86573. call$1($arguments) {
  86574. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  86575. },
  86576. $signature: 11
  86577. };
  86578. A._nth_closure0.prototype = {
  86579. call$1($arguments) {
  86580. var t1 = J.getInterceptor$asx($arguments),
  86581. list = t1.$index($arguments, 0),
  86582. index = t1.$index($arguments, 1);
  86583. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  86584. },
  86585. $signature: 3
  86586. };
  86587. A._setNth_closure0.prototype = {
  86588. call$1($arguments) {
  86589. var t1 = J.getInterceptor$asx($arguments),
  86590. list = t1.$index($arguments, 0),
  86591. index = t1.$index($arguments, 1),
  86592. value = t1.$index($arguments, 2),
  86593. t2 = list.get$asList(),
  86594. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  86595. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  86596. return t1.$index($arguments, 0).withListContents$1(newList);
  86597. },
  86598. $signature: 22
  86599. };
  86600. A._join_closure0.prototype = {
  86601. call$1($arguments) {
  86602. var separator, bracketed,
  86603. t1 = J.getInterceptor$asx($arguments),
  86604. list1 = t1.$index($arguments, 0),
  86605. list2 = t1.$index($arguments, 1),
  86606. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  86607. bracketedParam = t1.$index($arguments, 3);
  86608. t1 = separatorParam._string0$_text;
  86609. if (t1 === "auto")
  86610. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided0)
  86611. separator = list1.get$separator(list1);
  86612. else
  86613. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided0 ? list2.get$separator(list2) : B.ListSeparator_EVt0;
  86614. else if (t1 === "space")
  86615. separator = B.ListSeparator_EVt0;
  86616. else if (t1 === "comma")
  86617. separator = B.ListSeparator_rXA0;
  86618. else {
  86619. if (t1 !== "slash")
  86620. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  86621. separator = B.ListSeparator_zg90;
  86622. }
  86623. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  86624. t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  86625. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  86626. return A.SassList$0(t1, separator, bracketed);
  86627. },
  86628. $signature: 22
  86629. };
  86630. A._append_closure2.prototype = {
  86631. call$1($arguments) {
  86632. var separator,
  86633. t1 = J.getInterceptor$asx($arguments),
  86634. list = t1.$index($arguments, 0),
  86635. value = t1.$index($arguments, 1);
  86636. t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  86637. if (t1 === "auto")
  86638. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  86639. else if (t1 === "space")
  86640. separator = B.ListSeparator_EVt0;
  86641. else if (t1 === "comma")
  86642. separator = B.ListSeparator_rXA0;
  86643. else {
  86644. if (t1 !== "slash")
  86645. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  86646. separator = B.ListSeparator_zg90;
  86647. }
  86648. t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  86649. t1.push(value);
  86650. return list.withListContents$2$separator(t1, separator);
  86651. },
  86652. $signature: 22
  86653. };
  86654. A._zip_closure0.prototype = {
  86655. call$1($arguments) {
  86656. var results, result, _box_0 = {},
  86657. t1 = J.$index$asx($arguments, 0).get$asList(),
  86658. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  86659. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  86660. if (lists.length === 0)
  86661. return B.SassList_Sof0;
  86662. _box_0.i = 0;
  86663. results = A._setArrayType([], type$.JSArray_SassList_2);
  86664. for (t1 = A._arrayInstanceType(lists)._eval$1("MappedListIterable<1,Value0>"), t2 = type$.Value_2; B.JSArray_methods.every$1(lists, new A._zip__closure3(_box_0));) {
  86665. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  86666. result.fixed$length = Array;
  86667. result.immutable$list = Array;
  86668. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  86669. ++_box_0.i;
  86670. }
  86671. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  86672. },
  86673. $signature: 22
  86674. };
  86675. A._zip__closure2.prototype = {
  86676. call$1(list) {
  86677. return list.get$asList();
  86678. },
  86679. $signature: 446
  86680. };
  86681. A._zip__closure3.prototype = {
  86682. call$1(list) {
  86683. return this._box_0.i !== J.get$length$asx(list);
  86684. },
  86685. $signature: 447
  86686. };
  86687. A._zip__closure4.prototype = {
  86688. call$1(list) {
  86689. return J.$index$asx(list, this._box_0.i);
  86690. },
  86691. $signature: 3
  86692. };
  86693. A._index_closure2.prototype = {
  86694. call$1($arguments) {
  86695. var t1 = J.getInterceptor$asx($arguments),
  86696. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  86697. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  86698. },
  86699. $signature: 3
  86700. };
  86701. A._separator_closure0.prototype = {
  86702. call$1($arguments) {
  86703. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  86704. case B.ListSeparator_rXA0:
  86705. return new A.SassString0("comma", false);
  86706. case B.ListSeparator_zg90:
  86707. return new A.SassString0("slash", false);
  86708. default:
  86709. return new A.SassString0("space", false);
  86710. }
  86711. },
  86712. $signature: 17
  86713. };
  86714. A._isBracketed_closure0.prototype = {
  86715. call$1($arguments) {
  86716. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86717. },
  86718. $signature: 19
  86719. };
  86720. A._slash_closure0.prototype = {
  86721. call$1($arguments) {
  86722. var list = J.$index$asx($arguments, 0).get$asList();
  86723. if (list.length < 2)
  86724. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  86725. return A.SassList$0(list, B.ListSeparator_zg90, false);
  86726. },
  86727. $signature: 22
  86728. };
  86729. A.SelectorList0.prototype = {
  86730. get$asSassList() {
  86731. var t1 = this.components;
  86732. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  86733. },
  86734. accept$1$1(visitor) {
  86735. return visitor.visitSelectorList$1(this);
  86736. },
  86737. accept$1(visitor) {
  86738. return this.accept$1$1(visitor, type$.dynamic);
  86739. },
  86740. unify$1(other) {
  86741. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  86742. t1 = type$.JSArray_ComplexSelector_2,
  86743. t2 = A._setArrayType([], t1);
  86744. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  86745. complex1 = t3[_i];
  86746. for (_i0 = 0; _i0 < t6; ++_i0) {
  86747. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1));
  86748. if (t7 != null)
  86749. B.JSArray_methods.addAll$1(t2, t7);
  86750. }
  86751. }
  86752. return t2.length === 0 ? null : A.SelectorList$0(t2);
  86753. },
  86754. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  86755. var t1, _this = this;
  86756. if ($parent == null) {
  86757. if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
  86758. return _this;
  86759. throw A.wrapException(A.SassScriptException$0(string$.Top_le, null));
  86760. }
  86761. t1 = _this.components;
  86762. return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors_closure0(_this, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2));
  86763. },
  86764. resolveParentSelectors$1($parent) {
  86765. return this.resolveParentSelectors$2$implicitParent($parent, true);
  86766. },
  86767. _list2$_complexContainsParentSelector$1(complex) {
  86768. return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
  86769. },
  86770. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  86771. var resolvedSimples, parentSelector, t1,
  86772. simples = component.selector.components,
  86773. containsSelectorPseudo = B.JSArray_methods.any$1(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  86774. if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(simples) instanceof A.ParentSelector0))
  86775. return null;
  86776. resolvedSimples = containsSelectorPseudo ? new A.MappedListIterable(simples, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(simples)._eval$1("MappedListIterable<1,SimpleSelector0>")) : simples;
  86777. parentSelector = B.JSArray_methods.get$first(simples);
  86778. if (!(parentSelector instanceof A.ParentSelector0))
  86779. return A._setArrayType([A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples), A.List_List$unmodifiable(component.combinators, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
  86780. else if (simples.length === 1 && parentSelector.suffix == null)
  86781. return $parent.withAdditionalCombinators$1(component.combinators).components;
  86782. t1 = $parent.components;
  86783. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  86784. },
  86785. isSuperselector$1(other) {
  86786. return A.listIsSuperselector0(this.components, other.components);
  86787. },
  86788. withAdditionalCombinators$1(combinators) {
  86789. var t1;
  86790. if (combinators.length === 0)
  86791. t1 = this;
  86792. else {
  86793. t1 = this.components;
  86794. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")));
  86795. }
  86796. return t1;
  86797. },
  86798. get$hashCode(_) {
  86799. return B.C_ListEquality0.hash$1(this.components);
  86800. },
  86801. $eq(_, other) {
  86802. if (other == null)
  86803. return false;
  86804. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  86805. }
  86806. };
  86807. A.SelectorList_asSassList_closure0.prototype = {
  86808. call$1(complex) {
  86809. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  86810. t1 = type$.JSArray_Value_2,
  86811. t2 = A._setArrayType([], t1);
  86812. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  86813. t2.push(new A.SassString0(t3[_i]._combinator0$_text, false));
  86814. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  86815. component = t3[_i];
  86816. t5 = component.selector;
  86817. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  86818. t5.accept$1(visitor);
  86819. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  86820. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  86821. t5.push(new A.SassString0(t6[_i0]._combinator0$_text, false));
  86822. B.JSArray_methods.addAll$1(t2, t5);
  86823. }
  86824. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  86825. },
  86826. $signature: 448
  86827. };
  86828. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  86829. call$1(complex) {
  86830. var t2, newComplexes, t3, t4, t5, t6, t7, t8, t9, _i, component, resolved, t10, result, t11, i, t12, _i0, newComplex, t13, _this = this,
  86831. _s56_ = string$.leadin,
  86832. t1 = _this.$this;
  86833. if (!t1._list2$_complexContainsParentSelector$1(complex)) {
  86834. if (!_this.implicitParent)
  86835. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  86836. t1 = _this.parent.components;
  86837. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure0(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  86838. }
  86839. t2 = type$.JSArray_ComplexSelector_2;
  86840. newComplexes = A._setArrayType([], t2);
  86841. for (t3 = complex.components, t4 = t3.length, t5 = _this.parent, t6 = type$.Combinator_2, t7 = type$.ComplexSelectorComponent_2, t8 = complex.leadingCombinators, t9 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < t4; ++_i) {
  86842. component = t3[_i];
  86843. resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t5);
  86844. if (resolved == null)
  86845. if (newComplexes.length === 0) {
  86846. t10 = A._setArrayType([component], t9);
  86847. result = A.List_List$from(t8, false, t6);
  86848. result.fixed$length = Array;
  86849. result.immutable$list = Array;
  86850. t11 = result;
  86851. result = A.List_List$from(t10, false, t7);
  86852. result.fixed$length = Array;
  86853. result.immutable$list = Array;
  86854. t10 = result;
  86855. if (t11.length === 0 && t10.length === 0)
  86856. A.throwExpression(A.ArgumentError$(_s56_, null));
  86857. newComplexes.push(new A.ComplexSelector0(t11, t10, false));
  86858. } else
  86859. for (i = 0; i < newComplexes.length; ++i) {
  86860. t10 = newComplexes[i];
  86861. t11 = t10.leadingCombinators;
  86862. t12 = A.List_List$of(t10.components, true, t7);
  86863. t12.push(component);
  86864. t10 = t10.lineBreak || false;
  86865. result = A.List_List$from(t11, false, t6);
  86866. result.fixed$length = Array;
  86867. result.immutable$list = Array;
  86868. t11 = result;
  86869. result = A.List_List$from(t12, false, t7);
  86870. result.fixed$length = Array;
  86871. result.immutable$list = Array;
  86872. t12 = result;
  86873. if (t11.length === 0 && t12.length === 0)
  86874. A.throwExpression(A.ArgumentError$(_s56_, null));
  86875. newComplexes[i] = new A.ComplexSelector0(t11, t12, t10);
  86876. }
  86877. else if (newComplexes.length === 0)
  86878. B.JSArray_methods.addAll$1(newComplexes, resolved);
  86879. else {
  86880. t10 = A._setArrayType([], t2);
  86881. for (t11 = newComplexes.length, t12 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t11 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  86882. newComplex = newComplexes[_i0];
  86883. for (t13 = t12.get$iterator(resolved); t13.moveNext$0();)
  86884. t10.push(newComplex.concatenate$1(t13.get$current(t13)));
  86885. }
  86886. newComplexes = t10;
  86887. }
  86888. }
  86889. return newComplexes;
  86890. },
  86891. $signature: 449
  86892. };
  86893. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  86894. call$1(parentComplex) {
  86895. return parentComplex.concatenate$1(this.complex);
  86896. },
  86897. $signature: 69
  86898. };
  86899. A.SelectorList__complexContainsParentSelector_closure0.prototype = {
  86900. call$1(component) {
  86901. return B.JSArray_methods.any$1(component.selector.components, new A.SelectorList__complexContainsParentSelector__closure0());
  86902. },
  86903. $signature: 51
  86904. };
  86905. A.SelectorList__complexContainsParentSelector__closure0.prototype = {
  86906. call$1(simple) {
  86907. var selector;
  86908. if (simple instanceof A.ParentSelector0)
  86909. return true;
  86910. if (!(simple instanceof A.PseudoSelector0))
  86911. return false;
  86912. selector = simple.selector;
  86913. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
  86914. },
  86915. $signature: 13
  86916. };
  86917. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  86918. call$1(simple) {
  86919. var selector;
  86920. if (!(simple instanceof A.PseudoSelector0))
  86921. return false;
  86922. selector = simple.selector;
  86923. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
  86924. },
  86925. $signature: 13
  86926. };
  86927. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  86928. call$1(simple) {
  86929. var selector, t1, t2, t3;
  86930. if (!(simple instanceof A.PseudoSelector0))
  86931. return simple;
  86932. selector = simple.selector;
  86933. if (selector == null)
  86934. return simple;
  86935. if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
  86936. return simple;
  86937. t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
  86938. t2 = simple.name;
  86939. t3 = simple.isClass;
  86940. return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
  86941. },
  86942. $signature: 450
  86943. };
  86944. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  86945. call$1(complex) {
  86946. var suffix, lastSimples, t2, t3, t4, last,
  86947. t1 = complex.components,
  86948. lastComponent = B.JSArray_methods.get$last(t1);
  86949. if (lastComponent.combinators.length !== 0)
  86950. throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.', null));
  86951. suffix = this.parentSelector.suffix;
  86952. lastSimples = lastComponent.selector.components;
  86953. t2 = type$.SimpleSelector_2;
  86954. t3 = this.resolvedSimples;
  86955. t4 = J.getInterceptor$ax(t3);
  86956. if (suffix == null) {
  86957. t2 = A.List_List$of(lastSimples, true, t2);
  86958. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  86959. } else {
  86960. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t2);
  86961. t2.push(B.JSArray_methods.get$last(lastSimples).addSuffix$1(suffix));
  86962. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  86963. }
  86964. last = A.CompoundSelector$0(t2);
  86965. t2 = complex.leadingCombinators;
  86966. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  86967. t1.push(new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(this.component.combinators, type$.Combinator_2)));
  86968. return A.ComplexSelector$0(t2, t1, complex.lineBreak);
  86969. },
  86970. $signature: 69
  86971. };
  86972. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  86973. call$1(complex) {
  86974. return complex.withAdditionalCombinators$1(this.combinators);
  86975. },
  86976. $signature: 69
  86977. };
  86978. A._NodeSassList.prototype = {};
  86979. A.legacyListClass_closure.prototype = {
  86980. call$4(thisArg, $length, commaSeparator, dartValue) {
  86981. var t1;
  86982. if (dartValue == null) {
  86983. $length.toString;
  86984. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  86985. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  86986. } else
  86987. t1 = dartValue;
  86988. J.set$dartValue$x(thisArg, t1);
  86989. },
  86990. call$2(thisArg, $length) {
  86991. return this.call$4(thisArg, $length, null, null);
  86992. },
  86993. call$3(thisArg, $length, commaSeparator) {
  86994. return this.call$4(thisArg, $length, commaSeparator, null);
  86995. },
  86996. "call*": "call$4",
  86997. $requiredArgCount: 2,
  86998. $defaultValues() {
  86999. return [null, null];
  87000. },
  87001. $signature: 451
  87002. };
  87003. A.legacyListClass__closure.prototype = {
  87004. call$1(_) {
  87005. return B.C__SassNull0;
  87006. },
  87007. $signature: 230
  87008. };
  87009. A.legacyListClass_closure0.prototype = {
  87010. call$2(thisArg, index) {
  87011. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  87012. },
  87013. $signature: 453
  87014. };
  87015. A.legacyListClass_closure1.prototype = {
  87016. call$3(thisArg, index, value) {
  87017. var t1 = J.getInterceptor$x(thisArg),
  87018. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  87019. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  87020. mutable[index] = A.unwrapValue(value);
  87021. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  87022. },
  87023. "call*": "call$3",
  87024. $requiredArgCount: 3,
  87025. $signature: 454
  87026. };
  87027. A.legacyListClass_closure2.prototype = {
  87028. call$1(thisArg) {
  87029. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  87030. },
  87031. $signature: 455
  87032. };
  87033. A.legacyListClass_closure3.prototype = {
  87034. call$2(thisArg, isComma) {
  87035. var t1 = J.getInterceptor$x(thisArg),
  87036. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  87037. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  87038. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  87039. },
  87040. $signature: 456
  87041. };
  87042. A.legacyListClass_closure4.prototype = {
  87043. call$1(thisArg) {
  87044. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  87045. },
  87046. $signature: 457
  87047. };
  87048. A.listClass_closure.prototype = {
  87049. call$0() {
  87050. var t1 = type$.JSClass,
  87051. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  87052. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  87053. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  87054. return jsClass;
  87055. },
  87056. $signature: 25
  87057. };
  87058. A.listClass__closure.prototype = {
  87059. call$3($self, contentsOrOptions, options) {
  87060. var contents, t1, t2;
  87061. if (self.immutable.isList(contentsOrOptions))
  87062. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  87063. else if (type$.List_dynamic._is(contentsOrOptions))
  87064. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  87065. else {
  87066. contents = A._setArrayType([], type$.JSArray_Value_2);
  87067. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  87068. options = contentsOrOptions;
  87069. }
  87070. t1 = options == null;
  87071. if (!t1) {
  87072. t2 = J.get$separator$x(options);
  87073. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  87074. } else
  87075. t2 = true;
  87076. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  87077. t1 = t1 ? null : J.get$brackets$x(options);
  87078. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  87079. },
  87080. call$1($self) {
  87081. return this.call$3($self, null, null);
  87082. },
  87083. call$2($self, contentsOrOptions) {
  87084. return this.call$3($self, contentsOrOptions, null);
  87085. },
  87086. "call*": "call$3",
  87087. $requiredArgCount: 1,
  87088. $defaultValues() {
  87089. return [null, null];
  87090. },
  87091. $signature: 458
  87092. };
  87093. A.listClass__closure0.prototype = {
  87094. call$2($self, indexFloat) {
  87095. var index = B.JSNumber_methods.floor$0(indexFloat);
  87096. if (index < 0)
  87097. index = $self.get$asList().length + index;
  87098. if (index < 0 || index >= $self.get$asList().length)
  87099. return self.undefined;
  87100. return $self.get$asList()[index];
  87101. },
  87102. $signature: 231
  87103. };
  87104. A._ConstructorOptions.prototype = {};
  87105. A.SassList0.prototype = {
  87106. get$separator(_) {
  87107. return this._list1$_separator;
  87108. },
  87109. get$hasBrackets() {
  87110. return this._list1$_hasBrackets;
  87111. },
  87112. get$isBlank() {
  87113. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  87114. },
  87115. get$asList() {
  87116. return this._list1$_contents;
  87117. },
  87118. get$lengthAsList() {
  87119. return this._list1$_contents.length;
  87120. },
  87121. SassList$3$brackets0(contents, _separator, brackets) {
  87122. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  87123. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  87124. },
  87125. accept$1$1(visitor) {
  87126. return visitor.visitList$1(this);
  87127. },
  87128. accept$1(visitor) {
  87129. return this.accept$1$1(visitor, type$.dynamic);
  87130. },
  87131. assertMap$1($name) {
  87132. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  87133. },
  87134. tryMap$0() {
  87135. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  87136. },
  87137. $eq(_, other) {
  87138. var t1, _this = this;
  87139. if (other == null)
  87140. return false;
  87141. if (!(other instanceof A.SassList0 && other._list1$_separator === _this._list1$_separator && other._list1$_hasBrackets === _this._list1$_hasBrackets && B.C_ListEquality.equals$2(0, other._list1$_contents, _this._list1$_contents)))
  87142. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  87143. else
  87144. t1 = true;
  87145. return t1;
  87146. },
  87147. get$hashCode(_) {
  87148. return B.C_ListEquality0.hash$1(this._list1$_contents);
  87149. }
  87150. };
  87151. A.SassList_isBlank_closure0.prototype = {
  87152. call$1(element) {
  87153. return element.get$isBlank();
  87154. },
  87155. $signature: 44
  87156. };
  87157. A.ListSeparator0.prototype = {
  87158. toString$0(_) {
  87159. return this._list1$_name;
  87160. }
  87161. };
  87162. A.NodeLogger.prototype = {};
  87163. A.WarnOptions.prototype = {};
  87164. A.DebugOptions.prototype = {};
  87165. A._QuietLogger0.prototype = {
  87166. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  87167. },
  87168. warn$2$span($receiver, message, span) {
  87169. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  87170. },
  87171. warn$3$deprecation$span($receiver, message, deprecation, span) {
  87172. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  87173. }
  87174. };
  87175. A.LoudComment0.prototype = {
  87176. get$span(_) {
  87177. return this.text.span;
  87178. },
  87179. accept$1$1(visitor) {
  87180. return visitor.visitLoudComment$1(this);
  87181. },
  87182. accept$1(visitor) {
  87183. return this.accept$1$1(visitor, type$.dynamic);
  87184. },
  87185. toString$0(_) {
  87186. return this.text.toString$0(0);
  87187. },
  87188. $isAstNode0: 1,
  87189. $isStatement0: 1
  87190. };
  87191. A.MapExpression0.prototype = {
  87192. accept$1$1(visitor) {
  87193. return visitor.visitMapExpression$1(this);
  87194. },
  87195. accept$1(visitor) {
  87196. return this.accept$1$1(visitor, type$.dynamic);
  87197. },
  87198. toString$0(_) {
  87199. var t1 = this.pairs;
  87200. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  87201. },
  87202. $isExpression0: 1,
  87203. $isAstNode0: 1,
  87204. get$span(receiver) {
  87205. return this.span;
  87206. }
  87207. };
  87208. A.MapExpression_toString_closure0.prototype = {
  87209. call$1(pair) {
  87210. return A.S(pair.item1) + ": " + A.S(pair.item2);
  87211. },
  87212. $signature: 460
  87213. };
  87214. A._get_closure0.prototype = {
  87215. call$1($arguments) {
  87216. var value,
  87217. t1 = J.getInterceptor$asx($arguments),
  87218. map = t1.$index($arguments, 0).assertMap$1("map"),
  87219. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87220. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87221. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  87222. value = map._map0$_contents.$index(0, t1.get$current(t1));
  87223. if (!(value instanceof A.SassMap0))
  87224. return B.C__SassNull0;
  87225. }
  87226. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  87227. return t1 == null ? B.C__SassNull0 : t1;
  87228. },
  87229. $signature: 3
  87230. };
  87231. A._set_closure1.prototype = {
  87232. call$1($arguments) {
  87233. var t1 = J.getInterceptor$asx($arguments);
  87234. return A._modify0(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2), new A._set__closure2($arguments), true);
  87235. },
  87236. $signature: 3
  87237. };
  87238. A._set__closure2.prototype = {
  87239. call$1(_) {
  87240. return J.$index$asx(this.$arguments, 2);
  87241. },
  87242. $signature: 39
  87243. };
  87244. A._set_closure2.prototype = {
  87245. call$1($arguments) {
  87246. var t1 = J.getInterceptor$asx($arguments),
  87247. map = t1.$index($arguments, 0).assertMap$1("map"),
  87248. args = t1.$index($arguments, 1).get$asList();
  87249. t1 = args.length;
  87250. if (t1 === 0)
  87251. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  87252. else if (t1 === 1)
  87253. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  87254. return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
  87255. },
  87256. $signature: 3
  87257. };
  87258. A._set__closure1.prototype = {
  87259. call$1(_) {
  87260. return B.JSArray_methods.get$last(this.args);
  87261. },
  87262. $signature: 39
  87263. };
  87264. A._merge_closure1.prototype = {
  87265. call$1($arguments) {
  87266. var t2,
  87267. t1 = J.getInterceptor$asx($arguments),
  87268. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  87269. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  87270. t1 = type$.Value_2;
  87271. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  87272. t2.addAll$1(0, map2._map0$_contents);
  87273. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87274. },
  87275. $signature: 34
  87276. };
  87277. A._merge_closure2.prototype = {
  87278. call$1($arguments) {
  87279. var map2,
  87280. t1 = J.getInterceptor$asx($arguments),
  87281. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  87282. args = t1.$index($arguments, 1).get$asList();
  87283. t1 = args.length;
  87284. if (t1 === 0)
  87285. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  87286. else if (t1 === 1)
  87287. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", null));
  87288. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  87289. return A._modify0(map1, A.IterableExtension_get_exceptLast0(args), new A._merge__closure0(map2), true);
  87290. },
  87291. $signature: 3
  87292. };
  87293. A._merge__closure0.prototype = {
  87294. call$1(oldValue) {
  87295. var t1, t2,
  87296. nestedMap = oldValue.tryMap$0();
  87297. if (nestedMap == null)
  87298. return this.map2;
  87299. t1 = type$.Value_2;
  87300. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  87301. t2.addAll$1(0, this.map2._map0$_contents);
  87302. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87303. },
  87304. $signature: 461
  87305. };
  87306. A._deepMerge_closure0.prototype = {
  87307. call$1($arguments) {
  87308. var t1 = J.getInterceptor$asx($arguments);
  87309. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  87310. },
  87311. $signature: 34
  87312. };
  87313. A._deepRemove_closure0.prototype = {
  87314. call$1($arguments) {
  87315. var t1 = J.getInterceptor$asx($arguments),
  87316. map = t1.$index($arguments, 0).assertMap$1("map"),
  87317. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87318. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87319. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  87320. },
  87321. $signature: 3
  87322. };
  87323. A._deepRemove__closure0.prototype = {
  87324. call$1(value) {
  87325. var t1, t2,
  87326. nestedMap = value.tryMap$0();
  87327. if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  87328. t1 = type$.Value_2;
  87329. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  87330. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  87331. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87332. }
  87333. return value;
  87334. },
  87335. $signature: 39
  87336. };
  87337. A._remove_closure1.prototype = {
  87338. call$1($arguments) {
  87339. return J.$index$asx($arguments, 0).assertMap$1("map");
  87340. },
  87341. $signature: 34
  87342. };
  87343. A._remove_closure2.prototype = {
  87344. call$1($arguments) {
  87345. var mutableMap, t3, _i,
  87346. t1 = J.getInterceptor$asx($arguments),
  87347. map = t1.$index($arguments, 0).assertMap$1("map"),
  87348. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87349. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87350. t1 = type$.Value_2;
  87351. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  87352. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  87353. mutableMap.remove$1(0, t2[_i]);
  87354. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87355. },
  87356. $signature: 34
  87357. };
  87358. A._keys_closure0.prototype = {
  87359. call$1($arguments) {
  87360. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  87361. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  87362. },
  87363. $signature: 22
  87364. };
  87365. A._values_closure0.prototype = {
  87366. call$1($arguments) {
  87367. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  87368. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  87369. },
  87370. $signature: 22
  87371. };
  87372. A._hasKey_closure0.prototype = {
  87373. call$1($arguments) {
  87374. var value,
  87375. t1 = J.getInterceptor$asx($arguments),
  87376. map = t1.$index($arguments, 0).assertMap$1("map"),
  87377. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87378. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87379. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  87380. value = map._map0$_contents.$index(0, t1.get$current(t1));
  87381. if (!(value instanceof A.SassMap0))
  87382. return B.SassBoolean_false0;
  87383. }
  87384. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87385. },
  87386. $signature: 19
  87387. };
  87388. A._modify_modifyNestedMap0.prototype = {
  87389. call$1(map) {
  87390. var nestedMap, _this = this,
  87391. t1 = type$.Value_2,
  87392. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  87393. t2 = _this.keyIterator,
  87394. key = t2.get$current(t2);
  87395. if (!t2.moveNext$0()) {
  87396. t2 = mutableMap.$index(0, key);
  87397. if (t2 == null)
  87398. t2 = B.C__SassNull0;
  87399. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  87400. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87401. }
  87402. t2 = mutableMap.$index(0, key);
  87403. nestedMap = t2 == null ? null : t2.tryMap$0();
  87404. t2 = nestedMap == null;
  87405. if (t2 && !_this.addNesting)
  87406. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87407. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  87408. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87409. },
  87410. $signature: 462
  87411. };
  87412. A._deepMergeImpl_closure0.prototype = {
  87413. call$2(key, value) {
  87414. var valueMap, merged,
  87415. t1 = this.result,
  87416. t2 = t1.$index(0, key),
  87417. resultMap = t2 == null ? null : t2.tryMap$0();
  87418. if (resultMap == null)
  87419. t1.$indexSet(0, key, value);
  87420. else {
  87421. valueMap = value.tryMap$0();
  87422. if (valueMap != null) {
  87423. merged = A._deepMergeImpl0(resultMap, valueMap);
  87424. if (merged === resultMap)
  87425. return;
  87426. t1.$indexSet(0, key, merged);
  87427. } else
  87428. t1.$indexSet(0, key, value);
  87429. }
  87430. },
  87431. $signature: 58
  87432. };
  87433. A._NodeSassMap.prototype = {};
  87434. A.legacyMapClass_closure.prototype = {
  87435. call$3(thisArg, $length, dartValue) {
  87436. var t1, t2, t3, map;
  87437. if (dartValue == null) {
  87438. $length.toString;
  87439. t1 = type$.Value_2;
  87440. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  87441. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  87442. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  87443. A.MapBase__fillMapWithIterables(map, t2, t3);
  87444. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  87445. } else
  87446. t1 = dartValue;
  87447. J.set$dartValue$x(thisArg, t1);
  87448. },
  87449. call$2(thisArg, $length) {
  87450. return this.call$3(thisArg, $length, null);
  87451. },
  87452. "call*": "call$3",
  87453. $requiredArgCount: 2,
  87454. $defaultValues() {
  87455. return [null];
  87456. },
  87457. $signature: 463
  87458. };
  87459. A.legacyMapClass__closure.prototype = {
  87460. call$1(i) {
  87461. return A.SassNumber_SassNumber0(i, null);
  87462. },
  87463. $signature: 464
  87464. };
  87465. A.legacyMapClass__closure0.prototype = {
  87466. call$1(_) {
  87467. return B.C__SassNull0;
  87468. },
  87469. $signature: 230
  87470. };
  87471. A.legacyMapClass_closure0.prototype = {
  87472. call$2(thisArg, index) {
  87473. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87474. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  87475. },
  87476. $signature: 232
  87477. };
  87478. A.legacyMapClass_closure1.prototype = {
  87479. call$2(thisArg, index) {
  87480. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87481. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  87482. },
  87483. $signature: 232
  87484. };
  87485. A.legacyMapClass_closure2.prototype = {
  87486. call$1(thisArg) {
  87487. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87488. return t1.get$length(t1);
  87489. },
  87490. $signature: 466
  87491. };
  87492. A.legacyMapClass_closure3.prototype = {
  87493. call$3(thisArg, index, key) {
  87494. var newKey, t2, newMap, t3, i, t4, t5,
  87495. t1 = J.getInterceptor$x(thisArg);
  87496. A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
  87497. newKey = A.unwrapValue(key);
  87498. t2 = type$.Value_2;
  87499. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  87500. for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  87501. t4 = t3.get$current(t3);
  87502. if (i === index)
  87503. newMap.$indexSet(0, newKey, t4.value);
  87504. else {
  87505. t5 = t4.key;
  87506. if (newKey.$eq(0, t5))
  87507. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  87508. newMap.$indexSet(0, t5, t4.value);
  87509. }
  87510. ++i;
  87511. }
  87512. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  87513. },
  87514. "call*": "call$3",
  87515. $requiredArgCount: 3,
  87516. $signature: 233
  87517. };
  87518. A.legacyMapClass_closure4.prototype = {
  87519. call$3(thisArg, index, value) {
  87520. var t3,
  87521. t1 = J.getInterceptor$x(thisArg),
  87522. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  87523. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  87524. t2 = type$.Value_2;
  87525. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  87526. t3.$indexSet(0, key, A.unwrapValue(value));
  87527. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  87528. },
  87529. "call*": "call$3",
  87530. $requiredArgCount: 3,
  87531. $signature: 233
  87532. };
  87533. A.mapClass_closure.prototype = {
  87534. call$0() {
  87535. var t1 = type$.JSClass,
  87536. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  87537. t2 = J.getInterceptor$x(jsClass);
  87538. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  87539. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  87540. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  87541. return jsClass;
  87542. },
  87543. $signature: 25
  87544. };
  87545. A.mapClass__closure.prototype = {
  87546. call$2($self, contents) {
  87547. var t1;
  87548. if (contents == null)
  87549. t1 = B.SassMap_Map_empty0;
  87550. else {
  87551. t1 = type$.Value_2;
  87552. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  87553. }
  87554. return t1;
  87555. },
  87556. call$1($self) {
  87557. return this.call$2($self, null);
  87558. },
  87559. "call*": "call$2",
  87560. $requiredArgCount: 1,
  87561. $defaultValues() {
  87562. return [null];
  87563. },
  87564. $signature: 468
  87565. };
  87566. A.mapClass__closure0.prototype = {
  87567. call$1($self) {
  87568. return A.dartMapToImmutableMap($self._map0$_contents);
  87569. },
  87570. $signature: 469
  87571. };
  87572. A.mapClass__closure1.prototype = {
  87573. call$2($self, indexOrKey) {
  87574. var index, t1, entry;
  87575. if (typeof indexOrKey == "number") {
  87576. index = B.JSNumber_methods.floor$0(indexOrKey);
  87577. if (index < 0) {
  87578. t1 = $self._map0$_contents;
  87579. index = t1.get$length(t1) + index;
  87580. }
  87581. if (index >= 0) {
  87582. t1 = $self._map0$_contents;
  87583. t1 = index >= t1.get$length(t1);
  87584. } else
  87585. t1 = true;
  87586. if (t1)
  87587. return self.undefined;
  87588. t1 = $self._map0$_contents;
  87589. entry = t1.get$entries(t1).elementAt$1(0, index);
  87590. return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  87591. } else {
  87592. t1 = $self._map0$_contents.$index(0, indexOrKey);
  87593. return t1 == null ? self.undefined : t1;
  87594. }
  87595. },
  87596. $signature: 470
  87597. };
  87598. A.SassMap0.prototype = {
  87599. get$separator(_) {
  87600. var t1 = this._map0$_contents;
  87601. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  87602. },
  87603. get$asList() {
  87604. var result = A._setArrayType([], type$.JSArray_Value_2);
  87605. this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
  87606. return result;
  87607. },
  87608. get$lengthAsList() {
  87609. var t1 = this._map0$_contents;
  87610. return t1.get$length(t1);
  87611. },
  87612. accept$1$1(visitor) {
  87613. return visitor.visitMap$1(this);
  87614. },
  87615. accept$1(visitor) {
  87616. return this.accept$1$1(visitor, type$.dynamic);
  87617. },
  87618. assertMap$1($name) {
  87619. return this;
  87620. },
  87621. tryMap$0() {
  87622. return this;
  87623. },
  87624. $eq(_, other) {
  87625. var t1;
  87626. if (other == null)
  87627. return false;
  87628. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  87629. t1 = this._map0$_contents;
  87630. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  87631. } else
  87632. t1 = true;
  87633. return t1;
  87634. },
  87635. get$hashCode(_) {
  87636. var t1 = this._map0$_contents;
  87637. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  87638. }
  87639. };
  87640. A.SassMap_asList_closure0.prototype = {
  87641. call$2(key, value) {
  87642. this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false));
  87643. },
  87644. $signature: 58
  87645. };
  87646. A._ceil_closure0.prototype = {
  87647. call$1(value) {
  87648. return B.JSNumber_methods.ceil$0(value);
  87649. },
  87650. $signature: 29
  87651. };
  87652. A._clamp_closure0.prototype = {
  87653. call$1($arguments) {
  87654. var t1 = J.getInterceptor$asx($arguments),
  87655. min = t1.$index($arguments, 0).assertNumber$1("min"),
  87656. number = t1.$index($arguments, 1).assertNumber$1("number"),
  87657. max = t1.$index($arguments, 2).assertNumber$1("max");
  87658. number.convertValueToMatch$3(min, "number", "min");
  87659. max.convertValueToMatch$3(min, "max", "min");
  87660. if (min.greaterThanOrEquals$1(max).value)
  87661. return min;
  87662. if (min.greaterThanOrEquals$1(number).value)
  87663. return min;
  87664. if (number.greaterThanOrEquals$1(max).value)
  87665. return max;
  87666. return number;
  87667. },
  87668. $signature: 11
  87669. };
  87670. A._floor_closure0.prototype = {
  87671. call$1(value) {
  87672. return B.JSNumber_methods.floor$0(value);
  87673. },
  87674. $signature: 29
  87675. };
  87676. A._max_closure0.prototype = {
  87677. call$1($arguments) {
  87678. var t1, t2, max, _i, number;
  87679. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, max = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  87680. number = t1[_i].assertNumber$0();
  87681. if (max == null || max.lessThan$1(number).value)
  87682. max = number;
  87683. }
  87684. if (max != null)
  87685. return max;
  87686. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87687. },
  87688. $signature: 11
  87689. };
  87690. A._min_closure0.prototype = {
  87691. call$1($arguments) {
  87692. var t1, t2, min, _i, number;
  87693. for (t1 = J.$index$asx($arguments, 0).get$asList(), t2 = t1.length, min = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  87694. number = t1[_i].assertNumber$0();
  87695. if (min == null || min.greaterThan$1(number).value)
  87696. min = number;
  87697. }
  87698. if (min != null)
  87699. return min;
  87700. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87701. },
  87702. $signature: 11
  87703. };
  87704. A._round_closure0.prototype = {
  87705. call$1(number) {
  87706. return B.JSNumber_methods.round$0(number);
  87707. },
  87708. $signature: 29
  87709. };
  87710. A._abs_closure0.prototype = {
  87711. call$1(value) {
  87712. return Math.abs(value);
  87713. },
  87714. $signature: 29
  87715. };
  87716. A._hypot_closure0.prototype = {
  87717. call$1($arguments) {
  87718. var subtotal, i, i0, t3, t4,
  87719. t1 = J.$index$asx($arguments, 0).get$asList(),
  87720. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  87721. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  87722. t1 = numbers.length;
  87723. if (t1 === 0)
  87724. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87725. for (subtotal = 0, i = 0; i < t1; i = i0) {
  87726. i0 = i + 1;
  87727. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  87728. }
  87729. t1 = Math.sqrt(subtotal);
  87730. t2 = numbers[0];
  87731. t3 = J.getInterceptor$x(t2);
  87732. t4 = t3.get$numeratorUnits(t2);
  87733. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  87734. },
  87735. $signature: 11
  87736. };
  87737. A._hypot__closure0.prototype = {
  87738. call$1(argument) {
  87739. return argument.assertNumber$0();
  87740. },
  87741. $signature: 471
  87742. };
  87743. A._log_closure0.prototype = {
  87744. call$1($arguments) {
  87745. var base,
  87746. _s18_ = " to have no units.",
  87747. _null = null,
  87748. t1 = J.getInterceptor$asx($arguments),
  87749. number = t1.$index($arguments, 0).assertNumber$1("number");
  87750. if (number.get$hasUnits())
  87751. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  87752. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  87753. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  87754. base = t1.$index($arguments, 1).assertNumber$1("base");
  87755. if (base.get$hasUnits())
  87756. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  87757. else
  87758. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  87759. },
  87760. $signature: 11
  87761. };
  87762. A._pow_closure0.prototype = {
  87763. call$1($arguments) {
  87764. var _s18_ = " to have no units.",
  87765. t1 = J.getInterceptor$asx($arguments),
  87766. base = t1.$index($arguments, 0).assertNumber$1("base"),
  87767. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  87768. if (base.get$hasUnits())
  87769. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, null));
  87770. else if (exponent.get$hasUnits())
  87771. throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  87772. else
  87773. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  87774. },
  87775. $signature: 11
  87776. };
  87777. A._sqrt_closure0.prototype = {
  87778. call$1($arguments) {
  87779. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87780. if (number.get$hasUnits())
  87781. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87782. else
  87783. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  87784. },
  87785. $signature: 11
  87786. };
  87787. A._acos_closure0.prototype = {
  87788. call$1($arguments) {
  87789. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87790. if (number.get$hasUnits())
  87791. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87792. else
  87793. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87794. },
  87795. $signature: 11
  87796. };
  87797. A._asin_closure0.prototype = {
  87798. call$1($arguments) {
  87799. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87800. if (number.get$hasUnits())
  87801. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87802. else
  87803. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87804. },
  87805. $signature: 11
  87806. };
  87807. A._atan_closure0.prototype = {
  87808. call$1($arguments) {
  87809. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87810. if (number.get$hasUnits())
  87811. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87812. else
  87813. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87814. },
  87815. $signature: 11
  87816. };
  87817. A._atan2_closure0.prototype = {
  87818. call$1($arguments) {
  87819. var t1 = J.getInterceptor$asx($arguments),
  87820. y = t1.$index($arguments, 0).assertNumber$1("y");
  87821. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87822. },
  87823. $signature: 11
  87824. };
  87825. A._cos_closure0.prototype = {
  87826. call$1($arguments) {
  87827. return A.SassNumber_SassNumber0(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87828. },
  87829. $signature: 11
  87830. };
  87831. A._sin_closure0.prototype = {
  87832. call$1($arguments) {
  87833. return A.SassNumber_SassNumber0(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87834. },
  87835. $signature: 11
  87836. };
  87837. A._tan_closure0.prototype = {
  87838. call$1($arguments) {
  87839. return A.SassNumber_SassNumber0(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87840. },
  87841. $signature: 11
  87842. };
  87843. A._compatible_closure0.prototype = {
  87844. call$1($arguments) {
  87845. var t1 = J.getInterceptor$asx($arguments);
  87846. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87847. },
  87848. $signature: 19
  87849. };
  87850. A._isUnitless_closure0.prototype = {
  87851. call$1($arguments) {
  87852. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87853. },
  87854. $signature: 19
  87855. };
  87856. A._unit_closure0.prototype = {
  87857. call$1($arguments) {
  87858. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  87859. },
  87860. $signature: 17
  87861. };
  87862. A._percentage_closure0.prototype = {
  87863. call$1($arguments) {
  87864. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87865. number.assertNoUnits$1("number");
  87866. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  87867. },
  87868. $signature: 11
  87869. };
  87870. A._randomFunction_closure0.prototype = {
  87871. call$1($arguments) {
  87872. var limit, t2, t3, t4, limitScalar,
  87873. t1 = J.getInterceptor$asx($arguments);
  87874. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  87875. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  87876. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  87877. if (limit.get$hasUnits()) {
  87878. t1 = limit.toString$0(0);
  87879. t2 = limit.get$unitString();
  87880. t3 = limit.get$unitString();
  87881. t4 = limit.get$unitString();
  87882. A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, false);
  87883. }
  87884. limitScalar = limit.assertInt$1("limit");
  87885. if (limitScalar < 1)
  87886. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  87887. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  87888. },
  87889. $signature: 11
  87890. };
  87891. A._div_closure0.prototype = {
  87892. call$1($arguments) {
  87893. var t1 = J.getInterceptor$asx($arguments),
  87894. number1 = t1.$index($arguments, 0),
  87895. number2 = t1.$index($arguments, 1);
  87896. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  87897. A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
  87898. return number1.dividedBy$1(number2);
  87899. },
  87900. $signature: 3
  87901. };
  87902. A._numberFunction_closure0.prototype = {
  87903. call$1($arguments) {
  87904. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  87905. t1 = this.transform.call$1(number._number1$_value),
  87906. t2 = number.get$numeratorUnits(number);
  87907. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  87908. },
  87909. $signature: 11
  87910. };
  87911. A.CssMediaQuery0.prototype = {
  87912. merge$1(other) {
  87913. var t1, ourModifier, t2, t3, ourType, t4, theirModifier, t5, t6, theirType, t7, t8, negativeConditions, conditions, type, modifier, fewerConditions, fewerConditions0, moreConditions, _this = this, _null = null, _s3_ = "all";
  87914. if (!_this.conjunction || !other.conjunction)
  87915. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87916. t1 = _this.modifier;
  87917. ourModifier = t1 == null ? _null : t1.toLowerCase();
  87918. t2 = _this.type;
  87919. t3 = t2 == null;
  87920. ourType = t3 ? _null : t2.toLowerCase();
  87921. t4 = other.modifier;
  87922. theirModifier = t4 == null ? _null : t4.toLowerCase();
  87923. t5 = other.type;
  87924. t6 = t5 == null;
  87925. theirType = t6 ? _null : t5.toLowerCase();
  87926. t7 = ourType == null;
  87927. if (t7 && theirType == null) {
  87928. t1 = A.List_List$of(_this.conditions, true, type$.String);
  87929. B.JSArray_methods.addAll$1(t1, other.conditions);
  87930. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  87931. }
  87932. t8 = ourModifier === "not";
  87933. if (t8 !== (theirModifier === "not")) {
  87934. if (ourType == theirType) {
  87935. negativeConditions = t8 ? _this.conditions : other.conditions;
  87936. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  87937. return B._SingletonCssMediaQueryMergeResult_empty0;
  87938. else
  87939. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87940. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  87941. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87942. if (t8) {
  87943. conditions = other.conditions;
  87944. type = theirType;
  87945. modifier = theirModifier;
  87946. } else {
  87947. conditions = _this.conditions;
  87948. type = ourType;
  87949. modifier = ourModifier;
  87950. }
  87951. } else if (t8) {
  87952. if (ourType != theirType)
  87953. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87954. fewerConditions = _this.conditions;
  87955. fewerConditions0 = other.conditions;
  87956. t3 = fewerConditions.length > fewerConditions0.length;
  87957. moreConditions = t3 ? fewerConditions : fewerConditions0;
  87958. if (t3)
  87959. fewerConditions = fewerConditions0;
  87960. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  87961. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87962. conditions = moreConditions;
  87963. type = ourType;
  87964. modifier = ourModifier;
  87965. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  87966. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  87967. t3 = A.List_List$of(_this.conditions, true, type$.String);
  87968. B.JSArray_methods.addAll$1(t3, other.conditions);
  87969. conditions = t3;
  87970. modifier = theirModifier;
  87971. } else {
  87972. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  87973. t3 = A.List_List$of(_this.conditions, true, type$.String);
  87974. B.JSArray_methods.addAll$1(t3, other.conditions);
  87975. conditions = t3;
  87976. modifier = ourModifier;
  87977. } else {
  87978. if (ourType != theirType)
  87979. return B._SingletonCssMediaQueryMergeResult_empty0;
  87980. else {
  87981. modifier = ourModifier == null ? theirModifier : ourModifier;
  87982. t3 = A.List_List$of(_this.conditions, true, type$.String);
  87983. B.JSArray_methods.addAll$1(t3, other.conditions);
  87984. }
  87985. conditions = t3;
  87986. }
  87987. type = ourType;
  87988. }
  87989. t2 = type == ourType ? t2 : t5;
  87990. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  87991. },
  87992. $eq(_, other) {
  87993. if (other == null)
  87994. return false;
  87995. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  87996. },
  87997. get$hashCode(_) {
  87998. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  87999. },
  88000. toString$0(_) {
  88001. var t2, _this = this,
  88002. t1 = _this.modifier;
  88003. t1 = t1 != null ? "" + (t1 + " ") : "";
  88004. t2 = _this.type;
  88005. if (t2 != null) {
  88006. t1 += t2;
  88007. if (_this.conditions.length !== 0)
  88008. t1 += " and ";
  88009. }
  88010. t2 = _this.conjunction ? " and " : " or ";
  88011. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  88012. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88013. }
  88014. };
  88015. A._SingletonCssMediaQueryMergeResult0.prototype = {
  88016. toString$0(_) {
  88017. return this._media_query0$_name;
  88018. }
  88019. };
  88020. A.MediaQuerySuccessfulMergeResult0.prototype = {
  88021. toString$0(_) {
  88022. return this.query.toString$0(0);
  88023. }
  88024. };
  88025. A.MediaQueryParser0.prototype = {
  88026. parse$0() {
  88027. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  88028. },
  88029. _media_query1$_mediaQuery$0() {
  88030. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  88031. if (_this.scanner.peekChar$0() === 40) {
  88032. conditions = A._setArrayType([_this._media_query1$_mediaInParens$0()], type$.JSArray_String);
  88033. _this.whitespace$0();
  88034. if (_this.scanIdentifier$1(_s3_)) {
  88035. _this.expectWhitespace$0();
  88036. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1(_s3_));
  88037. conjunction = true;
  88038. } else if (_this.scanIdentifier$1("or")) {
  88039. _this.expectWhitespace$0();
  88040. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1("or"));
  88041. conjunction = false;
  88042. } else
  88043. conjunction = true;
  88044. return A.CssMediaQuery$condition0(conditions, conjunction);
  88045. }
  88046. identifier1 = _this.identifier$0();
  88047. if (A.equalsIgnoreCase0(identifier1, "not")) {
  88048. _this.expectWhitespace$0();
  88049. if (!_this.lookingAtIdentifier$0())
  88050. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  88051. }
  88052. _this.whitespace$0();
  88053. if (!_this.lookingAtIdentifier$0())
  88054. return A.CssMediaQuery$type0(identifier1, _null, _null);
  88055. identifier2 = _this.identifier$0();
  88056. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  88057. _this.expectWhitespace$0();
  88058. type = identifier1;
  88059. modifier = _null;
  88060. } else {
  88061. _this.whitespace$0();
  88062. if (_this.scanIdentifier$1(_s3_))
  88063. _this.expectWhitespace$0();
  88064. else
  88065. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  88066. type = identifier2;
  88067. modifier = identifier1;
  88068. }
  88069. if (_this.scanIdentifier$1("not")) {
  88070. _this.expectWhitespace$0();
  88071. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  88072. }
  88073. return A.CssMediaQuery$type0(type, _this._media_query1$_mediaLogicSequence$1(_s3_), modifier);
  88074. },
  88075. _media_query1$_mediaLogicSequence$1(operator) {
  88076. var t1, t2, _this = this,
  88077. result = A._setArrayType([], type$.JSArray_String);
  88078. for (t1 = _this.scanner; true;) {
  88079. t1.expectChar$2$name(40, "media condition in parentheses");
  88080. t2 = _this.declarationValue$0();
  88081. t1.expectChar$1(41);
  88082. result.push("(" + t2 + ")");
  88083. _this.whitespace$0();
  88084. if (!_this.scanIdentifier$1(operator))
  88085. return result;
  88086. _this.expectWhitespace$0();
  88087. }
  88088. },
  88089. _media_query1$_mediaInParens$0() {
  88090. var t2,
  88091. t1 = this.scanner;
  88092. t1.expectChar$2$name(40, "media condition in parentheses");
  88093. t2 = this.declarationValue$0();
  88094. t1.expectChar$1(41);
  88095. return "(" + t2 + ")";
  88096. }
  88097. };
  88098. A.MediaQueryParser_parse_closure0.prototype = {
  88099. call$0() {
  88100. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  88101. t1 = this.$this,
  88102. t2 = t1.scanner;
  88103. do {
  88104. t1.whitespace$0();
  88105. queries.push(t1._media_query1$_mediaQuery$0());
  88106. t1.whitespace$0();
  88107. } while (t2.scanChar$1(44));
  88108. t2.expectDone$0();
  88109. return queries;
  88110. },
  88111. $signature: 109
  88112. };
  88113. A.ModifiableCssMediaRule0.prototype = {
  88114. accept$1$1(visitor) {
  88115. return visitor.visitCssMediaRule$1(this);
  88116. },
  88117. accept$1(visitor) {
  88118. return this.accept$1$1(visitor, type$.dynamic);
  88119. },
  88120. copyWithoutChildren$0() {
  88121. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  88122. },
  88123. $isCssMediaRule0: 1,
  88124. get$span(receiver) {
  88125. return this.span;
  88126. }
  88127. };
  88128. A.MediaRule0.prototype = {
  88129. accept$1$1(visitor) {
  88130. return visitor.visitMediaRule$1(this);
  88131. },
  88132. accept$1(visitor) {
  88133. return this.accept$1$1(visitor, type$.dynamic);
  88134. },
  88135. toString$0(_) {
  88136. var t1 = this.children;
  88137. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  88138. },
  88139. get$span(receiver) {
  88140. return this.span;
  88141. }
  88142. };
  88143. A.MergedExtension0.prototype = {
  88144. unmerge$0() {
  88145. var $async$self = this;
  88146. return A._makeSyncStarIterable(function() {
  88147. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  88148. return function $async$unmerge$0($async$errorCode, $async$result) {
  88149. if ($async$errorCode === 1) {
  88150. $async$currentError = $async$result;
  88151. $async$goto = $async$handler;
  88152. }
  88153. while (true)
  88154. switch ($async$goto) {
  88155. case 0:
  88156. // Function start
  88157. left = $async$self.left;
  88158. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  88159. break;
  88160. case 2:
  88161. // then
  88162. $async$goto = 5;
  88163. return A._IterationMarker_yieldStar(left.unmerge$0());
  88164. case 5:
  88165. // after yield
  88166. // goto join
  88167. $async$goto = 3;
  88168. break;
  88169. case 4:
  88170. // else
  88171. $async$goto = 6;
  88172. return left;
  88173. case 6:
  88174. // after yield
  88175. case 3:
  88176. // join
  88177. right = $async$self.right;
  88178. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  88179. break;
  88180. case 7:
  88181. // then
  88182. $async$goto = 10;
  88183. return A._IterationMarker_yieldStar(right.unmerge$0());
  88184. case 10:
  88185. // after yield
  88186. // goto join
  88187. $async$goto = 8;
  88188. break;
  88189. case 9:
  88190. // else
  88191. $async$goto = 11;
  88192. return right;
  88193. case 11:
  88194. // after yield
  88195. case 8:
  88196. // join
  88197. // implicit return
  88198. return A._IterationMarker_endOfIteration();
  88199. case 1:
  88200. // rethrow
  88201. return A._IterationMarker_uncaughtError($async$currentError);
  88202. }
  88203. };
  88204. }, type$.Extension_2);
  88205. }
  88206. };
  88207. A.MergedMapView0.prototype = {
  88208. get$keys(_) {
  88209. var t1 = this._merged_map_view$_mapsByKey;
  88210. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  88211. },
  88212. get$length(_) {
  88213. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  88214. },
  88215. get$isEmpty(_) {
  88216. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  88217. },
  88218. get$isNotEmpty(_) {
  88219. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  88220. },
  88221. MergedMapView$10(maps, $K, $V) {
  88222. var t1, t2, t3, _i, map, t4, t5, t6;
  88223. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView0<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  88224. map = maps[_i];
  88225. if (t3._is(map))
  88226. for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f), t5 = A._instanceType(t4)._rest[1]; t4.moveNext$0();) {
  88227. t6 = t4.__internal$_current;
  88228. if (t6 == null)
  88229. t6 = t5._as(t6);
  88230. A.setAll0(t2, t6.get$keys(t6), t6);
  88231. }
  88232. else
  88233. A.setAll0(t2, map.get$keys(map), map);
  88234. }
  88235. },
  88236. $index(_, key) {
  88237. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  88238. return t1 == null ? null : t1.$index(0, key);
  88239. },
  88240. $indexSet(_, key, value) {
  88241. var child = this._merged_map_view$_mapsByKey.$index(0, key);
  88242. if (child == null)
  88243. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  88244. child.$indexSet(0, key, value);
  88245. },
  88246. remove$1(_, key) {
  88247. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  88248. },
  88249. containsKey$1(key) {
  88250. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  88251. }
  88252. };
  88253. A.global_closure57.prototype = {
  88254. call$1($arguments) {
  88255. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88256. },
  88257. $signature: 19
  88258. };
  88259. A.global_closure58.prototype = {
  88260. call$1($arguments) {
  88261. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  88262. },
  88263. $signature: 17
  88264. };
  88265. A.global_closure59.prototype = {
  88266. call$1($arguments) {
  88267. var value = J.$index$asx($arguments, 0);
  88268. if (value instanceof A.SassArgumentList0)
  88269. return new A.SassString0("arglist", false);
  88270. if (value instanceof A.SassBoolean0)
  88271. return new A.SassString0("bool", false);
  88272. if (value instanceof A.SassColor0)
  88273. return new A.SassString0("color", false);
  88274. if (value instanceof A.SassList0)
  88275. return new A.SassString0("list", false);
  88276. if (value instanceof A.SassMap0)
  88277. return new A.SassString0("map", false);
  88278. if (value.$eq(0, B.C__SassNull0))
  88279. return new A.SassString0("null", false);
  88280. if (value instanceof A.SassNumber0)
  88281. return new A.SassString0("number", false);
  88282. if (value instanceof A.SassFunction0)
  88283. return new A.SassString0("function", false);
  88284. if (value instanceof A.SassCalculation0)
  88285. return new A.SassString0("calculation", false);
  88286. return new A.SassString0("string", false);
  88287. },
  88288. $signature: 17
  88289. };
  88290. A.global_closure60.prototype = {
  88291. call$1($arguments) {
  88292. var t1, t2, t3, t4,
  88293. argumentList = J.$index$asx($arguments, 0);
  88294. if (argumentList instanceof A.SassArgumentList0) {
  88295. t1 = type$.Value_2;
  88296. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88297. for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  88298. t4 = t3.get$current(t3);
  88299. t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
  88300. }
  88301. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  88302. } else
  88303. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  88304. },
  88305. $signature: 34
  88306. };
  88307. A.local_closure1.prototype = {
  88308. call$1($arguments) {
  88309. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  88310. },
  88311. $signature: 17
  88312. };
  88313. A.local_closure2.prototype = {
  88314. call$1($arguments) {
  88315. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  88316. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  88317. },
  88318. $signature: 22
  88319. };
  88320. A.local__closure0.prototype = {
  88321. call$1(argument) {
  88322. if (argument instanceof A.Value0)
  88323. return argument;
  88324. return new A.SassString0(J.toString$0$(argument), false);
  88325. },
  88326. $signature: 472
  88327. };
  88328. A.MixinRule0.prototype = {
  88329. get$hasContent() {
  88330. var result, _this = this,
  88331. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  88332. if (value === $) {
  88333. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  88334. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  88335. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  88336. value = result;
  88337. }
  88338. return value;
  88339. },
  88340. accept$1$1(visitor) {
  88341. return visitor.visitMixinRule$1(this);
  88342. },
  88343. accept$1(visitor) {
  88344. return this.accept$1$1(visitor, type$.dynamic);
  88345. },
  88346. toString$0(_) {
  88347. var t1 = "@mixin " + this.name,
  88348. t2 = this.$arguments;
  88349. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  88350. t1 += "(" + t2.toString$0(0) + ")";
  88351. t2 = this.children;
  88352. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  88353. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88354. }
  88355. };
  88356. A._HasContentVisitor0.prototype = {
  88357. visitContentRule$1(_) {
  88358. return true;
  88359. }
  88360. };
  88361. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  88362. A.ExtendMode0.prototype = {
  88363. toString$0(_) {
  88364. return this.name;
  88365. }
  88366. };
  88367. A.MultiSpan0.prototype = {
  88368. get$start(_) {
  88369. var t1 = this._multi_span0$_primary;
  88370. return t1.get$start(t1);
  88371. },
  88372. get$end(_) {
  88373. var t1 = this._multi_span0$_primary;
  88374. return t1.get$end(t1);
  88375. },
  88376. get$text() {
  88377. return this._multi_span0$_primary.get$text();
  88378. },
  88379. get$context(_) {
  88380. var t1 = this._multi_span0$_primary;
  88381. return t1.get$context(t1);
  88382. },
  88383. get$file(_) {
  88384. var t1 = this._multi_span0$_primary;
  88385. return t1.get$file(t1);
  88386. },
  88387. get$length(_) {
  88388. var t1 = this._multi_span0$_primary;
  88389. return t1.get$length(t1);
  88390. },
  88391. get$sourceUrl(_) {
  88392. var t1 = this._multi_span0$_primary;
  88393. return t1.get$sourceUrl(t1);
  88394. },
  88395. compareTo$1(_, other) {
  88396. return this._multi_span0$_primary.compareTo$1(0, other);
  88397. },
  88398. toString$0(_) {
  88399. return this._multi_span0$_primary.toString$0(0);
  88400. },
  88401. expand$1(_, other) {
  88402. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  88403. },
  88404. highlight$1$color(color) {
  88405. var t1 = color === true || false;
  88406. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  88407. },
  88408. message$2$color(_, message, color) {
  88409. var t1 = J.$eq$(color, true) || typeof color == "string",
  88410. t2 = typeof color == "string" ? color : null;
  88411. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2);
  88412. },
  88413. message$1($receiver, message) {
  88414. return this.message$2$color($receiver, message, null);
  88415. },
  88416. $isComparable: 1,
  88417. $isFileSpan: 1,
  88418. $isSourceSpan: 1,
  88419. $isSourceSpanWithContext: 1
  88420. };
  88421. A.SupportsNegation0.prototype = {
  88422. toString$0(_) {
  88423. var t1 = this.condition;
  88424. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  88425. return "not (" + t1.toString$0(0) + ")";
  88426. else
  88427. return "not " + t1.toString$0(0);
  88428. },
  88429. $isAstNode0: 1,
  88430. get$span(receiver) {
  88431. return this.span;
  88432. }
  88433. };
  88434. A.NoOpImporter.prototype = {
  88435. canonicalize$1(_, url) {
  88436. return null;
  88437. },
  88438. load$1(_, url) {
  88439. return null;
  88440. },
  88441. toString$0(_) {
  88442. return "(unknown)";
  88443. }
  88444. };
  88445. A.NoSourceMapBuffer0.prototype = {
  88446. get$length(_) {
  88447. return this._no_source_map_buffer0$_buffer._contents.length;
  88448. },
  88449. forSpan$1$2(span, callback) {
  88450. return callback.call$0();
  88451. },
  88452. forSpan$2(span, callback) {
  88453. return this.forSpan$1$2(span, callback, type$.dynamic);
  88454. },
  88455. write$1(_, object) {
  88456. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  88457. return null;
  88458. },
  88459. writeCharCode$1(charCode) {
  88460. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  88461. return null;
  88462. },
  88463. toString$0(_) {
  88464. var t1 = this._no_source_map_buffer0$_buffer._contents;
  88465. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88466. },
  88467. buildSourceMap$1$prefix(prefix) {
  88468. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  88469. }
  88470. };
  88471. A.AstNode0.prototype = {};
  88472. A._FakeAstNode0.prototype = {
  88473. get$span(_) {
  88474. return this._node1$_callback.call$0();
  88475. },
  88476. $isAstNode0: 1
  88477. };
  88478. A.CssNode0.prototype = {
  88479. toString$0(_) {
  88480. return A.serialize0(this, true, null, true, null, false, null, true).css;
  88481. }
  88482. };
  88483. A.CssParentNode0.prototype = {};
  88484. A._IsInvisibleVisitor1.prototype = {
  88485. visitCssAtRule$1(rule) {
  88486. return false;
  88487. },
  88488. visitCssComment$1(comment) {
  88489. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  88490. },
  88491. visitCssStyleRule$1(rule) {
  88492. var t1 = rule.selector.value;
  88493. return (this.includeBogus ? t1.accept$1(B._IsInvisibleVisitor_true0) : t1.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  88494. }
  88495. };
  88496. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  88497. A.FileSystemException0.prototype = {
  88498. toString$0(_) {
  88499. var t1 = $.$get$context();
  88500. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  88501. },
  88502. get$message(receiver) {
  88503. return this.message;
  88504. }
  88505. };
  88506. A.Stderr0.prototype = {
  88507. writeln$1(object) {
  88508. var t1 = object == null ? "" : object;
  88509. J.write$1$x(this._node$_stderr, t1 + "\n");
  88510. },
  88511. writeln$0() {
  88512. return this.writeln$1(null);
  88513. }
  88514. };
  88515. A._readFile_closure0.prototype = {
  88516. call$0() {
  88517. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  88518. },
  88519. $signature: 92
  88520. };
  88521. A.fileExists_closure0.prototype = {
  88522. call$0() {
  88523. var error, systemError, exception,
  88524. t1 = this.path;
  88525. if (!J.existsSync$1$x(A.fs(), t1))
  88526. return false;
  88527. try {
  88528. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  88529. return t1;
  88530. } catch (exception) {
  88531. error = A.unwrapException(exception);
  88532. systemError = type$.JsSystemError._as(error);
  88533. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  88534. return false;
  88535. throw exception;
  88536. }
  88537. },
  88538. $signature: 28
  88539. };
  88540. A.dirExists_closure0.prototype = {
  88541. call$0() {
  88542. var error, systemError, exception,
  88543. t1 = this.path;
  88544. if (!J.existsSync$1$x(A.fs(), t1))
  88545. return false;
  88546. try {
  88547. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  88548. return t1;
  88549. } catch (exception) {
  88550. error = A.unwrapException(exception);
  88551. systemError = type$.JsSystemError._as(error);
  88552. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  88553. return false;
  88554. throw exception;
  88555. }
  88556. },
  88557. $signature: 28
  88558. };
  88559. A.listDir_closure0.prototype = {
  88560. call$0() {
  88561. var t1 = this.path;
  88562. if (!this.recursive)
  88563. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).where$1(0, new A.listDir__closure2());
  88564. else
  88565. return new A.listDir_closure_list0().call$1(t1);
  88566. },
  88567. $signature: 141
  88568. };
  88569. A.listDir__closure1.prototype = {
  88570. call$1(child) {
  88571. return A.join(this.path, A._asString(child), null);
  88572. },
  88573. $signature: 86
  88574. };
  88575. A.listDir__closure2.prototype = {
  88576. call$1(child) {
  88577. return !A.dirExists0(child);
  88578. },
  88579. $signature: 8
  88580. };
  88581. A.listDir_closure_list0.prototype = {
  88582. call$1($parent) {
  88583. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  88584. },
  88585. $signature: 143
  88586. };
  88587. A.listDir__list_closure0.prototype = {
  88588. call$1(child) {
  88589. var path = A.join(this.parent, A._asString(child), null);
  88590. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  88591. },
  88592. $signature: 147
  88593. };
  88594. A.ModifiableCssNode0.prototype = {
  88595. get$hasFollowingSibling() {
  88596. var t2,
  88597. t1 = this._node0$_parent;
  88598. if (t1 == null)
  88599. t1 = null;
  88600. else {
  88601. t1 = t1.children;
  88602. t2 = this._node0$_indexInParent;
  88603. t2.toString;
  88604. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  88605. }
  88606. return t1 === true;
  88607. },
  88608. get$isGroupEnd() {
  88609. return this.isGroupEnd;
  88610. }
  88611. };
  88612. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  88613. call$1(sibling) {
  88614. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  88615. },
  88616. $signature: 110
  88617. };
  88618. A.ModifiableCssParentNode0.prototype = {
  88619. get$isChildless() {
  88620. return false;
  88621. },
  88622. addChild$1(child) {
  88623. var t1;
  88624. child._node0$_parent = this;
  88625. t1 = this._node0$_children;
  88626. child._node0$_indexInParent = t1.length;
  88627. t1.push(child);
  88628. },
  88629. $isCssParentNode0: 1,
  88630. get$children(receiver) {
  88631. return this.children;
  88632. }
  88633. };
  88634. A.main_closure0.prototype = {
  88635. call$2(_, __) {
  88636. },
  88637. $signature: 473
  88638. };
  88639. A.main_closure1.prototype = {
  88640. call$2(_, __) {
  88641. },
  88642. $signature: 474
  88643. };
  88644. A.NodeToDartLogger.prototype = {
  88645. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  88646. var t1 = this._node,
  88647. warn = t1 == null ? null : J.get$warn$x(t1);
  88648. if (warn == null)
  88649. this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
  88650. else {
  88651. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  88652. warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  88653. }
  88654. },
  88655. warn$1($receiver, message) {
  88656. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  88657. },
  88658. warn$2$deprecation($receiver, message, deprecation) {
  88659. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  88660. },
  88661. warn$2$span($receiver, message, span) {
  88662. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  88663. },
  88664. warn$3$deprecation$span($receiver, message, deprecation, span) {
  88665. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  88666. },
  88667. warn$2$trace($receiver, message, trace) {
  88668. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  88669. },
  88670. debug$2(_, message, span) {
  88671. var t1 = this._node,
  88672. debug = t1 == null ? null : J.get$debug$x(t1);
  88673. if (debug == null)
  88674. this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
  88675. else
  88676. debug.call$2(message, {span: span});
  88677. },
  88678. _withAscii$1$1(callback) {
  88679. var t1,
  88680. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  88681. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  88682. try {
  88683. t1 = callback.call$0();
  88684. return t1;
  88685. } finally {
  88686. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  88687. }
  88688. },
  88689. _withAscii$1(callback) {
  88690. return this._withAscii$1$1(callback, type$.dynamic);
  88691. }
  88692. };
  88693. A.NodeToDartLogger_warn_closure.prototype = {
  88694. call$0() {
  88695. var _this = this;
  88696. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  88697. },
  88698. $signature: 1
  88699. };
  88700. A.NodeToDartLogger_debug_closure.prototype = {
  88701. call$0() {
  88702. return this.$this._fallback.debug$2(0, this.message, this.span);
  88703. },
  88704. $signature: 0
  88705. };
  88706. A.NullExpression0.prototype = {
  88707. accept$1$1(visitor) {
  88708. return visitor.visitNullExpression$1(this);
  88709. },
  88710. accept$1(visitor) {
  88711. return this.accept$1$1(visitor, type$.dynamic);
  88712. },
  88713. toString$0(_) {
  88714. return "null";
  88715. },
  88716. $isExpression0: 1,
  88717. $isAstNode0: 1,
  88718. get$span(receiver) {
  88719. return this.span;
  88720. }
  88721. };
  88722. A.legacyNullClass_closure.prototype = {
  88723. call$0() {
  88724. var t1 = type$.JSClass,
  88725. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  88726. jsClass.NULL = B.C__SassNull0;
  88727. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  88728. return jsClass;
  88729. },
  88730. $signature: 25
  88731. };
  88732. A.legacyNullClass__closure.prototype = {
  88733. call$2(_, __) {
  88734. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  88735. },
  88736. call$1(_) {
  88737. return this.call$2(_, null);
  88738. },
  88739. "call*": "call$2",
  88740. $requiredArgCount: 1,
  88741. $defaultValues() {
  88742. return [null];
  88743. },
  88744. $signature: 195
  88745. };
  88746. A._SassNull0.prototype = {
  88747. get$isTruthy() {
  88748. return false;
  88749. },
  88750. get$isBlank() {
  88751. return true;
  88752. },
  88753. get$realNull() {
  88754. return null;
  88755. },
  88756. accept$1$1(visitor) {
  88757. if (visitor._serialize0$_inspect)
  88758. visitor._serialize0$_buffer.write$1(0, "null");
  88759. return null;
  88760. },
  88761. accept$1(visitor) {
  88762. return this.accept$1$1(visitor, type$.dynamic);
  88763. },
  88764. unaryNot$0() {
  88765. return B.SassBoolean_true0;
  88766. }
  88767. };
  88768. A.NumberExpression0.prototype = {
  88769. accept$1$1(visitor) {
  88770. return visitor.visitNumberExpression$1(this);
  88771. },
  88772. accept$1(visitor) {
  88773. return this.accept$1$1(visitor, type$.dynamic);
  88774. },
  88775. toString$0(_) {
  88776. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  88777. },
  88778. $isExpression0: 1,
  88779. $isAstNode0: 1,
  88780. get$span(receiver) {
  88781. return this.span;
  88782. }
  88783. };
  88784. A._NodeSassNumber.prototype = {};
  88785. A.legacyNumberClass_closure.prototype = {
  88786. call$4(thisArg, value, unit, dartValue) {
  88787. var t1;
  88788. if (dartValue == null) {
  88789. value.toString;
  88790. t1 = A._parseNumber(value, unit);
  88791. } else
  88792. t1 = dartValue;
  88793. J.set$dartValue$x(thisArg, t1);
  88794. },
  88795. call$2(thisArg, value) {
  88796. return this.call$4(thisArg, value, null, null);
  88797. },
  88798. call$3(thisArg, value, unit) {
  88799. return this.call$4(thisArg, value, unit, null);
  88800. },
  88801. "call*": "call$4",
  88802. $requiredArgCount: 2,
  88803. $defaultValues() {
  88804. return [null, null];
  88805. },
  88806. $signature: 475
  88807. };
  88808. A.legacyNumberClass_closure0.prototype = {
  88809. call$1(thisArg) {
  88810. return J.get$dartValue$x(thisArg)._number1$_value;
  88811. },
  88812. $signature: 476
  88813. };
  88814. A.legacyNumberClass_closure1.prototype = {
  88815. call$2(thisArg, value) {
  88816. var t1 = J.getInterceptor$x(thisArg),
  88817. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  88818. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  88819. },
  88820. $signature: 477
  88821. };
  88822. A.legacyNumberClass_closure2.prototype = {
  88823. call$1(thisArg) {
  88824. var t1 = J.getInterceptor$x(thisArg),
  88825. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  88826. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  88827. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  88828. },
  88829. $signature: 478
  88830. };
  88831. A.legacyNumberClass_closure3.prototype = {
  88832. call$2(thisArg, unit) {
  88833. var t1 = J.getInterceptor$x(thisArg);
  88834. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  88835. },
  88836. $signature: 479
  88837. };
  88838. A._parseNumber_closure.prototype = {
  88839. call$1(unit) {
  88840. return unit.length === 0;
  88841. },
  88842. $signature: 8
  88843. };
  88844. A._parseNumber_closure0.prototype = {
  88845. call$1(unit) {
  88846. return unit.length === 0;
  88847. },
  88848. $signature: 8
  88849. };
  88850. A.numberClass_closure.prototype = {
  88851. call$0() {
  88852. var t1 = type$.JSClass,
  88853. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  88854. t2 = type$.String,
  88855. t3 = type$.Function;
  88856. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.numberClass__closure0(), "isInt", new A.numberClass__closure1(), "asInt", new A.numberClass__closure2(), "numeratorUnits", new A.numberClass__closure3(), "denominatorUnits", new A.numberClass__closure4(), "hasUnits", new A.numberClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  88857. A.LinkedHashMap_LinkedHashMap$_literal(["assertInt", new A.numberClass__closure6(), "assertInRange", new A.numberClass__closure7(), "assertNoUnits", new A.numberClass__closure8(), "assertUnit", new A.numberClass__closure9(), "hasUnit", new A.numberClass__closure10(), "compatibleWithUnit", new A.numberClass__closure11(), "convert", new A.numberClass__closure12(), "convertToMatch", new A.numberClass__closure13(), "convertValue", new A.numberClass__closure14(), "convertValueToMatch", new A.numberClass__closure15(), "coerce", new A.numberClass__closure16(), "coerceToMatch", new A.numberClass__closure17(), "coerceValue", new A.numberClass__closure18(), "coerceValueToMatch", new A.numberClass__closure19()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  88858. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  88859. return jsClass;
  88860. },
  88861. $signature: 25
  88862. };
  88863. A.numberClass__closure.prototype = {
  88864. call$3($self, value, unitOrOptions) {
  88865. var t1, t2, _null = null;
  88866. if (typeof unitOrOptions == "string")
  88867. return A.SassNumber_SassNumber0(value, unitOrOptions);
  88868. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  88869. t1 = unitOrOptions == null;
  88870. if (t1)
  88871. t2 = _null;
  88872. else {
  88873. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  88874. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  88875. }
  88876. if (t1)
  88877. t1 = _null;
  88878. else {
  88879. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  88880. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  88881. }
  88882. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  88883. },
  88884. call$2($self, value) {
  88885. return this.call$3($self, value, null);
  88886. },
  88887. "call*": "call$3",
  88888. $requiredArgCount: 2,
  88889. $defaultValues() {
  88890. return [null];
  88891. },
  88892. $signature: 480
  88893. };
  88894. A.numberClass__closure0.prototype = {
  88895. call$1($self) {
  88896. return $self._number1$_value;
  88897. },
  88898. $signature: 481
  88899. };
  88900. A.numberClass__closure1.prototype = {
  88901. call$1($self) {
  88902. return A.fuzzyIsInt($self._number1$_value);
  88903. },
  88904. $signature: 234
  88905. };
  88906. A.numberClass__closure2.prototype = {
  88907. call$1($self) {
  88908. return A.fuzzyAsInt0($self._number1$_value);
  88909. },
  88910. $signature: 483
  88911. };
  88912. A.numberClass__closure3.prototype = {
  88913. call$1($self) {
  88914. return new self.immutable.List($self.get$numeratorUnits($self));
  88915. },
  88916. $signature: 235
  88917. };
  88918. A.numberClass__closure4.prototype = {
  88919. call$1($self) {
  88920. return new self.immutable.List($self.get$denominatorUnits($self));
  88921. },
  88922. $signature: 235
  88923. };
  88924. A.numberClass__closure5.prototype = {
  88925. call$1($self) {
  88926. return $self.get$hasUnits();
  88927. },
  88928. $signature: 234
  88929. };
  88930. A.numberClass__closure6.prototype = {
  88931. call$2($self, $name) {
  88932. return $self.assertInt$1($name);
  88933. },
  88934. call$1($self) {
  88935. return this.call$2($self, null);
  88936. },
  88937. "call*": "call$2",
  88938. $requiredArgCount: 1,
  88939. $defaultValues() {
  88940. return [null];
  88941. },
  88942. $signature: 485
  88943. };
  88944. A.numberClass__closure7.prototype = {
  88945. call$4($self, min, max, $name) {
  88946. return $self.valueInRange$3(min, max, $name);
  88947. },
  88948. call$3($self, min, max) {
  88949. return this.call$4($self, min, max, null);
  88950. },
  88951. "call*": "call$4",
  88952. $requiredArgCount: 3,
  88953. $defaultValues() {
  88954. return [null];
  88955. },
  88956. $signature: 486
  88957. };
  88958. A.numberClass__closure8.prototype = {
  88959. call$2($self, $name) {
  88960. $self.assertNoUnits$1($name);
  88961. return $self;
  88962. },
  88963. call$1($self) {
  88964. return this.call$2($self, null);
  88965. },
  88966. "call*": "call$2",
  88967. $requiredArgCount: 1,
  88968. $defaultValues() {
  88969. return [null];
  88970. },
  88971. $signature: 487
  88972. };
  88973. A.numberClass__closure9.prototype = {
  88974. call$3($self, unit, $name) {
  88975. $self.assertUnit$2(unit, $name);
  88976. return $self;
  88977. },
  88978. call$2($self, unit) {
  88979. return this.call$3($self, unit, null);
  88980. },
  88981. "call*": "call$3",
  88982. $requiredArgCount: 2,
  88983. $defaultValues() {
  88984. return [null];
  88985. },
  88986. $signature: 488
  88987. };
  88988. A.numberClass__closure10.prototype = {
  88989. call$2($self, unit) {
  88990. return $self.hasUnit$1(unit);
  88991. },
  88992. $signature: 236
  88993. };
  88994. A.numberClass__closure11.prototype = {
  88995. call$2($self, unit) {
  88996. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  88997. },
  88998. $signature: 236
  88999. };
  89000. A.numberClass__closure12.prototype = {
  89001. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89002. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89003. t2 = type$.String;
  89004. t1 = J.cast$1$0$ax(t1, t2);
  89005. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  89006. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  89007. },
  89008. call$3($self, numeratorUnits, denominatorUnits) {
  89009. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89010. },
  89011. "call*": "call$4",
  89012. $requiredArgCount: 3,
  89013. $defaultValues() {
  89014. return [null];
  89015. },
  89016. $signature: 237
  89017. };
  89018. A.numberClass__closure13.prototype = {
  89019. call$4($self, other, $name, otherName) {
  89020. return $self.convertToMatch$3(other, $name, otherName);
  89021. },
  89022. call$2($self, other) {
  89023. return this.call$4($self, other, null, null);
  89024. },
  89025. call$3($self, other, $name) {
  89026. return this.call$4($self, other, $name, null);
  89027. },
  89028. "call*": "call$4",
  89029. $requiredArgCount: 2,
  89030. $defaultValues() {
  89031. return [null, null];
  89032. },
  89033. $signature: 152
  89034. };
  89035. A.numberClass__closure14.prototype = {
  89036. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89037. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89038. t2 = type$.String;
  89039. t1 = J.cast$1$0$ax(t1, t2);
  89040. return $self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), false, $name);
  89041. },
  89042. call$3($self, numeratorUnits, denominatorUnits) {
  89043. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89044. },
  89045. "call*": "call$4",
  89046. $requiredArgCount: 3,
  89047. $defaultValues() {
  89048. return [null];
  89049. },
  89050. $signature: 238
  89051. };
  89052. A.numberClass__closure15.prototype = {
  89053. call$4($self, other, $name, otherName) {
  89054. return $self.convertValueToMatch$3(other, $name, otherName);
  89055. },
  89056. call$2($self, other) {
  89057. return this.call$4($self, other, null, null);
  89058. },
  89059. call$3($self, other, $name) {
  89060. return this.call$4($self, other, $name, null);
  89061. },
  89062. "call*": "call$4",
  89063. $requiredArgCount: 2,
  89064. $defaultValues() {
  89065. return [null, null];
  89066. },
  89067. $signature: 239
  89068. };
  89069. A.numberClass__closure16.prototype = {
  89070. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89071. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89072. t2 = type$.String;
  89073. t1 = J.cast$1$0$ax(t1, t2);
  89074. return $self.coerce$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
  89075. },
  89076. call$3($self, numeratorUnits, denominatorUnits) {
  89077. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89078. },
  89079. "call*": "call$4",
  89080. $requiredArgCount: 3,
  89081. $defaultValues() {
  89082. return [null];
  89083. },
  89084. $signature: 237
  89085. };
  89086. A.numberClass__closure17.prototype = {
  89087. call$4($self, other, $name, otherName) {
  89088. return $self.coerceToMatch$3(other, $name, otherName);
  89089. },
  89090. call$2($self, other) {
  89091. return this.call$4($self, other, null, null);
  89092. },
  89093. call$3($self, other, $name) {
  89094. return this.call$4($self, other, $name, null);
  89095. },
  89096. "call*": "call$4",
  89097. $requiredArgCount: 2,
  89098. $defaultValues() {
  89099. return [null, null];
  89100. },
  89101. $signature: 152
  89102. };
  89103. A.numberClass__closure18.prototype = {
  89104. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89105. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89106. t2 = type$.String;
  89107. t1 = J.cast$1$0$ax(t1, t2);
  89108. return $self.coerceValue$3(t1, J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2), $name);
  89109. },
  89110. call$3($self, numeratorUnits, denominatorUnits) {
  89111. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89112. },
  89113. "call*": "call$4",
  89114. $requiredArgCount: 3,
  89115. $defaultValues() {
  89116. return [null];
  89117. },
  89118. $signature: 238
  89119. };
  89120. A.numberClass__closure19.prototype = {
  89121. call$4($self, other, $name, otherName) {
  89122. return $self.coerceValueToMatch$3(other, $name, otherName);
  89123. },
  89124. call$2($self, other) {
  89125. return this.call$4($self, other, null, null);
  89126. },
  89127. call$3($self, other, $name) {
  89128. return this.call$4($self, other, $name, null);
  89129. },
  89130. "call*": "call$4",
  89131. $requiredArgCount: 2,
  89132. $defaultValues() {
  89133. return [null, null];
  89134. },
  89135. $signature: 239
  89136. };
  89137. A._ConstructorOptions0.prototype = {};
  89138. A.SassNumber0.prototype = {
  89139. get$unitString() {
  89140. var _this = this;
  89141. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  89142. },
  89143. accept$1$1(visitor) {
  89144. return visitor.visitNumber$1(this);
  89145. },
  89146. accept$1(visitor) {
  89147. return this.accept$1$1(visitor, type$.dynamic);
  89148. },
  89149. withoutSlash$0() {
  89150. var _this = this;
  89151. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  89152. },
  89153. assertNumber$1($name) {
  89154. return this;
  89155. },
  89156. assertNumber$0() {
  89157. return this.assertNumber$1(null);
  89158. },
  89159. assertInt$1($name) {
  89160. var integer = A.fuzzyAsInt0(this._number1$_value);
  89161. if (integer != null)
  89162. return integer;
  89163. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  89164. },
  89165. assertInt$0() {
  89166. return this.assertInt$1(null);
  89167. },
  89168. valueInRange$3(min, max, $name) {
  89169. var _this = this,
  89170. result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  89171. if (result != null)
  89172. return result;
  89173. throw A.wrapException(A.SassScriptException$0("Expected " + _this.toString$0(0) + " to be within " + A.S(min) + _this.get$unitString() + " and " + A.S(max) + _this.get$unitString() + ".", $name));
  89174. },
  89175. valueInRangeWithUnit$4(min, max, $name, unit) {
  89176. var result = A.fuzzyCheckRange0(this._number1$_value, min, max);
  89177. if (result != null)
  89178. return result;
  89179. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  89180. },
  89181. hasCompatibleUnits$1(other) {
  89182. var _this = this;
  89183. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  89184. return false;
  89185. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  89186. return false;
  89187. return _this.isComparableTo$1(other);
  89188. },
  89189. assertUnit$2(unit, $name) {
  89190. if (this.hasUnit$1(unit))
  89191. return;
  89192. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  89193. },
  89194. assertNoUnits$1($name) {
  89195. if (!this.get$hasUnits())
  89196. return;
  89197. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  89198. },
  89199. convertToMatch$3(other, $name, otherName) {
  89200. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  89201. t2 = other.get$numeratorUnits(other);
  89202. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  89203. },
  89204. convertValueToMatch$3(other, $name, otherName) {
  89205. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  89206. },
  89207. coerce$3(newNumerators, newDenominators, $name) {
  89208. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  89209. },
  89210. coerce$2(newNumerators, newDenominators) {
  89211. return this.coerce$3(newNumerators, newDenominators, null);
  89212. },
  89213. coerceValue$3(newNumerators, newDenominators, $name) {
  89214. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  89215. },
  89216. coerceValueToUnit$2(unit, $name) {
  89217. var t1 = type$.JSArray_String;
  89218. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  89219. },
  89220. coerceToMatch$3(other, $name, otherName) {
  89221. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  89222. t2 = other.get$numeratorUnits(other);
  89223. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  89224. },
  89225. coerceValueToMatch$3(other, $name, otherName) {
  89226. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  89227. },
  89228. coerceValueToMatch$1(other) {
  89229. return this.coerceValueToMatch$3(other, null, null);
  89230. },
  89231. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  89232. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  89233. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  89234. return _this._number1$_value;
  89235. t1 = J.getInterceptor$asx(newNumerators);
  89236. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  89237. if (coerceUnitless)
  89238. t2 = !_this.get$hasUnits() || !otherHasUnits;
  89239. else
  89240. t2 = false;
  89241. if (t2)
  89242. return _this._number1$_value;
  89243. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  89244. _box_0.value = _this._number1$_value;
  89245. t2 = _this.get$numeratorUnits(_this);
  89246. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89247. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  89248. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  89249. t1 = _this.get$denominatorUnits(_this);
  89250. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  89251. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  89252. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  89253. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  89254. throw A.wrapException(compatibilityException.call$0());
  89255. return _box_0.value;
  89256. },
  89257. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  89258. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  89259. },
  89260. isComparableTo$1(other) {
  89261. var exception;
  89262. if (!this.get$hasUnits() || !other.get$hasUnits())
  89263. return true;
  89264. try {
  89265. this.greaterThan$1(other);
  89266. return true;
  89267. } catch (exception) {
  89268. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  89269. return false;
  89270. else
  89271. throw exception;
  89272. }
  89273. },
  89274. greaterThan$1(other) {
  89275. if (other instanceof A.SassNumber0)
  89276. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89277. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  89278. },
  89279. greaterThanOrEquals$1(other) {
  89280. if (other instanceof A.SassNumber0)
  89281. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89282. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  89283. },
  89284. lessThan$1(other) {
  89285. if (other instanceof A.SassNumber0)
  89286. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89287. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  89288. },
  89289. lessThanOrEquals$1(other) {
  89290. if (other instanceof A.SassNumber0)
  89291. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89292. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  89293. },
  89294. modulo$1(other) {
  89295. if (other instanceof A.SassNumber0)
  89296. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  89297. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  89298. },
  89299. plus$1(other) {
  89300. var _this = this;
  89301. if (other instanceof A.SassNumber0)
  89302. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  89303. if (!(other instanceof A.SassColor0))
  89304. return _this.super$Value$plus0(other);
  89305. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  89306. },
  89307. minus$1(other) {
  89308. var _this = this;
  89309. if (other instanceof A.SassNumber0)
  89310. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  89311. if (!(other instanceof A.SassColor0))
  89312. return _this.super$Value$minus0(other);
  89313. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  89314. },
  89315. times$1(other) {
  89316. var _this = this;
  89317. if (other instanceof A.SassNumber0) {
  89318. if (!other.get$hasUnits())
  89319. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  89320. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  89321. }
  89322. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  89323. },
  89324. dividedBy$1(other) {
  89325. var _this = this;
  89326. if (other instanceof A.SassNumber0) {
  89327. if (!other.get$hasUnits())
  89328. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  89329. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  89330. }
  89331. return _this.super$Value$dividedBy0(other);
  89332. },
  89333. unaryPlus$0() {
  89334. return this;
  89335. },
  89336. _number1$_coerceUnits$1$2(other, operation) {
  89337. var t1, exception;
  89338. try {
  89339. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  89340. return t1;
  89341. } catch (exception) {
  89342. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  89343. this.coerceValueToMatch$1(other);
  89344. throw exception;
  89345. } else
  89346. throw exception;
  89347. }
  89348. },
  89349. _number1$_coerceUnits$2(other, operation) {
  89350. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  89351. },
  89352. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  89353. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  89354. _box_0.value = value;
  89355. if (_this.get$numeratorUnits(_this).length === 0) {
  89356. if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  89357. return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
  89358. else if (_this.get$denominatorUnits(_this).length === 0)
  89359. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
  89360. } else if (otherNumerators.length === 0)
  89361. if (otherDenominators.length === 0)
  89362. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  89363. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  89364. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  89365. newNumerators = A._setArrayType([], type$.JSArray_String);
  89366. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  89367. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  89368. numerator = t1[_i];
  89369. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  89370. }
  89371. t1 = _this.get$denominatorUnits(_this);
  89372. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  89373. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  89374. numerator = otherNumerators[_i];
  89375. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  89376. }
  89377. t1 = _box_0.value;
  89378. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  89379. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  89380. },
  89381. _number1$_areAnyConvertible$2(units1, units2) {
  89382. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  89383. },
  89384. _number1$_unitString$2(numerators, denominators) {
  89385. var t2,
  89386. t1 = J.getInterceptor$asx(numerators);
  89387. if (t1.get$isEmpty(numerators)) {
  89388. t1 = J.getInterceptor$asx(denominators);
  89389. if (t1.get$isEmpty(denominators))
  89390. return "no units";
  89391. if (t1.get$length(denominators) === 1)
  89392. return J.$add$ansx(t1.get$single(denominators), "^-1");
  89393. return "(" + t1.join$1(denominators, "*") + ")^-1";
  89394. }
  89395. t2 = J.getInterceptor$asx(denominators);
  89396. if (t2.get$isEmpty(denominators))
  89397. return t1.join$1(numerators, "*");
  89398. return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
  89399. },
  89400. $eq(_, other) {
  89401. var _this = this;
  89402. if (other == null)
  89403. return false;
  89404. if (other instanceof A.SassNumber0) {
  89405. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  89406. return false;
  89407. if (!_this.get$hasUnits())
  89408. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  89409. if (!B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$numeratorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$numeratorUnits(other))) || !B.C_ListEquality.equals$2(0, _this._number1$_canonicalizeUnitList$1(_this.get$denominatorUnits(_this)), _this._number1$_canonicalizeUnitList$1(other.get$denominatorUnits(other))))
  89410. return false;
  89411. return A.fuzzyEquals0(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this)), other._number1$_value * _this._number1$_canonicalMultiplier$1(other.get$numeratorUnits(other)) / _this._number1$_canonicalMultiplier$1(other.get$denominatorUnits(other)));
  89412. } else
  89413. return false;
  89414. },
  89415. get$hashCode(_) {
  89416. var _this = this,
  89417. t1 = _this.hashCache;
  89418. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this._number1$_canonicalMultiplier$1(_this.get$numeratorUnits(_this)) / _this._number1$_canonicalMultiplier$1(_this.get$denominatorUnits(_this))) : t1;
  89419. },
  89420. _number1$_canonicalizeUnitList$1(units) {
  89421. var type,
  89422. t1 = units.length;
  89423. if (t1 === 0)
  89424. return units;
  89425. if (t1 === 1) {
  89426. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  89427. if (type == null)
  89428. t1 = units;
  89429. else {
  89430. t1 = B.Map_U8AHF.$index(0, type);
  89431. t1.toString;
  89432. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  89433. }
  89434. return t1;
  89435. }
  89436. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  89437. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  89438. B.JSArray_methods.sort$0(t1);
  89439. return t1;
  89440. },
  89441. _number1$_canonicalMultiplier$1(units) {
  89442. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  89443. },
  89444. canonicalMultiplierForUnit$1(unit) {
  89445. var t1,
  89446. innerMap = B.Map_K2BWj.$index(0, unit);
  89447. if (innerMap == null)
  89448. t1 = 1;
  89449. else {
  89450. t1 = innerMap.get$values(innerMap);
  89451. t1 = 1 / t1.get$first(t1);
  89452. }
  89453. return t1;
  89454. }
  89455. };
  89456. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  89457. call$0() {
  89458. var t2, t3, message, t4, type, unit, _this = this,
  89459. t1 = _this.other;
  89460. if (t1 != null) {
  89461. t2 = _this.$this;
  89462. t3 = t2.toString$0(0) + " and";
  89463. message = new A.StringBuffer(t3);
  89464. t4 = _this.otherName;
  89465. if (t4 != null)
  89466. t3 = message._contents = t3 + (" $" + t4 + ":");
  89467. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  89468. message._contents = t1;
  89469. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  89470. message._contents = t1 + " (one has units and the other doesn't)";
  89471. t1 = message.toString$0(0) + ".";
  89472. t2 = _this.name;
  89473. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  89474. } else if (!_this.otherHasUnits) {
  89475. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  89476. t2 = _this.name;
  89477. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  89478. } else {
  89479. t1 = _this.newNumerators;
  89480. t2 = J.getInterceptor$asx(t1);
  89481. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  89482. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  89483. if (type != null) {
  89484. t1 = _this.$this.toString$0(0);
  89485. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), B.JSString_methods._codeUnitAt$1(type, 0)) ? "an " + type : "a " + type;
  89486. t3 = B.Map_U8AHF.$index(0, type);
  89487. t3.toString;
  89488. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  89489. t2 = _this.name;
  89490. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  89491. }
  89492. }
  89493. t3 = _this.newDenominators;
  89494. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  89495. t2 = _this.$this;
  89496. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  89497. t1 = _this.name;
  89498. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  89499. }
  89500. },
  89501. $signature: 494
  89502. };
  89503. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  89504. call$1(oldNumerator) {
  89505. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  89506. if (factor == null)
  89507. return false;
  89508. this._box_0.value *= factor;
  89509. return true;
  89510. },
  89511. $signature: 8
  89512. };
  89513. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  89514. call$0() {
  89515. return A.throwExpression(this.compatibilityException.call$0());
  89516. },
  89517. $signature: 0
  89518. };
  89519. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  89520. call$1(oldDenominator) {
  89521. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  89522. if (factor == null)
  89523. return false;
  89524. this._box_0.value /= factor;
  89525. return true;
  89526. },
  89527. $signature: 8
  89528. };
  89529. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  89530. call$0() {
  89531. return A.throwExpression(this.compatibilityException.call$0());
  89532. },
  89533. $signature: 0
  89534. };
  89535. A.SassNumber_plus_closure0.prototype = {
  89536. call$2(num1, num2) {
  89537. return num1 + num2;
  89538. },
  89539. $signature: 57
  89540. };
  89541. A.SassNumber_minus_closure0.prototype = {
  89542. call$2(num1, num2) {
  89543. return num1 - num2;
  89544. },
  89545. $signature: 57
  89546. };
  89547. A.SassNumber_multiplyUnits_closure3.prototype = {
  89548. call$1(denominator) {
  89549. var factor = A.conversionFactor0(this.numerator, denominator);
  89550. if (factor == null)
  89551. return false;
  89552. this._box_0.value /= factor;
  89553. return true;
  89554. },
  89555. $signature: 8
  89556. };
  89557. A.SassNumber_multiplyUnits_closure4.prototype = {
  89558. call$0() {
  89559. return this.newNumerators.push(this.numerator);
  89560. },
  89561. $signature: 0
  89562. };
  89563. A.SassNumber_multiplyUnits_closure5.prototype = {
  89564. call$1(denominator) {
  89565. var factor = A.conversionFactor0(this.numerator, denominator);
  89566. if (factor == null)
  89567. return false;
  89568. this._box_0.value /= factor;
  89569. return true;
  89570. },
  89571. $signature: 8
  89572. };
  89573. A.SassNumber_multiplyUnits_closure6.prototype = {
  89574. call$0() {
  89575. return this.newNumerators.push(this.numerator);
  89576. },
  89577. $signature: 0
  89578. };
  89579. A.SassNumber__areAnyConvertible_closure0.prototype = {
  89580. call$1(unit1) {
  89581. var innerMap = B.Map_K2BWj.$index(0, unit1);
  89582. if (innerMap == null)
  89583. return B.JSArray_methods.contains$1(this.units2, unit1);
  89584. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  89585. },
  89586. $signature: 8
  89587. };
  89588. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  89589. call$1(unit) {
  89590. var t1,
  89591. type = $.$get$_typesByUnit0().$index(0, unit);
  89592. if (type == null)
  89593. t1 = unit;
  89594. else {
  89595. t1 = B.Map_U8AHF.$index(0, type);
  89596. t1.toString;
  89597. t1 = B.JSArray_methods.get$first(t1);
  89598. }
  89599. return t1;
  89600. },
  89601. $signature: 5
  89602. };
  89603. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  89604. call$2(multiplier, unit) {
  89605. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  89606. },
  89607. $signature: 182
  89608. };
  89609. A.SupportsOperation0.prototype = {
  89610. toString$0(_) {
  89611. var _this = this;
  89612. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  89613. },
  89614. _operation0$_parenthesize$1(condition) {
  89615. var t1;
  89616. if (!(condition instanceof A.SupportsNegation0))
  89617. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  89618. else
  89619. t1 = true;
  89620. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  89621. },
  89622. $isAstNode0: 1,
  89623. get$span(receiver) {
  89624. return this.span;
  89625. }
  89626. };
  89627. A.ParentSelector0.prototype = {
  89628. accept$1$1(visitor) {
  89629. return visitor.visitParentSelector$1(this);
  89630. },
  89631. accept$1(visitor) {
  89632. return this.accept$1$1(visitor, type$.dynamic);
  89633. },
  89634. unify$1(compound) {
  89635. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  89636. }
  89637. };
  89638. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  89639. A.ParentStatement_closure0.prototype = {
  89640. call$1(child) {
  89641. var t1;
  89642. if (!(child instanceof A.VariableDeclaration0))
  89643. if (!(child instanceof A.FunctionRule0))
  89644. if (!(child instanceof A.MixinRule0))
  89645. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  89646. else
  89647. t1 = true;
  89648. else
  89649. t1 = true;
  89650. else
  89651. t1 = true;
  89652. return t1;
  89653. },
  89654. $signature: 226
  89655. };
  89656. A.ParentStatement__closure0.prototype = {
  89657. call$1($import) {
  89658. return $import instanceof A.DynamicImport0;
  89659. },
  89660. $signature: 227
  89661. };
  89662. A.ParenthesizedExpression0.prototype = {
  89663. accept$1$1(visitor) {
  89664. return visitor.visitParenthesizedExpression$1(this);
  89665. },
  89666. accept$1(visitor) {
  89667. return this.accept$1$1(visitor, type$.dynamic);
  89668. },
  89669. toString$0(_) {
  89670. return "(" + this.expression.toString$0(0) + ")";
  89671. },
  89672. $isExpression0: 1,
  89673. $isAstNode0: 1,
  89674. get$span(receiver) {
  89675. return this.span;
  89676. }
  89677. };
  89678. A.Parser1.prototype = {
  89679. _parser0$_parseIdentifier$0() {
  89680. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  89681. },
  89682. whitespace$0() {
  89683. do
  89684. this.whitespaceWithoutComments$0();
  89685. while (this.scanComment$0());
  89686. },
  89687. whitespaceWithoutComments$0() {
  89688. var t3,
  89689. t1 = this.scanner,
  89690. t2 = t1.string.length;
  89691. while (true) {
  89692. if (t1._string_scanner$_position !== t2) {
  89693. t3 = t1.peekChar$0();
  89694. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  89695. } else
  89696. t3 = false;
  89697. if (!t3)
  89698. break;
  89699. t1.readChar$0();
  89700. }
  89701. },
  89702. spaces$0() {
  89703. var t3,
  89704. t1 = this.scanner,
  89705. t2 = t1.string.length;
  89706. while (true) {
  89707. if (t1._string_scanner$_position !== t2) {
  89708. t3 = t1.peekChar$0();
  89709. t3 = t3 === 32 || t3 === 9;
  89710. } else
  89711. t3 = false;
  89712. if (!t3)
  89713. break;
  89714. t1.readChar$0();
  89715. }
  89716. },
  89717. scanComment$0() {
  89718. var next,
  89719. t1 = this.scanner;
  89720. if (t1.peekChar$0() !== 47)
  89721. return false;
  89722. next = t1.peekChar$1(1);
  89723. if (next === 47) {
  89724. this.silentComment$0();
  89725. return true;
  89726. } else if (next === 42) {
  89727. this.loudComment$0();
  89728. return true;
  89729. } else
  89730. return false;
  89731. },
  89732. expectWhitespace$0() {
  89733. var t2, t3,
  89734. t1 = this.scanner;
  89735. if (t1._string_scanner$_position !== t1.string.length) {
  89736. t2 = t1.peekChar$0();
  89737. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  89738. t2 = t3;
  89739. } else
  89740. t2 = true;
  89741. if (t2)
  89742. t1.error$1(0, "Expected whitespace.");
  89743. this.whitespace$0();
  89744. },
  89745. silentComment$0() {
  89746. var t2, t3,
  89747. t1 = this.scanner;
  89748. t1.expect$1("//");
  89749. t2 = t1.string.length;
  89750. while (true) {
  89751. if (t1._string_scanner$_position !== t2) {
  89752. t3 = t1.peekChar$0();
  89753. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  89754. } else
  89755. t3 = false;
  89756. if (!t3)
  89757. break;
  89758. t1.readChar$0();
  89759. }
  89760. },
  89761. loudComment$0() {
  89762. var next,
  89763. t1 = this.scanner;
  89764. t1.expect$1("/*");
  89765. for (; true;) {
  89766. if (t1.readChar$0() !== 42)
  89767. continue;
  89768. do
  89769. next = t1.readChar$0();
  89770. while (next === 42);
  89771. if (next === 47)
  89772. break;
  89773. }
  89774. },
  89775. identifier$2$normalize$unit(normalize, unit) {
  89776. var t2, first, _this = this,
  89777. _s20_ = "Expected identifier.",
  89778. text = new A.StringBuffer(""),
  89779. t1 = _this.scanner;
  89780. if (t1.scanChar$1(45)) {
  89781. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  89782. if (t1.scanChar$1(45)) {
  89783. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  89784. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  89785. t1 = text._contents;
  89786. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89787. }
  89788. } else
  89789. t2 = "";
  89790. first = t1.peekChar$0();
  89791. if (first == null)
  89792. t1.error$1(0, _s20_);
  89793. else if (normalize && first === 95) {
  89794. t1.readChar$0();
  89795. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  89796. } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  89797. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  89798. else if (first === 92)
  89799. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  89800. else
  89801. t1.error$1(0, _s20_);
  89802. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  89803. t1 = text._contents;
  89804. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89805. },
  89806. identifier$0() {
  89807. return this.identifier$2$normalize$unit(false, false);
  89808. },
  89809. identifier$1$normalize(normalize) {
  89810. return this.identifier$2$normalize$unit(normalize, false);
  89811. },
  89812. identifier$1$unit(unit) {
  89813. return this.identifier$2$normalize$unit(false, unit);
  89814. },
  89815. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  89816. var t1, next, second, t2;
  89817. for (t1 = this.scanner; true;) {
  89818. next = t1.peekChar$0();
  89819. if (next == null)
  89820. break;
  89821. else if (unit && next === 45) {
  89822. second = t1.peekChar$1(1);
  89823. if (second != null)
  89824. if (second !== 46)
  89825. t2 = second >= 48 && second <= 57;
  89826. else
  89827. t2 = true;
  89828. else
  89829. t2 = false;
  89830. if (t2)
  89831. break;
  89832. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89833. } else if (normalize && next === 95) {
  89834. t1.readChar$0();
  89835. text._contents += A.Primitives_stringFromCharCode(45);
  89836. } else {
  89837. if (next !== 95) {
  89838. if (!(next >= 97 && next <= 122))
  89839. t2 = next >= 65 && next <= 90;
  89840. else
  89841. t2 = true;
  89842. t2 = t2 || next >= 128;
  89843. } else
  89844. t2 = true;
  89845. if (!t2)
  89846. t2 = next >= 48 && next <= 57 || next === 45;
  89847. else
  89848. t2 = true;
  89849. if (t2)
  89850. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89851. else if (next === 92)
  89852. text._contents += A.S(this.escape$0());
  89853. else
  89854. break;
  89855. }
  89856. }
  89857. },
  89858. _parser0$_identifierBody$1(text) {
  89859. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  89860. },
  89861. string$0() {
  89862. var buffer, next, t2,
  89863. t1 = this.scanner,
  89864. quote = t1.readChar$0();
  89865. if (quote !== 39 && quote !== 34)
  89866. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  89867. buffer = new A.StringBuffer("");
  89868. for (; true;) {
  89869. next = t1.peekChar$0();
  89870. if (next === quote) {
  89871. t1.readChar$0();
  89872. break;
  89873. } else if (next == null || next === 10 || next === 13 || next === 12)
  89874. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  89875. else if (next === 92) {
  89876. t2 = t1.peekChar$1(1);
  89877. if (t2 === 10 || t2 === 13 || t2 === 12) {
  89878. t1.readChar$0();
  89879. t1.readChar$0();
  89880. } else
  89881. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  89882. } else
  89883. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89884. }
  89885. t1 = buffer._contents;
  89886. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89887. },
  89888. declarationValue$1$allowEmpty(allowEmpty) {
  89889. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  89890. buffer = new A.StringBuffer(""),
  89891. brackets = A._setArrayType([], type$.JSArray_int);
  89892. $label0$1:
  89893. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  89894. next = t1.peekChar$0();
  89895. switch (next) {
  89896. case 92:
  89897. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  89898. wroteNewline = false;
  89899. break;
  89900. case 34:
  89901. case 39:
  89902. start = t1._string_scanner$_position;
  89903. t2.call$0();
  89904. end = t1._string_scanner$_position;
  89905. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  89906. wroteNewline = false;
  89907. break;
  89908. case 47:
  89909. if (t1.peekChar$1(1) === 42) {
  89910. t3 = _this.get$loudComment();
  89911. start = t1._string_scanner$_position;
  89912. t3.call$0();
  89913. end = t1._string_scanner$_position;
  89914. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  89915. } else
  89916. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89917. wroteNewline = false;
  89918. break;
  89919. case 32:
  89920. case 9:
  89921. if (!wroteNewline) {
  89922. t3 = t1.peekChar$1(1);
  89923. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  89924. } else
  89925. t3 = true;
  89926. if (t3)
  89927. buffer._contents += A.Primitives_stringFromCharCode(32);
  89928. t1.readChar$0();
  89929. break;
  89930. case 10:
  89931. case 13:
  89932. case 12:
  89933. t3 = t1.peekChar$1(-1);
  89934. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  89935. buffer._contents += "\n";
  89936. t1.readChar$0();
  89937. wroteNewline = true;
  89938. break;
  89939. case 40:
  89940. case 123:
  89941. case 91:
  89942. next.toString;
  89943. buffer._contents += A.Primitives_stringFromCharCode(next);
  89944. brackets.push(A.opposite0(t1.readChar$0()));
  89945. wroteNewline = false;
  89946. break;
  89947. case 41:
  89948. case 125:
  89949. case 93:
  89950. if (brackets.length === 0)
  89951. break $label0$1;
  89952. next.toString;
  89953. buffer._contents += A.Primitives_stringFromCharCode(next);
  89954. t1.expectChar$1(brackets.pop());
  89955. wroteNewline = false;
  89956. break;
  89957. case 59:
  89958. if (brackets.length === 0)
  89959. break $label0$1;
  89960. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89961. break;
  89962. case 117:
  89963. case 85:
  89964. url = _this.tryUrl$0();
  89965. if (url != null)
  89966. buffer._contents += url;
  89967. else
  89968. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89969. wroteNewline = false;
  89970. break;
  89971. default:
  89972. if (next == null)
  89973. break $label0$1;
  89974. if (_this.lookingAtIdentifier$0())
  89975. buffer._contents += _this.identifier$0();
  89976. else
  89977. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89978. wroteNewline = false;
  89979. break;
  89980. }
  89981. }
  89982. if (brackets.length !== 0)
  89983. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  89984. if (!allowEmpty && buffer._contents.length === 0)
  89985. t1.error$1(0, "Expected token.");
  89986. t1 = buffer._contents;
  89987. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89988. },
  89989. declarationValue$0() {
  89990. return this.declarationValue$1$allowEmpty(false);
  89991. },
  89992. tryUrl$0() {
  89993. var buffer, next, t2, _this = this,
  89994. t1 = _this.scanner,
  89995. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  89996. if (!_this.scanIdentifier$1("url"))
  89997. return null;
  89998. if (!t1.scanChar$1(40)) {
  89999. t1.set$state(start);
  90000. return null;
  90001. }
  90002. _this.whitespace$0();
  90003. buffer = new A.StringBuffer("");
  90004. buffer._contents = "" + "url(";
  90005. for (; true;) {
  90006. next = t1.peekChar$0();
  90007. if (next == null)
  90008. break;
  90009. else if (next === 92)
  90010. buffer._contents += A.S(_this.escape$0());
  90011. else {
  90012. if (next !== 37)
  90013. if (next !== 38)
  90014. if (next !== 35)
  90015. t2 = next >= 42 && next <= 126 || next >= 128;
  90016. else
  90017. t2 = true;
  90018. else
  90019. t2 = true;
  90020. else
  90021. t2 = true;
  90022. if (t2)
  90023. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90024. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  90025. _this.whitespace$0();
  90026. if (t1.peekChar$0() !== 41)
  90027. break;
  90028. } else if (next === 41) {
  90029. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90030. return t2.charCodeAt(0) == 0 ? t2 : t2;
  90031. } else
  90032. break;
  90033. }
  90034. }
  90035. t1.set$state(start);
  90036. return null;
  90037. },
  90038. variableName$0() {
  90039. this.scanner.expectChar$1(36);
  90040. return this.identifier$1$normalize(true);
  90041. },
  90042. escape$1$identifierStart(identifierStart) {
  90043. var value, first, i, next, t2, exception,
  90044. _s25_ = "Expected escape sequence.",
  90045. t1 = this.scanner,
  90046. start = t1._string_scanner$_position;
  90047. t1.expectChar$1(92);
  90048. value = 0;
  90049. first = t1.peekChar$0();
  90050. if (first == null)
  90051. t1.error$1(0, _s25_);
  90052. else if (first === 10 || first === 13 || first === 12)
  90053. t1.error$1(0, _s25_);
  90054. else if (A.isHex0(first)) {
  90055. for (i = 0; i < 6; ++i) {
  90056. next = t1.peekChar$0();
  90057. if (next == null || !A.isHex0(next))
  90058. break;
  90059. value *= 16;
  90060. value += A.asHex0(t1.readChar$0());
  90061. }
  90062. this.scanCharIf$1(A.character0__isWhitespace$closure());
  90063. } else
  90064. value = t1.readChar$0();
  90065. if (identifierStart) {
  90066. t2 = value;
  90067. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
  90068. } else {
  90069. t2 = value;
  90070. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
  90071. }
  90072. if (t2)
  90073. try {
  90074. t2 = A.Primitives_stringFromCharCode(value);
  90075. return t2;
  90076. } catch (exception) {
  90077. if (type$.RangeError._is(A.unwrapException(exception)))
  90078. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  90079. else
  90080. throw exception;
  90081. }
  90082. else {
  90083. if (!(value <= 31))
  90084. if (!J.$eq$(value, 127))
  90085. t1 = identifierStart && A.isDigit0(value);
  90086. else
  90087. t1 = true;
  90088. else
  90089. t1 = true;
  90090. if (t1) {
  90091. t1 = "" + A.Primitives_stringFromCharCode(92);
  90092. if (value > 15)
  90093. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  90094. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  90095. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90096. } else
  90097. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  90098. }
  90099. },
  90100. escape$0() {
  90101. return this.escape$1$identifierStart(false);
  90102. },
  90103. scanCharIf$1(condition) {
  90104. var t1 = this.scanner;
  90105. if (!condition.call$1(t1.peekChar$0()))
  90106. return false;
  90107. t1.readChar$0();
  90108. return true;
  90109. },
  90110. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  90111. var t3,
  90112. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  90113. t2 = this.scanner,
  90114. next = t2.peekChar$0();
  90115. if (next != null && t1.call$1(next)) {
  90116. t2.readChar$0();
  90117. return true;
  90118. } else if (next === 92) {
  90119. t3 = t2._string_scanner$_position;
  90120. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  90121. return true;
  90122. t2.set$state(new A._SpanScannerState(t2, t3));
  90123. }
  90124. return false;
  90125. },
  90126. scanIdentChar$1(char) {
  90127. return this.scanIdentChar$2$caseSensitive(char, false);
  90128. },
  90129. expectIdentChar$1(letter) {
  90130. var t1;
  90131. if (this.scanIdentChar$2$caseSensitive(letter, false))
  90132. return;
  90133. t1 = this.scanner;
  90134. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  90135. },
  90136. lookingAtIdentifier$1($forward) {
  90137. var t1, first, second;
  90138. if ($forward == null)
  90139. $forward = 0;
  90140. t1 = this.scanner;
  90141. first = t1.peekChar$1($forward);
  90142. if (first == null)
  90143. return false;
  90144. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  90145. return true;
  90146. if (first !== 45)
  90147. return false;
  90148. second = t1.peekChar$1($forward + 1);
  90149. if (second == null)
  90150. return false;
  90151. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  90152. },
  90153. lookingAtIdentifier$0() {
  90154. return this.lookingAtIdentifier$1(null);
  90155. },
  90156. lookingAtIdentifierBody$0() {
  90157. var t1,
  90158. next = this.scanner.peekChar$0();
  90159. if (next != null)
  90160. t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
  90161. else
  90162. t1 = false;
  90163. return t1;
  90164. },
  90165. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  90166. var t1, t2, _this = this;
  90167. if (!_this.lookingAtIdentifier$0())
  90168. return false;
  90169. t1 = _this.scanner;
  90170. t2 = t1._string_scanner$_position;
  90171. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  90172. return true;
  90173. else {
  90174. t1.set$state(new A._SpanScannerState(t1, t2));
  90175. return false;
  90176. }
  90177. },
  90178. scanIdentifier$1(text) {
  90179. return this.scanIdentifier$2$caseSensitive(text, false);
  90180. },
  90181. matchesIdentifier$1(text) {
  90182. var t1, t2, result, _this = this;
  90183. if (!_this.lookingAtIdentifier$0())
  90184. return false;
  90185. t1 = _this.scanner;
  90186. t2 = t1._string_scanner$_position;
  90187. result = _this._parser0$_consumeIdentifier$2(text, false) && !_this.lookingAtIdentifierBody$0();
  90188. t1.set$state(new A._SpanScannerState(t1, t2));
  90189. return result;
  90190. },
  90191. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  90192. var t1, t2, t3;
  90193. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  90194. t3 = t1.__internal$_current;
  90195. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  90196. return false;
  90197. }
  90198. return true;
  90199. },
  90200. expectIdentifier$2$name(text, $name) {
  90201. var t1, start, t2, t3, t4, t5, t6;
  90202. if ($name == null)
  90203. $name = '"' + text + '"';
  90204. t1 = this.scanner;
  90205. start = t1._string_scanner$_position;
  90206. for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = "Expected " + $name, t4 = t3 + ".", t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  90207. t6 = t2.__internal$_current;
  90208. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  90209. continue;
  90210. t1.error$2$position(0, t4, start);
  90211. }
  90212. if (!this.lookingAtIdentifierBody$0())
  90213. return;
  90214. t1.error$2$position(0, t3, start);
  90215. },
  90216. expectIdentifier$1(text) {
  90217. return this.expectIdentifier$2$name(text, null);
  90218. },
  90219. rawText$1(consumer) {
  90220. var t1 = this.scanner,
  90221. start = t1._string_scanner$_position;
  90222. consumer.call$0();
  90223. return t1.substring$1(0, start);
  90224. },
  90225. error$3(_, message, span, trace) {
  90226. var exception = new A.StringScannerException(this.scanner.string, message, span);
  90227. if (trace == null)
  90228. throw A.wrapException(exception);
  90229. else
  90230. A.throwWithTrace0(exception, trace);
  90231. },
  90232. error$2($receiver, message, span) {
  90233. return this.error$3($receiver, message, span, null);
  90234. },
  90235. withErrorMessage$1$2(message, callback) {
  90236. var error, stackTrace, t1, exception;
  90237. try {
  90238. t1 = callback.call$0();
  90239. return t1;
  90240. } catch (exception) {
  90241. t1 = A.unwrapException(exception);
  90242. if (type$.SourceSpanFormatException._is(t1)) {
  90243. error = t1;
  90244. stackTrace = A.getTraceFromException(exception);
  90245. t1 = J.get$span$z(error);
  90246. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  90247. } else
  90248. throw exception;
  90249. }
  90250. },
  90251. withErrorMessage$2(message, callback) {
  90252. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  90253. },
  90254. wrapSpanFormatException$1$1(callback) {
  90255. var error, stackTrace, span, startPosition, t1, exception;
  90256. try {
  90257. t1 = callback.call$0();
  90258. return t1;
  90259. } catch (exception) {
  90260. t1 = A.unwrapException(exception);
  90261. if (type$.SourceSpanFormatException._is(t1)) {
  90262. error = t1;
  90263. stackTrace = A.getTraceFromException(exception);
  90264. span = J.get$span$z(error);
  90265. if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected") && J.get$length$asx(span) === 0) {
  90266. startPosition = this._parser0$_firstNewlineBefore$1(J.get$start$z(span).offset);
  90267. if (!J.$eq$(startPosition, J.get$start$z(span).offset))
  90268. span = J.get$file$x(span).span$2(0, startPosition, startPosition);
  90269. }
  90270. A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
  90271. } else
  90272. throw exception;
  90273. }
  90274. },
  90275. wrapSpanFormatException$1(callback) {
  90276. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  90277. },
  90278. _parser0$_firstNewlineBefore$1(position) {
  90279. var t1, lastNewline, codeUnit,
  90280. index = position - 1;
  90281. for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
  90282. codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
  90283. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  90284. return lastNewline == null ? position : lastNewline;
  90285. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  90286. lastNewline = index;
  90287. --index;
  90288. }
  90289. return position;
  90290. }
  90291. };
  90292. A.Parser__parseIdentifier_closure0.prototype = {
  90293. call$0() {
  90294. var t1 = this.$this,
  90295. result = t1.identifier$0();
  90296. t1.scanner.expectDone$0();
  90297. return result;
  90298. },
  90299. $signature: 30
  90300. };
  90301. A.Parser_scanIdentChar_matches0.prototype = {
  90302. call$1(actual) {
  90303. var t1 = this.char;
  90304. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  90305. },
  90306. $signature: 54
  90307. };
  90308. A.PlaceholderSelector0.prototype = {
  90309. accept$1$1(visitor) {
  90310. return visitor.visitPlaceholderSelector$1(this);
  90311. },
  90312. accept$1(visitor) {
  90313. return this.accept$1$1(visitor, type$.dynamic);
  90314. },
  90315. addSuffix$1(suffix) {
  90316. return new A.PlaceholderSelector0(this.name + suffix);
  90317. },
  90318. $eq(_, other) {
  90319. if (other == null)
  90320. return false;
  90321. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  90322. },
  90323. get$hashCode(_) {
  90324. return B.JSString_methods.get$hashCode(this.name);
  90325. }
  90326. };
  90327. A.PlainCssCallable0.prototype = {
  90328. $eq(_, other) {
  90329. if (other == null)
  90330. return false;
  90331. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  90332. },
  90333. get$hashCode(_) {
  90334. return B.JSString_methods.get$hashCode(this.name);
  90335. },
  90336. $isAsyncCallable0: 1,
  90337. $isCallable0: 1,
  90338. get$name(receiver) {
  90339. return this.name;
  90340. }
  90341. };
  90342. A.PrefixedMapView0.prototype = {
  90343. get$keys(_) {
  90344. return new A._PrefixedKeys0(this);
  90345. },
  90346. get$length(_) {
  90347. var t1 = this._prefixed_map_view0$_map;
  90348. return t1.get$length(t1);
  90349. },
  90350. get$isEmpty(_) {
  90351. var t1 = this._prefixed_map_view0$_map;
  90352. return t1.get$isEmpty(t1);
  90353. },
  90354. get$isNotEmpty(_) {
  90355. var t1 = this._prefixed_map_view0$_map;
  90356. return t1.get$isNotEmpty(t1);
  90357. },
  90358. $index(_, key) {
  90359. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, J.substring$1$s(key, this._prefixed_map_view0$_prefix.length)) : null;
  90360. },
  90361. containsKey$1(key) {
  90362. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(J.substring$1$s(key, this._prefixed_map_view0$_prefix.length));
  90363. }
  90364. };
  90365. A._PrefixedKeys0.prototype = {
  90366. get$length(_) {
  90367. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  90368. return t1.get$length(t1);
  90369. },
  90370. get$iterator(_) {
  90371. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  90372. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  90373. return t1.get$iterator(t1);
  90374. },
  90375. contains$1(_, key) {
  90376. return this._prefixed_map_view0$_view.containsKey$1(key);
  90377. }
  90378. };
  90379. A._PrefixedKeys_iterator_closure0.prototype = {
  90380. call$1(key) {
  90381. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  90382. },
  90383. $signature: 5
  90384. };
  90385. A.PseudoSelector0.prototype = {
  90386. get$isHostContext() {
  90387. return this.isClass && this.name === "host-context" && this.selector != null;
  90388. },
  90389. get$specificity() {
  90390. var result, _this = this,
  90391. value = _this._pseudo$__PseudoSelector_specificity_FI;
  90392. if (value === $) {
  90393. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  90394. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  90395. _this._pseudo$__PseudoSelector_specificity_FI = result;
  90396. value = result;
  90397. }
  90398. return value;
  90399. },
  90400. addSuffix$1(suffix) {
  90401. var _this = this;
  90402. if (_this.argument != null || _this.selector != null)
  90403. _this.super$SimpleSelector$addSuffix0(suffix);
  90404. return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
  90405. },
  90406. unify$1(compound) {
  90407. var other, result, t2, addedThis, _i, simple, _this = this,
  90408. t1 = _this.name;
  90409. if (t1 === "host" || t1 === "host-context") {
  90410. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  90411. return null;
  90412. } else if (compound.length === 1) {
  90413. other = B.JSArray_methods.get$first(compound);
  90414. if (!(other instanceof A.UniversalSelector0))
  90415. if (other instanceof A.PseudoSelector0)
  90416. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  90417. else
  90418. t1 = false;
  90419. else
  90420. t1 = true;
  90421. if (t1)
  90422. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  90423. }
  90424. if (B.JSArray_methods.contains$1(compound, _this))
  90425. return compound;
  90426. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  90427. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  90428. simple = compound[_i];
  90429. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  90430. if (t2)
  90431. return null;
  90432. result.push(_this);
  90433. addedThis = true;
  90434. }
  90435. result.push(simple);
  90436. }
  90437. if (!addedThis)
  90438. result.push(_this);
  90439. return result;
  90440. },
  90441. isSuperselector$1(other) {
  90442. var selector, t1, _this = this;
  90443. if (_this.super$SimpleSelector$isSuperselector0(other))
  90444. return true;
  90445. selector = _this.selector;
  90446. if (selector == null)
  90447. return _this.$eq(0, other);
  90448. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  90449. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  90450. return t1 == null ? false : t1;
  90451. }
  90452. t1 = type$.JSArray_SimpleSelector_2;
  90453. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1)), A.CompoundSelector$0(A._setArrayType([other], t1)), null);
  90454. },
  90455. accept$1$1(visitor) {
  90456. return visitor.visitPseudoSelector$1(this);
  90457. },
  90458. accept$1(visitor) {
  90459. return this.accept$1$1(visitor, type$.dynamic);
  90460. },
  90461. $eq(_, other) {
  90462. var _this = this;
  90463. if (other == null)
  90464. return false;
  90465. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  90466. },
  90467. get$hashCode(_) {
  90468. var _this = this,
  90469. t1 = B.JSString_methods.get$hashCode(_this.name),
  90470. t2 = !_this.isClass ? 519018 : 218159;
  90471. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  90472. }
  90473. };
  90474. A.PseudoSelector_specificity_closure0.prototype = {
  90475. call$0() {
  90476. var selector, t2,
  90477. t1 = this.$this;
  90478. if (!t1.isClass)
  90479. return 1;
  90480. selector = t1.selector;
  90481. if (selector == null)
  90482. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  90483. switch (t1.normalizedName) {
  90484. case "where":
  90485. return 0;
  90486. case "is":
  90487. case "not":
  90488. case "has":
  90489. case "matches":
  90490. t1 = selector.components;
  90491. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  90492. case "nth-child":
  90493. case "nth-last-child":
  90494. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  90495. t2 = selector.components;
  90496. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  90497. default:
  90498. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  90499. }
  90500. },
  90501. $signature: 12
  90502. };
  90503. A.PseudoSelector_specificity__closure1.prototype = {
  90504. call$1(component) {
  90505. return component.get$specificity();
  90506. },
  90507. $signature: 240
  90508. };
  90509. A.PseudoSelector_specificity__closure2.prototype = {
  90510. call$1(component) {
  90511. return component.get$specificity();
  90512. },
  90513. $signature: 240
  90514. };
  90515. A.PseudoSelector_unify_closure0.prototype = {
  90516. call$1(simple) {
  90517. var t1;
  90518. if (simple instanceof A.PseudoSelector0)
  90519. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  90520. else
  90521. t1 = false;
  90522. return t1;
  90523. },
  90524. $signature: 13
  90525. };
  90526. A.PublicMemberMapView0.prototype = {
  90527. get$keys(_) {
  90528. var t1 = this._public_member_map_view0$_inner;
  90529. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  90530. },
  90531. containsKey$1(key) {
  90532. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  90533. },
  90534. $index(_, key) {
  90535. if (typeof key == "string" && A.isPublic0(key))
  90536. return this._public_member_map_view0$_inner.$index(0, key);
  90537. return null;
  90538. }
  90539. };
  90540. A.QualifiedName0.prototype = {
  90541. $eq(_, other) {
  90542. if (other == null)
  90543. return false;
  90544. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  90545. },
  90546. get$hashCode(_) {
  90547. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  90548. },
  90549. toString$0(_) {
  90550. var t1 = this.namespace,
  90551. t2 = this.name;
  90552. return t1 == null ? t2 : t1 + "|" + t2;
  90553. }
  90554. };
  90555. A.JSClass0.prototype = {};
  90556. A.JSClassExtension_setCustomInspect_closure.prototype = {
  90557. call$4($self, _, __, ___) {
  90558. return this.inspect.call$1($self);
  90559. },
  90560. call$3($self, _, __) {
  90561. return this.call$4($self, _, __, null);
  90562. },
  90563. "call*": "call$4",
  90564. $requiredArgCount: 3,
  90565. $defaultValues() {
  90566. return [null];
  90567. },
  90568. $signature: 496
  90569. };
  90570. A.JSClassExtension_get_defineMethod_closure.prototype = {
  90571. call$2($name, body) {
  90572. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  90573. return null;
  90574. },
  90575. $signature: 241
  90576. };
  90577. A.JSClassExtension_get_defineGetter_closure.prototype = {
  90578. call$2($name, body) {
  90579. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  90580. return null;
  90581. },
  90582. $signature: 241
  90583. };
  90584. A.RenderContext0.prototype = {};
  90585. A.RenderContextOptions0.prototype = {};
  90586. A.RenderContextResult0.prototype = {};
  90587. A.RenderContextResultStats0.prototype = {};
  90588. A.RenderOptions.prototype = {};
  90589. A.RenderResult.prototype = {};
  90590. A.RenderResultStats.prototype = {};
  90591. A.ImporterResult0.prototype = {
  90592. get$sourceMapUrl(_) {
  90593. var t1 = this._result$_sourceMapUrl;
  90594. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  90595. }
  90596. };
  90597. A.ReturnRule0.prototype = {
  90598. accept$1$1(visitor) {
  90599. return visitor.visitReturnRule$1(this);
  90600. },
  90601. accept$1(visitor) {
  90602. return this.accept$1$1(visitor, type$.dynamic);
  90603. },
  90604. toString$0(_) {
  90605. return "@return " + this.expression.toString$0(0) + ";";
  90606. },
  90607. $isAstNode0: 1,
  90608. $isStatement0: 1,
  90609. get$span(receiver) {
  90610. return this.span;
  90611. }
  90612. };
  90613. A.main_printError.prototype = {
  90614. call$2(error, stackTrace) {
  90615. var t1 = this._box_0;
  90616. if (t1.printedError)
  90617. $.$get$stderr().writeln$0();
  90618. t1.printedError = true;
  90619. t1 = $.$get$stderr();
  90620. t1.writeln$1(error);
  90621. if (stackTrace != null) {
  90622. t1.writeln$0();
  90623. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  90624. }
  90625. },
  90626. $signature: 498
  90627. };
  90628. A.main_closure.prototype = {
  90629. call$0() {
  90630. var t1, exception;
  90631. try {
  90632. t1 = this.destination;
  90633. if (t1 != null && !this._box_0.options.get$emitErrorCss())
  90634. A.deleteFile(t1);
  90635. } catch (exception) {
  90636. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  90637. throw exception;
  90638. }
  90639. },
  90640. $signature: 1
  90641. };
  90642. A.SassParser0.prototype = {
  90643. get$currentIndentation() {
  90644. return this._sass0$_currentIndentation;
  90645. },
  90646. get$indented() {
  90647. return true;
  90648. },
  90649. styleRuleSelector$0() {
  90650. var t4,
  90651. t1 = this.scanner,
  90652. t2 = t1._string_scanner$_position,
  90653. t3 = new A.StringBuffer(""),
  90654. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  90655. do {
  90656. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  90657. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  90658. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
  90659. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  90660. },
  90661. expectStatementSeparator$1($name) {
  90662. var t1, _this = this;
  90663. if (!_this.atEndOfStatement$0())
  90664. _this._sass0$_expectNewline$0();
  90665. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  90666. return;
  90667. t1 = $name == null ? "here" : "beneath a " + $name;
  90668. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  90669. },
  90670. expectStatementSeparator$0() {
  90671. return this.expectStatementSeparator$1(null);
  90672. },
  90673. atEndOfStatement$0() {
  90674. var next = this.scanner.peekChar$0();
  90675. return next == null || next === 10 || next === 13 || next === 12;
  90676. },
  90677. lookingAtChildren$0() {
  90678. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  90679. },
  90680. importArgument$0() {
  90681. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  90682. t1 = _this.scanner;
  90683. switch (t1.peekChar$0()) {
  90684. case 117:
  90685. case 85:
  90686. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  90687. if (_this.scanIdentifier$1("url"))
  90688. if (t1.scanChar$1(40)) {
  90689. t1.set$state(start);
  90690. return _this.super$StylesheetParser$importArgument0();
  90691. } else
  90692. t1.set$state(start);
  90693. break;
  90694. case 39:
  90695. case 34:
  90696. return _this.super$StylesheetParser$importArgument0();
  90697. }
  90698. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  90699. next = t1.peekChar$0();
  90700. while (true) {
  90701. if (next != null)
  90702. if (next !== 44)
  90703. if (next !== 59)
  90704. t2 = !(next === 10 || next === 13 || next === 12);
  90705. else
  90706. t2 = false;
  90707. else
  90708. t2 = false;
  90709. else
  90710. t2 = false;
  90711. if (!t2)
  90712. break;
  90713. t1.readChar$0();
  90714. next = t1.peekChar$0();
  90715. }
  90716. url = t1.substring$1(0, start.position);
  90717. span = t1.spanFrom$1(start);
  90718. if (_this.isPlainImportUrl$1(url))
  90719. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  90720. else
  90721. try {
  90722. t1 = _this.parseImportUrl$1(url);
  90723. return new A.DynamicImport0(t1, span);
  90724. } catch (exception) {
  90725. t1 = A.unwrapException(exception);
  90726. if (type$.FormatException._is(t1)) {
  90727. innerError = t1;
  90728. stackTrace = A.getTraceFromException(exception);
  90729. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  90730. } else
  90731. throw exception;
  90732. }
  90733. },
  90734. scanElse$1(ifIndentation) {
  90735. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  90736. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  90737. return false;
  90738. t1 = _this.scanner;
  90739. t2 = t1._string_scanner$_position;
  90740. startIndentation = _this._sass0$_currentIndentation;
  90741. startNextIndentation = _this._sass0$_nextIndentation;
  90742. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  90743. _this._sass0$_readIndentation$0();
  90744. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  90745. return true;
  90746. t1.set$state(new A._SpanScannerState(t1, t2));
  90747. _this._sass0$_currentIndentation = startIndentation;
  90748. _this._sass0$_nextIndentation = startNextIndentation;
  90749. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  90750. return false;
  90751. },
  90752. children$1(_, child) {
  90753. var children = A._setArrayType([], type$.JSArray_Statement_2);
  90754. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  90755. return children;
  90756. },
  90757. statements$1(statement) {
  90758. var statements, t2, child,
  90759. t1 = this.scanner,
  90760. first = t1.peekChar$0();
  90761. if (first === 9 || first === 32)
  90762. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  90763. statements = A._setArrayType([], type$.JSArray_Statement_2);
  90764. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  90765. child = this._sass0$_child$1(statement);
  90766. if (child != null)
  90767. statements.push(child);
  90768. this._sass0$_readIndentation$0();
  90769. }
  90770. return statements;
  90771. },
  90772. _sass0$_child$1(child) {
  90773. var _this = this,
  90774. t1 = _this.scanner;
  90775. switch (t1.peekChar$0()) {
  90776. case 13:
  90777. case 10:
  90778. case 12:
  90779. return null;
  90780. case 36:
  90781. return _this.variableDeclarationWithoutNamespace$0();
  90782. case 47:
  90783. switch (t1.peekChar$1(1)) {
  90784. case 47:
  90785. return _this._sass0$_silentComment$0();
  90786. case 42:
  90787. return _this._sass0$_loudComment$0();
  90788. default:
  90789. return child.call$0();
  90790. }
  90791. default:
  90792. return child.call$0();
  90793. }
  90794. },
  90795. _sass0$_silentComment$0() {
  90796. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  90797. t1 = _this.scanner,
  90798. t2 = t1._string_scanner$_position;
  90799. t1.expect$1("//");
  90800. buffer = new A.StringBuffer("");
  90801. parentIndentation = _this._sass0$_currentIndentation;
  90802. t3 = t1.string.length;
  90803. t4 = 1 + parentIndentation;
  90804. t5 = 2 + parentIndentation;
  90805. $label0$0:
  90806. do {
  90807. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  90808. for (i = commentPrefix.length; true;) {
  90809. t6 = buffer._contents += commentPrefix;
  90810. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  90811. t6 += A.Primitives_stringFromCharCode(32);
  90812. buffer._contents = t6;
  90813. }
  90814. while (true) {
  90815. if (t1._string_scanner$_position !== t3) {
  90816. t7 = t1.peekChar$0();
  90817. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  90818. } else
  90819. t7 = false;
  90820. if (!t7)
  90821. break;
  90822. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  90823. buffer._contents = t6;
  90824. }
  90825. buffer._contents = t6 + "\n";
  90826. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  90827. break $label0$0;
  90828. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  90829. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  90830. _this._sass0$_readIndentation$0();
  90831. break;
  90832. }
  90833. _this._sass0$_readIndentation$0();
  90834. }
  90835. } while (t1.scan$1("//"));
  90836. t3 = buffer._contents;
  90837. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  90838. },
  90839. _sass0$_loudComment$0() {
  90840. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  90841. t1 = _this.scanner,
  90842. t2 = t1._string_scanner$_position;
  90843. t1.expect$1("/*");
  90844. t3 = new A.StringBuffer("");
  90845. t4 = A._setArrayType([], type$.JSArray_Object);
  90846. buffer = new A.InterpolationBuffer0(t3, t4);
  90847. t3._contents = "" + "/*";
  90848. parentIndentation = _this._sass0$_currentIndentation;
  90849. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  90850. if (first) {
  90851. beginningOfComment = t1._string_scanner$_position;
  90852. _this.spaces$0();
  90853. t7 = t1.peekChar$0();
  90854. if (t7 === 10 || t7 === 13 || t7 === 12) {
  90855. _this._sass0$_readIndentation$0();
  90856. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  90857. } else {
  90858. end = t1._string_scanner$_position;
  90859. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  90860. }
  90861. } else {
  90862. t7 = t3._contents += "\n";
  90863. t7 += " * ";
  90864. t3._contents = t7;
  90865. }
  90866. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  90867. t7 += A.Primitives_stringFromCharCode(32);
  90868. t3._contents = t7;
  90869. }
  90870. $label0$1:
  90871. for (; t1._string_scanner$_position !== t6;)
  90872. switch (t1.peekChar$0()) {
  90873. case 10:
  90874. case 13:
  90875. case 12:
  90876. break $label0$1;
  90877. case 35:
  90878. if (t1.peekChar$1(1) === 123) {
  90879. t7 = _this.singleInterpolation$0();
  90880. buffer._interpolation_buffer0$_flushText$0();
  90881. t4.push(t7);
  90882. } else
  90883. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90884. break;
  90885. default:
  90886. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90887. break;
  90888. }
  90889. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  90890. break;
  90891. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  90892. _this._sass0$_expectNewline$0();
  90893. t7 = t3._contents += "\n";
  90894. t3._contents = t7 + " *";
  90895. }
  90896. _this._sass0$_readIndentation$0();
  90897. }
  90898. t4 = t3._contents;
  90899. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  90900. t3._contents += " */";
  90901. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  90902. },
  90903. whitespaceWithoutComments$0() {
  90904. var t1, t2, next;
  90905. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  90906. next = t1.peekChar$0();
  90907. if (next !== 9 && next !== 32)
  90908. break;
  90909. t1.readChar$0();
  90910. }
  90911. },
  90912. loudComment$0() {
  90913. var next,
  90914. t1 = this.scanner;
  90915. t1.expect$1("/*");
  90916. for (; true;) {
  90917. next = t1.readChar$0();
  90918. if (next === 10 || next === 13 || next === 12)
  90919. t1.error$1(0, "expected */.");
  90920. if (next !== 42)
  90921. continue;
  90922. do
  90923. next = t1.readChar$0();
  90924. while (next === 42);
  90925. if (next === 47)
  90926. break;
  90927. }
  90928. },
  90929. _sass0$_expectNewline$0() {
  90930. var t1 = this.scanner;
  90931. switch (t1.peekChar$0()) {
  90932. case 59:
  90933. t1.error$1(0, string$.semico);
  90934. break;
  90935. case 13:
  90936. t1.readChar$0();
  90937. if (t1.peekChar$0() === 10)
  90938. t1.readChar$0();
  90939. return;
  90940. case 10:
  90941. case 12:
  90942. t1.readChar$0();
  90943. return;
  90944. default:
  90945. t1.error$1(0, "expected newline.");
  90946. }
  90947. },
  90948. _sass0$_lookingAtDoubleNewline$0() {
  90949. var nextChar,
  90950. t1 = this.scanner;
  90951. switch (t1.peekChar$0()) {
  90952. case 13:
  90953. nextChar = t1.peekChar$1(1);
  90954. if (nextChar === 10) {
  90955. t1 = t1.peekChar$1(2);
  90956. return t1 === 10 || t1 === 13 || t1 === 12;
  90957. }
  90958. return nextChar === 13 || nextChar === 12;
  90959. case 10:
  90960. case 12:
  90961. t1 = t1.peekChar$1(1);
  90962. return t1 === 10 || t1 === 13 || t1 === 12;
  90963. default:
  90964. return false;
  90965. }
  90966. },
  90967. _sass0$_whileIndentedLower$1(body) {
  90968. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  90969. parentIndentation = _this._sass0$_currentIndentation;
  90970. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  90971. indentation = _this._sass0$_readIndentation$0();
  90972. if (childIndentation == null)
  90973. childIndentation = indentation;
  90974. if (childIndentation !== indentation) {
  90975. t3 = t1._string_scanner$_position;
  90976. t4 = t2.getColumn$1(t3);
  90977. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  90978. }
  90979. body.call$0();
  90980. }
  90981. },
  90982. _sass0$_readIndentation$0() {
  90983. var t1, _this = this,
  90984. currentIndentation = _this._sass0$_nextIndentation;
  90985. if (currentIndentation == null)
  90986. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  90987. _this._sass0$_currentIndentation = currentIndentation;
  90988. t1 = _this._sass0$_nextIndentationEnd;
  90989. t1.toString;
  90990. _this.scanner.set$state(t1);
  90991. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  90992. return currentIndentation;
  90993. },
  90994. _sass0$_peekIndentation$0() {
  90995. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  90996. cached = _this._sass0$_nextIndentation;
  90997. if (cached != null)
  90998. return cached;
  90999. t1 = _this.scanner;
  91000. t2 = t1._string_scanner$_position;
  91001. t3 = t1.string.length;
  91002. if (t2 === t3) {
  91003. _this._sass0$_nextIndentation = 0;
  91004. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  91005. return 0;
  91006. }
  91007. start = new A._SpanScannerState(t1, t2);
  91008. if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
  91009. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  91010. containsTab = A._Cell$();
  91011. containsSpace = A._Cell$();
  91012. nextIndentation = A._Cell$();
  91013. t2 = nextIndentation.__late_helper$_name;
  91014. do {
  91015. containsSpace._value = containsTab._value = false;
  91016. nextIndentation._value = 0;
  91017. for (; true;) {
  91018. next = t1.peekChar$0();
  91019. if (next === 32)
  91020. containsSpace._value = true;
  91021. else if (next === 9)
  91022. containsTab._value = true;
  91023. else
  91024. break;
  91025. t4 = nextIndentation._value;
  91026. if (t4 === nextIndentation)
  91027. A.throwExpression(A.LateError$localNI(t2));
  91028. nextIndentation._value = t4 + 1;
  91029. t1.readChar$0();
  91030. }
  91031. t4 = t1._string_scanner$_position;
  91032. if (t4 === t3) {
  91033. _this._sass0$_nextIndentation = 0;
  91034. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  91035. t1.set$state(start);
  91036. return 0;
  91037. }
  91038. } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
  91039. t2 = containsTab._readLocal$0();
  91040. t3 = containsSpace._readLocal$0();
  91041. if (t2) {
  91042. if (t3) {
  91043. t2 = t1._string_scanner$_position;
  91044. t3 = t1._sourceFile;
  91045. t4 = t3.getColumn$1(t2);
  91046. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91047. } else if (_this._sass0$_spaces === true) {
  91048. t2 = t1._string_scanner$_position;
  91049. t3 = t1._sourceFile;
  91050. t4 = t3.getColumn$1(t2);
  91051. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91052. }
  91053. } else if (t3 && _this._sass0$_spaces === false) {
  91054. t2 = t1._string_scanner$_position;
  91055. t3 = t1._sourceFile;
  91056. t4 = t3.getColumn$1(t2);
  91057. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91058. }
  91059. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  91060. if (nextIndentation._readLocal$0() > 0)
  91061. if (_this._sass0$_spaces == null)
  91062. _this._sass0$_spaces = containsSpace._readLocal$0();
  91063. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91064. t1.set$state(start);
  91065. return nextIndentation._readLocal$0();
  91066. }
  91067. };
  91068. A.SassParser_children_closure0.prototype = {
  91069. call$0() {
  91070. var parsedChild = this.$this._sass0$_child$1(this.child);
  91071. if (parsedChild != null)
  91072. this.children.push(parsedChild);
  91073. },
  91074. $signature: 0
  91075. };
  91076. A._Exports.prototype = {};
  91077. A._wrapMain_closure.prototype = {
  91078. call$1(_) {
  91079. return A._translateReturnValue(this.main.call$0());
  91080. },
  91081. $signature: 94
  91082. };
  91083. A._wrapMain_closure0.prototype = {
  91084. call$1(args) {
  91085. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  91086. },
  91087. $signature: 94
  91088. };
  91089. A.ScssParser0.prototype = {
  91090. get$indented() {
  91091. return false;
  91092. },
  91093. get$currentIndentation() {
  91094. return 0;
  91095. },
  91096. styleRuleSelector$0() {
  91097. return this.almostAnyValue$0();
  91098. },
  91099. expectStatementSeparator$1($name) {
  91100. var t1, next;
  91101. this.whitespaceWithoutComments$0();
  91102. t1 = this.scanner;
  91103. if (t1._string_scanner$_position === t1.string.length)
  91104. return;
  91105. next = t1.peekChar$0();
  91106. if (next === 59 || next === 125)
  91107. return;
  91108. t1.expectChar$1(59);
  91109. },
  91110. expectStatementSeparator$0() {
  91111. return this.expectStatementSeparator$1(null);
  91112. },
  91113. atEndOfStatement$0() {
  91114. var next = this.scanner.peekChar$0();
  91115. return next == null || next === 59 || next === 125 || next === 123;
  91116. },
  91117. lookingAtChildren$0() {
  91118. return this.scanner.peekChar$0() === 123;
  91119. },
  91120. scanElse$1(ifIndentation) {
  91121. var t3, _this = this,
  91122. t1 = _this.scanner,
  91123. t2 = t1._string_scanner$_position;
  91124. _this.whitespace$0();
  91125. t3 = t1._string_scanner$_position;
  91126. if (t1.scanChar$1(64)) {
  91127. if (_this.scanIdentifier$2$caseSensitive("else", true))
  91128. return true;
  91129. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  91130. _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  91131. t1.set$position(t1._string_scanner$_position - 2);
  91132. return true;
  91133. }
  91134. }
  91135. t1.set$state(new A._SpanScannerState(t1, t2));
  91136. return false;
  91137. },
  91138. children$1(_, child) {
  91139. var children, _this = this,
  91140. t1 = _this.scanner;
  91141. t1.expectChar$1(123);
  91142. _this.whitespaceWithoutComments$0();
  91143. children = A._setArrayType([], type$.JSArray_Statement_2);
  91144. for (; true;)
  91145. switch (t1.peekChar$0()) {
  91146. case 36:
  91147. children.push(_this.variableDeclarationWithoutNamespace$0());
  91148. break;
  91149. case 47:
  91150. switch (t1.peekChar$1(1)) {
  91151. case 47:
  91152. children.push(_this._scss0$_silentComment$0());
  91153. _this.whitespaceWithoutComments$0();
  91154. break;
  91155. case 42:
  91156. children.push(_this._scss0$_loudComment$0());
  91157. _this.whitespaceWithoutComments$0();
  91158. break;
  91159. default:
  91160. children.push(child.call$0());
  91161. break;
  91162. }
  91163. break;
  91164. case 59:
  91165. t1.readChar$0();
  91166. _this.whitespaceWithoutComments$0();
  91167. break;
  91168. case 125:
  91169. t1.expectChar$1(125);
  91170. return children;
  91171. default:
  91172. children.push(child.call$0());
  91173. break;
  91174. }
  91175. },
  91176. statements$1(statement) {
  91177. var t1, t2, child, _this = this,
  91178. statements = A._setArrayType([], type$.JSArray_Statement_2);
  91179. _this.whitespaceWithoutComments$0();
  91180. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  91181. switch (t1.peekChar$0()) {
  91182. case 36:
  91183. statements.push(_this.variableDeclarationWithoutNamespace$0());
  91184. break;
  91185. case 47:
  91186. switch (t1.peekChar$1(1)) {
  91187. case 47:
  91188. statements.push(_this._scss0$_silentComment$0());
  91189. _this.whitespaceWithoutComments$0();
  91190. break;
  91191. case 42:
  91192. statements.push(_this._scss0$_loudComment$0());
  91193. _this.whitespaceWithoutComments$0();
  91194. break;
  91195. default:
  91196. child = statement.call$0();
  91197. if (child != null)
  91198. statements.push(child);
  91199. break;
  91200. }
  91201. break;
  91202. case 59:
  91203. t1.readChar$0();
  91204. _this.whitespaceWithoutComments$0();
  91205. break;
  91206. default:
  91207. child = statement.call$0();
  91208. if (child != null)
  91209. statements.push(child);
  91210. break;
  91211. }
  91212. return statements;
  91213. },
  91214. _scss0$_silentComment$0() {
  91215. var t2, t3, _this = this,
  91216. t1 = _this.scanner,
  91217. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91218. t1.expect$1("//");
  91219. t2 = t1.string.length;
  91220. do {
  91221. while (true) {
  91222. if (t1._string_scanner$_position !== t2) {
  91223. t3 = t1.readChar$0();
  91224. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  91225. } else
  91226. t3 = false;
  91227. if (!t3)
  91228. break;
  91229. }
  91230. if (t1._string_scanner$_position === t2)
  91231. break;
  91232. _this.whitespaceWithoutComments$0();
  91233. } while (t1.scan$1("//"));
  91234. if (_this.get$plainCss())
  91235. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  91236. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  91237. },
  91238. _scss0$_loudComment$0() {
  91239. var t3, t4, buffer, t5, endPosition, t6, result,
  91240. t1 = this.scanner,
  91241. t2 = t1._string_scanner$_position;
  91242. t1.expect$1("/*");
  91243. t3 = new A.StringBuffer("");
  91244. t4 = A._setArrayType([], type$.JSArray_Object);
  91245. buffer = new A.InterpolationBuffer0(t3, t4);
  91246. t3._contents = "" + "/*";
  91247. for (; true;)
  91248. switch (t1.peekChar$0()) {
  91249. case 35:
  91250. if (t1.peekChar$1(1) === 123) {
  91251. t5 = this.singleInterpolation$0();
  91252. buffer._interpolation_buffer0$_flushText$0();
  91253. t4.push(t5);
  91254. } else
  91255. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91256. break;
  91257. case 42:
  91258. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91259. if (t1.peekChar$0() !== 47)
  91260. break;
  91261. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91262. endPosition = t1._string_scanner$_position;
  91263. t5 = t1._sourceFile;
  91264. t6 = new A._SpanScannerState(t1, t2).position;
  91265. t1 = new A._FileSpan(t5, t6, endPosition);
  91266. t1._FileSpan$3(t5, t6, endPosition);
  91267. t6 = type$.Object;
  91268. t5 = A.List_List$of(t4, true, t6);
  91269. t2 = t3._contents;
  91270. if (t2.length !== 0)
  91271. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  91272. result = A.List_List$from(t5, false, t6);
  91273. result.fixed$length = Array;
  91274. result.immutable$list = Array;
  91275. t2 = new A.Interpolation0(result, t1);
  91276. t2.Interpolation$20(t5, t1);
  91277. return new A.LoudComment0(t2);
  91278. case 13:
  91279. t1.readChar$0();
  91280. if (t1.peekChar$0() !== 10)
  91281. t3._contents += A.Primitives_stringFromCharCode(10);
  91282. break;
  91283. case 12:
  91284. t1.readChar$0();
  91285. t3._contents += A.Primitives_stringFromCharCode(10);
  91286. break;
  91287. default:
  91288. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91289. break;
  91290. }
  91291. }
  91292. };
  91293. A.Selector0.prototype = {
  91294. assertNotBogus$1$name($name) {
  91295. var t1;
  91296. if (!this.accept$1(B._IsBogusVisitor_true0))
  91297. return;
  91298. t1 = this.toString$0(0);
  91299. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": " + (t1 + string$.x20is_nov), true);
  91300. },
  91301. toString$0(_) {
  91302. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  91303. this.accept$1(visitor);
  91304. return visitor._serialize0$_buffer.toString$0(0);
  91305. }
  91306. };
  91307. A._IsInvisibleVisitor2.prototype = {
  91308. visitSelectorList$1(list) {
  91309. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  91310. },
  91311. visitComplexSelector$1(complex) {
  91312. var t1;
  91313. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  91314. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  91315. else
  91316. t1 = true;
  91317. return t1;
  91318. },
  91319. visitPlaceholderSelector$1(placeholder) {
  91320. return true;
  91321. },
  91322. visitPseudoSelector$1(pseudo) {
  91323. var t1,
  91324. selector = pseudo.selector;
  91325. if (selector == null)
  91326. return false;
  91327. if (pseudo.name === "not")
  91328. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true0);
  91329. else
  91330. t1 = this.visitSelectorList$1(selector);
  91331. return t1;
  91332. }
  91333. };
  91334. A._IsBogusVisitor0.prototype = {
  91335. visitComplexSelector$1(complex) {
  91336. var t2, t3,
  91337. t1 = complex.components;
  91338. if (t1.length === 0)
  91339. return complex.leadingCombinators.length !== 0;
  91340. else {
  91341. t2 = complex.leadingCombinators;
  91342. t3 = this.includeLeadingCombinator ? 0 : 1;
  91343. return t2.length > t3 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure0(this));
  91344. }
  91345. },
  91346. visitPseudoSelector$1(pseudo) {
  91347. var selector = pseudo.selector;
  91348. if (selector == null)
  91349. return false;
  91350. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  91351. }
  91352. };
  91353. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  91354. call$1(component) {
  91355. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  91356. },
  91357. $signature: 51
  91358. };
  91359. A._IsUselessVisitor0.prototype = {
  91360. visitComplexSelector$1(complex) {
  91361. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  91362. },
  91363. visitPseudoSelector$1(pseudo) {
  91364. return pseudo.accept$1(B._IsBogusVisitor_true0);
  91365. }
  91366. };
  91367. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  91368. call$1(component) {
  91369. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  91370. },
  91371. $signature: 51
  91372. };
  91373. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  91374. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  91375. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  91376. A.SelectorExpression0.prototype = {
  91377. accept$1$1(visitor) {
  91378. return visitor.visitSelectorExpression$1(this);
  91379. },
  91380. accept$1(visitor) {
  91381. return this.accept$1$1(visitor, type$.dynamic);
  91382. },
  91383. toString$0(_) {
  91384. return "&";
  91385. },
  91386. $isExpression0: 1,
  91387. $isAstNode0: 1,
  91388. get$span(receiver) {
  91389. return this.span;
  91390. }
  91391. };
  91392. A._nest_closure0.prototype = {
  91393. call$1($arguments) {
  91394. var t1 = {},
  91395. selectors = J.$index$asx($arguments, 0).get$asList();
  91396. if (selectors.length === 0)
  91397. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  91398. t1.first = true;
  91399. return new A.MappedListIterable(selectors, new A._nest__closure1(t1), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._nest__closure2()).get$asSassList();
  91400. },
  91401. $signature: 22
  91402. };
  91403. A._nest__closure1.prototype = {
  91404. call$1(selector) {
  91405. var t1 = this._box_0,
  91406. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  91407. t1.first = false;
  91408. return result;
  91409. },
  91410. $signature: 242
  91411. };
  91412. A._nest__closure2.prototype = {
  91413. call$2($parent, child) {
  91414. return child.resolveParentSelectors$1($parent);
  91415. },
  91416. $signature: 243
  91417. };
  91418. A._append_closure1.prototype = {
  91419. call$1($arguments) {
  91420. var selectors = J.$index$asx($arguments, 0).get$asList();
  91421. if (selectors.length === 0)
  91422. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  91423. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2()).get$asSassList();
  91424. },
  91425. $signature: 22
  91426. };
  91427. A._append__closure1.prototype = {
  91428. call$1(selector) {
  91429. return A.SassApiValue_assertSelector0(selector, false, null);
  91430. },
  91431. $signature: 242
  91432. };
  91433. A._append__closure2.prototype = {
  91434. call$2($parent, child) {
  91435. var t1 = child.components;
  91436. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
  91437. },
  91438. $signature: 243
  91439. };
  91440. A._append___closure0.prototype = {
  91441. call$1(complex) {
  91442. var t1, component, newCompound, t2;
  91443. if (complex.leadingCombinators.length !== 0)
  91444. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  91445. t1 = complex.components;
  91446. component = B.JSArray_methods.get$first(t1);
  91447. newCompound = A._prependParent0(component.selector);
  91448. if (newCompound == null)
  91449. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  91450. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2);
  91451. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  91452. return A.ComplexSelector$0(B.List_empty13, t2, false);
  91453. },
  91454. $signature: 69
  91455. };
  91456. A._extend_closure0.prototype = {
  91457. call$1($arguments) {
  91458. var target, source,
  91459. _s8_ = "selector",
  91460. _s8_0 = "extendee",
  91461. _s8_1 = "extender",
  91462. t1 = J.getInterceptor$asx($arguments),
  91463. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  91464. selector.assertNotBogus$1$name(_s8_);
  91465. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  91466. target.assertNotBogus$1$name(_s8_0);
  91467. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  91468. source.assertNotBogus$1$name(_s8_1);
  91469. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  91470. },
  91471. $signature: 22
  91472. };
  91473. A._replace_closure0.prototype = {
  91474. call$1($arguments) {
  91475. var target, source,
  91476. _s8_ = "selector",
  91477. _s8_0 = "original",
  91478. _s11_ = "replacement",
  91479. t1 = J.getInterceptor$asx($arguments),
  91480. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  91481. selector.assertNotBogus$1$name(_s8_);
  91482. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  91483. target.assertNotBogus$1$name(_s8_0);
  91484. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  91485. source.assertNotBogus$1$name(_s11_);
  91486. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  91487. },
  91488. $signature: 22
  91489. };
  91490. A._unify_closure0.prototype = {
  91491. call$1($arguments) {
  91492. var selector2, result,
  91493. _s9_ = "selector1",
  91494. _s9_0 = "selector2",
  91495. t1 = J.getInterceptor$asx($arguments),
  91496. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  91497. selector1.assertNotBogus$1$name(_s9_);
  91498. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  91499. selector2.assertNotBogus$1$name(_s9_0);
  91500. result = selector1.unify$1(selector2);
  91501. return result == null ? B.C__SassNull0 : result.get$asSassList();
  91502. },
  91503. $signature: 3
  91504. };
  91505. A._isSuperselector_closure0.prototype = {
  91506. call$1($arguments) {
  91507. var selector2,
  91508. t1 = J.getInterceptor$asx($arguments),
  91509. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  91510. selector1.assertNotBogus$1$name("super");
  91511. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  91512. selector2.assertNotBogus$1$name("sub");
  91513. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91514. },
  91515. $signature: 19
  91516. };
  91517. A._simpleSelectors_closure0.prototype = {
  91518. call$1($arguments) {
  91519. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  91520. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  91521. },
  91522. $signature: 22
  91523. };
  91524. A._simpleSelectors__closure0.prototype = {
  91525. call$1(simple) {
  91526. return new A.SassString0(A.serializeSelector0(simple, true), false);
  91527. },
  91528. $signature: 501
  91529. };
  91530. A._parse_closure0.prototype = {
  91531. call$1($arguments) {
  91532. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  91533. },
  91534. $signature: 22
  91535. };
  91536. A.SelectorParser0.prototype = {
  91537. parse$0() {
  91538. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  91539. },
  91540. parseCompoundSelector$0() {
  91541. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  91542. },
  91543. _selector$_selectorList$0() {
  91544. var t3, t4, lineBreak, _this = this,
  91545. t1 = _this.scanner,
  91546. t2 = t1._sourceFile,
  91547. previousLine = t2.getLine$1(t1._string_scanner$_position),
  91548. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  91549. _this.whitespace$0();
  91550. for (t3 = t1.string.length; t1.scanChar$1(44);) {
  91551. _this.whitespace$0();
  91552. if (t1.peekChar$0() === 44)
  91553. continue;
  91554. t4 = t1._string_scanner$_position;
  91555. if (t4 === t3)
  91556. break;
  91557. lineBreak = t2.getLine$1(t4) !== previousLine;
  91558. if (lineBreak)
  91559. previousLine = t2.getLine$1(t1._string_scanner$_position);
  91560. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  91561. }
  91562. return A.SelectorList$0(components);
  91563. },
  91564. _selector$_complexSelector$1$lineBreak(lineBreak) {
  91565. var t2, t3, t4, lastCompound, initialCombinators, next, t5, result, _this = this,
  91566. t1 = type$.JSArray_Combinator_2,
  91567. combinators = A._setArrayType([], t1),
  91568. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  91569. $label0$1:
  91570. for (t2 = _this.scanner, t3 = B.Set_2Vk2._map, t4 = type$.Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  91571. _this.whitespace$0();
  91572. next = t2.peekChar$0();
  91573. switch (next) {
  91574. case 43:
  91575. t2.readChar$0();
  91576. combinators.push(B.Combinator_4QF0);
  91577. break;
  91578. case 62:
  91579. t2.readChar$0();
  91580. combinators.push(B.Combinator_Cht0);
  91581. break;
  91582. case 126:
  91583. t2.readChar$0();
  91584. combinators.push(B.Combinator_Htt0);
  91585. break;
  91586. default:
  91587. if (next != null)
  91588. t5 = !t3.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  91589. else
  91590. t5 = true;
  91591. if (t5)
  91592. break $label0$1;
  91593. if (lastCompound != null) {
  91594. result = A.List_List$from(combinators, false, t4);
  91595. result.fixed$length = Array;
  91596. result.immutable$list = Array;
  91597. components.push(new A.ComplexSelectorComponent0(lastCompound, result));
  91598. } else if (combinators.length !== 0)
  91599. initialCombinators = combinators;
  91600. lastCompound = _this._selector$_compoundSelector$0();
  91601. combinators = A._setArrayType([], t1);
  91602. if (t2.peekChar$0() === 38)
  91603. t2.error$1(0, string$.x22x26__ma);
  91604. break;
  91605. }
  91606. }
  91607. if (lastCompound != null)
  91608. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4)));
  91609. else if (combinators.length !== 0)
  91610. initialCombinators = combinators;
  91611. else
  91612. t2.error$1(0, "expected selector.");
  91613. return A.ComplexSelector$0(initialCombinators == null ? B.List_empty13 : initialCombinators, components, lineBreak);
  91614. },
  91615. _selector$_complexSelector$0() {
  91616. return this._selector$_complexSelector$1$lineBreak(false);
  91617. },
  91618. _selector$_compoundSelector$0() {
  91619. var t2,
  91620. components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
  91621. t1 = this.scanner;
  91622. while (true) {
  91623. t2 = t1.peekChar$0();
  91624. if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
  91625. break;
  91626. components.push(this._selector$_simpleSelector$1$allowParent(false));
  91627. }
  91628. return A.CompoundSelector$0(components);
  91629. },
  91630. _selector$_simpleSelector$1$allowParent(allowParent) {
  91631. var $name, text, t2, suffix, _this = this,
  91632. t1 = _this.scanner,
  91633. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91634. if (allowParent == null)
  91635. allowParent = _this._selector$_allowParent;
  91636. switch (t1.peekChar$0()) {
  91637. case 91:
  91638. return _this._selector$_attributeSelector$0();
  91639. case 46:
  91640. t1.expectChar$1(46);
  91641. return new A.ClassSelector0(_this.identifier$0());
  91642. case 35:
  91643. t1.expectChar$1(35);
  91644. return new A.IDSelector0(_this.identifier$0());
  91645. case 37:
  91646. t1.expectChar$1(37);
  91647. $name = _this.identifier$0();
  91648. if (!_this._selector$_allowPlaceholder)
  91649. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  91650. return new A.PlaceholderSelector0($name);
  91651. case 58:
  91652. return _this._selector$_pseudoSelector$0();
  91653. case 38:
  91654. t1.expectChar$1(38);
  91655. if (_this.lookingAtIdentifierBody$0()) {
  91656. text = new A.StringBuffer("");
  91657. _this._parser0$_identifierBody$1(text);
  91658. if (text._contents.length === 0)
  91659. t1.error$1(0, "Expected identifier body.");
  91660. t2 = text._contents;
  91661. suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
  91662. } else
  91663. suffix = null;
  91664. if (!allowParent)
  91665. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  91666. return new A.ParentSelector0(suffix);
  91667. default:
  91668. return _this._selector$_typeOrUniversalSelector$0();
  91669. }
  91670. },
  91671. _selector$_simpleSelector$0() {
  91672. return this._selector$_simpleSelector$1$allowParent(null);
  91673. },
  91674. _selector$_attributeSelector$0() {
  91675. var $name, operator, next, value, modifier, _this = this, _null = null,
  91676. t1 = _this.scanner;
  91677. t1.expectChar$1(91);
  91678. _this.whitespace$0();
  91679. $name = _this._selector$_attributeName$0();
  91680. _this.whitespace$0();
  91681. if (t1.scanChar$1(93))
  91682. return new A.AttributeSelector0($name, _null, _null, _null);
  91683. operator = _this._selector$_attributeOperator$0();
  91684. _this.whitespace$0();
  91685. next = t1.peekChar$0();
  91686. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  91687. _this.whitespace$0();
  91688. next = t1.peekChar$0();
  91689. modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  91690. t1.expectChar$1(93);
  91691. return new A.AttributeSelector0($name, operator, value, modifier);
  91692. },
  91693. _selector$_attributeName$0() {
  91694. var nameOrNamespace, _this = this,
  91695. t1 = _this.scanner;
  91696. if (t1.scanChar$1(42)) {
  91697. t1.expectChar$1(124);
  91698. return new A.QualifiedName0(_this.identifier$0(), "*");
  91699. }
  91700. if (t1.scanChar$1(124))
  91701. return new A.QualifiedName0(_this.identifier$0(), "");
  91702. nameOrNamespace = _this.identifier$0();
  91703. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  91704. return new A.QualifiedName0(nameOrNamespace, null);
  91705. t1.readChar$0();
  91706. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  91707. },
  91708. _selector$_attributeOperator$0() {
  91709. var t1 = this.scanner,
  91710. t2 = t1._string_scanner$_position;
  91711. switch (t1.readChar$0()) {
  91712. case 61:
  91713. return B.AttributeOperator_ES60;
  91714. case 126:
  91715. t1.expectChar$1(61);
  91716. return B.AttributeOperator_r600;
  91717. case 124:
  91718. t1.expectChar$1(61);
  91719. return B.AttributeOperator_ivT0;
  91720. case 94:
  91721. t1.expectChar$1(61);
  91722. return B.AttributeOperator_eot0;
  91723. case 36:
  91724. t1.expectChar$1(61);
  91725. return B.AttributeOperator_BGd0;
  91726. case 42:
  91727. t1.expectChar$1(61);
  91728. return B.AttributeOperator_8aB0;
  91729. default:
  91730. t1.error$2$position(0, 'Expected "]".', t2);
  91731. }
  91732. },
  91733. _selector$_pseudoSelector$0() {
  91734. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  91735. t1 = _this.scanner;
  91736. t1.expectChar$1(58);
  91737. element = t1.scanChar$1(58);
  91738. $name = _this.identifier$0();
  91739. if (!t1.scanChar$1(40))
  91740. return A.PseudoSelector$0($name, _null, element, _null);
  91741. _this.whitespace$0();
  91742. unvendored = A.unvendor0($name);
  91743. if (element)
  91744. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  91745. selector = _this._selector$_selectorList$0();
  91746. argument = _null;
  91747. } else {
  91748. argument = _this.declarationValue$1$allowEmpty(true);
  91749. selector = _null;
  91750. }
  91751. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  91752. selector = _this._selector$_selectorList$0();
  91753. argument = _null;
  91754. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  91755. argument = _this._selector$_aNPlusB$0();
  91756. _this.whitespace$0();
  91757. t2 = t1.peekChar$1(-1);
  91758. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  91759. _this.expectIdentifier$1("of");
  91760. argument += " of";
  91761. _this.whitespace$0();
  91762. selector = _this._selector$_selectorList$0();
  91763. } else
  91764. selector = _null;
  91765. } else {
  91766. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  91767. selector = _null;
  91768. }
  91769. t1.expectChar$1(41);
  91770. return A.PseudoSelector$0($name, argument, element, selector);
  91771. },
  91772. _selector$_aNPlusB$0() {
  91773. var t2, first, t3, next, last, _this = this,
  91774. t1 = _this.scanner;
  91775. switch (t1.peekChar$0()) {
  91776. case 101:
  91777. case 69:
  91778. _this.expectIdentifier$1("even");
  91779. return "even";
  91780. case 111:
  91781. case 79:
  91782. _this.expectIdentifier$1("odd");
  91783. return "odd";
  91784. case 43:
  91785. case 45:
  91786. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  91787. break;
  91788. default:
  91789. t2 = "";
  91790. }
  91791. first = t1.peekChar$0();
  91792. if (first != null && A.isDigit0(first)) {
  91793. while (true) {
  91794. t3 = t1.peekChar$0();
  91795. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  91796. break;
  91797. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91798. }
  91799. _this.whitespace$0();
  91800. if (!_this.scanIdentChar$1(110))
  91801. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91802. } else
  91803. _this.expectIdentChar$1(110);
  91804. t2 += A.Primitives_stringFromCharCode(110);
  91805. _this.whitespace$0();
  91806. next = t1.peekChar$0();
  91807. if (next !== 43 && next !== 45)
  91808. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91809. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91810. _this.whitespace$0();
  91811. last = t1.peekChar$0();
  91812. if (last == null || !A.isDigit0(last))
  91813. t1.error$1(0, "Expected a number.");
  91814. while (true) {
  91815. t3 = t1.peekChar$0();
  91816. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  91817. break;
  91818. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91819. }
  91820. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91821. },
  91822. _selector$_typeOrUniversalSelector$0() {
  91823. var nameOrNamespace, _this = this,
  91824. t1 = _this.scanner,
  91825. first = t1.peekChar$0();
  91826. if (first === 42) {
  91827. t1.readChar$0();
  91828. if (!t1.scanChar$1(124))
  91829. return new A.UniversalSelector0(null);
  91830. if (t1.scanChar$1(42))
  91831. return new A.UniversalSelector0("*");
  91832. else
  91833. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
  91834. } else if (first === 124) {
  91835. t1.readChar$0();
  91836. if (t1.scanChar$1(42))
  91837. return new A.UniversalSelector0("");
  91838. else
  91839. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
  91840. }
  91841. nameOrNamespace = _this.identifier$0();
  91842. if (!t1.scanChar$1(124))
  91843. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
  91844. else if (t1.scanChar$1(42))
  91845. return new A.UniversalSelector0(nameOrNamespace);
  91846. else
  91847. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
  91848. }
  91849. };
  91850. A.SelectorParser_parse_closure0.prototype = {
  91851. call$0() {
  91852. var t1 = this.$this,
  91853. selector = t1._selector$_selectorList$0();
  91854. t1 = t1.scanner;
  91855. if (t1._string_scanner$_position !== t1.string.length)
  91856. t1.error$1(0, "expected selector.");
  91857. return selector;
  91858. },
  91859. $signature: 50
  91860. };
  91861. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  91862. call$0() {
  91863. var t1 = this.$this,
  91864. compound = t1._selector$_compoundSelector$0();
  91865. t1 = t1.scanner;
  91866. if (t1._string_scanner$_position !== t1.string.length)
  91867. t1.error$1(0, "expected selector.");
  91868. return compound;
  91869. },
  91870. $signature: 502
  91871. };
  91872. A.serialize_closure0.prototype = {
  91873. call$1(codeUnit) {
  91874. return codeUnit > 127;
  91875. },
  91876. $signature: 54
  91877. };
  91878. A._SerializeVisitor0.prototype = {
  91879. visitCssStylesheet$1(node) {
  91880. var t1, t2, t3, t4, t5, t6, t7, t8, previous, previous0, t9, _this = this;
  91881. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._serialize0$_inspect, t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = type$.CssComment_2, t6 = type$.CssParentNode_2, t7 = _this._serialize0$_buffer, t8 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
  91882. previous0 = t1.get$current(t1);
  91883. if (t2)
  91884. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  91885. else
  91886. t9 = false;
  91887. if (t9)
  91888. continue;
  91889. if (previous != null) {
  91890. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  91891. t7.writeCharCode$1(59);
  91892. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  91893. if (t4)
  91894. t7.writeCharCode$1(32);
  91895. } else {
  91896. if (t4)
  91897. t7.write$1(0, t8);
  91898. if (previous.get$isGroupEnd())
  91899. if (t4)
  91900. t7.write$1(0, t8);
  91901. }
  91902. }
  91903. previous0.accept$1(_this);
  91904. previous = previous0;
  91905. }
  91906. if (previous != null)
  91907. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  91908. else
  91909. t1 = false;
  91910. if (t1)
  91911. t7.writeCharCode$1(59);
  91912. },
  91913. visitCssComment$1(node) {
  91914. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  91915. },
  91916. visitCssAtRule$1(node) {
  91917. var t1, _this = this;
  91918. _this._serialize0$_writeIndentation$0();
  91919. t1 = _this._serialize0$_buffer;
  91920. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  91921. if (!node.isChildless) {
  91922. if (_this._serialize0$_style !== B.OutputStyle_10)
  91923. t1.writeCharCode$1(32);
  91924. _this._serialize0$_visitChildren$1(node);
  91925. }
  91926. },
  91927. visitCssMediaRule$1(node) {
  91928. var t1, _this = this;
  91929. _this._serialize0$_writeIndentation$0();
  91930. t1 = _this._serialize0$_buffer;
  91931. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  91932. if (_this._serialize0$_style !== B.OutputStyle_10)
  91933. t1.writeCharCode$1(32);
  91934. _this._serialize0$_visitChildren$1(node);
  91935. },
  91936. visitCssImport$1(node) {
  91937. this._serialize0$_writeIndentation$0();
  91938. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  91939. },
  91940. _serialize0$_writeImportUrl$1(url) {
  91941. var urlContents, maybeQuote, _this = this;
  91942. if (_this._serialize0$_style !== B.OutputStyle_10 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  91943. _this._serialize0$_buffer.write$1(0, url);
  91944. return;
  91945. }
  91946. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  91947. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  91948. if (maybeQuote === 39 || maybeQuote === 34)
  91949. _this._serialize0$_buffer.write$1(0, urlContents);
  91950. else
  91951. _this._serialize0$_visitQuotedString$1(urlContents);
  91952. },
  91953. visitCssKeyframeBlock$1(node) {
  91954. var t1, _this = this;
  91955. _this._serialize0$_writeIndentation$0();
  91956. t1 = _this._serialize0$_buffer;
  91957. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  91958. if (_this._serialize0$_style !== B.OutputStyle_10)
  91959. t1.writeCharCode$1(32);
  91960. _this._serialize0$_visitChildren$1(node);
  91961. },
  91962. _serialize0$_visitMediaQuery$1(query) {
  91963. var t2, condition, operator, t3, _this = this,
  91964. t1 = query.modifier;
  91965. if (t1 != null) {
  91966. t2 = _this._serialize0$_buffer;
  91967. t2.write$1(0, t1);
  91968. t2.writeCharCode$1(32);
  91969. }
  91970. t1 = query.type;
  91971. if (t1 != null) {
  91972. t2 = _this._serialize0$_buffer;
  91973. t2.write$1(0, t1);
  91974. if (query.conditions.length !== 0)
  91975. t2.write$1(0, " and ");
  91976. }
  91977. t1 = query.conditions;
  91978. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  91979. t2 = _this._serialize0$_buffer;
  91980. t2.write$1(0, "not ");
  91981. condition = B.JSArray_methods.get$first(t1);
  91982. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  91983. } else {
  91984. operator = query.conjunction ? "and" : "or";
  91985. t2 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  91986. t3 = _this._serialize0$_buffer;
  91987. _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
  91988. }
  91989. },
  91990. visitCssStyleRule$1(node) {
  91991. var t1, _this = this;
  91992. _this._serialize0$_writeIndentation$0();
  91993. t1 = _this._serialize0$_buffer;
  91994. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  91995. if (_this._serialize0$_style !== B.OutputStyle_10)
  91996. t1.writeCharCode$1(32);
  91997. _this._serialize0$_visitChildren$1(node);
  91998. },
  91999. visitCssSupportsRule$1(node) {
  92000. var t1, _this = this;
  92001. _this._serialize0$_writeIndentation$0();
  92002. t1 = _this._serialize0$_buffer;
  92003. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  92004. if (_this._serialize0$_style !== B.OutputStyle_10)
  92005. t1.writeCharCode$1(32);
  92006. _this._serialize0$_visitChildren$1(node);
  92007. },
  92008. visitCssDeclaration$1(node) {
  92009. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  92010. _this._serialize0$_writeIndentation$0();
  92011. t1 = node.name;
  92012. _this._serialize0$_write$1(t1);
  92013. t2 = _this._serialize0$_buffer;
  92014. t2.writeCharCode$1(58);
  92015. if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
  92016. t1 = node.value;
  92017. t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  92018. } else {
  92019. if (_this._serialize0$_style !== B.OutputStyle_10)
  92020. t2.writeCharCode$1(32);
  92021. try {
  92022. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  92023. } catch (exception) {
  92024. t1 = A.unwrapException(exception);
  92025. if (t1 instanceof A.MultiSpanSassScriptException0) {
  92026. error = t1;
  92027. stackTrace = A.getTraceFromException(exception);
  92028. t1 = error.message;
  92029. t2 = node.value;
  92030. t2 = t2.get$span(t2);
  92031. A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
  92032. } else if (t1 instanceof A.SassScriptException0) {
  92033. error0 = t1;
  92034. stackTrace0 = A.getTraceFromException(exception);
  92035. t1 = node.value;
  92036. A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
  92037. } else
  92038. throw exception;
  92039. }
  92040. }
  92041. },
  92042. _serialize0$_writeFoldedValue$1(node) {
  92043. var t2, next, t3,
  92044. t1 = node.value,
  92045. scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
  92046. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  92047. next = scanner.readChar$0();
  92048. if (next !== 10) {
  92049. t2.writeCharCode$1(next);
  92050. continue;
  92051. }
  92052. t2.writeCharCode$1(32);
  92053. while (true) {
  92054. t3 = scanner.peekChar$0();
  92055. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  92056. break;
  92057. scanner.readChar$0();
  92058. }
  92059. }
  92060. },
  92061. _serialize0$_writeReindentedValue$1(node) {
  92062. var _this = this,
  92063. t1 = node.value,
  92064. value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
  92065. minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
  92066. if (minimumIndentation == null) {
  92067. _this._serialize0$_buffer.write$1(0, value);
  92068. return;
  92069. } else if (minimumIndentation === -1) {
  92070. t1 = _this._serialize0$_buffer;
  92071. t1.write$1(0, A.trimAsciiRight0(value, true));
  92072. t1.writeCharCode$1(32);
  92073. return;
  92074. }
  92075. t1 = node.name;
  92076. t1 = t1.get$span(t1);
  92077. t1 = t1.get$start(t1);
  92078. _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  92079. },
  92080. _serialize0$_minimumIndentation$1(text) {
  92081. var character, t2, min, next, min0,
  92082. scanner = A.LineScanner$(text),
  92083. t1 = scanner.string.length;
  92084. while (true) {
  92085. if (scanner._string_scanner$_position !== t1) {
  92086. character = scanner.super$StringScanner$readChar();
  92087. scanner._adjustLineAndColumn$1(character);
  92088. t2 = character !== 10;
  92089. } else
  92090. t2 = false;
  92091. if (!t2)
  92092. break;
  92093. }
  92094. if (scanner._string_scanner$_position === t1)
  92095. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  92096. for (min = null; scanner._string_scanner$_position !== t1;) {
  92097. for (; scanner._string_scanner$_position !== t1;) {
  92098. next = scanner.peekChar$0();
  92099. if (next !== 32 && next !== 9)
  92100. break;
  92101. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  92102. }
  92103. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  92104. continue;
  92105. min0 = scanner._line_scanner$_column;
  92106. min = min == null ? min0 : Math.min(min, min0);
  92107. while (true) {
  92108. if (scanner._string_scanner$_position !== t1) {
  92109. character = scanner.super$StringScanner$readChar();
  92110. scanner._adjustLineAndColumn$1(character);
  92111. t2 = character !== 10;
  92112. } else
  92113. t2 = false;
  92114. if (!t2)
  92115. break;
  92116. }
  92117. }
  92118. return min == null ? -1 : min;
  92119. },
  92120. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  92121. var t1, t2, t3, character, lineStart, newlines, end,
  92122. scanner = A.LineScanner$(text);
  92123. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  92124. character = scanner.super$StringScanner$readChar();
  92125. scanner._adjustLineAndColumn$1(character);
  92126. if (character === 10)
  92127. break;
  92128. t3.writeCharCode$1(character);
  92129. }
  92130. for (; true;) {
  92131. lineStart = scanner._string_scanner$_position;
  92132. for (newlines = 1; true;) {
  92133. if (scanner._string_scanner$_position === t2) {
  92134. t3.writeCharCode$1(32);
  92135. return;
  92136. }
  92137. character = scanner.super$StringScanner$readChar();
  92138. scanner._adjustLineAndColumn$1(character);
  92139. if (character === 32 || character === 9)
  92140. continue;
  92141. if (character !== 10)
  92142. break;
  92143. lineStart = scanner._string_scanner$_position;
  92144. ++newlines;
  92145. }
  92146. this._serialize0$_writeTimes$2(10, newlines);
  92147. this._serialize0$_writeIndentation$0();
  92148. end = scanner._string_scanner$_position;
  92149. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  92150. for (; true;) {
  92151. if (scanner._string_scanner$_position === t2)
  92152. return;
  92153. character = scanner.super$StringScanner$readChar();
  92154. scanner._adjustLineAndColumn$1(character);
  92155. if (character === 10)
  92156. break;
  92157. t3.writeCharCode$1(character);
  92158. }
  92159. }
  92160. },
  92161. _serialize0$_writeCalculationValue$1(value) {
  92162. var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
  92163. if (value instanceof A.Value0)
  92164. value.accept$1(_this);
  92165. else if (value instanceof A.CalculationInterpolation0)
  92166. _this._serialize0$_buffer.write$1(0, value.value);
  92167. else if (value instanceof A.CalculationOperation0) {
  92168. left = value.left;
  92169. if (!(left instanceof A.CalculationInterpolation0))
  92170. parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
  92171. else
  92172. parenthesizeLeft = true;
  92173. if (parenthesizeLeft)
  92174. _this._serialize0$_buffer.writeCharCode$1(40);
  92175. _this._serialize0$_writeCalculationValue$1(left);
  92176. if (parenthesizeLeft)
  92177. _this._serialize0$_buffer.writeCharCode$1(41);
  92178. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || value.operator.precedence === 1;
  92179. if (operatorWhitespace)
  92180. _this._serialize0$_buffer.writeCharCode$1(32);
  92181. t1 = _this._serialize0$_buffer;
  92182. t2 = value.operator;
  92183. t1.write$1(0, t2.operator);
  92184. if (operatorWhitespace)
  92185. t1.writeCharCode$1(32);
  92186. right = value.right;
  92187. if (!(right instanceof A.CalculationInterpolation0))
  92188. parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
  92189. else
  92190. parenthesizeRight = true;
  92191. if (parenthesizeRight)
  92192. t1.writeCharCode$1(40);
  92193. _this._serialize0$_writeCalculationValue$1(right);
  92194. if (parenthesizeRight)
  92195. t1.writeCharCode$1(41);
  92196. }
  92197. },
  92198. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  92199. if (outer === B.CalculationOperator_OvN0)
  92200. return true;
  92201. if (outer === B.CalculationOperator_IyK0)
  92202. return false;
  92203. return right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  92204. },
  92205. _serialize0$_writeRgb$1(value) {
  92206. var t3,
  92207. t1 = value._color1$_alpha,
  92208. opaque = A.fuzzyEquals0(t1, 1),
  92209. t2 = this._serialize0$_buffer;
  92210. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  92211. t2.write$1(0, value.get$red(value));
  92212. t3 = this._serialize0$_style === B.OutputStyle_10;
  92213. t2.write$1(0, t3 ? "," : ", ");
  92214. t2.write$1(0, value.get$green(value));
  92215. t2.write$1(0, t3 ? "," : ", ");
  92216. t2.write$1(0, value.get$blue(value));
  92217. if (!opaque) {
  92218. t2.write$1(0, t3 ? "," : ", ");
  92219. this._serialize0$_writeNumber$1(t1);
  92220. }
  92221. t2.writeCharCode$1(41);
  92222. },
  92223. _serialize0$_canUseShortHex$1(color) {
  92224. var t1 = color.get$red(color);
  92225. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  92226. t1 = color.get$green(color);
  92227. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  92228. t1 = color.get$blue(color);
  92229. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  92230. } else
  92231. t1 = false;
  92232. } else
  92233. t1 = false;
  92234. return t1;
  92235. },
  92236. _serialize0$_writeHexComponent$1(color) {
  92237. var t1 = this._serialize0$_buffer;
  92238. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  92239. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  92240. },
  92241. visitList$1(value) {
  92242. var t2, t3, singleton, t4, t5, _this = this,
  92243. t1 = value._list1$_hasBrackets;
  92244. if (t1)
  92245. _this._serialize0$_buffer.writeCharCode$1(91);
  92246. else if (value._list1$_contents.length === 0) {
  92247. if (!_this._serialize0$_inspect)
  92248. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  92249. _this._serialize0$_buffer.write$1(0, "()");
  92250. return;
  92251. }
  92252. t2 = _this._serialize0$_inspect;
  92253. if (t2)
  92254. if (value._list1$_contents.length === 1) {
  92255. t3 = value._list1$_separator;
  92256. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  92257. singleton = t3;
  92258. } else
  92259. singleton = false;
  92260. else
  92261. singleton = false;
  92262. if (singleton && !t1)
  92263. _this._serialize0$_buffer.writeCharCode$1(40);
  92264. t3 = value._list1$_contents;
  92265. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  92266. t4 = value._list1$_separator;
  92267. t5 = _this._serialize0$_separatorString$1(t4);
  92268. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  92269. if (singleton) {
  92270. t2 = _this._serialize0$_buffer;
  92271. t2.write$1(0, t4.separator);
  92272. if (!t1)
  92273. t2.writeCharCode$1(41);
  92274. }
  92275. if (t1)
  92276. _this._serialize0$_buffer.writeCharCode$1(93);
  92277. },
  92278. _serialize0$_separatorString$1(separator) {
  92279. switch (separator) {
  92280. case B.ListSeparator_rXA0:
  92281. return this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  92282. case B.ListSeparator_zg90:
  92283. return this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  92284. case B.ListSeparator_EVt0:
  92285. return " ";
  92286. default:
  92287. return "";
  92288. }
  92289. },
  92290. _serialize0$_elementNeedsParens$2(separator, value) {
  92291. var t1;
  92292. if (value instanceof A.SassList0) {
  92293. if (value._list1$_contents.length < 2)
  92294. return false;
  92295. if (value._list1$_hasBrackets)
  92296. return false;
  92297. switch (separator) {
  92298. case B.ListSeparator_rXA0:
  92299. return value._list1$_separator === B.ListSeparator_rXA0;
  92300. case B.ListSeparator_zg90:
  92301. t1 = value._list1$_separator;
  92302. return t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  92303. default:
  92304. return value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  92305. }
  92306. }
  92307. return false;
  92308. },
  92309. visitMap$1(map) {
  92310. var t1, t2, _this = this;
  92311. if (!_this._serialize0$_inspect)
  92312. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  92313. t1 = _this._serialize0$_buffer;
  92314. t1.writeCharCode$1(40);
  92315. t2 = map._map0$_contents;
  92316. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  92317. t1.writeCharCode$1(41);
  92318. },
  92319. _serialize0$_writeMapElement$1(value) {
  92320. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  92321. if (needsParens)
  92322. this._serialize0$_buffer.writeCharCode$1(40);
  92323. value.accept$1(this);
  92324. if (needsParens)
  92325. this._serialize0$_buffer.writeCharCode$1(41);
  92326. },
  92327. visitNumber$1(value) {
  92328. var _this = this,
  92329. asSlash = value.asSlash;
  92330. if (asSlash != null) {
  92331. _this.visitNumber$1(asSlash.item1);
  92332. _this._serialize0$_buffer.writeCharCode$1(47);
  92333. _this.visitNumber$1(asSlash.item2);
  92334. return;
  92335. }
  92336. _this._serialize0$_writeNumber$1(value._number1$_value);
  92337. if (!_this._serialize0$_inspect) {
  92338. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  92339. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  92340. if (value.get$numeratorUnits(value).length !== 0)
  92341. _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  92342. } else
  92343. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  92344. },
  92345. _serialize0$_writeNumber$1(number) {
  92346. var text, _this = this,
  92347. integer = A.fuzzyAsInt0(number);
  92348. if (integer != null) {
  92349. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
  92350. return;
  92351. }
  92352. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  92353. if (text.length < 12) {
  92354. if (_this._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  92355. text = B.JSString_methods.substring$1(text, 1);
  92356. _this._serialize0$_buffer.write$1(0, text);
  92357. return;
  92358. }
  92359. _this._serialize0$_writeRounded$1(text);
  92360. },
  92361. _serialize0$_removeExponent$1(text) {
  92362. var buffer, t3, additionalZeroes,
  92363. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  92364. negative = t1 === 45,
  92365. exponent = A._Cell$(),
  92366. t2 = text.length,
  92367. i = 0;
  92368. while (true) {
  92369. if (!(i < t2)) {
  92370. buffer = null;
  92371. break;
  92372. }
  92373. c$0: {
  92374. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  92375. break c$0;
  92376. buffer = new A.StringBuffer("");
  92377. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  92378. if (negative) {
  92379. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  92380. buffer._contents = t1;
  92381. if (i > 3)
  92382. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  92383. } else if (i > 2)
  92384. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  92385. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  92386. break;
  92387. }
  92388. ++i;
  92389. }
  92390. if (buffer == null)
  92391. return text;
  92392. if (exponent._readLocal$0() > 0) {
  92393. t1 = exponent._readLocal$0();
  92394. t2 = buffer._contents;
  92395. t3 = negative ? 1 : 0;
  92396. additionalZeroes = t1 - (t2.length - 1 - t3);
  92397. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  92398. t1 += A.Primitives_stringFromCharCode(48);
  92399. buffer._contents = t1;
  92400. }
  92401. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92402. } else {
  92403. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  92404. t2 = exponent.__late_helper$_name;
  92405. i = -1;
  92406. while (true) {
  92407. t3 = exponent._value;
  92408. if (t3 === exponent)
  92409. A.throwExpression(A.LateError$localNI(t2));
  92410. if (!(i > t3))
  92411. break;
  92412. t1 += A.Primitives_stringFromCharCode(48);
  92413. --i;
  92414. }
  92415. if (negative) {
  92416. t2 = buffer._contents;
  92417. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  92418. } else
  92419. t2 = buffer;
  92420. t2 = t1 + A.S(t2);
  92421. return t2.charCodeAt(0) == 0 ? t2 : t2;
  92422. }
  92423. },
  92424. _serialize0$_writeRounded$1(text) {
  92425. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  92426. if (B.JSString_methods.endsWith$1(text, ".0")) {
  92427. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  92428. return;
  92429. }
  92430. t1 = text.length;
  92431. digits = new Uint8Array(t1 + 1);
  92432. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  92433. textIndex = negative ? 1 : 0;
  92434. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  92435. if (textIndex === t1) {
  92436. _this._serialize0$_buffer.write$1(0, text);
  92437. return;
  92438. }
  92439. textIndex0 = textIndex + 1;
  92440. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  92441. if (codeUnit === 46) {
  92442. textIndex = textIndex0;
  92443. break;
  92444. }
  92445. digitsIndex0 = digitsIndex + 1;
  92446. digits[digitsIndex] = codeUnit - 48;
  92447. }
  92448. indexAfterPrecision = textIndex + 10;
  92449. if (indexAfterPrecision >= t1) {
  92450. _this._serialize0$_buffer.write$1(0, text);
  92451. return;
  92452. }
  92453. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  92454. digitsIndex1 = digitsIndex0 + 1;
  92455. textIndex0 = textIndex + 1;
  92456. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  92457. }
  92458. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  92459. for (; true; digitsIndex0 = digitsIndex1) {
  92460. digitsIndex1 = digitsIndex0 - 1;
  92461. newDigit = digits[digitsIndex1] + 1;
  92462. digits[digitsIndex1] = newDigit;
  92463. if (newDigit !== 10)
  92464. break;
  92465. }
  92466. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  92467. digits[digitsIndex0] = 0;
  92468. while (true) {
  92469. t1 = digitsIndex0 > digitsIndex;
  92470. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  92471. break;
  92472. --digitsIndex0;
  92473. }
  92474. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  92475. _this._serialize0$_buffer.writeCharCode$1(48);
  92476. return;
  92477. }
  92478. if (negative)
  92479. _this._serialize0$_buffer.writeCharCode$1(45);
  92480. if (digits[0] === 0)
  92481. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  92482. else
  92483. writtenIndex = 0;
  92484. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  92485. t2.writeCharCode$1(48 + digits[writtenIndex]);
  92486. if (t1) {
  92487. t2.writeCharCode$1(46);
  92488. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  92489. t2.writeCharCode$1(48 + digits[writtenIndex]);
  92490. }
  92491. },
  92492. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  92493. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  92494. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  92495. if (forceDoubleQuote)
  92496. buffer.writeCharCode$1(34);
  92497. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  92498. char = B.JSString_methods._codeUnitAt$1(string, i);
  92499. switch (char) {
  92500. case 39:
  92501. if (forceDoubleQuote)
  92502. buffer.writeCharCode$1(39);
  92503. else {
  92504. if (includesDoubleQuote) {
  92505. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  92506. return;
  92507. } else
  92508. buffer.writeCharCode$1(39);
  92509. includesSingleQuote = true;
  92510. }
  92511. break;
  92512. case 34:
  92513. if (forceDoubleQuote) {
  92514. buffer.writeCharCode$1(92);
  92515. buffer.writeCharCode$1(34);
  92516. } else {
  92517. if (includesSingleQuote) {
  92518. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  92519. return;
  92520. } else
  92521. buffer.writeCharCode$1(34);
  92522. includesDoubleQuote = true;
  92523. }
  92524. break;
  92525. case 0:
  92526. case 1:
  92527. case 2:
  92528. case 3:
  92529. case 4:
  92530. case 5:
  92531. case 6:
  92532. case 7:
  92533. case 8:
  92534. case 10:
  92535. case 11:
  92536. case 12:
  92537. case 13:
  92538. case 14:
  92539. case 15:
  92540. case 16:
  92541. case 17:
  92542. case 18:
  92543. case 19:
  92544. case 20:
  92545. case 21:
  92546. case 22:
  92547. case 23:
  92548. case 24:
  92549. case 25:
  92550. case 26:
  92551. case 27:
  92552. case 28:
  92553. case 29:
  92554. case 30:
  92555. case 31:
  92556. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  92557. break;
  92558. case 92:
  92559. buffer.writeCharCode$1(92);
  92560. buffer.writeCharCode$1(92);
  92561. break;
  92562. default:
  92563. newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  92564. if (newIndex != null) {
  92565. i = newIndex;
  92566. break;
  92567. }
  92568. buffer.writeCharCode$1(char);
  92569. break;
  92570. }
  92571. }
  92572. if (forceDoubleQuote)
  92573. buffer.writeCharCode$1(34);
  92574. else {
  92575. quote = includesDoubleQuote ? 39 : 34;
  92576. t1 = _this._serialize0$_buffer;
  92577. t1.writeCharCode$1(quote);
  92578. t1.write$1(0, buffer);
  92579. t1.writeCharCode$1(quote);
  92580. }
  92581. },
  92582. _serialize0$_visitQuotedString$1(string) {
  92583. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  92584. },
  92585. _serialize0$_visitUnquotedString$1(string) {
  92586. var t1, t2, afterNewline, i, char, newIndex;
  92587. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  92588. char = B.JSString_methods._codeUnitAt$1(string, i);
  92589. switch (char) {
  92590. case 10:
  92591. t2.writeCharCode$1(32);
  92592. afterNewline = true;
  92593. break;
  92594. case 32:
  92595. if (!afterNewline)
  92596. t2.writeCharCode$1(32);
  92597. break;
  92598. default:
  92599. newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
  92600. if (newIndex != null) {
  92601. i = newIndex;
  92602. afterNewline = false;
  92603. break;
  92604. }
  92605. t2.writeCharCode$1(char);
  92606. afterNewline = false;
  92607. break;
  92608. }
  92609. }
  92610. },
  92611. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  92612. var t1;
  92613. if (this._serialize0$_style === B.OutputStyle_10)
  92614. return null;
  92615. if (codeUnit >= 57344 && codeUnit <= 63743) {
  92616. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  92617. return i;
  92618. }
  92619. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  92620. t1 = i + 1;
  92621. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  92622. return t1;
  92623. }
  92624. return null;
  92625. },
  92626. _serialize0$_writeEscape$4(buffer, character, string, i) {
  92627. var t1, next;
  92628. buffer.writeCharCode$1(92);
  92629. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  92630. t1 = i + 1;
  92631. if (string.length === t1)
  92632. return;
  92633. next = B.JSString_methods._codeUnitAt$1(string, t1);
  92634. if (A.isHex0(next) || next === 32 || next === 9)
  92635. buffer.writeCharCode$1(32);
  92636. },
  92637. visitAttributeSelector$1(attribute) {
  92638. var value, t2,
  92639. t1 = this._serialize0$_buffer;
  92640. t1.writeCharCode$1(91);
  92641. t1.write$1(0, attribute.name);
  92642. value = attribute.value;
  92643. if (value != null) {
  92644. t1.write$1(0, attribute.op);
  92645. if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  92646. t1.write$1(0, value);
  92647. t2 = attribute.modifier;
  92648. if (t2 != null)
  92649. t1.writeCharCode$1(32);
  92650. } else {
  92651. this._serialize0$_visitQuotedString$1(value);
  92652. t2 = attribute.modifier;
  92653. if (t2 != null)
  92654. if (this._serialize0$_style !== B.OutputStyle_10)
  92655. t1.writeCharCode$1(32);
  92656. }
  92657. if (t2 != null)
  92658. t1.write$1(0, t2);
  92659. }
  92660. t1.writeCharCode$1(93);
  92661. },
  92662. visitClassSelector$1(klass) {
  92663. var t1 = this._serialize0$_buffer;
  92664. t1.writeCharCode$1(46);
  92665. t1.write$1(0, klass.name);
  92666. },
  92667. visitComplexSelector$1(complex) {
  92668. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  92669. t1 = complex.leadingCombinators;
  92670. _this._serialize0$_writeCombinators$1(t1);
  92671. if (t1.length !== 0 && complex.components.length !== 0)
  92672. if (_this._serialize0$_style !== B.OutputStyle_10)
  92673. _this._serialize0$_buffer.writeCharCode$1(32);
  92674. for (t1 = complex.components, t2 = t1.length, t3 = t2 - 1, t4 = _this._serialize0$_buffer, t5 = _this._serialize0$_style === B.OutputStyle_10, t6 = !t5, i = 0; i < t2; ++i) {
  92675. component = t1[i];
  92676. _this.visitCompoundSelector$1(component.selector);
  92677. t7 = component.combinators;
  92678. t8 = t7.length === 0;
  92679. if (!t8)
  92680. if (t6)
  92681. t4.writeCharCode$1(32);
  92682. t9 = t5 ? "" : " ";
  92683. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  92684. if (i !== t3)
  92685. t7 = !t5 || t8;
  92686. else
  92687. t7 = false;
  92688. if (t7)
  92689. t4.writeCharCode$1(32);
  92690. }
  92691. },
  92692. _serialize0$_writeCombinators$1(combinators) {
  92693. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  92694. t2 = this._serialize0$_buffer;
  92695. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  92696. },
  92697. visitCompoundSelector$1(compound) {
  92698. var t2, t3, _i,
  92699. t1 = this._serialize0$_buffer,
  92700. start = t1.get$length(t1);
  92701. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  92702. t2[_i].accept$1(this);
  92703. if (t1.get$length(t1) === start)
  92704. t1.writeCharCode$1(42);
  92705. },
  92706. visitIDSelector$1(id) {
  92707. var t1 = this._serialize0$_buffer;
  92708. t1.writeCharCode$1(35);
  92709. t1.write$1(0, id.name);
  92710. },
  92711. visitSelectorList$1(list) {
  92712. var t1, t2, t3, t4, first, t5, _this = this,
  92713. complexes = list.components;
  92714. for (t1 = J.get$iterator$ax(_this._serialize0$_inspect ? complexes : new A.WhereIterable(complexes, new A._SerializeVisitor_visitSelectorList_closure0(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"))), t2 = _this._serialize0$_style !== B.OutputStyle_10, t3 = _this._serialize0$_buffer, t4 = _this._lineFeed.text, first = true; t1.moveNext$0();) {
  92715. t5 = t1.get$current(t1);
  92716. if (first)
  92717. first = false;
  92718. else {
  92719. t3.writeCharCode$1(44);
  92720. if (t5.lineBreak) {
  92721. if (t2)
  92722. t3.write$1(0, t4);
  92723. } else if (t2)
  92724. t3.writeCharCode$1(32);
  92725. }
  92726. _this.visitComplexSelector$1(t5);
  92727. }
  92728. },
  92729. visitParentSelector$1($parent) {
  92730. var t2,
  92731. t1 = this._serialize0$_buffer;
  92732. t1.writeCharCode$1(38);
  92733. t2 = $parent.suffix;
  92734. if (t2 != null)
  92735. t1.write$1(0, t2);
  92736. },
  92737. visitPlaceholderSelector$1(placeholder) {
  92738. var t1 = this._serialize0$_buffer;
  92739. t1.writeCharCode$1(37);
  92740. t1.write$1(0, placeholder.name);
  92741. },
  92742. visitPseudoSelector$1(pseudo) {
  92743. var t3, t4, t5,
  92744. innerSelector = pseudo.selector,
  92745. t1 = innerSelector == null,
  92746. t2 = !t1;
  92747. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true0))
  92748. return;
  92749. t3 = this._serialize0$_buffer;
  92750. t3.writeCharCode$1(58);
  92751. if (!pseudo.isSyntacticClass)
  92752. t3.writeCharCode$1(58);
  92753. t3.write$1(0, pseudo.name);
  92754. t4 = pseudo.argument;
  92755. t5 = t4 == null;
  92756. if (t5 && t1)
  92757. return;
  92758. t3.writeCharCode$1(40);
  92759. if (!t5) {
  92760. t3.write$1(0, t4);
  92761. if (t2)
  92762. t3.writeCharCode$1(32);
  92763. }
  92764. if (t2)
  92765. this.visitSelectorList$1(innerSelector);
  92766. t3.writeCharCode$1(41);
  92767. },
  92768. visitTypeSelector$1(type) {
  92769. this._serialize0$_buffer.write$1(0, type.name);
  92770. },
  92771. visitUniversalSelector$1(universal) {
  92772. var t2,
  92773. t1 = universal.namespace;
  92774. if (t1 != null) {
  92775. t2 = this._serialize0$_buffer;
  92776. t2.write$1(0, t1);
  92777. t2.writeCharCode$1(124);
  92778. }
  92779. this._serialize0$_buffer.writeCharCode$1(42);
  92780. },
  92781. _serialize0$_write$1(value) {
  92782. return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
  92783. },
  92784. _serialize0$_visitChildren$1($parent) {
  92785. var t2, t3, t4, t5, t6, t7, t8, t9, prePrevious, previous, t10, previous0, t11, savedIndentation, _this = this,
  92786. t1 = _this._serialize0$_buffer;
  92787. t1.writeCharCode$1(123);
  92788. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = !_this._serialize0$_inspect, t6 = A._instanceType(t2)._precomputed1, t7 = type$.CssComment_2, t8 = type$.CssParentNode_2, t9 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  92789. t10 = t2.__internal$_current;
  92790. previous0 = t10 == null ? t6._as(t10) : t10;
  92791. if (t5)
  92792. t10 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  92793. else
  92794. t10 = false;
  92795. if (t10)
  92796. continue;
  92797. t10 = previous == null;
  92798. if (!t10)
  92799. t11 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  92800. else
  92801. t11 = false;
  92802. if (t11)
  92803. t1.writeCharCode$1(59);
  92804. if (_this._serialize0$_isTrailingComment$2(previous0, t10 ? $parent : previous)) {
  92805. if (t4)
  92806. t1.writeCharCode$1(32);
  92807. savedIndentation = _this._serialize0$_indentation;
  92808. _this._serialize0$_indentation = 0;
  92809. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  92810. _this._serialize0$_indentation = savedIndentation;
  92811. } else {
  92812. if (t4)
  92813. t1.write$1(0, t9);
  92814. ++_this._serialize0$_indentation;
  92815. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  92816. --_this._serialize0$_indentation;
  92817. }
  92818. prePrevious = previous;
  92819. previous = previous0;
  92820. }
  92821. if (previous != null) {
  92822. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  92823. t1.writeCharCode$1(59);
  92824. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  92825. if (t4)
  92826. t1.writeCharCode$1(32);
  92827. } else {
  92828. _this._serialize0$_writeLineFeed$0();
  92829. _this._serialize0$_writeIndentation$0();
  92830. }
  92831. }
  92832. t1.writeCharCode$1(125);
  92833. },
  92834. _serialize0$_isTrailingComment$2(node, previous) {
  92835. var t1, t2, t3, searchFrom, endOffset, t4, span;
  92836. if (this._serialize0$_style === B.OutputStyle_10)
  92837. return false;
  92838. if (!type$.CssComment_2._is(node))
  92839. return false;
  92840. t1 = previous.get$span(previous);
  92841. t2 = node.span;
  92842. if (!(J.$eq$(t1.get$file(t1).url, t2.get$file(t2).url) && t1.get$start(t1).offset <= t2.get$start(t2).offset && t1.get$end(t1).offset >= t2.get$end(t2).offset)) {
  92843. t1 = t2.get$start(t2);
  92844. t1 = t1.file.getLine$1(t1.offset);
  92845. t2 = previous.get$span(previous);
  92846. t2 = t2.get$end(t2);
  92847. return t1 === t2.file.getLine$1(t2.offset);
  92848. }
  92849. t1 = t2.get$start(t2);
  92850. t3 = previous.get$span(previous);
  92851. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  92852. if (searchFrom < 0)
  92853. return false;
  92854. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  92855. t1 = previous.get$span(previous);
  92856. t1 = t1.get$file(t1);
  92857. t3 = previous.get$span(previous);
  92858. t3 = t3.get$start(t3);
  92859. t4 = previous.get$span(previous);
  92860. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  92861. t2 = t2.get$start(t2);
  92862. t2 = t2.file.getLine$1(t2.offset);
  92863. t4 = A.FileLocation$_(span.file, span._end);
  92864. return t2 === t4.file.getLine$1(t4.offset);
  92865. },
  92866. _serialize0$_writeLineFeed$0() {
  92867. if (this._serialize0$_style !== B.OutputStyle_10)
  92868. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  92869. },
  92870. _serialize0$_writeIndentation$0() {
  92871. var _this = this;
  92872. if (_this._serialize0$_style === B.OutputStyle_10)
  92873. return;
  92874. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  92875. },
  92876. _serialize0$_writeTimes$2(char, times) {
  92877. var t1, i;
  92878. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  92879. t1.writeCharCode$1(char);
  92880. },
  92881. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  92882. var t1, t2, first, value;
  92883. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  92884. value = t1.get$current(t1);
  92885. if (first)
  92886. first = false;
  92887. else
  92888. t2.write$1(0, text);
  92889. callback.call$1(value);
  92890. }
  92891. },
  92892. _serialize0$_writeBetween$3(iterable, text, callback) {
  92893. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  92894. }
  92895. };
  92896. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  92897. call$0() {
  92898. var t2, t3, minimumIndentation,
  92899. t1 = this.$this;
  92900. if (t1._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  92901. return;
  92902. t2 = this.node;
  92903. t3 = t2.text;
  92904. minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
  92905. if (minimumIndentation == null) {
  92906. t1._serialize0$_writeIndentation$0();
  92907. t1._serialize0$_buffer.write$1(0, t3);
  92908. return;
  92909. }
  92910. t2 = t2.span;
  92911. t2 = t2.get$start(t2);
  92912. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  92913. t1._serialize0$_writeIndentation$0();
  92914. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  92915. },
  92916. $signature: 1
  92917. };
  92918. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  92919. call$0() {
  92920. var t3, value,
  92921. t1 = this.$this,
  92922. t2 = t1._serialize0$_buffer;
  92923. t2.writeCharCode$1(64);
  92924. t3 = this.node;
  92925. t1._serialize0$_write$1(t3.name);
  92926. value = t3.value;
  92927. if (value != null) {
  92928. t2.writeCharCode$1(32);
  92929. t1._serialize0$_write$1(value);
  92930. }
  92931. },
  92932. $signature: 1
  92933. };
  92934. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  92935. call$0() {
  92936. var t3, firstQuery, t4, t5,
  92937. t1 = this.$this,
  92938. t2 = t1._serialize0$_buffer;
  92939. t2.write$1(0, "@media");
  92940. t3 = this.node.queries;
  92941. firstQuery = B.JSArray_methods.get$first(t3);
  92942. t4 = t1._serialize0$_style === B.OutputStyle_10;
  92943. if (t4)
  92944. if (firstQuery.modifier == null)
  92945. if (firstQuery.type == null) {
  92946. t5 = firstQuery.conditions;
  92947. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  92948. } else
  92949. t5 = true;
  92950. else
  92951. t5 = true;
  92952. else
  92953. t5 = true;
  92954. if (t5)
  92955. t2.writeCharCode$1(32);
  92956. t2 = t4 ? "," : ", ";
  92957. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  92958. },
  92959. $signature: 1
  92960. };
  92961. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  92962. call$0() {
  92963. var t3, t4, t5, modifiers,
  92964. t1 = this.$this,
  92965. t2 = t1._serialize0$_buffer;
  92966. t2.write$1(0, "@import");
  92967. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  92968. if (t3)
  92969. t2.writeCharCode$1(32);
  92970. t4 = this.node;
  92971. t5 = t4.url;
  92972. t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  92973. modifiers = t4.modifiers;
  92974. if (modifiers != null) {
  92975. if (t3)
  92976. t2.writeCharCode$1(32);
  92977. t2.write$1(0, modifiers);
  92978. }
  92979. },
  92980. $signature: 1
  92981. };
  92982. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  92983. call$0() {
  92984. var t1 = this.node.url;
  92985. return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
  92986. },
  92987. $signature: 0
  92988. };
  92989. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  92990. call$0() {
  92991. var t1 = this.$this,
  92992. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  92993. t3 = t1._serialize0$_buffer;
  92994. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  92995. },
  92996. $signature: 0
  92997. };
  92998. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  92999. call$0() {
  93000. return this.$this.visitSelectorList$1(this.node.selector.value);
  93001. },
  93002. $signature: 0
  93003. };
  93004. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  93005. call$0() {
  93006. var t1 = this.$this,
  93007. t2 = t1._serialize0$_buffer;
  93008. t2.write$1(0, "@supports");
  93009. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  93010. t2.writeCharCode$1(32);
  93011. t1._serialize0$_write$1(this.node.condition);
  93012. },
  93013. $signature: 1
  93014. };
  93015. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  93016. call$0() {
  93017. var t1 = this.$this,
  93018. t2 = this.node;
  93019. if (t1._serialize0$_style === B.OutputStyle_10)
  93020. t1._serialize0$_writeFoldedValue$1(t2);
  93021. else
  93022. t1._serialize0$_writeReindentedValue$1(t2);
  93023. },
  93024. $signature: 1
  93025. };
  93026. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  93027. call$0() {
  93028. var t1 = this.node.value;
  93029. return t1.get$value(t1).accept$1(this.$this);
  93030. },
  93031. $signature: 0
  93032. };
  93033. A._SerializeVisitor_visitList_closure2.prototype = {
  93034. call$1(element) {
  93035. return !element.get$isBlank();
  93036. },
  93037. $signature: 44
  93038. };
  93039. A._SerializeVisitor_visitList_closure3.prototype = {
  93040. call$1(element) {
  93041. var t1 = this.$this,
  93042. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  93043. if (needsParens)
  93044. t1._serialize0$_buffer.writeCharCode$1(40);
  93045. element.accept$1(t1);
  93046. if (needsParens)
  93047. t1._serialize0$_buffer.writeCharCode$1(41);
  93048. },
  93049. $signature: 56
  93050. };
  93051. A._SerializeVisitor_visitList_closure4.prototype = {
  93052. call$1(element) {
  93053. element.accept$1(this.$this);
  93054. },
  93055. $signature: 56
  93056. };
  93057. A._SerializeVisitor_visitMap_closure0.prototype = {
  93058. call$1(entry) {
  93059. var t1 = this.$this;
  93060. t1._serialize0$_writeMapElement$1(entry.key);
  93061. t1._serialize0$_buffer.write$1(0, ": ");
  93062. t1._serialize0$_writeMapElement$1(entry.value);
  93063. },
  93064. $signature: 504
  93065. };
  93066. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  93067. call$1(complex) {
  93068. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  93069. },
  93070. $signature: 15
  93071. };
  93072. A._SerializeVisitor__write_closure0.prototype = {
  93073. call$0() {
  93074. var t1 = this.value;
  93075. return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
  93076. },
  93077. $signature: 0
  93078. };
  93079. A._SerializeVisitor__visitChildren_closure1.prototype = {
  93080. call$0() {
  93081. return this.child.accept$1(this.$this);
  93082. },
  93083. $signature: 0
  93084. };
  93085. A._SerializeVisitor__visitChildren_closure2.prototype = {
  93086. call$0() {
  93087. this.child.accept$1(this.$this);
  93088. },
  93089. $signature: 0
  93090. };
  93091. A.OutputStyle0.prototype = {
  93092. toString$0(_) {
  93093. return "OutputStyle." + this._name;
  93094. }
  93095. };
  93096. A.LineFeed0.prototype = {
  93097. toString$0(_) {
  93098. return this.name;
  93099. }
  93100. };
  93101. A.SerializeResult0.prototype = {};
  93102. A.ShadowedModuleView0.prototype = {
  93103. get$url(_) {
  93104. var t1 = this._shadowed_view0$_inner;
  93105. return t1.get$url(t1);
  93106. },
  93107. get$upstream() {
  93108. return this._shadowed_view0$_inner.get$upstream();
  93109. },
  93110. get$extensionStore() {
  93111. return this._shadowed_view0$_inner.get$extensionStore();
  93112. },
  93113. get$css(_) {
  93114. var t1 = this._shadowed_view0$_inner;
  93115. return t1.get$css(t1);
  93116. },
  93117. get$transitivelyContainsCss() {
  93118. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  93119. },
  93120. get$transitivelyContainsExtensions() {
  93121. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  93122. },
  93123. setVariable$3($name, value, nodeWithSpan) {
  93124. if (!this.variables.containsKey$1($name))
  93125. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  93126. else
  93127. return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  93128. },
  93129. variableIdentity$1($name) {
  93130. return this._shadowed_view0$_inner.variableIdentity$1($name);
  93131. },
  93132. $eq(_, other) {
  93133. var t1, t2, _this = this;
  93134. if (other == null)
  93135. return false;
  93136. if (other instanceof A.ShadowedModuleView0)
  93137. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  93138. t1 = _this.variables;
  93139. t1 = t1.get$keys(t1);
  93140. t2 = other.variables;
  93141. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  93142. t1 = _this.functions;
  93143. t1 = t1.get$keys(t1);
  93144. t2 = other.functions;
  93145. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  93146. t1 = _this.mixins;
  93147. t1 = t1.get$keys(t1);
  93148. t2 = other.mixins;
  93149. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  93150. t1 = t2;
  93151. } else
  93152. t1 = false;
  93153. } else
  93154. t1 = false;
  93155. } else
  93156. t1 = false;
  93157. else
  93158. t1 = false;
  93159. return t1;
  93160. },
  93161. get$hashCode(_) {
  93162. var t1 = this._shadowed_view0$_inner;
  93163. return t1.get$hashCode(t1);
  93164. },
  93165. cloneCss$0() {
  93166. var _this = this;
  93167. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  93168. },
  93169. toString$0(_) {
  93170. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  93171. },
  93172. $isModule0: 1,
  93173. get$variables() {
  93174. return this.variables;
  93175. },
  93176. get$variableNodes() {
  93177. return this.variableNodes;
  93178. },
  93179. get$functions(receiver) {
  93180. return this.functions;
  93181. },
  93182. get$mixins() {
  93183. return this.mixins;
  93184. }
  93185. };
  93186. A.SilentComment0.prototype = {
  93187. accept$1$1(visitor) {
  93188. return visitor.visitSilentComment$1(this);
  93189. },
  93190. accept$1(visitor) {
  93191. return this.accept$1$1(visitor, type$.dynamic);
  93192. },
  93193. toString$0(_) {
  93194. return this.text;
  93195. },
  93196. $isAstNode0: 1,
  93197. $isStatement0: 1,
  93198. get$span(receiver) {
  93199. return this.span;
  93200. }
  93201. };
  93202. A.SimpleSelector0.prototype = {
  93203. get$specificity() {
  93204. return 1000;
  93205. },
  93206. addSuffix$1(suffix) {
  93207. return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"', null));
  93208. },
  93209. unify$1(compound) {
  93210. var other, t1, result, addedThis, _i, simple, _this = this;
  93211. if (compound.length === 1) {
  93212. other = B.JSArray_methods.get$first(compound);
  93213. if (!(other instanceof A.UniversalSelector0))
  93214. if (other instanceof A.PseudoSelector0)
  93215. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  93216. else
  93217. t1 = false;
  93218. else
  93219. t1 = true;
  93220. if (t1)
  93221. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  93222. }
  93223. if (B.JSArray_methods.contains$1(compound, _this))
  93224. return compound;
  93225. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  93226. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  93227. simple = compound[_i];
  93228. if (!addedThis && simple instanceof A.PseudoSelector0) {
  93229. result.push(_this);
  93230. addedThis = true;
  93231. }
  93232. result.push(simple);
  93233. }
  93234. if (!addedThis)
  93235. result.push(_this);
  93236. return result;
  93237. },
  93238. isSuperselector$1(other) {
  93239. var list;
  93240. if (this.$eq(0, other))
  93241. return true;
  93242. if (other instanceof A.PseudoSelector0 && other.isClass) {
  93243. list = other.selector;
  93244. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  93245. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  93246. }
  93247. return false;
  93248. }
  93249. };
  93250. A.SimpleSelector_isSuperselector_closure0.prototype = {
  93251. call$1(complex) {
  93252. var t1 = complex.components;
  93253. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  93254. },
  93255. $signature: 15
  93256. };
  93257. A.SimpleSelector_isSuperselector__closure0.prototype = {
  93258. call$1(simple) {
  93259. return this.$this.isSuperselector$1(simple);
  93260. },
  93261. $signature: 13
  93262. };
  93263. A.SingleUnitSassNumber0.prototype = {
  93264. get$numeratorUnits(_) {
  93265. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  93266. },
  93267. get$denominatorUnits(_) {
  93268. return B.List_empty;
  93269. },
  93270. get$hasUnits() {
  93271. return true;
  93272. },
  93273. withValue$1(value) {
  93274. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  93275. },
  93276. withSlash$2(numerator, denominator) {
  93277. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  93278. },
  93279. hasUnit$1(unit) {
  93280. return unit === this._single_unit$_unit;
  93281. },
  93282. hasCompatibleUnits$1(other) {
  93283. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  93284. },
  93285. hasPossiblyCompatibleUnits$1(other) {
  93286. var t1, knownCompatibilities, otherUnit;
  93287. if (!(other instanceof A.SingleUnitSassNumber0))
  93288. return false;
  93289. t1 = $.$get$_knownCompatibilitiesByUnit0();
  93290. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  93291. if (knownCompatibilities == null)
  93292. return true;
  93293. otherUnit = other._single_unit$_unit.toLowerCase();
  93294. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  93295. },
  93296. compatibleWithUnit$1(unit) {
  93297. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  93298. },
  93299. coerceToMatch$3(other, $name, otherName) {
  93300. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  93301. return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
  93302. },
  93303. coerceValueToMatch$3(other, $name, otherName) {
  93304. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  93305. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  93306. },
  93307. coerceValueToMatch$1(other) {
  93308. return this.coerceValueToMatch$3(other, null, null);
  93309. },
  93310. convertToMatch$3(other, $name, otherName) {
  93311. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  93312. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  93313. },
  93314. convertValueToMatch$3(other, $name, otherName) {
  93315. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  93316. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  93317. },
  93318. coerce$3(newNumerators, newDenominators, $name) {
  93319. var t1 = J.getInterceptor$asx(newNumerators);
  93320. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  93321. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  93322. },
  93323. coerce$2(newNumerators, newDenominators) {
  93324. return this.coerce$3(newNumerators, newDenominators, null);
  93325. },
  93326. coerceValue$3(newNumerators, newDenominators, $name) {
  93327. var t1 = J.getInterceptor$asx(newNumerators);
  93328. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  93329. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  93330. },
  93331. coerceValueToUnit$2(unit, $name) {
  93332. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  93333. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  93334. },
  93335. _single_unit$_coerceToUnit$1(unit) {
  93336. var t1 = this._single_unit$_unit;
  93337. if (t1 === unit)
  93338. return this;
  93339. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  93340. },
  93341. _single_unit$_coerceValueToUnit$1(unit) {
  93342. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  93343. },
  93344. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  93345. var mutableOtherDenominators, t1 = {};
  93346. t1.value = value;
  93347. t1.newNumerators = otherNumerators;
  93348. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  93349. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  93350. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  93351. },
  93352. unaryMinus$0() {
  93353. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  93354. },
  93355. $eq(_, other) {
  93356. var factor;
  93357. if (other == null)
  93358. return false;
  93359. if (other instanceof A.SingleUnitSassNumber0) {
  93360. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  93361. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  93362. } else
  93363. return false;
  93364. },
  93365. get$hashCode(_) {
  93366. var _this = this,
  93367. t1 = _this.hashCache;
  93368. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  93369. }
  93370. };
  93371. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  93372. call$1(factor) {
  93373. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  93374. },
  93375. $signature: 505
  93376. };
  93377. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  93378. call$1(factor) {
  93379. return this.$this._number1$_value * factor;
  93380. },
  93381. $signature: 29
  93382. };
  93383. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  93384. call$1(denominator) {
  93385. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  93386. if (factor == null)
  93387. return false;
  93388. this._box_0.value *= factor;
  93389. return true;
  93390. },
  93391. $signature: 8
  93392. };
  93393. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  93394. call$0() {
  93395. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  93396. t2 = this._box_0;
  93397. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  93398. t2.newNumerators = t1;
  93399. },
  93400. $signature: 0
  93401. };
  93402. A.SourceMapBuffer0.prototype = {
  93403. get$_source_map_buffer0$_targetLocation() {
  93404. var t1 = this._source_map_buffer0$_buffer._contents,
  93405. t2 = this._source_map_buffer0$_line;
  93406. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  93407. },
  93408. get$length(_) {
  93409. return this._source_map_buffer0$_buffer._contents.length;
  93410. },
  93411. forSpan$1$2(span, callback) {
  93412. var t1, _this = this,
  93413. wasInSpan = _this._source_map_buffer0$_inSpan;
  93414. _this._source_map_buffer0$_inSpan = true;
  93415. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  93416. try {
  93417. t1 = callback.call$0();
  93418. return t1;
  93419. } finally {
  93420. _this._source_map_buffer0$_inSpan = wasInSpan;
  93421. }
  93422. },
  93423. forSpan$2(span, callback) {
  93424. return this.forSpan$1$2(span, callback, type$.dynamic);
  93425. },
  93426. _source_map_buffer0$_addEntry$2(source, target) {
  93427. var entry, t2,
  93428. t1 = this._source_map_buffer0$_entries;
  93429. if (t1.length !== 0) {
  93430. entry = B.JSArray_methods.get$last(t1);
  93431. t2 = entry.source;
  93432. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  93433. return;
  93434. if (entry.target.offset === target.offset)
  93435. return;
  93436. }
  93437. t1.push(new A.Entry(source, target, null));
  93438. },
  93439. write$1(_, object) {
  93440. var t1, i,
  93441. string = J.toString$0$(object);
  93442. this._source_map_buffer0$_buffer._contents += string;
  93443. for (t1 = string.length, i = 0; i < t1; ++i)
  93444. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  93445. this._source_map_buffer0$_writeLine$0();
  93446. else
  93447. ++this._source_map_buffer0$_column;
  93448. },
  93449. writeCharCode$1(charCode) {
  93450. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  93451. if (charCode === 10)
  93452. this._source_map_buffer0$_writeLine$0();
  93453. else
  93454. ++this._source_map_buffer0$_column;
  93455. },
  93456. _source_map_buffer0$_writeLine$0() {
  93457. var _this = this,
  93458. t1 = _this._source_map_buffer0$_entries;
  93459. if (B.JSArray_methods.get$last(t1).target.line === _this._source_map_buffer0$_line && B.JSArray_methods.get$last(t1).target.column === _this._source_map_buffer0$_column)
  93460. t1.pop();
  93461. ++_this._source_map_buffer0$_line;
  93462. _this._source_map_buffer0$_column = 0;
  93463. if (_this._source_map_buffer0$_inSpan)
  93464. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  93465. },
  93466. toString$0(_) {
  93467. var t1 = this._source_map_buffer0$_buffer._contents;
  93468. return t1.charCodeAt(0) == 0 ? t1 : t1;
  93469. },
  93470. buildSourceMap$1$prefix(prefix) {
  93471. var i, t2, prefixColumn, _box_0 = {},
  93472. t1 = prefix.length;
  93473. if (t1 === 0)
  93474. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  93475. _box_0.prefixColumn = _box_0.prefixLines = 0;
  93476. for (i = 0, t2 = 0; i < t1; ++i)
  93477. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  93478. ++_box_0.prefixLines;
  93479. _box_0.prefixColumn = 0;
  93480. t2 = 0;
  93481. } else {
  93482. prefixColumn = t2 + 1;
  93483. _box_0.prefixColumn = prefixColumn;
  93484. t2 = prefixColumn;
  93485. }
  93486. t2 = this._source_map_buffer0$_entries;
  93487. return A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(t2, new A.SourceMapBuffer_buildSourceMap_closure0(_box_0, t1), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Entry>")));
  93488. }
  93489. };
  93490. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  93491. call$1(entry) {
  93492. var t1 = entry.source,
  93493. t2 = entry.target,
  93494. t3 = t2.line,
  93495. t4 = this._box_0,
  93496. t5 = t4.prefixLines;
  93497. t4 = t3 === 0 ? t4.prefixColumn : 0;
  93498. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  93499. },
  93500. $signature: 175
  93501. };
  93502. A.updateSourceSpanPrototype_closure.prototype = {
  93503. call$1(span) {
  93504. return span.get$start(span);
  93505. },
  93506. $signature: 244
  93507. };
  93508. A.updateSourceSpanPrototype_closure0.prototype = {
  93509. call$1(span) {
  93510. return span.get$end(span);
  93511. },
  93512. $signature: 244
  93513. };
  93514. A.updateSourceSpanPrototype_closure1.prototype = {
  93515. call$1(span) {
  93516. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  93517. },
  93518. $signature: 507
  93519. };
  93520. A.updateSourceSpanPrototype_closure2.prototype = {
  93521. call$1(span) {
  93522. return span.get$text();
  93523. },
  93524. $signature: 245
  93525. };
  93526. A.updateSourceSpanPrototype_closure3.prototype = {
  93527. call$1(span) {
  93528. return span.get$context(span);
  93529. },
  93530. $signature: 245
  93531. };
  93532. A.updateSourceSpanPrototype_closure4.prototype = {
  93533. call$1($location) {
  93534. return $location.get$line();
  93535. },
  93536. $signature: 246
  93537. };
  93538. A.updateSourceSpanPrototype_closure5.prototype = {
  93539. call$1($location) {
  93540. return $location.get$column();
  93541. },
  93542. $signature: 246
  93543. };
  93544. A.StatementSearchVisitor0.prototype = {
  93545. visitAtRootRule$1(node) {
  93546. return this.visitChildren$1(node.children);
  93547. },
  93548. visitAtRule$1(node) {
  93549. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  93550. },
  93551. visitContentBlock$1(node) {
  93552. return this.visitChildren$1(node.children);
  93553. },
  93554. visitDebugRule$1(node) {
  93555. return null;
  93556. },
  93557. visitDeclaration$1(node) {
  93558. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  93559. },
  93560. visitEachRule$1(node) {
  93561. return this.visitChildren$1(node.children);
  93562. },
  93563. visitErrorRule$1(node) {
  93564. return null;
  93565. },
  93566. visitExtendRule$1(node) {
  93567. return null;
  93568. },
  93569. visitForRule$1(node) {
  93570. return this.visitChildren$1(node.children);
  93571. },
  93572. visitForwardRule$1(node) {
  93573. return null;
  93574. },
  93575. visitFunctionRule$1(node) {
  93576. return this.visitChildren$1(node.children);
  93577. },
  93578. visitIfRule$1(node) {
  93579. var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  93580. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  93581. },
  93582. visitImportRule$1(node) {
  93583. return null;
  93584. },
  93585. visitIncludeRule$1(node) {
  93586. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  93587. },
  93588. visitLoudComment$1(node) {
  93589. return null;
  93590. },
  93591. visitMediaRule$1(node) {
  93592. return this.visitChildren$1(node.children);
  93593. },
  93594. visitMixinRule$1(node) {
  93595. return this.visitChildren$1(node.children);
  93596. },
  93597. visitReturnRule$1(node) {
  93598. return null;
  93599. },
  93600. visitSilentComment$1(node) {
  93601. return null;
  93602. },
  93603. visitStyleRule$1(node) {
  93604. return this.visitChildren$1(node.children);
  93605. },
  93606. visitStylesheet$1(node) {
  93607. return this.visitChildren$1(node.children);
  93608. },
  93609. visitSupportsRule$1(node) {
  93610. return this.visitChildren$1(node.children);
  93611. },
  93612. visitUseRule$1(node) {
  93613. return null;
  93614. },
  93615. visitVariableDeclaration$1(node) {
  93616. return null;
  93617. },
  93618. visitWarnRule$1(node) {
  93619. return null;
  93620. },
  93621. visitWhileRule$1(node) {
  93622. return this.visitChildren$1(node.children);
  93623. },
  93624. visitChildren$1(children) {
  93625. return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  93626. }
  93627. };
  93628. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  93629. call$1(clause) {
  93630. return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  93631. },
  93632. $signature() {
  93633. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  93634. }
  93635. };
  93636. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  93637. call$1(child) {
  93638. return child.accept$1(this.$this);
  93639. },
  93640. $signature() {
  93641. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93642. }
  93643. };
  93644. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  93645. call$1(lastClause) {
  93646. return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  93647. },
  93648. $signature() {
  93649. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  93650. }
  93651. };
  93652. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  93653. call$1(child) {
  93654. return child.accept$1(this.$this);
  93655. },
  93656. $signature() {
  93657. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93658. }
  93659. };
  93660. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  93661. call$1(child) {
  93662. return child.accept$1(this.$this);
  93663. },
  93664. $signature() {
  93665. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93666. }
  93667. };
  93668. A.StaticImport0.prototype = {
  93669. toString$0(_) {
  93670. var t1 = this.url.toString$0(0),
  93671. t2 = this.modifiers;
  93672. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  93673. },
  93674. $isImport0: 1,
  93675. $isAstNode0: 1,
  93676. get$span(receiver) {
  93677. return this.span;
  93678. }
  93679. };
  93680. A.StderrLogger0.prototype = {
  93681. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  93682. var t2, t3, t4,
  93683. t1 = this.color;
  93684. if (t1) {
  93685. t2 = $.$get$stderr0();
  93686. t3 = t2._node$_stderr;
  93687. t4 = J.getInterceptor$x(t3);
  93688. t4.write$1(t3, "\x1b[33m\x1b[1m");
  93689. if (deprecation)
  93690. t4.write$1(t3, "Deprecation ");
  93691. t4.write$1(t3, "Warning\x1b[0m");
  93692. } else {
  93693. if (deprecation)
  93694. J.write$1$x($.$get$stderr0()._node$_stderr, "DEPRECATION ");
  93695. t2 = $.$get$stderr0();
  93696. J.write$1$x(t2._node$_stderr, "WARNING");
  93697. }
  93698. if (span == null)
  93699. t2.writeln$1(": " + message);
  93700. else if (trace != null)
  93701. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  93702. else
  93703. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  93704. if (trace != null)
  93705. t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  93706. t2.writeln$0();
  93707. },
  93708. warn$1($receiver, message) {
  93709. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  93710. },
  93711. warn$2$deprecation($receiver, message, deprecation) {
  93712. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  93713. },
  93714. warn$2$span($receiver, message, span) {
  93715. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  93716. },
  93717. warn$3$deprecation$span($receiver, message, deprecation, span) {
  93718. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  93719. },
  93720. warn$2$trace($receiver, message, trace) {
  93721. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  93722. },
  93723. debug$2(_, message, span) {
  93724. var url, t3, t4,
  93725. t1 = span.file,
  93726. t2 = span._file$_start;
  93727. if (A.FileLocation$_(t1, t2).file.url == null)
  93728. url = "-";
  93729. else {
  93730. t3 = A.FileLocation$_(t1, t2);
  93731. url = $.$get$context().prettyUri$1(t3.file.url);
  93732. }
  93733. t3 = $.$get$stderr0();
  93734. t2 = A.FileLocation$_(t1, t2);
  93735. t2 = t2.file.getLine$1(t2.offset);
  93736. t1 = t3._node$_stderr;
  93737. t4 = J.getInterceptor$x(t1);
  93738. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  93739. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  93740. t3.writeln$1(": " + message);
  93741. }
  93742. };
  93743. A.StringExpression0.prototype = {
  93744. get$span(_) {
  93745. return this.text.span;
  93746. },
  93747. accept$1$1(visitor) {
  93748. return visitor.visitStringExpression$1(this);
  93749. },
  93750. accept$1(visitor) {
  93751. return this.accept$1$1(visitor, type$.dynamic);
  93752. },
  93753. asInterpolation$1$static($static) {
  93754. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  93755. if (!this.hasQuotes)
  93756. return this.text;
  93757. t1 = this.text;
  93758. t2 = t1.contents;
  93759. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  93760. t3 = new A.StringBuffer("");
  93761. t4 = A._setArrayType([], type$.JSArray_Object);
  93762. buffer = new A.InterpolationBuffer0(t3, t4);
  93763. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  93764. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  93765. value = t2[_i];
  93766. if (t6._is(value)) {
  93767. buffer._interpolation_buffer0$_flushText$0();
  93768. t4.push(value);
  93769. } else if (typeof value == "string")
  93770. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  93771. }
  93772. t3._contents += A.Primitives_stringFromCharCode(quote);
  93773. return buffer.interpolation$1(t1.span);
  93774. },
  93775. asInterpolation$0() {
  93776. return this.asInterpolation$1$static(false);
  93777. },
  93778. toString$0(_) {
  93779. return this.asInterpolation$0().toString$0(0);
  93780. },
  93781. $isExpression0: 1,
  93782. $isAstNode0: 1
  93783. };
  93784. A._unquote_closure0.prototype = {
  93785. call$1($arguments) {
  93786. var string = J.$index$asx($arguments, 0).assertString$1("string");
  93787. if (!string._string0$_hasQuotes)
  93788. return string;
  93789. return new A.SassString0(string._string0$_text, false);
  93790. },
  93791. $signature: 17
  93792. };
  93793. A._quote_closure0.prototype = {
  93794. call$1($arguments) {
  93795. var string = J.$index$asx($arguments, 0).assertString$1("string");
  93796. if (string._string0$_hasQuotes)
  93797. return string;
  93798. return new A.SassString0(string._string0$_text, true);
  93799. },
  93800. $signature: 17
  93801. };
  93802. A._length_closure1.prototype = {
  93803. call$1($arguments) {
  93804. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  93805. },
  93806. $signature: 11
  93807. };
  93808. A._insert_closure0.prototype = {
  93809. call$1($arguments) {
  93810. var indexInt, codeUnitIndex, _s5_ = "index",
  93811. t1 = J.getInterceptor$asx($arguments),
  93812. string = t1.$index($arguments, 0).assertString$1("string"),
  93813. insert = t1.$index($arguments, 1).assertString$1("insert"),
  93814. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  93815. index.assertNoUnits$1(_s5_);
  93816. indexInt = index.assertInt$1(_s5_);
  93817. if (indexInt < 0)
  93818. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  93819. t1 = string._string0$_text;
  93820. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  93821. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  93822. },
  93823. $signature: 17
  93824. };
  93825. A._index_closure1.prototype = {
  93826. call$1($arguments) {
  93827. var t1 = J.getInterceptor$asx($arguments),
  93828. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  93829. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  93830. if (codeUnitIndex === -1)
  93831. return B.C__SassNull0;
  93832. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  93833. },
  93834. $signature: 3
  93835. };
  93836. A._slice_closure0.prototype = {
  93837. call$1($arguments) {
  93838. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  93839. _s8_ = "start-at",
  93840. t1 = J.getInterceptor$asx($arguments),
  93841. string = t1.$index($arguments, 0).assertString$1("string"),
  93842. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  93843. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  93844. start.assertNoUnits$1(_s8_);
  93845. end.assertNoUnits$1("end-at");
  93846. lengthInCodepoints = string.get$_string0$_sassLength();
  93847. endInt = end.assertInt$0();
  93848. if (endInt === 0)
  93849. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  93850. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  93851. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  93852. if (endCodepoint === lengthInCodepoints)
  93853. --endCodepoint;
  93854. if (endCodepoint < startCodepoint)
  93855. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  93856. t1 = string._string0$_text;
  93857. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  93858. },
  93859. $signature: 17
  93860. };
  93861. A._toUpperCase_closure0.prototype = {
  93862. call$1($arguments) {
  93863. var t1, t2, i, t3, t4,
  93864. string = J.$index$asx($arguments, 0).assertString$1("string");
  93865. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  93866. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  93867. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  93868. }
  93869. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  93870. },
  93871. $signature: 17
  93872. };
  93873. A._toLowerCase_closure0.prototype = {
  93874. call$1($arguments) {
  93875. var t1, t2, i, t3, t4,
  93876. string = J.$index$asx($arguments, 0).assertString$1("string");
  93877. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  93878. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  93879. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  93880. }
  93881. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  93882. },
  93883. $signature: 17
  93884. };
  93885. A._uniqueId_closure0.prototype = {
  93886. call$1($arguments) {
  93887. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  93888. $._previousUniqueId0 = t1;
  93889. if (t1 > Math.pow(36, 6))
  93890. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  93891. return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  93892. },
  93893. $signature: 17
  93894. };
  93895. A._NodeSassString.prototype = {};
  93896. A.legacyStringClass_closure.prototype = {
  93897. call$3(thisArg, value, dartValue) {
  93898. var t1;
  93899. if (dartValue == null) {
  93900. value.toString;
  93901. t1 = new A.SassString0(value, false);
  93902. } else
  93903. t1 = dartValue;
  93904. J.set$dartValue$x(thisArg, t1);
  93905. },
  93906. call$2(thisArg, value) {
  93907. return this.call$3(thisArg, value, null);
  93908. },
  93909. "call*": "call$3",
  93910. $requiredArgCount: 2,
  93911. $defaultValues() {
  93912. return [null];
  93913. },
  93914. $signature: 510
  93915. };
  93916. A.legacyStringClass_closure0.prototype = {
  93917. call$1(thisArg) {
  93918. return J.get$dartValue$x(thisArg)._string0$_text;
  93919. },
  93920. $signature: 511
  93921. };
  93922. A.legacyStringClass_closure1.prototype = {
  93923. call$2(thisArg, value) {
  93924. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  93925. },
  93926. $signature: 512
  93927. };
  93928. A.stringClass_closure.prototype = {
  93929. call$0() {
  93930. var t2,
  93931. t1 = type$.JSClass,
  93932. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  93933. A.LinkedHashMap_LinkedHashMap$_literal(["text", new A.stringClass__closure0(), "hasQuotes", new A.stringClass__closure1(), "sassLength", new A.stringClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  93934. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  93935. t2 = $.$get$_emptyQuoted0();
  93936. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  93937. return jsClass;
  93938. },
  93939. $signature: 25
  93940. };
  93941. A.stringClass__closure.prototype = {
  93942. call$3($self, textOrOptions, options) {
  93943. var t1;
  93944. if (typeof textOrOptions == "string") {
  93945. t1 = options == null ? null : J.get$quotes$x(options);
  93946. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  93947. } else {
  93948. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  93949. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  93950. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  93951. }
  93952. return t1;
  93953. },
  93954. call$1($self) {
  93955. return this.call$3($self, null, null);
  93956. },
  93957. call$2($self, textOrOptions) {
  93958. return this.call$3($self, textOrOptions, null);
  93959. },
  93960. "call*": "call$3",
  93961. $requiredArgCount: 1,
  93962. $defaultValues() {
  93963. return [null, null];
  93964. },
  93965. $signature: 513
  93966. };
  93967. A.stringClass__closure0.prototype = {
  93968. call$1($self) {
  93969. return $self._string0$_text;
  93970. },
  93971. $signature: 514
  93972. };
  93973. A.stringClass__closure1.prototype = {
  93974. call$1($self) {
  93975. return $self._string0$_hasQuotes;
  93976. },
  93977. $signature: 515
  93978. };
  93979. A.stringClass__closure2.prototype = {
  93980. call$1($self) {
  93981. return $self.get$_string0$_sassLength();
  93982. },
  93983. $signature: 516
  93984. };
  93985. A.stringClass__closure3.prototype = {
  93986. call$3($self, sassIndex, $name) {
  93987. var t1 = $self._string0$_text,
  93988. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  93989. if (index === 0)
  93990. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  93991. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  93992. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  93993. return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
  93994. },
  93995. call$2($self, sassIndex) {
  93996. return this.call$3($self, sassIndex, null);
  93997. },
  93998. "call*": "call$3",
  93999. $requiredArgCount: 2,
  94000. $defaultValues() {
  94001. return [null];
  94002. },
  94003. $signature: 517
  94004. };
  94005. A._ConstructorOptions1.prototype = {};
  94006. A.SassString0.prototype = {
  94007. get$_string0$_sassLength() {
  94008. var t1, result, _this = this,
  94009. value = _this._string0$__SassString__sassLength_FI;
  94010. if (value === $) {
  94011. t1 = new A.Runes(_this._string0$_text);
  94012. result = t1.get$length(t1);
  94013. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  94014. _this._string0$__SassString__sassLength_FI = result;
  94015. value = result;
  94016. }
  94017. return value;
  94018. },
  94019. get$isSpecialNumber() {
  94020. var t1, t2;
  94021. if (this._string0$_hasQuotes)
  94022. return false;
  94023. t1 = this._string0$_text;
  94024. if (t1.length < 6)
  94025. return false;
  94026. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  94027. if (t2 === 99) {
  94028. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  94029. if (t2 === 108) {
  94030. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  94031. return false;
  94032. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  94033. return false;
  94034. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  94035. return false;
  94036. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  94037. } else if (t2 === 97) {
  94038. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  94039. return false;
  94040. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  94041. return false;
  94042. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  94043. } else
  94044. return false;
  94045. } else if (t2 === 118) {
  94046. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  94047. return false;
  94048. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  94049. return false;
  94050. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94051. } else if (t2 === 101) {
  94052. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  94053. return false;
  94054. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  94055. return false;
  94056. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94057. } else if (t2 === 109) {
  94058. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  94059. if (t2 === 97) {
  94060. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  94061. return false;
  94062. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94063. } else if (t2 === 105) {
  94064. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  94065. return false;
  94066. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94067. } else
  94068. return false;
  94069. } else
  94070. return false;
  94071. },
  94072. get$isVar() {
  94073. if (this._string0$_hasQuotes)
  94074. return false;
  94075. var t1 = this._string0$_text;
  94076. if (t1.length < 8)
  94077. return false;
  94078. return (B.JSString_methods._codeUnitAt$1(t1, 0) | 32) === 118 && (B.JSString_methods._codeUnitAt$1(t1, 1) | 32) === 97 && (B.JSString_methods._codeUnitAt$1(t1, 2) | 32) === 114 && B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94079. },
  94080. get$isBlank() {
  94081. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  94082. },
  94083. accept$1$1(visitor) {
  94084. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  94085. t2 = this._string0$_text;
  94086. if (t1)
  94087. visitor._serialize0$_visitQuotedString$1(t2);
  94088. else
  94089. visitor._serialize0$_visitUnquotedString$1(t2);
  94090. return null;
  94091. },
  94092. accept$1(visitor) {
  94093. return this.accept$1$1(visitor, type$.dynamic);
  94094. },
  94095. assertString$1($name) {
  94096. return this;
  94097. },
  94098. plus$1(other) {
  94099. var t1 = this._string0$_text,
  94100. t2 = this._string0$_hasQuotes;
  94101. if (other instanceof A.SassString0)
  94102. return new A.SassString0(t1 + other._string0$_text, t2);
  94103. else
  94104. return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  94105. },
  94106. $eq(_, other) {
  94107. if (other == null)
  94108. return false;
  94109. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  94110. },
  94111. get$hashCode(_) {
  94112. var t1 = this._string0$_hashCache;
  94113. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  94114. }
  94115. };
  94116. A.ModifiableCssStyleRule0.prototype = {
  94117. accept$1$1(visitor) {
  94118. return visitor.visitCssStyleRule$1(this);
  94119. },
  94120. accept$1(visitor) {
  94121. return this.accept$1$1(visitor, type$.dynamic);
  94122. },
  94123. copyWithoutChildren$0() {
  94124. return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
  94125. },
  94126. $isCssStyleRule0: 1,
  94127. get$span(receiver) {
  94128. return this.span;
  94129. }
  94130. };
  94131. A.StyleRule0.prototype = {
  94132. accept$1$1(visitor) {
  94133. return visitor.visitStyleRule$1(this);
  94134. },
  94135. accept$1(visitor) {
  94136. return this.accept$1$1(visitor, type$.dynamic);
  94137. },
  94138. toString$0(_) {
  94139. var t1 = this.children;
  94140. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  94141. },
  94142. get$span(receiver) {
  94143. return this.span;
  94144. }
  94145. };
  94146. A.CssStylesheet0.prototype = {
  94147. get$isGroupEnd() {
  94148. return false;
  94149. },
  94150. get$isChildless() {
  94151. return false;
  94152. },
  94153. accept$1$1(visitor) {
  94154. return visitor.visitCssStylesheet$1(this);
  94155. },
  94156. accept$1(visitor) {
  94157. return this.accept$1$1(visitor, type$.dynamic);
  94158. },
  94159. get$children(receiver) {
  94160. return this.children;
  94161. },
  94162. get$span(receiver) {
  94163. return this.span;
  94164. }
  94165. };
  94166. A.ModifiableCssStylesheet0.prototype = {
  94167. accept$1$1(visitor) {
  94168. return visitor.visitCssStylesheet$1(this);
  94169. },
  94170. accept$1(visitor) {
  94171. return this.accept$1$1(visitor, type$.dynamic);
  94172. },
  94173. copyWithoutChildren$0() {
  94174. return A.ModifiableCssStylesheet$0(this.span);
  94175. },
  94176. $isCssStylesheet0: 1,
  94177. get$span(receiver) {
  94178. return this.span;
  94179. }
  94180. };
  94181. A.StylesheetParser0.prototype = {
  94182. parse$0() {
  94183. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  94184. },
  94185. parseArgumentDeclaration$0() {
  94186. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  94187. },
  94188. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  94189. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  94190. },
  94191. parseSignature$1$requireParens(requireParens) {
  94192. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  94193. },
  94194. parseSignature$0() {
  94195. return this.parseSignature$1$requireParens(true);
  94196. },
  94197. _stylesheet0$_statement$1$root(root) {
  94198. var t2, _this = this,
  94199. t1 = _this.scanner;
  94200. switch (t1.peekChar$0()) {
  94201. case 64:
  94202. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  94203. case 43:
  94204. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  94205. return _this._stylesheet0$_styleRule$0();
  94206. _this._stylesheet0$_isUseAllowed = false;
  94207. t2 = t1._string_scanner$_position;
  94208. t1.readChar$0();
  94209. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  94210. case 61:
  94211. if (!_this.get$indented())
  94212. return _this._stylesheet0$_styleRule$0();
  94213. _this._stylesheet0$_isUseAllowed = false;
  94214. t2 = t1._string_scanner$_position;
  94215. t1.readChar$0();
  94216. _this.whitespace$0();
  94217. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  94218. case 125:
  94219. t1.error$2$length(0, 'unmatched "}".', 1);
  94220. break;
  94221. default:
  94222. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  94223. }
  94224. },
  94225. _stylesheet0$_statement$0() {
  94226. return this._stylesheet0$_statement$1$root(false);
  94227. },
  94228. variableDeclarationWithoutNamespace$2(namespace, start_) {
  94229. var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
  94230. precedingComment = _this.lastSilentComment;
  94231. _this.lastSilentComment = null;
  94232. if (start_ == null) {
  94233. t1 = _this.scanner;
  94234. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94235. } else
  94236. start = start_;
  94237. $name = _this.variableName$0();
  94238. t1 = namespace != null;
  94239. if (t1)
  94240. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  94241. if (_this.get$plainCss())
  94242. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  94243. _this.whitespace$0();
  94244. t2 = _this.scanner;
  94245. t2.expectChar$1(58);
  94246. _this.whitespace$0();
  94247. value = _this._stylesheet0$_expression$0();
  94248. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94249. for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
  94250. flag = _this.identifier$0();
  94251. if (flag === "default")
  94252. guarded = true;
  94253. else if (flag === "global") {
  94254. if (t1) {
  94255. endPosition = t2._string_scanner$_position;
  94256. t4 = t2._sourceFile;
  94257. t5 = flagStart.position;
  94258. t6 = new A._FileSpan(t4, t5, endPosition);
  94259. t6._FileSpan$3(t4, t5, endPosition);
  94260. A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
  94261. }
  94262. global = true;
  94263. } else {
  94264. endPosition = t2._string_scanner$_position;
  94265. t4 = t2._sourceFile;
  94266. t5 = flagStart.position;
  94267. t6 = new A._FileSpan(t4, t5, endPosition);
  94268. t6._FileSpan$3(t4, t5, endPosition);
  94269. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  94270. }
  94271. _this.whitespace$0();
  94272. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94273. }
  94274. _this.expectStatementSeparator$1("variable declaration");
  94275. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  94276. if (global)
  94277. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  94278. return declaration;
  94279. },
  94280. variableDeclarationWithoutNamespace$0() {
  94281. return this.variableDeclarationWithoutNamespace$2(null, null);
  94282. },
  94283. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  94284. var t1, t2, variableOrInterpolation, t3, _this = this;
  94285. if (_this.get$plainCss())
  94286. return _this._stylesheet0$_styleRule$0();
  94287. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  94288. return _this._stylesheet0$_styleRule$0();
  94289. if (!_this.lookingAtIdentifier$0())
  94290. return _this._stylesheet0$_styleRule$0();
  94291. t1 = _this.scanner;
  94292. t2 = t1._string_scanner$_position;
  94293. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94294. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94295. return variableOrInterpolation;
  94296. else {
  94297. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  94298. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  94299. return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  94300. }
  94301. },
  94302. _stylesheet0$_declarationOrStyleRule$0() {
  94303. var t1, t2, declarationOrBuffer, _this = this;
  94304. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  94305. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  94306. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  94307. return _this._stylesheet0$_styleRule$0();
  94308. t1 = _this.scanner;
  94309. t2 = t1._string_scanner$_position;
  94310. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  94311. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  94312. },
  94313. _stylesheet0$_declarationOrBuffer$0() {
  94314. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  94315. t2 = _this.scanner,
  94316. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  94317. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  94318. first = t2.peekChar$0();
  94319. if (first !== 58)
  94320. if (first !== 42)
  94321. if (first !== 46)
  94322. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  94323. else
  94324. t3 = true;
  94325. else
  94326. t3 = true;
  94327. else
  94328. t3 = true;
  94329. if (t3) {
  94330. t3 = t2.readChar$0();
  94331. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  94332. t3 = _this.rawText$1(_this.get$whitespace());
  94333. nameBuffer._interpolation_buffer0$_text._contents += t3;
  94334. startsWithPunctuation = true;
  94335. } else
  94336. startsWithPunctuation = false;
  94337. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  94338. return nameBuffer;
  94339. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94340. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94341. return variableOrInterpolation;
  94342. else
  94343. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  94344. _this._stylesheet0$_isUseAllowed = false;
  94345. if (t2.matches$1("/*")) {
  94346. t3 = _this.rawText$1(_this.get$loudComment());
  94347. nameBuffer._interpolation_buffer0$_text._contents += t3;
  94348. }
  94349. midBuffer = new A.StringBuffer("");
  94350. t3 = _this.get$whitespace();
  94351. midBuffer._contents += _this.rawText$1(t3);
  94352. t4 = t2._string_scanner$_position;
  94353. if (!t2.scanChar$1(58)) {
  94354. if (midBuffer._contents.length !== 0)
  94355. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  94356. return nameBuffer;
  94357. }
  94358. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  94359. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  94360. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  94361. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  94362. _this.expectStatementSeparator$1("custom property");
  94363. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  94364. }
  94365. if (t2.scanChar$1(58)) {
  94366. t1 = nameBuffer;
  94367. t2 = t1._interpolation_buffer0$_text;
  94368. t3 = t2._contents += A.S(midBuffer);
  94369. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  94370. return t1;
  94371. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  94372. t1 = nameBuffer;
  94373. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  94374. return t1;
  94375. }
  94376. postColonWhitespace = _this.rawText$1(t3);
  94377. if (_this.lookingAtChildren$0())
  94378. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  94379. midBuffer._contents += postColonWhitespace;
  94380. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  94381. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94382. t3 = t1.value = null;
  94383. try {
  94384. t3 = t1.value = _this._stylesheet0$_expression$0();
  94385. if (_this.lookingAtChildren$0()) {
  94386. if (couldBeSelector)
  94387. _this.expectStatementSeparator$0();
  94388. } else if (!_this.atEndOfStatement$0())
  94389. _this.expectStatementSeparator$0();
  94390. } catch (exception) {
  94391. if (type$.FormatException._is(A.unwrapException(exception))) {
  94392. if (!couldBeSelector)
  94393. throw exception;
  94394. t2.set$state(beforeDeclaration);
  94395. additional = _this.almostAnyValue$0();
  94396. if (!_this.get$indented() && t2.peekChar$0() === 59)
  94397. throw exception;
  94398. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  94399. nameBuffer.addInterpolation$1(additional);
  94400. return nameBuffer;
  94401. } else
  94402. throw exception;
  94403. }
  94404. if (_this.lookingAtChildren$0())
  94405. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  94406. else {
  94407. _this.expectStatementSeparator$0();
  94408. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  94409. }
  94410. },
  94411. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  94412. var t1, start, identifier, t2, buffer, _this = this;
  94413. if (!_this.lookingAtIdentifier$0())
  94414. return _this.interpolatedIdentifier$0();
  94415. t1 = _this.scanner;
  94416. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94417. identifier = _this.identifier$0();
  94418. if (t1.matches$1(".$")) {
  94419. t1.readChar$0();
  94420. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  94421. } else {
  94422. t2 = new A.StringBuffer("");
  94423. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  94424. t2._contents = "" + identifier;
  94425. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  94426. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  94427. return buffer.interpolation$1(t1.spanFrom$1(start));
  94428. }
  94429. },
  94430. _stylesheet0$_styleRule$2(buffer, start_) {
  94431. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  94432. _this._stylesheet0$_isUseAllowed = false;
  94433. if (start_ == null) {
  94434. t2 = _this.scanner;
  94435. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94436. } else
  94437. start = start_;
  94438. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  94439. if (buffer != null) {
  94440. buffer.addInterpolation$1(interpolation);
  94441. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  94442. } else
  94443. t2 = interpolation;
  94444. if (t2.contents.length === 0)
  94445. _this.scanner.error$1(0, 'expected "}".');
  94446. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  94447. _this._stylesheet0$_inStyleRule = true;
  94448. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  94449. },
  94450. _stylesheet0$_styleRule$0() {
  94451. return this._stylesheet0$_styleRule$2(null, null);
  94452. },
  94453. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  94454. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  94455. _s48_ = string$.Nested,
  94456. t1 = {},
  94457. t2 = _this.scanner,
  94458. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94459. t1.name = null;
  94460. first = t2.peekChar$0();
  94461. if (first !== 58)
  94462. if (first !== 42)
  94463. if (first !== 46)
  94464. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  94465. else
  94466. t3 = true;
  94467. else
  94468. t3 = true;
  94469. else
  94470. t3 = true;
  94471. if (t3) {
  94472. t3 = new A.StringBuffer("");
  94473. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  94474. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  94475. t3._contents += _this.rawText$1(_this.get$whitespace());
  94476. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  94477. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  94478. } else if (!_this.get$plainCss()) {
  94479. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94480. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94481. return variableOrInterpolation;
  94482. else {
  94483. type$.Interpolation_2._as(variableOrInterpolation);
  94484. t1.name = variableOrInterpolation;
  94485. }
  94486. t3 = variableOrInterpolation;
  94487. } else {
  94488. $name = _this.interpolatedIdentifier$0();
  94489. t1.name = $name;
  94490. t3 = $name;
  94491. }
  94492. _this.whitespace$0();
  94493. t2.expectChar$1(58);
  94494. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  94495. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  94496. _this.expectStatementSeparator$1("custom property");
  94497. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  94498. }
  94499. _this.whitespace$0();
  94500. if (_this.lookingAtChildren$0()) {
  94501. if (_this.get$plainCss())
  94502. t2.error$1(0, _s48_);
  94503. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  94504. }
  94505. value = _this._stylesheet0$_expression$0();
  94506. if (_this.lookingAtChildren$0()) {
  94507. if (_this.get$plainCss())
  94508. t2.error$1(0, _s48_);
  94509. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  94510. } else {
  94511. _this.expectStatementSeparator$0();
  94512. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  94513. }
  94514. },
  94515. _stylesheet0$_propertyOrVariableDeclaration$0() {
  94516. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  94517. },
  94518. _stylesheet0$_declarationChild$0() {
  94519. if (this.scanner.peekChar$0() === 64)
  94520. return this._stylesheet0$_declarationAtRule$0();
  94521. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  94522. },
  94523. atRule$2$root(child, root) {
  94524. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  94525. _s9_ = "@use rule",
  94526. t1 = _this.scanner,
  94527. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94528. t1.expectChar$2$name(64, "@-rule");
  94529. $name = _this.interpolatedIdentifier$0();
  94530. _this.whitespace$0();
  94531. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  94532. _this._stylesheet0$_isUseAllowed = false;
  94533. switch ($name.get$asPlain()) {
  94534. case "at-root":
  94535. return _this._stylesheet0$_atRootRule$1(start);
  94536. case "content":
  94537. return _this._stylesheet0$_contentRule$1(start);
  94538. case "debug":
  94539. return _this._stylesheet0$_debugRule$1(start);
  94540. case "each":
  94541. return _this._stylesheet0$_eachRule$2(start, child);
  94542. case "else":
  94543. return _this._stylesheet0$_disallowedAtRule$1(start);
  94544. case "error":
  94545. return _this._stylesheet0$_errorRule$1(start);
  94546. case "extend":
  94547. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  94548. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  94549. value = _this.almostAnyValue$0();
  94550. optional = t1.scanChar$1(33);
  94551. if (optional)
  94552. _this.expectIdentifier$1("optional");
  94553. _this.expectStatementSeparator$1("@extend rule");
  94554. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  94555. case "for":
  94556. return _this._stylesheet0$_forRule$2(start, child);
  94557. case "forward":
  94558. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  94559. if (!root)
  94560. _this._stylesheet0$_disallowedAtRule$1(start);
  94561. return _this._stylesheet0$_forwardRule$1(start);
  94562. case "function":
  94563. return _this._stylesheet0$_functionRule$1(start);
  94564. case "if":
  94565. return _this._stylesheet0$_ifRule$2(start, child);
  94566. case "import":
  94567. return _this._stylesheet0$_importRule$1(start);
  94568. case "include":
  94569. return _this._stylesheet0$_includeRule$1(start);
  94570. case "media":
  94571. return _this.mediaRule$1(start);
  94572. case "mixin":
  94573. return _this._stylesheet0$_mixinRule$1(start);
  94574. case "-moz-document":
  94575. return _this.mozDocumentRule$2(start, $name);
  94576. case "return":
  94577. return _this._stylesheet0$_disallowedAtRule$1(start);
  94578. case "supports":
  94579. return _this.supportsRule$1(start);
  94580. case "use":
  94581. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  94582. if (!root)
  94583. _this._stylesheet0$_disallowedAtRule$1(start);
  94584. url = _this._stylesheet0$_urlString$0();
  94585. _this.whitespace$0();
  94586. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  94587. _this.whitespace$0();
  94588. configuration = _this._stylesheet0$_configuration$0();
  94589. _this.expectStatementSeparator$1(_s9_);
  94590. span = t1.spanFrom$1(start);
  94591. if (!_this._stylesheet0$_isUseAllowed)
  94592. _this.error$2(0, string$.x40use_r, span);
  94593. _this.expectStatementSeparator$1(_s9_);
  94594. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  94595. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  94596. return t1;
  94597. case "warn":
  94598. return _this._stylesheet0$_warnRule$1(start);
  94599. case "while":
  94600. return _this._stylesheet0$_whileRule$2(start, child);
  94601. default:
  94602. return _this.unknownAtRule$2(start, $name);
  94603. }
  94604. },
  94605. _stylesheet0$_declarationAtRule$0() {
  94606. var _this = this,
  94607. t1 = _this.scanner,
  94608. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94609. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  94610. case "content":
  94611. return _this._stylesheet0$_contentRule$1(start);
  94612. case "debug":
  94613. return _this._stylesheet0$_debugRule$1(start);
  94614. case "each":
  94615. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94616. case "else":
  94617. return _this._stylesheet0$_disallowedAtRule$1(start);
  94618. case "error":
  94619. return _this._stylesheet0$_errorRule$1(start);
  94620. case "for":
  94621. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94622. case "if":
  94623. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94624. case "include":
  94625. return _this._stylesheet0$_includeRule$1(start);
  94626. case "warn":
  94627. return _this._stylesheet0$_warnRule$1(start);
  94628. case "while":
  94629. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94630. default:
  94631. return _this._stylesheet0$_disallowedAtRule$1(start);
  94632. }
  94633. },
  94634. _stylesheet0$_functionChild$0() {
  94635. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
  94636. t1 = _this.scanner;
  94637. if (t1.peekChar$0() !== 64) {
  94638. t2 = t1._string_scanner$_position;
  94639. state = new A._SpanScannerState(t1, t2);
  94640. try {
  94641. namespace = _this.identifier$0();
  94642. t1.expectChar$1(46);
  94643. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  94644. return t2;
  94645. } catch (exception) {
  94646. t2 = A.unwrapException(exception);
  94647. t3 = type$.SourceSpanFormatException;
  94648. if (t3._is(t2)) {
  94649. variableDeclarationError = t2;
  94650. stackTrace = A.getTraceFromException(exception);
  94651. t1.set$state(state);
  94652. statement = null;
  94653. try {
  94654. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  94655. } catch (exception) {
  94656. if (t3._is(A.unwrapException(exception)))
  94657. throw A.wrapException(variableDeclarationError);
  94658. else
  94659. throw exception;
  94660. }
  94661. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  94662. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  94663. } else
  94664. throw exception;
  94665. }
  94666. }
  94667. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94668. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  94669. case "debug":
  94670. return _this._stylesheet0$_debugRule$1(start);
  94671. case "each":
  94672. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  94673. case "else":
  94674. return _this._stylesheet0$_disallowedAtRule$1(start);
  94675. case "error":
  94676. return _this._stylesheet0$_errorRule$1(start);
  94677. case "for":
  94678. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  94679. case "if":
  94680. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  94681. case "return":
  94682. value = _this._stylesheet0$_expression$0();
  94683. _this.expectStatementSeparator$1("@return rule");
  94684. return new A.ReturnRule0(value, t1.spanFrom$1(start));
  94685. case "warn":
  94686. return _this._stylesheet0$_warnRule$1(start);
  94687. case "while":
  94688. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  94689. default:
  94690. return _this._stylesheet0$_disallowedAtRule$1(start);
  94691. }
  94692. },
  94693. _stylesheet0$_plainAtRuleName$0() {
  94694. this.scanner.expectChar$2$name(64, "@-rule");
  94695. var $name = this.identifier$0();
  94696. this.whitespace$0();
  94697. return $name;
  94698. },
  94699. _stylesheet0$_atRootRule$1(start) {
  94700. var query, _this = this,
  94701. t1 = _this.scanner;
  94702. if (t1.peekChar$0() === 40) {
  94703. query = _this._stylesheet0$_atRootQuery$0();
  94704. _this.whitespace$0();
  94705. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  94706. } else if (_this.lookingAtChildren$0())
  94707. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  94708. else
  94709. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  94710. },
  94711. _stylesheet0$_atRootQuery$0() {
  94712. var interpolation, t2, t3, t4, buffer, t5, _this = this,
  94713. t1 = _this.scanner;
  94714. if (t1.peekChar$0() === 35) {
  94715. interpolation = _this.singleInterpolation$0();
  94716. return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
  94717. }
  94718. t2 = t1._string_scanner$_position;
  94719. t3 = new A.StringBuffer("");
  94720. t4 = A._setArrayType([], type$.JSArray_Object);
  94721. buffer = new A.InterpolationBuffer0(t3, t4);
  94722. t1.expectChar$1(40);
  94723. t3._contents += A.Primitives_stringFromCharCode(40);
  94724. _this.whitespace$0();
  94725. t5 = _this._stylesheet0$_expression$0();
  94726. buffer._interpolation_buffer0$_flushText$0();
  94727. t4.push(t5);
  94728. if (t1.scanChar$1(58)) {
  94729. _this.whitespace$0();
  94730. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  94731. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  94732. t5 = _this._stylesheet0$_expression$0();
  94733. buffer._interpolation_buffer0$_flushText$0();
  94734. t4.push(t5);
  94735. }
  94736. t1.expectChar$1(41);
  94737. _this.whitespace$0();
  94738. t3._contents += A.Primitives_stringFromCharCode(41);
  94739. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94740. },
  94741. _stylesheet0$_contentRule$1(start) {
  94742. var t1, $arguments, t2, t3, _this = this;
  94743. if (!_this._stylesheet0$_inMixin)
  94744. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  94745. _this.whitespace$0();
  94746. t1 = _this.scanner;
  94747. if (t1.peekChar$0() === 40)
  94748. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  94749. else {
  94750. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  94751. t3 = t2.offset;
  94752. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  94753. }
  94754. _this.expectStatementSeparator$1("@content rule");
  94755. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  94756. },
  94757. _stylesheet0$_debugRule$1(start) {
  94758. var value = this._stylesheet0$_expression$0();
  94759. this.expectStatementSeparator$1("@debug rule");
  94760. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  94761. },
  94762. _stylesheet0$_eachRule$2(start, child) {
  94763. var variables, t1, _this = this,
  94764. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94765. _this._stylesheet0$_inControlDirective = true;
  94766. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  94767. _this.whitespace$0();
  94768. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  94769. _this.whitespace$0();
  94770. t1.expectChar$1(36);
  94771. variables.push(_this.identifier$1$normalize(true));
  94772. _this.whitespace$0();
  94773. }
  94774. _this.expectIdentifier$1("in");
  94775. _this.whitespace$0();
  94776. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  94777. },
  94778. _stylesheet0$_errorRule$1(start) {
  94779. var value = this._stylesheet0$_expression$0();
  94780. this.expectStatementSeparator$1("@error rule");
  94781. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  94782. },
  94783. _stylesheet0$_functionRule$1(start) {
  94784. var $name, $arguments, _this = this,
  94785. precedingComment = _this.lastSilentComment;
  94786. _this.lastSilentComment = null;
  94787. $name = _this.identifier$1$normalize(true);
  94788. _this.whitespace$0();
  94789. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  94790. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  94791. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  94792. else if (_this._stylesheet0$_inControlDirective)
  94793. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  94794. switch (A.unvendor0($name)) {
  94795. case "calc":
  94796. case "element":
  94797. case "expression":
  94798. case "url":
  94799. case "and":
  94800. case "or":
  94801. case "not":
  94802. case "clamp":
  94803. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  94804. break;
  94805. }
  94806. _this.whitespace$0();
  94807. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  94808. },
  94809. _stylesheet0$_forRule$2(start, child) {
  94810. var variable, from, _this = this, t1 = {},
  94811. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94812. _this._stylesheet0$_inControlDirective = true;
  94813. variable = _this.variableName$0();
  94814. _this.whitespace$0();
  94815. _this.expectIdentifier$1("from");
  94816. _this.whitespace$0();
  94817. t1.exclusive = null;
  94818. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  94819. if (t1.exclusive == null)
  94820. _this.scanner.error$1(0, 'Expected "to" or "through".');
  94821. _this.whitespace$0();
  94822. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  94823. },
  94824. _stylesheet0$_forwardRule$1(start) {
  94825. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  94826. url = _this._stylesheet0$_urlString$0();
  94827. _this.whitespace$0();
  94828. if (_this.scanIdentifier$1("as")) {
  94829. _this.whitespace$0();
  94830. prefix = _this.identifier$1$normalize(true);
  94831. _this.scanner.expectChar$1(42);
  94832. _this.whitespace$0();
  94833. } else
  94834. prefix = _null;
  94835. if (_this.scanIdentifier$1("show")) {
  94836. members = _this._stylesheet0$_memberList$0();
  94837. shownMixinsAndFunctions = members.item1;
  94838. shownVariables = members.item2;
  94839. hiddenVariables = _null;
  94840. hiddenMixinsAndFunctions = hiddenVariables;
  94841. } else {
  94842. if (_this.scanIdentifier$1("hide")) {
  94843. members = _this._stylesheet0$_memberList$0();
  94844. hiddenMixinsAndFunctions = members.item1;
  94845. hiddenVariables = members.item2;
  94846. } else {
  94847. hiddenVariables = _null;
  94848. hiddenMixinsAndFunctions = hiddenVariables;
  94849. }
  94850. shownVariables = _null;
  94851. shownMixinsAndFunctions = shownVariables;
  94852. }
  94853. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  94854. _this.expectStatementSeparator$1("@forward rule");
  94855. span = _this.scanner.spanFrom$1(start);
  94856. if (!_this._stylesheet0$_isUseAllowed)
  94857. _this.error$2(0, string$.x40forwa, span);
  94858. if (shownMixinsAndFunctions != null) {
  94859. shownVariables.toString;
  94860. t1 = type$.String;
  94861. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  94862. t3 = type$.UnmodifiableSetView_String;
  94863. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  94864. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  94865. return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  94866. } else if (hiddenMixinsAndFunctions != null) {
  94867. hiddenVariables.toString;
  94868. t1 = type$.String;
  94869. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  94870. t3 = type$.UnmodifiableSetView_String;
  94871. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  94872. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  94873. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  94874. } else
  94875. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  94876. },
  94877. _stylesheet0$_memberList$0() {
  94878. var _this = this,
  94879. t1 = type$.String,
  94880. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  94881. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  94882. t1 = _this.scanner;
  94883. do {
  94884. _this.whitespace$0();
  94885. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  94886. _this.whitespace$0();
  94887. } while (t1.scanChar$1(44));
  94888. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  94889. },
  94890. _stylesheet0$_ifRule$2(start, child) {
  94891. var condition, children, clauses, lastClause, span, _this = this,
  94892. ifIndentation = _this.get$currentIndentation(),
  94893. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94894. _this._stylesheet0$_inControlDirective = true;
  94895. condition = _this._stylesheet0$_expression$0();
  94896. children = _this.children$1(0, child);
  94897. _this.whitespaceWithoutComments$0();
  94898. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  94899. while (true) {
  94900. if (!_this.scanElse$1(ifIndentation)) {
  94901. lastClause = null;
  94902. break;
  94903. }
  94904. _this.whitespace$0();
  94905. if (_this.scanIdentifier$1("if")) {
  94906. _this.whitespace$0();
  94907. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  94908. } else {
  94909. lastClause = A.ElseClause$0(_this.children$1(0, child));
  94910. break;
  94911. }
  94912. }
  94913. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  94914. span = _this.scanner.spanFrom$1(start);
  94915. _this.whitespaceWithoutComments$0();
  94916. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  94917. },
  94918. _stylesheet0$_importRule$1(start) {
  94919. var argument, _this = this,
  94920. imports = A._setArrayType([], type$.JSArray_Import_2),
  94921. t1 = _this.scanner;
  94922. do {
  94923. _this.whitespace$0();
  94924. argument = _this.importArgument$0();
  94925. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
  94926. _this._stylesheet0$_disallowedAtRule$1(start);
  94927. imports.push(argument);
  94928. _this.whitespace$0();
  94929. } while (t1.scanChar$1(44));
  94930. _this.expectStatementSeparator$1("@import rule");
  94931. t1 = t1.spanFrom$1(start);
  94932. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  94933. },
  94934. importArgument$0() {
  94935. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  94936. t1 = _this.scanner,
  94937. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  94938. next = t1.peekChar$0();
  94939. if (next === 117 || next === 85) {
  94940. url = _this.dynamicUrl$0();
  94941. _this.whitespace$0();
  94942. modifiers = _this.tryImportModifiers$0();
  94943. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  94944. }
  94945. url = _this.string$0();
  94946. urlSpan = t1.spanFrom$1(start);
  94947. _this.whitespace$0();
  94948. modifiers = _this.tryImportModifiers$0();
  94949. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  94950. t2 = urlSpan;
  94951. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(start));
  94952. } else
  94953. try {
  94954. t1 = _this.parseImportUrl$1(url);
  94955. return new A.DynamicImport0(t1, urlSpan);
  94956. } catch (exception) {
  94957. t1 = A.unwrapException(exception);
  94958. if (type$.FormatException._is(t1)) {
  94959. innerError = t1;
  94960. stackTrace = A.getTraceFromException(exception);
  94961. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  94962. } else
  94963. throw exception;
  94964. }
  94965. },
  94966. parseImportUrl$1(url) {
  94967. var t1 = $.$get$windows();
  94968. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  94969. return t1.toUri$1(url).toString$0(0);
  94970. A.Uri_parse(url);
  94971. return url;
  94972. },
  94973. isPlainImportUrl$1(url) {
  94974. var first;
  94975. if (url.length < 5)
  94976. return false;
  94977. if (B.JSString_methods.endsWith$1(url, ".css"))
  94978. return true;
  94979. first = B.JSString_methods._codeUnitAt$1(url, 0);
  94980. if (first === 47)
  94981. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  94982. if (first !== 104)
  94983. return false;
  94984. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  94985. },
  94986. tryImportModifiers$0() {
  94987. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  94988. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  94989. return null;
  94990. t1 = _this.scanner;
  94991. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94992. t2 = new A.StringBuffer("");
  94993. t3 = A._setArrayType([], type$.JSArray_Object);
  94994. buffer = new A.InterpolationBuffer0(t2, t3);
  94995. for (; true;)
  94996. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  94997. if (!(t3.length === 0 && t2._contents.length === 0))
  94998. t2._contents += A.Primitives_stringFromCharCode(32);
  94999. identifier = _this.interpolatedIdentifier$0();
  95000. buffer.addInterpolation$1(identifier);
  95001. t4 = identifier.get$asPlain();
  95002. $name = t4 == null ? null : t4.toLowerCase();
  95003. if ($name !== "and" && t1.scanChar$1(40)) {
  95004. if ($name === "supports") {
  95005. query = _this._stylesheet0$_importSupportsQuery$0();
  95006. t4 = !(query instanceof A.SupportsDeclaration0);
  95007. if (t4)
  95008. t2._contents += A.Primitives_stringFromCharCode(40);
  95009. buffer._interpolation_buffer0$_flushText$0();
  95010. t3.push(new A.SupportsExpression0(query));
  95011. if (t4)
  95012. t2._contents += A.Primitives_stringFromCharCode(41);
  95013. } else {
  95014. t2._contents += A.Primitives_stringFromCharCode(40);
  95015. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  95016. t2._contents += A.Primitives_stringFromCharCode(41);
  95017. }
  95018. t1.expectChar$1(41);
  95019. _this.whitespace$0();
  95020. } else {
  95021. _this.whitespace$0();
  95022. if (t1.scanChar$1(44)) {
  95023. t2._contents += ", ";
  95024. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  95025. endPosition = t1._string_scanner$_position;
  95026. t4 = t1._sourceFile;
  95027. t5 = start.position;
  95028. t1 = new A._FileSpan(t4, t5, endPosition);
  95029. t1._FileSpan$3(t4, t5, endPosition);
  95030. t5 = type$.Object;
  95031. t4 = A.List_List$of(t3, true, t5);
  95032. t3 = t2._contents;
  95033. if (t3.length !== 0)
  95034. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  95035. result = A.List_List$from(t4, false, t5);
  95036. result.fixed$length = Array;
  95037. result.immutable$list = Array;
  95038. t2 = new A.Interpolation0(result, t1);
  95039. t2.Interpolation$20(t4, t1);
  95040. return t2;
  95041. }
  95042. }
  95043. } else if (t1.peekChar$0() === 40) {
  95044. if (!(t3.length === 0 && t2._contents.length === 0))
  95045. t2._contents += A.Primitives_stringFromCharCode(32);
  95046. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  95047. endPosition = t1._string_scanner$_position;
  95048. t1 = t1._sourceFile;
  95049. t4 = start.position;
  95050. t5 = new A._FileSpan(t1, t4, endPosition);
  95051. t5._FileSpan$3(t1, t4, endPosition);
  95052. t4 = type$.Object;
  95053. t3 = A.List_List$of(t3, true, t4);
  95054. t1 = t2._contents;
  95055. if (t1.length !== 0)
  95056. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  95057. result = A.List_List$from(t3, false, t4);
  95058. result.fixed$length = Array;
  95059. result.immutable$list = Array;
  95060. t1 = new A.Interpolation0(result, t5);
  95061. t1.Interpolation$20(t3, t5);
  95062. return t1;
  95063. } else {
  95064. endPosition = t1._string_scanner$_position;
  95065. t1 = t1._sourceFile;
  95066. t4 = start.position;
  95067. t5 = new A._FileSpan(t1, t4, endPosition);
  95068. t5._FileSpan$3(t1, t4, endPosition);
  95069. t4 = type$.Object;
  95070. t3 = A.List_List$of(t3, true, t4);
  95071. t1 = t2._contents;
  95072. if (t1.length !== 0)
  95073. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  95074. result = A.List_List$from(t3, false, t4);
  95075. result.fixed$length = Array;
  95076. result.immutable$list = Array;
  95077. t1 = new A.Interpolation0(result, t5);
  95078. t1.Interpolation$20(t3, t5);
  95079. return t1;
  95080. }
  95081. },
  95082. _stylesheet0$_importSupportsQuery$0() {
  95083. var t1, t2, $function, $name, _this = this;
  95084. if (_this.scanIdentifier$1("not")) {
  95085. _this.whitespace$0();
  95086. t1 = _this.scanner;
  95087. t2 = t1._string_scanner$_position;
  95088. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  95089. } else {
  95090. t1 = _this.scanner;
  95091. if (t1.peekChar$0() === 40)
  95092. return _this._stylesheet0$_supportsCondition$0();
  95093. else {
  95094. $function = _this._stylesheet0$_tryImportSupportsFunction$0();
  95095. if ($function != null)
  95096. return $function;
  95097. t2 = t1._string_scanner$_position;
  95098. $name = _this._stylesheet0$_expression$0();
  95099. t1.expectChar$1(58);
  95100. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  95101. }
  95102. }
  95103. },
  95104. _stylesheet0$_tryImportSupportsFunction$0() {
  95105. var t1, start, $name, value, _this = this;
  95106. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  95107. return null;
  95108. t1 = _this.scanner;
  95109. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95110. $name = _this.interpolatedIdentifier$0();
  95111. if (!t1.scanChar$1(40)) {
  95112. t1.set$state(start);
  95113. return null;
  95114. }
  95115. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  95116. t1.expectChar$1(41);
  95117. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  95118. },
  95119. _stylesheet0$_includeRule$1(start) {
  95120. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  95121. $name = _this.identifier$0(),
  95122. t1 = _this.scanner;
  95123. if (t1.scanChar$1(46)) {
  95124. name0 = _this._stylesheet0$_publicIdentifier$0();
  95125. namespace = $name;
  95126. $name = name0;
  95127. } else {
  95128. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  95129. namespace = _null;
  95130. }
  95131. _this.whitespace$0();
  95132. if (t1.peekChar$0() === 40)
  95133. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  95134. else {
  95135. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95136. t3 = t2.offset;
  95137. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  95138. }
  95139. _this.whitespace$0();
  95140. if (_this.scanIdentifier$1("using")) {
  95141. _this.whitespace$0();
  95142. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  95143. _this.whitespace$0();
  95144. } else
  95145. contentArguments = _null;
  95146. t2 = contentArguments == null;
  95147. if (!t2 || _this.lookingAtChildren$0()) {
  95148. if (t2) {
  95149. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95150. t3 = t2.offset;
  95151. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  95152. } else
  95153. contentArguments_ = contentArguments;
  95154. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  95155. _this._stylesheet0$_inContentBlock = true;
  95156. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  95157. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  95158. } else {
  95159. _this.expectStatementSeparator$0();
  95160. $content = _null;
  95161. }
  95162. t1 = t1.spanFrom$2(start, start);
  95163. t2 = $content == null ? $arguments : $content;
  95164. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  95165. },
  95166. mediaRule$1(start) {
  95167. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  95168. },
  95169. _stylesheet0$_mixinRule$1(start) {
  95170. var $name, t1, $arguments, t2, t3, _this = this,
  95171. precedingComment = _this.lastSilentComment;
  95172. _this.lastSilentComment = null;
  95173. $name = _this.identifier$1$normalize(true);
  95174. _this.whitespace$0();
  95175. t1 = _this.scanner;
  95176. if (t1.peekChar$0() === 40)
  95177. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  95178. else {
  95179. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95180. t3 = t2.offset;
  95181. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  95182. }
  95183. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  95184. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  95185. else if (_this._stylesheet0$_inControlDirective)
  95186. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  95187. _this.whitespace$0();
  95188. _this._stylesheet0$_inMixin = true;
  95189. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  95190. },
  95191. mozDocumentRule$2(start, $name) {
  95192. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  95193. t1 = _this.scanner,
  95194. t2 = t1._string_scanner$_position,
  95195. t3 = new A.StringBuffer(""),
  95196. t4 = A._setArrayType([], type$.JSArray_Object),
  95197. buffer = new A.InterpolationBuffer0(t3, t4);
  95198. _box_0.needsDeprecationWarning = false;
  95199. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  95200. if (t1.peekChar$0() === 35) {
  95201. t7 = _this.singleInterpolation$0();
  95202. buffer._interpolation_buffer0$_flushText$0();
  95203. t4.push(t7);
  95204. _box_0.needsDeprecationWarning = true;
  95205. } else {
  95206. t7 = t1._string_scanner$_position;
  95207. identifier = _this.identifier$0();
  95208. switch (identifier) {
  95209. case "url":
  95210. case "url-prefix":
  95211. case "domain":
  95212. contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  95213. if (contents != null)
  95214. buffer.addInterpolation$1(contents);
  95215. else {
  95216. t1.expectChar$1(40);
  95217. _this.whitespace$0();
  95218. argument = _this.interpolatedString$0();
  95219. t1.expectChar$1(41);
  95220. t7 = t3._contents += identifier;
  95221. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  95222. buffer.addInterpolation$1(argument.asInterpolation$0());
  95223. t3._contents += A.Primitives_stringFromCharCode(41);
  95224. }
  95225. t7 = t3._contents;
  95226. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  95227. if (!B.JSString_methods.endsWith$1(trailing, "url-prefix()") && !B.JSString_methods.endsWith$1(trailing, "url-prefix('')") && !B.JSString_methods.endsWith$1(trailing, 'url-prefix("")'))
  95228. _box_0.needsDeprecationWarning = true;
  95229. break;
  95230. case "regexp":
  95231. t3._contents += "regexp(";
  95232. t1.expectChar$1(40);
  95233. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  95234. t1.expectChar$1(41);
  95235. t3._contents += A.Primitives_stringFromCharCode(41);
  95236. _box_0.needsDeprecationWarning = true;
  95237. break;
  95238. default:
  95239. endPosition = t1._string_scanner$_position;
  95240. t8 = t1._sourceFile;
  95241. t9 = new A._FileSpan(t8, t7, endPosition);
  95242. t9._FileSpan$3(t8, t7, endPosition);
  95243. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  95244. }
  95245. }
  95246. _this.whitespace$0();
  95247. if (!t1.scanChar$1(44))
  95248. break;
  95249. t3._contents += A.Primitives_stringFromCharCode(44);
  95250. start0 = t1._string_scanner$_position;
  95251. t5.call$0();
  95252. end = t1._string_scanner$_position;
  95253. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  95254. }
  95255. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure0(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  95256. },
  95257. supportsRule$1(start) {
  95258. var _this = this,
  95259. condition = _this._stylesheet0$_supportsCondition$0();
  95260. _this.whitespace$0();
  95261. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  95262. },
  95263. _stylesheet0$_useNamespace$2(url, start) {
  95264. var namespace, basename, dot, t1, exception, _this = this;
  95265. if (_this.scanIdentifier$1("as")) {
  95266. _this.whitespace$0();
  95267. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  95268. }
  95269. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  95270. dot = B.JSString_methods.indexOf$1(basename, ".");
  95271. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  95272. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  95273. try {
  95274. t1 = A.SpanScanner$(namespace, null);
  95275. t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
  95276. return t1;
  95277. } catch (exception) {
  95278. if (A.unwrapException(exception) instanceof A.SassFormatException0)
  95279. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  95280. else
  95281. throw exception;
  95282. }
  95283. },
  95284. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  95285. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  95286. if (!_this.scanIdentifier$1("with"))
  95287. return null;
  95288. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95289. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  95290. _this.whitespace$0();
  95291. t1 = _this.scanner;
  95292. t1.expectChar$1(40);
  95293. for (t2 = t1.string; true;) {
  95294. _this.whitespace$0();
  95295. t3 = t1._string_scanner$_position;
  95296. t1.expectChar$1(36);
  95297. $name = _this.identifier$1$normalize(true);
  95298. _this.whitespace$0();
  95299. t1.expectChar$1(58);
  95300. _this.whitespace$0();
  95301. expression = _this.expressionUntilComma$0();
  95302. t4 = t1._string_scanner$_position;
  95303. if (allowGuarded && t1.scanChar$1(33))
  95304. if (_this.identifier$0() === "default") {
  95305. _this.whitespace$0();
  95306. guarded = true;
  95307. } else {
  95308. endPosition = t1._string_scanner$_position;
  95309. t5 = t1._sourceFile;
  95310. t6 = new A._FileSpan(t5, t4, endPosition);
  95311. t6._FileSpan$3(t5, t4, endPosition);
  95312. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  95313. guarded = false;
  95314. }
  95315. else
  95316. guarded = false;
  95317. endPosition = t1._string_scanner$_position;
  95318. t4 = t1._sourceFile;
  95319. span = new A._FileSpan(t4, t3, endPosition);
  95320. span._FileSpan$3(t4, t3, endPosition);
  95321. if (variableNames.contains$1(0, $name))
  95322. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  95323. variableNames.add$1(0, $name);
  95324. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  95325. if (!t1.scanChar$1(44))
  95326. break;
  95327. _this.whitespace$0();
  95328. if (!_this._stylesheet0$_lookingAtExpression$0())
  95329. break;
  95330. }
  95331. t1.expectChar$1(41);
  95332. return configuration;
  95333. },
  95334. _stylesheet0$_configuration$0() {
  95335. return this._stylesheet0$_configuration$1$allowGuarded(false);
  95336. },
  95337. _stylesheet0$_warnRule$1(start) {
  95338. var value = this._stylesheet0$_expression$0();
  95339. this.expectStatementSeparator$1("@warn rule");
  95340. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  95341. },
  95342. _stylesheet0$_whileRule$2(start, child) {
  95343. var _this = this,
  95344. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  95345. _this._stylesheet0$_inControlDirective = true;
  95346. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  95347. },
  95348. unknownAtRule$2(start, $name) {
  95349. var t2, t3, rule, _this = this, t1 = {},
  95350. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  95351. _this._stylesheet0$_inUnknownAtRule = true;
  95352. t1.value = null;
  95353. t2 = _this.scanner;
  95354. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  95355. if (_this.lookingAtChildren$0())
  95356. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  95357. else {
  95358. _this.expectStatementSeparator$0();
  95359. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  95360. }
  95361. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  95362. return rule;
  95363. },
  95364. _stylesheet0$_disallowedAtRule$1(start) {
  95365. this.almostAnyValue$0();
  95366. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  95367. },
  95368. _stylesheet0$_argumentDeclaration$0() {
  95369. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  95370. t1 = _this.scanner,
  95371. t2 = t1._string_scanner$_position;
  95372. t1.expectChar$1(40);
  95373. _this.whitespace$0();
  95374. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  95375. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95376. t3 = t1.string;
  95377. while (true) {
  95378. if (!(t1.peekChar$0() === 36)) {
  95379. restArgument = null;
  95380. break;
  95381. }
  95382. t4 = t1._string_scanner$_position;
  95383. t1.expectChar$1(36);
  95384. $name = _this.identifier$1$normalize(true);
  95385. _this.whitespace$0();
  95386. if (t1.scanChar$1(58)) {
  95387. _this.whitespace$0();
  95388. defaultValue = _this.expressionUntilComma$0();
  95389. } else {
  95390. if (t1.scanChar$1(46)) {
  95391. t1.expectChar$1(46);
  95392. t1.expectChar$1(46);
  95393. _this.whitespace$0();
  95394. restArgument = $name;
  95395. break;
  95396. }
  95397. defaultValue = null;
  95398. }
  95399. endPosition = t1._string_scanner$_position;
  95400. t5 = t1._sourceFile;
  95401. t6 = new A._FileSpan(t5, t4, endPosition);
  95402. t6._FileSpan$3(t5, t4, endPosition);
  95403. $arguments.push(new A.Argument0($name, defaultValue, t6));
  95404. if (!named.add$1(0, $name))
  95405. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  95406. if (!t1.scanChar$1(44)) {
  95407. restArgument = null;
  95408. break;
  95409. }
  95410. _this.whitespace$0();
  95411. }
  95412. t1.expectChar$1(41);
  95413. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  95414. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  95415. },
  95416. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  95417. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  95418. t1 = _this.scanner,
  95419. t2 = t1._string_scanner$_position;
  95420. t1.expectChar$1(40);
  95421. _this.whitespace$0();
  95422. positional = A._setArrayType([], type$.JSArray_Expression_2);
  95423. t3 = type$.String;
  95424. t4 = type$.Expression_2;
  95425. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  95426. t5 = !mixin;
  95427. t6 = t1.string;
  95428. rest = _null;
  95429. while (true) {
  95430. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  95431. keywordRest = _null;
  95432. break;
  95433. }
  95434. expression = _this.expressionUntilComma$1$singleEquals(t5);
  95435. _this.whitespace$0();
  95436. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  95437. _this.whitespace$0();
  95438. t7 = expression.name;
  95439. if (named.containsKey$1(t7))
  95440. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  95441. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  95442. } else if (t1.scanChar$1(46)) {
  95443. t1.expectChar$1(46);
  95444. t1.expectChar$1(46);
  95445. if (rest != null) {
  95446. _this.whitespace$0();
  95447. keywordRest = expression;
  95448. break;
  95449. }
  95450. rest = expression;
  95451. } else if (named.__js_helper$_length !== 0)
  95452. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  95453. else
  95454. positional.push(expression);
  95455. _this.whitespace$0();
  95456. if (!t1.scanChar$1(44)) {
  95457. keywordRest = _null;
  95458. break;
  95459. }
  95460. _this.whitespace$0();
  95461. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  95462. t5 = t1._sourceFile;
  95463. t6 = t1._string_scanner$_position;
  95464. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  95465. t7 = new A._FileSpan(t5, t6, t6);
  95466. t7._FileSpan$3(t5, t6, t6);
  95467. t6 = A._setArrayType([""], type$.JSArray_Object);
  95468. result = A.List_List$from(t6, false, type$.Object);
  95469. result.fixed$length = Array;
  95470. result.immutable$list = Array;
  95471. t5 = new A.Interpolation0(result, t7);
  95472. t5.Interpolation$20(t6, t7);
  95473. positional.push(new A.StringExpression0(t5, false));
  95474. keywordRest = _null;
  95475. break;
  95476. }
  95477. }
  95478. t1.expectChar$1(41);
  95479. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  95480. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  95481. },
  95482. _stylesheet0$_argumentInvocation$0() {
  95483. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  95484. },
  95485. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  95486. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  95487. },
  95488. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  95489. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  95490. },
  95491. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  95492. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  95493. _s20_ = "Expected expression.",
  95494. _box_0 = {},
  95495. t1 = until != null;
  95496. if (t1 && until.call$0())
  95497. _this.scanner.error$1(0, _s20_);
  95498. if (bracketList) {
  95499. t2 = _this.scanner;
  95500. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  95501. t2.expectChar$1(91);
  95502. _this.whitespace$0();
  95503. if (t2.scanChar$1(93)) {
  95504. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  95505. t2 = t2.spanFrom$1(beforeBracket);
  95506. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  95507. }
  95508. } else
  95509. beforeBracket = null;
  95510. t2 = _this.scanner;
  95511. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  95512. wasInParentheses = _this._stylesheet0$_inParentheses;
  95513. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  95514. _box_0.allowSlash = true;
  95515. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  95516. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  95517. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  95518. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  95519. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  95520. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  95521. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  95522. $label0$0:
  95523. for (t3 = type$.JSArray_Expression_2; true;) {
  95524. _this.whitespace$0();
  95525. if (t1 && until.call$0())
  95526. break $label0$0;
  95527. first = t2.peekChar$0();
  95528. switch (first) {
  95529. case 40:
  95530. addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
  95531. break;
  95532. case 91:
  95533. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  95534. break;
  95535. case 36:
  95536. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  95537. break;
  95538. case 38:
  95539. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  95540. break;
  95541. case 39:
  95542. case 34:
  95543. addSingleExpression.call$1(_this.interpolatedString$0());
  95544. break;
  95545. case 35:
  95546. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  95547. break;
  95548. case 61:
  95549. t2.readChar$0();
  95550. if (singleEquals && t2.peekChar$0() !== 61)
  95551. addOperator.call$1(B.BinaryOperator_axY0);
  95552. else {
  95553. t2.expectChar$1(61);
  95554. addOperator.call$1(B.BinaryOperator_nZh0);
  95555. }
  95556. break;
  95557. case 33:
  95558. next = t2.peekChar$1(1);
  95559. if (next === 61) {
  95560. t2.readChar$0();
  95561. t2.readChar$0();
  95562. addOperator.call$1(B.BinaryOperator_Vr90);
  95563. } else {
  95564. if (next != null)
  95565. if ((next | 32) >>> 0 !== 105)
  95566. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  95567. else
  95568. t4 = true;
  95569. else
  95570. t4 = true;
  95571. if (t4)
  95572. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  95573. else
  95574. break $label0$0;
  95575. }
  95576. break;
  95577. case 60:
  95578. t2.readChar$0();
  95579. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oqF0 : B.BinaryOperator_apg0);
  95580. break;
  95581. case 62:
  95582. t2.readChar$0();
  95583. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_Wma0 : B.BinaryOperator_cw10);
  95584. break;
  95585. case 42:
  95586. t2.readChar$0();
  95587. addOperator.call$1(B.BinaryOperator_6pl0);
  95588. break;
  95589. case 43:
  95590. if (_box_0.singleExpression_ == null)
  95591. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95592. else {
  95593. t2.readChar$0();
  95594. addOperator.call$1(B.BinaryOperator_qbf0);
  95595. }
  95596. break;
  95597. case 45:
  95598. next = t2.peekChar$1(1);
  95599. if (next != null && next >= 48 && next <= 57 || next === 46)
  95600. if (_box_0.singleExpression_ != null) {
  95601. t4 = t2.peekChar$1(-1);
  95602. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  95603. } else
  95604. t4 = true;
  95605. else
  95606. t4 = false;
  95607. if (t4)
  95608. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95609. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  95610. addSingleExpression.call$1(_this.identifierLike$0());
  95611. else if (_box_0.singleExpression_ == null)
  95612. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95613. else {
  95614. t2.readChar$0();
  95615. addOperator.call$1(B.BinaryOperator_KlB0);
  95616. }
  95617. break;
  95618. case 47:
  95619. if (_box_0.singleExpression_ == null)
  95620. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95621. else {
  95622. t2.readChar$0();
  95623. addOperator.call$1(B.BinaryOperator_qpm0);
  95624. }
  95625. break;
  95626. case 37:
  95627. t2.readChar$0();
  95628. addOperator.call$1(B.BinaryOperator_PHH0);
  95629. break;
  95630. case 48:
  95631. case 49:
  95632. case 50:
  95633. case 51:
  95634. case 52:
  95635. case 53:
  95636. case 54:
  95637. case 55:
  95638. case 56:
  95639. case 57:
  95640. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95641. break;
  95642. case 46:
  95643. if (t2.peekChar$1(1) === 46)
  95644. break $label0$0;
  95645. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95646. break;
  95647. case 97:
  95648. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  95649. addOperator.call$1(B.BinaryOperator_and_and_2_and0);
  95650. else
  95651. addSingleExpression.call$1(_this.identifierLike$0());
  95652. break;
  95653. case 111:
  95654. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  95655. addOperator.call$1(B.BinaryOperator_or_or_1_or0);
  95656. else
  95657. addSingleExpression.call$1(_this.identifierLike$0());
  95658. break;
  95659. case 117:
  95660. case 85:
  95661. if (t2.peekChar$1(1) === 43)
  95662. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  95663. else
  95664. addSingleExpression.call$1(_this.identifierLike$0());
  95665. break;
  95666. case 98:
  95667. case 99:
  95668. case 100:
  95669. case 101:
  95670. case 102:
  95671. case 103:
  95672. case 104:
  95673. case 105:
  95674. case 106:
  95675. case 107:
  95676. case 108:
  95677. case 109:
  95678. case 110:
  95679. case 112:
  95680. case 113:
  95681. case 114:
  95682. case 115:
  95683. case 116:
  95684. case 118:
  95685. case 119:
  95686. case 120:
  95687. case 121:
  95688. case 122:
  95689. case 65:
  95690. case 66:
  95691. case 67:
  95692. case 68:
  95693. case 69:
  95694. case 70:
  95695. case 71:
  95696. case 72:
  95697. case 73:
  95698. case 74:
  95699. case 75:
  95700. case 76:
  95701. case 77:
  95702. case 78:
  95703. case 79:
  95704. case 80:
  95705. case 81:
  95706. case 82:
  95707. case 83:
  95708. case 84:
  95709. case 86:
  95710. case 87:
  95711. case 88:
  95712. case 89:
  95713. case 90:
  95714. case 95:
  95715. case 92:
  95716. addSingleExpression.call$1(_this.identifierLike$0());
  95717. break;
  95718. case 44:
  95719. if (_this._stylesheet0$_inParentheses) {
  95720. _this._stylesheet0$_inParentheses = false;
  95721. if (_box_0.allowSlash) {
  95722. resetState.call$0();
  95723. break;
  95724. }
  95725. }
  95726. commaExpressions = _box_0.commaExpressions_;
  95727. if (commaExpressions == null)
  95728. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  95729. if (_box_0.singleExpression_ == null)
  95730. t2.error$1(0, _s20_);
  95731. resolveSpaceExpressions.call$0();
  95732. t4 = _box_0.singleExpression_;
  95733. t4.toString;
  95734. commaExpressions.push(t4);
  95735. t2.readChar$0();
  95736. _box_0.allowSlash = true;
  95737. _box_0.singleExpression_ = null;
  95738. break;
  95739. default:
  95740. if (first != null && first >= 128) {
  95741. addSingleExpression.call$1(_this.identifierLike$0());
  95742. break;
  95743. } else
  95744. break $label0$0;
  95745. }
  95746. }
  95747. if (bracketList)
  95748. t2.expectChar$1(93);
  95749. commaExpressions = _box_0.commaExpressions_;
  95750. spaceExpressions = _box_0.spaceExpressions_;
  95751. if (commaExpressions != null) {
  95752. resolveSpaceExpressions.call$0();
  95753. _this._stylesheet0$_inParentheses = wasInParentheses;
  95754. singleExpression = _box_0.singleExpression_;
  95755. if (singleExpression != null)
  95756. commaExpressions.push(singleExpression);
  95757. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  95758. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  95759. } else if (bracketList && spaceExpressions != null) {
  95760. resolveOperations.call$0();
  95761. t1 = _box_0.singleExpression_;
  95762. t1.toString;
  95763. spaceExpressions.push(t1);
  95764. beforeBracket.toString;
  95765. t2 = t2.spanFrom$1(beforeBracket);
  95766. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  95767. } else {
  95768. resolveSpaceExpressions.call$0();
  95769. if (bracketList) {
  95770. t1 = _box_0.singleExpression_;
  95771. t1.toString;
  95772. t3 = A._setArrayType([t1], t3);
  95773. beforeBracket.toString;
  95774. t2 = t2.spanFrom$1(beforeBracket);
  95775. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  95776. }
  95777. t1 = _box_0.singleExpression_;
  95778. t1.toString;
  95779. return t1;
  95780. }
  95781. },
  95782. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  95783. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  95784. },
  95785. _stylesheet0$_expression$1$bracketList(bracketList) {
  95786. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  95787. },
  95788. _stylesheet0$_expression$0() {
  95789. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  95790. },
  95791. _stylesheet0$_expression$1$until(until) {
  95792. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  95793. },
  95794. expressionUntilComma$1$singleEquals(singleEquals) {
  95795. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  95796. },
  95797. expressionUntilComma$0() {
  95798. return this.expressionUntilComma$1$singleEquals(false);
  95799. },
  95800. _stylesheet0$_isSlashOperand$1(expression) {
  95801. var t1;
  95802. if (!(expression instanceof A.NumberExpression0))
  95803. if (!(expression instanceof A.CalculationExpression0))
  95804. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  95805. else
  95806. t1 = true;
  95807. else
  95808. t1 = true;
  95809. return t1;
  95810. },
  95811. _stylesheet0$_singleExpression$0() {
  95812. var next, _this = this,
  95813. t1 = _this.scanner,
  95814. first = t1.peekChar$0();
  95815. switch (first) {
  95816. case 40:
  95817. return _this._stylesheet0$_parentheses$0();
  95818. case 47:
  95819. return _this._stylesheet0$_unaryOperation$0();
  95820. case 46:
  95821. return _this._stylesheet0$_number$0();
  95822. case 91:
  95823. return _this._stylesheet0$_expression$1$bracketList(true);
  95824. case 36:
  95825. return _this._stylesheet0$_variable$0();
  95826. case 38:
  95827. return _this._stylesheet0$_selector$0();
  95828. case 39:
  95829. case 34:
  95830. return _this.interpolatedString$0();
  95831. case 35:
  95832. return _this._stylesheet0$_hashExpression$0();
  95833. case 43:
  95834. next = t1.peekChar$1(1);
  95835. return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  95836. case 45:
  95837. return _this._stylesheet0$_minusExpression$0();
  95838. case 33:
  95839. return _this._stylesheet0$_importantExpression$0();
  95840. case 117:
  95841. case 85:
  95842. if (t1.peekChar$1(1) === 43)
  95843. return _this._stylesheet0$_unicodeRange$0();
  95844. else
  95845. return _this.identifierLike$0();
  95846. case 48:
  95847. case 49:
  95848. case 50:
  95849. case 51:
  95850. case 52:
  95851. case 53:
  95852. case 54:
  95853. case 55:
  95854. case 56:
  95855. case 57:
  95856. return _this._stylesheet0$_number$0();
  95857. case 97:
  95858. case 98:
  95859. case 99:
  95860. case 100:
  95861. case 101:
  95862. case 102:
  95863. case 103:
  95864. case 104:
  95865. case 105:
  95866. case 106:
  95867. case 107:
  95868. case 108:
  95869. case 109:
  95870. case 110:
  95871. case 111:
  95872. case 112:
  95873. case 113:
  95874. case 114:
  95875. case 115:
  95876. case 116:
  95877. case 118:
  95878. case 119:
  95879. case 120:
  95880. case 121:
  95881. case 122:
  95882. case 65:
  95883. case 66:
  95884. case 67:
  95885. case 68:
  95886. case 69:
  95887. case 70:
  95888. case 71:
  95889. case 72:
  95890. case 73:
  95891. case 74:
  95892. case 75:
  95893. case 76:
  95894. case 77:
  95895. case 78:
  95896. case 79:
  95897. case 80:
  95898. case 81:
  95899. case 82:
  95900. case 83:
  95901. case 84:
  95902. case 86:
  95903. case 87:
  95904. case 88:
  95905. case 89:
  95906. case 90:
  95907. case 95:
  95908. case 92:
  95909. return _this.identifierLike$0();
  95910. default:
  95911. if (first != null && first >= 128)
  95912. return _this.identifierLike$0();
  95913. t1.error$1(0, "Expected expression.");
  95914. }
  95915. },
  95916. _stylesheet0$_parentheses$0() {
  95917. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  95918. if (_this.get$plainCss())
  95919. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  95920. wasInParentheses = _this._stylesheet0$_inParentheses;
  95921. _this._stylesheet0$_inParentheses = true;
  95922. try {
  95923. t1 = _this.scanner;
  95924. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95925. t1.expectChar$1(40);
  95926. _this.whitespace$0();
  95927. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  95928. t1.expectChar$1(41);
  95929. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  95930. t1 = t1.spanFrom$1(start);
  95931. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  95932. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  95933. }
  95934. first = _this.expressionUntilComma$0();
  95935. if (t1.scanChar$1(58)) {
  95936. _this.whitespace$0();
  95937. t1 = _this._stylesheet0$_map$2(first, start);
  95938. return t1;
  95939. }
  95940. if (!t1.scanChar$1(44)) {
  95941. t1.expectChar$1(41);
  95942. t1 = t1.spanFrom$1(start);
  95943. return new A.ParenthesizedExpression0(first, t1);
  95944. }
  95945. _this.whitespace$0();
  95946. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  95947. for (; true;) {
  95948. if (!_this._stylesheet0$_lookingAtExpression$0())
  95949. break;
  95950. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  95951. if (!t1.scanChar$1(44))
  95952. break;
  95953. _this.whitespace$0();
  95954. }
  95955. t1.expectChar$1(41);
  95956. t1 = t1.spanFrom$1(start);
  95957. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  95958. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  95959. } finally {
  95960. _this._stylesheet0$_inParentheses = wasInParentheses;
  95961. }
  95962. },
  95963. _stylesheet0$_map$2(first, start) {
  95964. var t2, key, _this = this,
  95965. t1 = type$.Tuple2_Expression_Expression_2,
  95966. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
  95967. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  95968. _this.whitespace$0();
  95969. if (!_this._stylesheet0$_lookingAtExpression$0())
  95970. break;
  95971. key = _this.expressionUntilComma$0();
  95972. t2.expectChar$1(58);
  95973. _this.whitespace$0();
  95974. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  95975. }
  95976. t2.expectChar$1(41);
  95977. t2 = t2.spanFrom$1(start);
  95978. return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
  95979. },
  95980. _stylesheet0$_hashExpression$0() {
  95981. var start, first, t2, identifier, buffer, _this = this,
  95982. t1 = _this.scanner;
  95983. if (t1.peekChar$1(1) === 123)
  95984. return _this.identifierLike$0();
  95985. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95986. t1.expectChar$1(35);
  95987. first = t1.peekChar$0();
  95988. if (first != null && A.isDigit0(first))
  95989. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  95990. t2 = t1._string_scanner$_position;
  95991. identifier = _this.interpolatedIdentifier$0();
  95992. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  95993. t1.set$state(new A._SpanScannerState(t1, t2));
  95994. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  95995. }
  95996. t2 = new A.StringBuffer("");
  95997. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  95998. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  95999. buffer.addInterpolation$1(identifier);
  96000. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  96001. },
  96002. _stylesheet0$_hexColorContents$1(start) {
  96003. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  96004. digit1 = _this._stylesheet0$_hexDigit$0(),
  96005. digit2 = _this._stylesheet0$_hexDigit$0(),
  96006. digit3 = _this._stylesheet0$_hexDigit$0(),
  96007. t1 = _this.scanner;
  96008. if (!A.isHex0(t1.peekChar$0())) {
  96009. red = (digit1 << 4 >>> 0) + digit1;
  96010. green = (digit2 << 4 >>> 0) + digit2;
  96011. blue = (digit3 << 4 >>> 0) + digit3;
  96012. alpha = null;
  96013. } else {
  96014. digit4 = _this._stylesheet0$_hexDigit$0();
  96015. t2 = digit1 << 4 >>> 0;
  96016. t3 = digit3 << 4 >>> 0;
  96017. if (!A.isHex0(t1.peekChar$0())) {
  96018. red = t2 + digit1;
  96019. green = (digit2 << 4 >>> 0) + digit2;
  96020. blue = t3 + digit3;
  96021. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  96022. } else {
  96023. red = t2 + digit2;
  96024. green = t3 + digit4;
  96025. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  96026. alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  96027. }
  96028. }
  96029. return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  96030. },
  96031. _stylesheet0$_isHexColor$1(interpolation) {
  96032. var t1,
  96033. plain = interpolation.get$asPlain();
  96034. if (plain == null)
  96035. return false;
  96036. t1 = plain.length;
  96037. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  96038. return false;
  96039. t1 = new A.CodeUnits(plain);
  96040. return t1.every$1(t1, A.character0__isHex$closure());
  96041. },
  96042. _stylesheet0$_hexDigit$0() {
  96043. var t1 = this.scanner,
  96044. char = t1.peekChar$0();
  96045. if (char == null || !A.isHex0(char))
  96046. t1.error$1(0, "Expected hex digit.");
  96047. return A.asHex0(t1.readChar$0());
  96048. },
  96049. _stylesheet0$_minusExpression$0() {
  96050. var _this = this,
  96051. next = _this.scanner.peekChar$1(1);
  96052. if (A.isDigit0(next) || next === 46)
  96053. return _this._stylesheet0$_number$0();
  96054. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  96055. return _this.identifierLike$0();
  96056. return _this._stylesheet0$_unaryOperation$0();
  96057. },
  96058. _stylesheet0$_importantExpression$0() {
  96059. var t1 = this.scanner,
  96060. t2 = t1._string_scanner$_position;
  96061. t1.readChar$0();
  96062. this.whitespace$0();
  96063. this.expectIdentifier$1("important");
  96064. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  96065. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  96066. },
  96067. _stylesheet0$_unaryOperation$0() {
  96068. var _this = this,
  96069. t1 = _this.scanner,
  96070. t2 = t1._string_scanner$_position,
  96071. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  96072. if (operator == null)
  96073. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  96074. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  96075. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  96076. _this.whitespace$0();
  96077. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96078. },
  96079. _stylesheet0$_unaryOperatorFor$1(character) {
  96080. switch (character) {
  96081. case 43:
  96082. return B.UnaryOperator_gg40;
  96083. case 45:
  96084. return B.UnaryOperator_TLI0;
  96085. case 47:
  96086. return B.UnaryOperator_Ix10;
  96087. default:
  96088. return null;
  96089. }
  96090. },
  96091. _stylesheet0$_number$0() {
  96092. var number, unit, t3, _this = this,
  96093. t1 = _this.scanner,
  96094. t2 = t1._string_scanner$_position,
  96095. first = t1.peekChar$0();
  96096. if (first === 43 || first === 45)
  96097. t1.readChar$0();
  96098. if (t1.peekChar$0() !== 46)
  96099. _this._stylesheet0$_consumeNaturalNumber$0();
  96100. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
  96101. _this._stylesheet0$_tryExponent$0();
  96102. number = A.double_parse(t1.substring$1(0, t2));
  96103. if (t1.scanChar$1(37))
  96104. unit = "%";
  96105. else {
  96106. if (_this.lookingAtIdentifier$0())
  96107. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  96108. else
  96109. t3 = false;
  96110. unit = t3 ? _this.identifier$1$unit(true) : null;
  96111. }
  96112. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96113. },
  96114. _stylesheet0$_consumeNaturalNumber$0() {
  96115. var t2,
  96116. t1 = this.scanner;
  96117. if (!A.isDigit0(t1.readChar$0()))
  96118. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  96119. while (true) {
  96120. t2 = t1.peekChar$0();
  96121. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96122. break;
  96123. t1.readChar$0();
  96124. }
  96125. },
  96126. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  96127. var t2,
  96128. t1 = this.scanner;
  96129. if (t1.peekChar$0() !== 46)
  96130. return;
  96131. if (!A.isDigit0(t1.peekChar$1(1))) {
  96132. if (allowTrailingDot)
  96133. return;
  96134. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  96135. }
  96136. t1.readChar$0();
  96137. while (true) {
  96138. t2 = t1.peekChar$0();
  96139. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96140. break;
  96141. t1.readChar$0();
  96142. }
  96143. },
  96144. _stylesheet0$_tryExponent$0() {
  96145. var next, t2,
  96146. t1 = this.scanner,
  96147. first = t1.peekChar$0();
  96148. if (first !== 101 && first !== 69)
  96149. return;
  96150. next = t1.peekChar$1(1);
  96151. if (!A.isDigit0(next) && next !== 45 && next !== 43)
  96152. return;
  96153. t1.readChar$0();
  96154. if (next === 43 || next === 45)
  96155. t1.readChar$0();
  96156. if (!A.isDigit0(t1.peekChar$0()))
  96157. t1.error$1(0, "Expected digit.");
  96158. while (true) {
  96159. t2 = t1.peekChar$0();
  96160. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96161. break;
  96162. t1.readChar$0();
  96163. }
  96164. },
  96165. _stylesheet0$_unicodeRange$0() {
  96166. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  96167. _s26_ = "Expected at most 6 digits.",
  96168. t1 = _this.scanner,
  96169. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96170. _this.expectIdentChar$1(117);
  96171. t1.expectChar$1(43);
  96172. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  96173. ++firstRangeLength;
  96174. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  96175. ++firstRangeLength;
  96176. if (firstRangeLength === 0)
  96177. t1.error$1(0, 'Expected hex digit or "?".');
  96178. else if (firstRangeLength > 6)
  96179. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  96180. else if (hasQuestionMark) {
  96181. t2 = t1.substring$1(0, start.position);
  96182. t1 = t1.spanFrom$1(start);
  96183. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  96184. }
  96185. if (t1.scanChar$1(45)) {
  96186. t2 = t1._string_scanner$_position;
  96187. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  96188. ++secondRangeLength;
  96189. if (secondRangeLength === 0)
  96190. t1.error$1(0, "Expected hex digit.");
  96191. else if (secondRangeLength > 6)
  96192. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96193. }
  96194. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  96195. t1.error$1(0, "Expected end of identifier.");
  96196. t2 = t1.substring$1(0, start.position);
  96197. t1 = t1.spanFrom$1(start);
  96198. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  96199. },
  96200. _stylesheet0$_variable$0() {
  96201. var _this = this,
  96202. t1 = _this.scanner,
  96203. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96204. $name = _this.variableName$0();
  96205. if (_this.get$plainCss())
  96206. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  96207. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  96208. },
  96209. _stylesheet0$_selector$0() {
  96210. var t1, start, _this = this;
  96211. if (_this.get$plainCss())
  96212. _this.scanner.error$2$length(0, string$.The_pa, 1);
  96213. t1 = _this.scanner;
  96214. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96215. t1.expectChar$1(38);
  96216. if (t1.scanChar$1(38)) {
  96217. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  96218. t1.set$position(t1._string_scanner$_position - 1);
  96219. }
  96220. return new A.SelectorExpression0(t1.spanFrom$1(start));
  96221. },
  96222. interpolatedString$0() {
  96223. var t3, t4, buffer, next, second, t5,
  96224. t1 = this.scanner,
  96225. t2 = t1._string_scanner$_position,
  96226. quote = t1.readChar$0();
  96227. if (quote !== 39 && quote !== 34)
  96228. t1.error$2$position(0, "Expected string.", t2);
  96229. t3 = new A.StringBuffer("");
  96230. t4 = A._setArrayType([], type$.JSArray_Object);
  96231. buffer = new A.InterpolationBuffer0(t3, t4);
  96232. for (; true;) {
  96233. next = t1.peekChar$0();
  96234. if (next === quote) {
  96235. t1.readChar$0();
  96236. break;
  96237. } else if (next == null || next === 10 || next === 13 || next === 12)
  96238. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  96239. else if (next === 92) {
  96240. second = t1.peekChar$1(1);
  96241. if (second === 10 || second === 13 || second === 12) {
  96242. t1.readChar$0();
  96243. t1.readChar$0();
  96244. if (second === 13)
  96245. t1.scanChar$1(10);
  96246. } else
  96247. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  96248. } else if (next === 35)
  96249. if (t1.peekChar$1(1) === 123) {
  96250. t5 = this.singleInterpolation$0();
  96251. buffer._interpolation_buffer0$_flushText$0();
  96252. t4.push(t5);
  96253. } else
  96254. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96255. else
  96256. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96257. }
  96258. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  96259. },
  96260. identifierLike$0() {
  96261. var invocation, expression, color, specialFunction, _this = this,
  96262. t1 = _this.scanner,
  96263. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96264. identifier = _this.interpolatedIdentifier$0(),
  96265. plain = identifier.get$asPlain(),
  96266. lower = A._Cell$(),
  96267. t2 = plain == null,
  96268. t3 = !t2;
  96269. if (t3) {
  96270. if (plain === "if" && t1.peekChar$0() === 40) {
  96271. invocation = _this._stylesheet0$_argumentInvocation$0();
  96272. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  96273. } else if (plain === "not") {
  96274. _this.whitespace$0();
  96275. expression = _this._stylesheet0$_singleExpression$0();
  96276. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  96277. }
  96278. lower._value = plain.toLowerCase();
  96279. if (t1.peekChar$0() !== 40) {
  96280. switch (plain) {
  96281. case "false":
  96282. return new A.BooleanExpression0(false, identifier.span);
  96283. case "null":
  96284. return new A.NullExpression0(identifier.span);
  96285. case "true":
  96286. return new A.BooleanExpression0(true, identifier.span);
  96287. }
  96288. color = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  96289. if (color != null) {
  96290. t1 = identifier.span;
  96291. return new A.ColorExpression0(A.SassColor$rgbInternal0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
  96292. }
  96293. }
  96294. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  96295. if (specialFunction != null)
  96296. return specialFunction;
  96297. }
  96298. switch (t1.peekChar$0()) {
  96299. case 46:
  96300. if (t1.peekChar$1(1) === 46)
  96301. return new A.StringExpression0(identifier, false);
  96302. t1.readChar$0();
  96303. if (t3)
  96304. return _this.namespacedExpression$2(plain, start);
  96305. _this.error$2(0, string$.Interpn, identifier.span);
  96306. break;
  96307. case 40:
  96308. if (t2)
  96309. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96310. else
  96311. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  96312. default:
  96313. return new A.StringExpression0(identifier, false);
  96314. }
  96315. },
  96316. namespacedExpression$2(namespace, start) {
  96317. var $name, _this = this,
  96318. t1 = _this.scanner;
  96319. if (t1.peekChar$0() === 36) {
  96320. $name = _this.variableName$0();
  96321. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  96322. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  96323. }
  96324. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96325. },
  96326. trySpecialFunction$2($name, start) {
  96327. var t2, buffer, t3, next, _this = this, _null = null,
  96328. t1 = _this.scanner,
  96329. calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
  96330. if (calculation != null)
  96331. return calculation;
  96332. switch (A.unvendor0($name)) {
  96333. case "calc":
  96334. case "element":
  96335. case "expression":
  96336. if (!t1.scanChar$1(40))
  96337. return _null;
  96338. t2 = new A.StringBuffer("");
  96339. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96340. t3 = "" + $name;
  96341. t2._contents = t3;
  96342. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  96343. break;
  96344. case "progid":
  96345. if (!t1.scanChar$1(58))
  96346. return _null;
  96347. t2 = new A.StringBuffer("");
  96348. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96349. t3 = "" + $name;
  96350. t2._contents = t3;
  96351. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  96352. next = t1.peekChar$0();
  96353. while (true) {
  96354. if (next != null) {
  96355. if (!(next >= 97 && next <= 122))
  96356. t3 = next >= 65 && next <= 90;
  96357. else
  96358. t3 = true;
  96359. t3 = t3 || next === 46;
  96360. } else
  96361. t3 = false;
  96362. if (!t3)
  96363. break;
  96364. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96365. next = t1.peekChar$0();
  96366. }
  96367. t1.expectChar$1(40);
  96368. t2._contents += A.Primitives_stringFromCharCode(40);
  96369. break;
  96370. case "url":
  96371. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  96372. default:
  96373. return _null;
  96374. }
  96375. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  96376. t1.expectChar$1(41);
  96377. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  96378. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  96379. },
  96380. _stylesheet0$_tryCalculation$2($name, start) {
  96381. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  96382. switch ($name) {
  96383. case "calc":
  96384. $arguments = _this._stylesheet0$_calculationArguments$1(1);
  96385. t1 = _this.scanner.spanFrom$1(start);
  96386. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  96387. case "min":
  96388. case "max":
  96389. t1 = _this.scanner;
  96390. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96391. $arguments = null;
  96392. try {
  96393. $arguments = _this._stylesheet0$_calculationArguments$0();
  96394. } catch (exception) {
  96395. if (type$.FormatException._is(A.unwrapException(exception))) {
  96396. t1.set$state(beforeArguments);
  96397. return null;
  96398. } else
  96399. throw exception;
  96400. }
  96401. t2 = $arguments;
  96402. t1 = t1.spanFrom$1(start);
  96403. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
  96404. case "clamp":
  96405. $arguments = _this._stylesheet0$_calculationArguments$1(3);
  96406. t1 = _this.scanner.spanFrom$1(start);
  96407. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  96408. default:
  96409. return null;
  96410. }
  96411. },
  96412. _stylesheet0$_calculationArguments$1(maxArgs) {
  96413. var interpolation, $arguments, t2, _this = this,
  96414. t1 = _this.scanner;
  96415. t1.expectChar$1(40);
  96416. interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  96417. if (interpolation != null) {
  96418. t1.expectChar$1(41);
  96419. return A._setArrayType([interpolation], type$.JSArray_Expression_2);
  96420. }
  96421. _this.whitespace$0();
  96422. $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
  96423. t2 = maxArgs != null;
  96424. while (true) {
  96425. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  96426. break;
  96427. _this.whitespace$0();
  96428. $arguments.push(_this._stylesheet0$_calculationSum$0());
  96429. }
  96430. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  96431. return $arguments;
  96432. },
  96433. _stylesheet0$_calculationArguments$0() {
  96434. return this._stylesheet0$_calculationArguments$1(null);
  96435. },
  96436. _stylesheet0$_calculationSum$0() {
  96437. var t1, next, t2, t3, _this = this,
  96438. sum = _this._stylesheet0$_calculationProduct$0();
  96439. for (t1 = _this.scanner; true;) {
  96440. next = t1.peekChar$0();
  96441. t2 = next === 43;
  96442. if (t2 || next === 45) {
  96443. t3 = t1.peekChar$1(-1);
  96444. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  96445. t3 = t1.peekChar$1(1);
  96446. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  96447. } else
  96448. t3 = true;
  96449. if (t3)
  96450. t1.error$1(0, string$.x22x2b__an);
  96451. t1.readChar$0();
  96452. _this.whitespace$0();
  96453. t2 = t2 ? B.BinaryOperator_qbf0 : B.BinaryOperator_KlB0;
  96454. sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
  96455. } else
  96456. return sum;
  96457. }
  96458. },
  96459. _stylesheet0$_calculationProduct$0() {
  96460. var t1, next, t2, _this = this,
  96461. product = _this._stylesheet0$_calculationValue$0();
  96462. for (t1 = _this.scanner; true;) {
  96463. _this.whitespace$0();
  96464. next = t1.peekChar$0();
  96465. t2 = next === 42;
  96466. if (t2 || next === 47) {
  96467. t1.readChar$0();
  96468. _this.whitespace$0();
  96469. t2 = t2 ? B.BinaryOperator_6pl0 : B.BinaryOperator_qpm0;
  96470. product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
  96471. } else
  96472. return product;
  96473. }
  96474. },
  96475. _stylesheet0$_calculationValue$0() {
  96476. var t2, value, start, ident, lowerCase, calculation, _this = this,
  96477. t1 = _this.scanner,
  96478. next = t1.peekChar$0();
  96479. if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
  96480. return _this._stylesheet0$_number$0();
  96481. else if (next === 36)
  96482. return _this._stylesheet0$_variable$0();
  96483. else if (next === 40) {
  96484. t2 = t1._string_scanner$_position;
  96485. t1.readChar$0();
  96486. value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  96487. if (value == null) {
  96488. _this.whitespace$0();
  96489. value = _this._stylesheet0$_calculationSum$0();
  96490. }
  96491. _this.whitespace$0();
  96492. t1.expectChar$1(41);
  96493. return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96494. } else if (!_this.lookingAtIdentifier$0())
  96495. t1.error$1(0, string$.Expectn);
  96496. else {
  96497. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96498. ident = _this.identifier$0();
  96499. if (t1.scanChar$1(46))
  96500. return _this.namespacedExpression$2(ident, start);
  96501. if (t1.peekChar$0() !== 40)
  96502. t1.error$1(0, 'Expected "(" or ".".');
  96503. lowerCase = ident.toLowerCase();
  96504. calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
  96505. if (calculation != null)
  96506. return calculation;
  96507. else if (lowerCase === "if")
  96508. return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96509. else
  96510. return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96511. }
  96512. },
  96513. _stylesheet0$_containsCalculationInterpolation$0() {
  96514. var t2, parens, next, target, t3, _null = null,
  96515. _s64_ = string$.The_gi,
  96516. _s17_ = "Invalid position ",
  96517. brackets = A._setArrayType([], type$.JSArray_int),
  96518. t1 = this.scanner,
  96519. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96520. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  96521. next = t1.peekChar$0();
  96522. switch (next) {
  96523. case 92:
  96524. target = 1;
  96525. break;
  96526. case 47:
  96527. target = 2;
  96528. break;
  96529. case 39:
  96530. case 34:
  96531. target = 3;
  96532. break;
  96533. case 35:
  96534. target = 4;
  96535. break;
  96536. case 40:
  96537. target = 5;
  96538. break;
  96539. case 123:
  96540. case 91:
  96541. target = 6;
  96542. break;
  96543. case 41:
  96544. target = 7;
  96545. break;
  96546. case 125:
  96547. case 93:
  96548. target = 8;
  96549. break;
  96550. default:
  96551. target = 9;
  96552. break;
  96553. }
  96554. c$0:
  96555. for (; true;)
  96556. switch (target) {
  96557. case 1:
  96558. t1.readChar$0();
  96559. t1.readChar$0();
  96560. break c$0;
  96561. case 2:
  96562. if (!this.scanComment$0())
  96563. t1.readChar$0();
  96564. break c$0;
  96565. case 3:
  96566. this.interpolatedString$0();
  96567. break c$0;
  96568. case 4:
  96569. if (parens === 0 && t1.peekChar$1(1) === 123) {
  96570. if (start._scanner !== t1)
  96571. A.throwExpression(A.ArgumentError$(_s64_, _null));
  96572. t3 = start.position;
  96573. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  96574. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  96575. t1._string_scanner$_position = t3;
  96576. t1._lastMatch = null;
  96577. return true;
  96578. }
  96579. t1.readChar$0();
  96580. break c$0;
  96581. case 5:
  96582. ++parens;
  96583. target = 6;
  96584. continue c$0;
  96585. case 6:
  96586. next.toString;
  96587. brackets.push(A.opposite0(next));
  96588. t1.readChar$0();
  96589. break c$0;
  96590. case 7:
  96591. --parens;
  96592. target = 8;
  96593. continue c$0;
  96594. case 8:
  96595. if (brackets.length === 0 || brackets.pop() !== next) {
  96596. if (start._scanner !== t1)
  96597. A.throwExpression(A.ArgumentError$(_s64_, _null));
  96598. t3 = start.position;
  96599. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  96600. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  96601. t1._string_scanner$_position = t3;
  96602. t1._lastMatch = null;
  96603. return false;
  96604. }
  96605. t1.readChar$0();
  96606. break c$0;
  96607. case 9:
  96608. t1.readChar$0();
  96609. break c$0;
  96610. }
  96611. }
  96612. t1.set$state(start);
  96613. return false;
  96614. },
  96615. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  96616. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  96617. t1 = _this.scanner,
  96618. t2 = t1._string_scanner$_position;
  96619. if (!t1.scanChar$1(40))
  96620. return null;
  96621. _this.whitespaceWithoutComments$0();
  96622. t3 = new A.StringBuffer("");
  96623. t4 = A._setArrayType([], type$.JSArray_Object);
  96624. buffer = new A.InterpolationBuffer0(t3, t4);
  96625. t5 = "" + ($name == null ? "url" : $name);
  96626. t3._contents = t5;
  96627. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  96628. for (; true;) {
  96629. next = t1.peekChar$0();
  96630. if (next == null)
  96631. break;
  96632. else if (next === 92)
  96633. t3._contents += A.S(_this.escape$0());
  96634. else {
  96635. if (next !== 33)
  96636. if (next !== 37)
  96637. if (next !== 38)
  96638. t5 = next >= 42 && next <= 126 || next >= 128;
  96639. else
  96640. t5 = true;
  96641. else
  96642. t5 = true;
  96643. else
  96644. t5 = true;
  96645. if (t5)
  96646. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96647. else if (next === 35)
  96648. if (t1.peekChar$1(1) === 123) {
  96649. t5 = _this.singleInterpolation$0();
  96650. buffer._interpolation_buffer0$_flushText$0();
  96651. t4.push(t5);
  96652. } else
  96653. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96654. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  96655. _this.whitespaceWithoutComments$0();
  96656. if (t1.peekChar$0() !== 41)
  96657. break;
  96658. } else if (next === 41) {
  96659. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96660. endPosition = t1._string_scanner$_position;
  96661. t2 = t1._sourceFile;
  96662. t5 = start.position;
  96663. t1 = new A._FileSpan(t2, t5, endPosition);
  96664. t1._FileSpan$3(t2, t5, endPosition);
  96665. t5 = type$.Object;
  96666. t2 = A.List_List$of(t4, true, t5);
  96667. t4 = t3._contents;
  96668. if (t4.length !== 0)
  96669. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  96670. result = A.List_List$from(t2, false, t5);
  96671. result.fixed$length = Array;
  96672. result.immutable$list = Array;
  96673. t3 = new A.Interpolation0(result, t1);
  96674. t3.Interpolation$20(t2, t1);
  96675. return t3;
  96676. } else
  96677. break;
  96678. }
  96679. }
  96680. t1.set$state(new A._SpanScannerState(t1, t2));
  96681. return null;
  96682. },
  96683. _stylesheet0$_tryUrlContents$1(start) {
  96684. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  96685. },
  96686. dynamicUrl$0() {
  96687. var contents, _this = this,
  96688. t1 = _this.scanner,
  96689. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96690. _this.expectIdentifier$1("url");
  96691. contents = _this._stylesheet0$_tryUrlContents$1(start);
  96692. if (contents != null)
  96693. return new A.StringExpression0(contents, false);
  96694. return new A.InterpolatedFunctionExpression0(A.Interpolation$0(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96695. },
  96696. almostAnyValue$1$omitComments(omitComments) {
  96697. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  96698. t1 = _this.scanner,
  96699. t2 = t1._string_scanner$_position,
  96700. t3 = new A.StringBuffer(""),
  96701. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  96702. $label0$1:
  96703. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  96704. next = t1.peekChar$0();
  96705. switch (next) {
  96706. case 92:
  96707. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96708. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96709. break;
  96710. case 34:
  96711. case 39:
  96712. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  96713. break;
  96714. case 47:
  96715. commentStart = t1._string_scanner$_position;
  96716. if (_this.scanComment$0()) {
  96717. if (t6) {
  96718. end = t1._string_scanner$_position;
  96719. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  96720. }
  96721. } else
  96722. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96723. break;
  96724. case 35:
  96725. if (t1.peekChar$1(1) === 123)
  96726. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  96727. else
  96728. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96729. break;
  96730. case 13:
  96731. case 10:
  96732. case 12:
  96733. if (_this.get$indented())
  96734. break $label0$1;
  96735. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96736. break;
  96737. case 33:
  96738. case 59:
  96739. case 123:
  96740. case 125:
  96741. break $label0$1;
  96742. case 117:
  96743. case 85:
  96744. t7 = t1._string_scanner$_position;
  96745. if (!_this.scanIdentifier$1("url")) {
  96746. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96747. break;
  96748. }
  96749. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  96750. if (contents == null) {
  96751. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  96752. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  96753. t1._string_scanner$_position = t7;
  96754. t1._lastMatch = null;
  96755. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96756. } else
  96757. buffer.addInterpolation$1(contents);
  96758. break;
  96759. default:
  96760. if (next == null)
  96761. break $label0$1;
  96762. if (_this.lookingAtIdentifier$0())
  96763. t3._contents += _this.identifier$0();
  96764. else
  96765. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96766. break;
  96767. }
  96768. }
  96769. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96770. },
  96771. almostAnyValue$0() {
  96772. return this.almostAnyValue$1$omitComments(false);
  96773. },
  96774. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  96775. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  96776. t1 = _this.scanner,
  96777. t2 = t1._string_scanner$_position,
  96778. t3 = new A.StringBuffer(""),
  96779. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  96780. brackets = A._setArrayType([], type$.JSArray_int);
  96781. $label0$1:
  96782. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  96783. next = t1.peekChar$0();
  96784. switch (next) {
  96785. case 92:
  96786. t3._contents += A.S(_this.escape$1$identifierStart(true));
  96787. wroteNewline = false;
  96788. break;
  96789. case 34:
  96790. case 39:
  96791. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  96792. wroteNewline = false;
  96793. break;
  96794. case 47:
  96795. if (t1.peekChar$1(1) === 42) {
  96796. t8 = _this.get$loudComment();
  96797. start = t1._string_scanner$_position;
  96798. t8.call$0();
  96799. end = t1._string_scanner$_position;
  96800. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  96801. } else
  96802. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96803. wroteNewline = false;
  96804. break;
  96805. case 35:
  96806. if (t1.peekChar$1(1) === 123)
  96807. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  96808. else
  96809. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96810. wroteNewline = false;
  96811. break;
  96812. case 32:
  96813. case 9:
  96814. if (!wroteNewline) {
  96815. t8 = t1.peekChar$1(1);
  96816. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  96817. } else
  96818. t8 = true;
  96819. if (t8)
  96820. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96821. else
  96822. t1.readChar$0();
  96823. break;
  96824. case 10:
  96825. case 13:
  96826. case 12:
  96827. if (_this.get$indented())
  96828. break $label0$1;
  96829. t8 = t1.peekChar$1(-1);
  96830. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  96831. t3._contents += "\n";
  96832. t1.readChar$0();
  96833. wroteNewline = true;
  96834. break;
  96835. case 40:
  96836. case 123:
  96837. case 91:
  96838. next.toString;
  96839. t3._contents += A.Primitives_stringFromCharCode(next);
  96840. brackets.push(A.opposite0(t1.readChar$0()));
  96841. wroteNewline = false;
  96842. break;
  96843. case 41:
  96844. case 125:
  96845. case 93:
  96846. if (brackets.length === 0)
  96847. break $label0$1;
  96848. next.toString;
  96849. t3._contents += A.Primitives_stringFromCharCode(next);
  96850. t1.expectChar$1(brackets.pop());
  96851. wroteNewline = false;
  96852. break;
  96853. case 59:
  96854. if (t7 && brackets.length === 0)
  96855. break $label0$1;
  96856. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96857. wroteNewline = false;
  96858. break;
  96859. case 58:
  96860. if (t6 && brackets.length === 0)
  96861. break $label0$1;
  96862. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96863. wroteNewline = false;
  96864. break;
  96865. case 117:
  96866. case 85:
  96867. t8 = t1._string_scanner$_position;
  96868. if (!_this.scanIdentifier$1("url")) {
  96869. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96870. wroteNewline = false;
  96871. break;
  96872. }
  96873. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  96874. if (contents == null) {
  96875. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  96876. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  96877. t1._string_scanner$_position = t8;
  96878. t1._lastMatch = null;
  96879. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96880. } else
  96881. buffer.addInterpolation$1(contents);
  96882. wroteNewline = false;
  96883. break;
  96884. default:
  96885. if (next == null)
  96886. break $label0$1;
  96887. if (_this.lookingAtIdentifier$0())
  96888. t3._contents += _this.identifier$0();
  96889. else
  96890. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96891. wroteNewline = false;
  96892. break;
  96893. }
  96894. }
  96895. if (brackets.length !== 0)
  96896. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  96897. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  96898. t1.error$1(0, "Expected token.");
  96899. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96900. },
  96901. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  96902. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  96903. },
  96904. _stylesheet0$_interpolatedDeclarationValue$0() {
  96905. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  96906. },
  96907. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  96908. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  96909. },
  96910. interpolatedIdentifier$0() {
  96911. var first, _this = this,
  96912. _s20_ = "Expected identifier.",
  96913. t1 = _this.scanner,
  96914. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96915. t2 = new A.StringBuffer(""),
  96916. t3 = A._setArrayType([], type$.JSArray_Object),
  96917. buffer = new A.InterpolationBuffer0(t2, t3);
  96918. if (t1.scanChar$1(45)) {
  96919. t2._contents += A.Primitives_stringFromCharCode(45);
  96920. if (t1.scanChar$1(45)) {
  96921. t2._contents += A.Primitives_stringFromCharCode(45);
  96922. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  96923. return buffer.interpolation$1(t1.spanFrom$1(start));
  96924. }
  96925. }
  96926. first = t1.peekChar$0();
  96927. if (first == null)
  96928. t1.error$1(0, _s20_);
  96929. else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  96930. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96931. else if (first === 92)
  96932. t2._contents += A.S(_this.escape$1$identifierStart(true));
  96933. else if (first === 35 && t1.peekChar$1(1) === 123) {
  96934. t2 = _this.singleInterpolation$0();
  96935. buffer._interpolation_buffer0$_flushText$0();
  96936. t3.push(t2);
  96937. } else
  96938. t1.error$1(0, _s20_);
  96939. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  96940. return buffer.interpolation$1(t1.spanFrom$1(start));
  96941. },
  96942. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  96943. var t1, t2, t3, next, t4;
  96944. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  96945. next = t2.peekChar$0();
  96946. if (next == null)
  96947. break;
  96948. else {
  96949. if (next !== 95)
  96950. if (next !== 45) {
  96951. if (!(next >= 97 && next <= 122))
  96952. t4 = next >= 65 && next <= 90;
  96953. else
  96954. t4 = true;
  96955. if (!t4)
  96956. t4 = next >= 48 && next <= 57;
  96957. else
  96958. t4 = true;
  96959. t4 = t4 || next >= 128;
  96960. } else
  96961. t4 = true;
  96962. else
  96963. t4 = true;
  96964. if (t4)
  96965. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  96966. else if (next === 92)
  96967. t3._contents += A.S(this.escape$0());
  96968. else if (next === 35 && t2.peekChar$1(1) === 123) {
  96969. t4 = this.singleInterpolation$0();
  96970. buffer._interpolation_buffer0$_flushText$0();
  96971. t1.push(t4);
  96972. } else
  96973. break;
  96974. }
  96975. }
  96976. },
  96977. singleInterpolation$0() {
  96978. var contents, _this = this,
  96979. t1 = _this.scanner,
  96980. t2 = t1._string_scanner$_position;
  96981. t1.expect$1("#{");
  96982. _this.whitespace$0();
  96983. contents = _this._stylesheet0$_expression$0();
  96984. t1.expectChar$1(125);
  96985. if (_this.get$plainCss())
  96986. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96987. return contents;
  96988. },
  96989. _stylesheet0$_mediaQueryList$0() {
  96990. var t4, _this = this,
  96991. t1 = _this.scanner,
  96992. t2 = t1._string_scanner$_position,
  96993. t3 = new A.StringBuffer(""),
  96994. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  96995. for (; true;) {
  96996. _this.whitespace$0();
  96997. _this._stylesheet0$_mediaQuery$1(buffer);
  96998. _this.whitespace$0();
  96999. if (!t1.scanChar$1(44))
  97000. break;
  97001. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  97002. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  97003. }
  97004. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97005. },
  97006. _stylesheet0$_mediaQuery$1(buffer) {
  97007. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  97008. if (_this.scanner.peekChar$0() === 40) {
  97009. _this._stylesheet0$_mediaInParens$1(buffer);
  97010. _this.whitespace$0();
  97011. if (_this.scanIdentifier$1(_s3_)) {
  97012. buffer._interpolation_buffer0$_text._contents += " and ";
  97013. _this.expectWhitespace$0();
  97014. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  97015. } else if (_this.scanIdentifier$1("or")) {
  97016. buffer._interpolation_buffer0$_text._contents += " or ";
  97017. _this.expectWhitespace$0();
  97018. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  97019. }
  97020. return;
  97021. }
  97022. identifier1 = _this.interpolatedIdentifier$0();
  97023. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  97024. _this.expectWhitespace$0();
  97025. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97026. buffer._interpolation_buffer0$_text._contents += "not ";
  97027. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97028. return;
  97029. }
  97030. }
  97031. _this.whitespace$0();
  97032. buffer.addInterpolation$1(identifier1);
  97033. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  97034. return;
  97035. t1 = buffer._interpolation_buffer0$_text;
  97036. t1._contents += A.Primitives_stringFromCharCode(32);
  97037. identifier2 = _this.interpolatedIdentifier$0();
  97038. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  97039. _this.expectWhitespace$0();
  97040. t1._contents += " and ";
  97041. } else {
  97042. _this.whitespace$0();
  97043. buffer.addInterpolation$1(identifier2);
  97044. if (_this.scanIdentifier$1(_s3_)) {
  97045. _this.expectWhitespace$0();
  97046. t1._contents += " and ";
  97047. } else
  97048. return;
  97049. }
  97050. if (_this.scanIdentifier$1("not")) {
  97051. _this.expectWhitespace$0();
  97052. t1._contents += "not ";
  97053. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97054. return;
  97055. }
  97056. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  97057. return;
  97058. },
  97059. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  97060. var t1, t2, _this = this;
  97061. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  97062. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97063. _this.whitespace$0();
  97064. if (!_this.scanIdentifier$1(operator))
  97065. return;
  97066. _this.expectWhitespace$0();
  97067. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  97068. t2 += operator;
  97069. t1._contents = t2;
  97070. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  97071. }
  97072. },
  97073. _stylesheet0$_mediaOrInterp$1(buffer) {
  97074. var interpolation;
  97075. if (this.scanner.peekChar$0() === 35) {
  97076. interpolation = this.singleInterpolation$0();
  97077. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  97078. } else
  97079. this._stylesheet0$_mediaInParens$1(buffer);
  97080. },
  97081. _stylesheet0$_mediaInParens$1(buffer) {
  97082. var t2, needsParenDeprecation, needsNotDeprecation, expression, t3, t4, next, t5, _this = this,
  97083. t1 = _this.scanner;
  97084. t1.expectChar$2$name(40, "media condition in parentheses");
  97085. t2 = buffer._interpolation_buffer0$_text;
  97086. t2._contents += A.Primitives_stringFromCharCode(40);
  97087. _this.whitespace$0();
  97088. needsParenDeprecation = t1.peekChar$0() === 40;
  97089. needsNotDeprecation = _this.matchesIdentifier$1("not");
  97090. expression = _this._stylesheet0$_expressionUntilComparison$0();
  97091. if (needsParenDeprecation || needsNotDeprecation) {
  97092. t3 = needsParenDeprecation ? "(" : "not";
  97093. _this.logger.warn$3$deprecation$span(0, 'Starting a @media query with "' + t3 + string$.x22x20is_d + expression.toString$0(0) + '}\nTo migrate to new behavior: #{"' + expression.toString$0(0) + string$.x22x7d__Fo, true, expression.get$span(expression));
  97094. }
  97095. buffer._interpolation_buffer0$_flushText$0();
  97096. t3 = buffer._interpolation_buffer0$_contents;
  97097. t3.push(expression);
  97098. if (t1.scanChar$1(58)) {
  97099. _this.whitespace$0();
  97100. t4 = t2._contents += A.Primitives_stringFromCharCode(58);
  97101. t2._contents = t4 + A.Primitives_stringFromCharCode(32);
  97102. t4 = _this._stylesheet0$_expression$0();
  97103. buffer._interpolation_buffer0$_flushText$0();
  97104. t3.push(t4);
  97105. } else {
  97106. next = t1.peekChar$0();
  97107. t4 = next !== 60;
  97108. if (!t4 || next === 62 || next === 61) {
  97109. t2._contents += A.Primitives_stringFromCharCode(32);
  97110. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  97111. if ((!t4 || next === 62) && t1.scanChar$1(61))
  97112. t2._contents += A.Primitives_stringFromCharCode(61);
  97113. t2._contents += A.Primitives_stringFromCharCode(32);
  97114. _this.whitespace$0();
  97115. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  97116. buffer._interpolation_buffer0$_flushText$0();
  97117. t3.push(t5);
  97118. if (!t4 || next === 62) {
  97119. next.toString;
  97120. t4 = t1.scanChar$1(next);
  97121. } else
  97122. t4 = false;
  97123. if (t4) {
  97124. t4 = t2._contents += A.Primitives_stringFromCharCode(32);
  97125. t2._contents = t4 + A.Primitives_stringFromCharCode(next);
  97126. if (t1.scanChar$1(61))
  97127. t2._contents += A.Primitives_stringFromCharCode(61);
  97128. t2._contents += A.Primitives_stringFromCharCode(32);
  97129. _this.whitespace$0();
  97130. t4 = _this._stylesheet0$_expressionUntilComparison$0();
  97131. buffer._interpolation_buffer0$_flushText$0();
  97132. t3.push(t4);
  97133. }
  97134. }
  97135. }
  97136. t1.expectChar$1(41);
  97137. _this.whitespace$0();
  97138. t2._contents += A.Primitives_stringFromCharCode(41);
  97139. },
  97140. _stylesheet0$_expressionUntilComparison$0() {
  97141. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  97142. },
  97143. _stylesheet0$_supportsCondition$0() {
  97144. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  97145. t1 = _this.scanner,
  97146. t2 = t1._string_scanner$_position;
  97147. if (_this.scanIdentifier$1("not")) {
  97148. _this.whitespace$0();
  97149. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97150. }
  97151. condition = _this._stylesheet0$_supportsConditionInParens$0();
  97152. _this.whitespace$0();
  97153. for (operator = null; _this.lookingAtIdentifier$0();) {
  97154. if (operator != null)
  97155. _this.expectIdentifier$1(operator);
  97156. else if (_this.scanIdentifier$1("or"))
  97157. operator = "or";
  97158. else {
  97159. _this.expectIdentifier$1("and");
  97160. operator = "and";
  97161. }
  97162. _this.whitespace$0();
  97163. right = _this._stylesheet0$_supportsConditionInParens$0();
  97164. endPosition = t1._string_scanner$_position;
  97165. t3 = t1._sourceFile;
  97166. t4 = new A._FileSpan(t3, t2, endPosition);
  97167. t4._FileSpan$3(t3, t2, endPosition);
  97168. condition = new A.SupportsOperation0(condition, right, operator, t4);
  97169. lowerOperator = operator.toLowerCase();
  97170. if (lowerOperator !== "and" && lowerOperator !== "or")
  97171. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  97172. _this.whitespace$0();
  97173. }
  97174. return condition;
  97175. },
  97176. _stylesheet0$_supportsConditionInParens$0() {
  97177. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  97178. t1 = _this.scanner,
  97179. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97180. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97181. identifier0 = _this.interpolatedIdentifier$0();
  97182. t2 = identifier0.get$asPlain();
  97183. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  97184. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  97185. if (t1.scanChar$1(40)) {
  97186. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  97187. t1.expectChar$1(41);
  97188. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  97189. } else {
  97190. t2 = identifier0.contents;
  97191. if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
  97192. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  97193. else
  97194. return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  97195. }
  97196. }
  97197. t1.expectChar$1(40);
  97198. _this.whitespace$0();
  97199. if (_this.scanIdentifier$1("not")) {
  97200. _this.whitespace$0();
  97201. condition = _this._stylesheet0$_supportsConditionInParens$0();
  97202. t1.expectChar$1(41);
  97203. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  97204. } else if (t1.peekChar$0() === 40) {
  97205. condition = _this._stylesheet0$_supportsCondition$0();
  97206. t1.expectChar$1(41);
  97207. return condition;
  97208. }
  97209. $name = null;
  97210. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97211. wasInParentheses = _this._stylesheet0$_inParentheses;
  97212. try {
  97213. $name = _this._stylesheet0$_expression$0();
  97214. t1.expectChar$1(58);
  97215. } catch (exception) {
  97216. if (type$.FormatException._is(A.unwrapException(exception))) {
  97217. t1.set$state(nameStart);
  97218. _this._stylesheet0$_inParentheses = wasInParentheses;
  97219. identifier = _this.interpolatedIdentifier$0();
  97220. operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  97221. if (operation != null) {
  97222. t1.expectChar$1(41);
  97223. return operation;
  97224. }
  97225. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  97226. t2.addInterpolation$1(identifier);
  97227. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  97228. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  97229. if (t1.peekChar$0() === 58)
  97230. throw exception;
  97231. t1.expectChar$1(41);
  97232. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  97233. } else
  97234. throw exception;
  97235. }
  97236. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  97237. t1.expectChar$1(41);
  97238. return declaration;
  97239. },
  97240. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  97241. var value, _this = this;
  97242. if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  97243. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  97244. else {
  97245. _this.whitespace$0();
  97246. value = _this._stylesheet0$_expression$0();
  97247. }
  97248. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  97249. },
  97250. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  97251. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  97252. t1 = interpolation.contents;
  97253. if (t1.length !== 1)
  97254. return _null;
  97255. expression = B.JSArray_methods.get$first(t1);
  97256. if (!type$.Expression_2._is(expression))
  97257. return _null;
  97258. t1 = _this.scanner;
  97259. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97260. _this.whitespace$0();
  97261. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  97262. if (operator != null)
  97263. _this.expectIdentifier$1(operator);
  97264. else if (_this.scanIdentifier$1("and"))
  97265. operator = "and";
  97266. else {
  97267. if (!_this.scanIdentifier$1("or")) {
  97268. if (beforeWhitespace._scanner !== t1)
  97269. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  97270. t2 = beforeWhitespace.position;
  97271. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  97272. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  97273. t1._string_scanner$_position = t2;
  97274. return t1._lastMatch = null;
  97275. }
  97276. operator = "or";
  97277. }
  97278. _this.whitespace$0();
  97279. right = _this._stylesheet0$_supportsConditionInParens$0();
  97280. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  97281. endPosition = t1._string_scanner$_position;
  97282. t5 = t1._sourceFile;
  97283. t6 = new A._FileSpan(t5, t2, endPosition);
  97284. t6._FileSpan$3(t5, t2, endPosition);
  97285. operation = new A.SupportsOperation0(t4, right, operator, t6);
  97286. lowerOperator = operator.toLowerCase();
  97287. if (lowerOperator !== "and" && lowerOperator !== "or")
  97288. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  97289. _this.whitespace$0();
  97290. }
  97291. return operation;
  97292. },
  97293. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  97294. var second,
  97295. t1 = this.scanner,
  97296. first = t1.peekChar$0();
  97297. if (first == null)
  97298. return false;
  97299. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  97300. return true;
  97301. if (first === 35)
  97302. return t1.peekChar$1(1) === 123;
  97303. if (first !== 45)
  97304. return false;
  97305. second = t1.peekChar$1(1);
  97306. if (second == null)
  97307. return false;
  97308. if (second === 35)
  97309. return t1.peekChar$1(2) === 123;
  97310. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  97311. },
  97312. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  97313. var t1 = this.scanner,
  97314. first = t1.peekChar$0();
  97315. if (first == null)
  97316. return false;
  97317. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
  97318. return true;
  97319. return first === 35 && t1.peekChar$1(1) === 123;
  97320. },
  97321. _stylesheet0$_lookingAtExpression$0() {
  97322. var next,
  97323. t1 = this.scanner,
  97324. character = t1.peekChar$0();
  97325. if (character == null)
  97326. return false;
  97327. if (character === 46)
  97328. return t1.peekChar$1(1) !== 46;
  97329. if (character === 33) {
  97330. next = t1.peekChar$1(1);
  97331. if (next != null)
  97332. if ((next | 32) >>> 0 !== 105)
  97333. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  97334. else
  97335. t1 = true;
  97336. else
  97337. t1 = true;
  97338. return t1;
  97339. }
  97340. if (character !== 40)
  97341. if (character !== 47)
  97342. if (character !== 91)
  97343. if (character !== 39)
  97344. if (character !== 34)
  97345. if (character !== 35)
  97346. if (character !== 43)
  97347. if (character !== 45)
  97348. if (character !== 92)
  97349. if (character !== 36)
  97350. if (character !== 38)
  97351. t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
  97352. else
  97353. t1 = true;
  97354. else
  97355. t1 = true;
  97356. else
  97357. t1 = true;
  97358. else
  97359. t1 = true;
  97360. else
  97361. t1 = true;
  97362. else
  97363. t1 = true;
  97364. else
  97365. t1 = true;
  97366. else
  97367. t1 = true;
  97368. else
  97369. t1 = true;
  97370. else
  97371. t1 = true;
  97372. else
  97373. t1 = true;
  97374. return t1;
  97375. },
  97376. _stylesheet0$_withChildren$1$3(child, start, create) {
  97377. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  97378. this.whitespaceWithoutComments$0();
  97379. return result;
  97380. },
  97381. _stylesheet0$_withChildren$3(child, start, create) {
  97382. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  97383. },
  97384. _stylesheet0$_urlString$0() {
  97385. var innerError, stackTrace, t2, exception,
  97386. t1 = this.scanner,
  97387. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  97388. url = this.string$0();
  97389. try {
  97390. t2 = A.Uri_parse(url);
  97391. return t2;
  97392. } catch (exception) {
  97393. t2 = A.unwrapException(exception);
  97394. if (type$.FormatException._is(t2)) {
  97395. innerError = t2;
  97396. stackTrace = A.getTraceFromException(exception);
  97397. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  97398. } else
  97399. throw exception;
  97400. }
  97401. },
  97402. _stylesheet0$_publicIdentifier$0() {
  97403. var _this = this,
  97404. t1 = _this.scanner,
  97405. t2 = t1._string_scanner$_position,
  97406. result = _this.identifier$1$normalize(true);
  97407. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  97408. return result;
  97409. },
  97410. _stylesheet0$_assertPublic$2(identifier, span) {
  97411. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  97412. if (!(first === 45 || first === 95))
  97413. return;
  97414. this.error$2(0, string$.Privat, span.call$0());
  97415. },
  97416. get$plainCss() {
  97417. return false;
  97418. }
  97419. };
  97420. A.StylesheetParser_parse_closure0.prototype = {
  97421. call$0() {
  97422. var statements, t4,
  97423. t1 = this.$this,
  97424. t2 = t1.scanner,
  97425. t3 = t2._string_scanner$_position;
  97426. t2.scanChar$1(65279);
  97427. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  97428. t2.expectDone$0();
  97429. t4 = t1._stylesheet0$_globalVariables;
  97430. t4 = t4.get$values(t4);
  97431. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement_2));
  97432. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  97433. },
  97434. $signature: 520
  97435. };
  97436. A.StylesheetParser_parse__closure1.prototype = {
  97437. call$0() {
  97438. var t1 = this.$this;
  97439. if (t1.scanner.scan$1("@charset")) {
  97440. t1.whitespace$0();
  97441. t1.string$0();
  97442. return null;
  97443. }
  97444. return t1._stylesheet0$_statement$1$root(true);
  97445. },
  97446. $signature: 521
  97447. };
  97448. A.StylesheetParser_parse__closure2.prototype = {
  97449. call$1(declaration) {
  97450. var t1 = declaration.name,
  97451. t2 = declaration.expression;
  97452. return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
  97453. },
  97454. $signature: 522
  97455. };
  97456. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  97457. call$0() {
  97458. var $arguments,
  97459. t1 = this.$this,
  97460. t2 = t1.scanner;
  97461. t2.expectChar$2$name(64, "@-rule");
  97462. t1.identifier$0();
  97463. t1.whitespace$0();
  97464. t1.identifier$0();
  97465. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  97466. t1.whitespace$0();
  97467. t2.expectChar$1(123);
  97468. return $arguments;
  97469. },
  97470. $signature: 523
  97471. };
  97472. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  97473. call$0() {
  97474. var result = this.production.call$0();
  97475. this.$this.scanner.expectDone$0();
  97476. return result;
  97477. },
  97478. $signature() {
  97479. return this.T._eval$1("0()");
  97480. }
  97481. };
  97482. A.StylesheetParser_parseSignature_closure.prototype = {
  97483. call$0() {
  97484. var $arguments, t2, t3,
  97485. t1 = this.$this,
  97486. $name = t1.identifier$0();
  97487. t1.whitespace$0();
  97488. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  97489. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  97490. else {
  97491. t2 = t1.scanner;
  97492. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  97493. t3 = t2.offset;
  97494. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  97495. }
  97496. t1.scanner.expectDone$0();
  97497. return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
  97498. },
  97499. $signature: 524
  97500. };
  97501. A.StylesheetParser__statement_closure0.prototype = {
  97502. call$0() {
  97503. return this.$this._stylesheet0$_statement$0();
  97504. },
  97505. $signature: 138
  97506. };
  97507. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  97508. call$0() {
  97509. return this.$this.scanner.spanFrom$1(this.start);
  97510. },
  97511. $signature: 31
  97512. };
  97513. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  97514. call$0() {
  97515. return this.declaration;
  97516. },
  97517. $signature: 525
  97518. };
  97519. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  97520. call$2(children, span) {
  97521. return A.Declaration$nested0(this.name, children, span, null);
  97522. },
  97523. $signature: 88
  97524. };
  97525. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  97526. call$2(children, span) {
  97527. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  97528. },
  97529. $signature: 88
  97530. };
  97531. A.StylesheetParser__styleRule_closure0.prototype = {
  97532. call$2(children, span) {
  97533. var _this = this,
  97534. t1 = _this.$this;
  97535. if (t1.get$indented() && children.length === 0)
  97536. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  97537. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  97538. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  97539. },
  97540. $signature: 527
  97541. };
  97542. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  97543. call$2(children, span) {
  97544. return A.Declaration$nested0(this._box_0.name, children, span, null);
  97545. },
  97546. $signature: 88
  97547. };
  97548. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  97549. call$2(children, span) {
  97550. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  97551. },
  97552. $signature: 88
  97553. };
  97554. A.StylesheetParser__atRootRule_closure1.prototype = {
  97555. call$2(children, span) {
  97556. return A.AtRootRule$0(children, span, this.query);
  97557. },
  97558. $signature: 249
  97559. };
  97560. A.StylesheetParser__atRootRule_closure2.prototype = {
  97561. call$2(children, span) {
  97562. return A.AtRootRule$0(children, span, null);
  97563. },
  97564. $signature: 249
  97565. };
  97566. A.StylesheetParser__eachRule_closure0.prototype = {
  97567. call$2(children, span) {
  97568. var _this = this;
  97569. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  97570. return A.EachRule$0(_this.variables, _this.list, children, span);
  97571. },
  97572. $signature: 529
  97573. };
  97574. A.StylesheetParser__functionRule_closure0.prototype = {
  97575. call$2(children, span) {
  97576. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  97577. },
  97578. $signature: 530
  97579. };
  97580. A.StylesheetParser__forRule_closure1.prototype = {
  97581. call$0() {
  97582. var t1 = this.$this;
  97583. if (!t1.lookingAtIdentifier$0())
  97584. return false;
  97585. if (t1.scanIdentifier$1("to"))
  97586. return this._box_0.exclusive = true;
  97587. else if (t1.scanIdentifier$1("through")) {
  97588. this._box_0.exclusive = false;
  97589. return true;
  97590. } else
  97591. return false;
  97592. },
  97593. $signature: 28
  97594. };
  97595. A.StylesheetParser__forRule_closure2.prototype = {
  97596. call$2(children, span) {
  97597. var t1, _this = this;
  97598. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  97599. t1 = _this._box_0.exclusive;
  97600. t1.toString;
  97601. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  97602. },
  97603. $signature: 531
  97604. };
  97605. A.StylesheetParser__memberList_closure0.prototype = {
  97606. call$0() {
  97607. var t1 = this.$this;
  97608. if (t1.scanner.peekChar$0() === 36)
  97609. this.variables.add$1(0, t1.variableName$0());
  97610. else
  97611. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  97612. },
  97613. $signature: 1
  97614. };
  97615. A.StylesheetParser__includeRule_closure0.prototype = {
  97616. call$2(children, span) {
  97617. return A.ContentBlock$0(this.contentArguments_, children, span);
  97618. },
  97619. $signature: 532
  97620. };
  97621. A.StylesheetParser_mediaRule_closure0.prototype = {
  97622. call$2(children, span) {
  97623. return A.MediaRule$0(this.query, children, span);
  97624. },
  97625. $signature: 533
  97626. };
  97627. A.StylesheetParser__mixinRule_closure0.prototype = {
  97628. call$2(children, span) {
  97629. var _this = this;
  97630. _this.$this._stylesheet0$_inMixin = false;
  97631. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  97632. },
  97633. $signature: 534
  97634. };
  97635. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  97636. call$2(children, span) {
  97637. var _this = this;
  97638. if (_this._box_0.needsDeprecationWarning)
  97639. _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
  97640. return A.AtRule$0(_this.name, span, children, _this.value);
  97641. },
  97642. $signature: 250
  97643. };
  97644. A.StylesheetParser_supportsRule_closure0.prototype = {
  97645. call$2(children, span) {
  97646. return A.SupportsRule$0(this.condition, children, span);
  97647. },
  97648. $signature: 536
  97649. };
  97650. A.StylesheetParser__whileRule_closure0.prototype = {
  97651. call$2(children, span) {
  97652. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  97653. return A.WhileRule$0(this.condition, children, span);
  97654. },
  97655. $signature: 537
  97656. };
  97657. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  97658. call$2(children, span) {
  97659. return A.AtRule$0(this.name, span, children, this._box_0.value);
  97660. },
  97661. $signature: 250
  97662. };
  97663. A.StylesheetParser__expression_resetState0.prototype = {
  97664. call$0() {
  97665. var t2,
  97666. t1 = this._box_0;
  97667. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  97668. t2 = this.$this;
  97669. t2.scanner.set$state(this.start);
  97670. t1.allowSlash = true;
  97671. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  97672. },
  97673. $signature: 0
  97674. };
  97675. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  97676. call$0() {
  97677. var t2, t3, t4, t5, t6, t7, _this = this,
  97678. t1 = _this._box_0,
  97679. operator = t1.operators_.pop(),
  97680. left = t1.operands_.pop(),
  97681. right = t1.singleExpression_;
  97682. if (right == null) {
  97683. t2 = _this.$this.scanner;
  97684. t3 = operator.operator.length;
  97685. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  97686. }
  97687. if (t1.allowSlash) {
  97688. t2 = _this.$this;
  97689. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_qpm0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  97690. } else
  97691. t2 = false;
  97692. if (t2)
  97693. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_qpm0, left, right, true);
  97694. else {
  97695. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  97696. t2 = t1.allowSlash = false;
  97697. if (operator === B.BinaryOperator_qbf0 || operator === B.BinaryOperator_KlB0) {
  97698. t3 = _this.$this;
  97699. t4 = t3.scanner.string;
  97700. t5 = right.get$span(right);
  97701. t5 = t5.get$start(t5);
  97702. t6 = right.get$span(right);
  97703. t7 = operator.operator;
  97704. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  97705. t2 = left.get$span(left);
  97706. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  97707. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  97708. }
  97709. if (t2) {
  97710. t2 = left.toString$0(0);
  97711. t4 = right.toString$0(0);
  97712. t5 = left.toString$0(0);
  97713. t6 = right.toString$0(0);
  97714. t1 = t1.singleExpression_;
  97715. t3.logger.warn$3$deprecation$span(0, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, true, t1.get$span(t1));
  97716. }
  97717. }
  97718. }
  97719. },
  97720. $signature: 0
  97721. };
  97722. A.StylesheetParser__expression_resolveOperations0.prototype = {
  97723. call$0() {
  97724. var t1,
  97725. operators = this._box_0.operators_;
  97726. if (operators == null)
  97727. return;
  97728. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  97729. t1.call$0();
  97730. },
  97731. $signature: 0
  97732. };
  97733. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  97734. call$1(expression) {
  97735. var t2, spaceExpressions, _this = this,
  97736. t1 = _this._box_0;
  97737. if (t1.singleExpression_ != null) {
  97738. t2 = _this.$this;
  97739. if (t2._stylesheet0$_inParentheses) {
  97740. t2._stylesheet0$_inParentheses = false;
  97741. if (t1.allowSlash) {
  97742. _this.resetState.call$0();
  97743. return;
  97744. }
  97745. }
  97746. spaceExpressions = t1.spaceExpressions_;
  97747. if (spaceExpressions == null)
  97748. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  97749. _this.resolveOperations.call$0();
  97750. t2 = t1.singleExpression_;
  97751. t2.toString;
  97752. spaceExpressions.push(t2);
  97753. t1.allowSlash = true;
  97754. }
  97755. t1.singleExpression_ = expression;
  97756. },
  97757. $signature: 538
  97758. };
  97759. A.StylesheetParser__expression_addOperator0.prototype = {
  97760. call$1(operator) {
  97761. var t2, t3, operators, operands, t4, singleExpression,
  97762. t1 = this.$this;
  97763. if (t1.get$plainCss() && operator !== B.BinaryOperator_qpm0 && operator !== B.BinaryOperator_axY0) {
  97764. t2 = t1.scanner;
  97765. t3 = operator.operator.length;
  97766. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  97767. }
  97768. t2 = this._box_0;
  97769. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_qpm0;
  97770. operators = t2.operators_;
  97771. if (operators == null)
  97772. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  97773. operands = t2.operands_;
  97774. if (operands == null)
  97775. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  97776. t3 = this.resolveOneOperation;
  97777. t4 = operator.precedence;
  97778. while (true) {
  97779. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  97780. break;
  97781. t3.call$0();
  97782. }
  97783. operators.push(operator);
  97784. singleExpression = t2.singleExpression_;
  97785. if (singleExpression == null) {
  97786. t3 = t1.scanner;
  97787. t4 = operator.operator.length;
  97788. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  97789. }
  97790. operands.push(singleExpression);
  97791. t1.whitespace$0();
  97792. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  97793. },
  97794. $signature: 539
  97795. };
  97796. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  97797. call$0() {
  97798. var t1, spaceExpressions, singleExpression, t2;
  97799. this.resolveOperations.call$0();
  97800. t1 = this._box_0;
  97801. spaceExpressions = t1.spaceExpressions_;
  97802. if (spaceExpressions != null) {
  97803. singleExpression = t1.singleExpression_;
  97804. if (singleExpression == null)
  97805. this.$this.scanner.error$1(0, "Expected expression.");
  97806. spaceExpressions.push(singleExpression);
  97807. t2 = B.JSArray_methods.get$first(spaceExpressions);
  97808. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  97809. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  97810. t1.spaceExpressions_ = null;
  97811. }
  97812. },
  97813. $signature: 0
  97814. };
  97815. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  97816. call$0() {
  97817. return this.$this.scanner.peekChar$0() === 44;
  97818. },
  97819. $signature: 28
  97820. };
  97821. A.StylesheetParser__unicodeRange_closure1.prototype = {
  97822. call$1(char) {
  97823. return char != null && A.isHex0(char);
  97824. },
  97825. $signature: 32
  97826. };
  97827. A.StylesheetParser__unicodeRange_closure2.prototype = {
  97828. call$1(char) {
  97829. return char != null && A.isHex0(char);
  97830. },
  97831. $signature: 32
  97832. };
  97833. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  97834. call$0() {
  97835. return this.$this.scanner.spanFrom$1(this.start);
  97836. },
  97837. $signature: 31
  97838. };
  97839. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  97840. call$1(contents) {
  97841. return new A.StringExpression0(contents, false);
  97842. },
  97843. $signature: 540
  97844. };
  97845. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  97846. call$0() {
  97847. var t1 = this.$this.scanner,
  97848. next = t1.peekChar$0();
  97849. if (next === 61)
  97850. return t1.peekChar$1(1) !== 61;
  97851. return next === 60 || next === 62;
  97852. },
  97853. $signature: 28
  97854. };
  97855. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  97856. call$0() {
  97857. return this.$this.scanner.spanFrom$1(this.start);
  97858. },
  97859. $signature: 31
  97860. };
  97861. A.Stylesheet0.prototype = {
  97862. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  97863. var t1, t2, t3, t4, _i, child;
  97864. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  97865. child = t1[_i];
  97866. if (child instanceof A.UseRule0)
  97867. t4.push(child);
  97868. else if (child instanceof A.ForwardRule0)
  97869. t3.push(child);
  97870. else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
  97871. break;
  97872. }
  97873. },
  97874. accept$1$1(visitor) {
  97875. return visitor.visitStylesheet$1(this);
  97876. },
  97877. accept$1(visitor) {
  97878. return this.accept$1$1(visitor, type$.dynamic);
  97879. },
  97880. toString$0(_) {
  97881. var t1 = this.children;
  97882. return (t1 && B.JSArray_methods).join$1(t1, " ");
  97883. },
  97884. get$span(receiver) {
  97885. return this.span;
  97886. }
  97887. };
  97888. A.SupportsExpression0.prototype = {
  97889. get$span(_) {
  97890. var t1 = this.condition;
  97891. return t1.get$span(t1);
  97892. },
  97893. accept$1$1(visitor) {
  97894. return visitor.visitSupportsExpression$1(this);
  97895. },
  97896. accept$1(visitor) {
  97897. return this.accept$1$1(visitor, type$.dynamic);
  97898. },
  97899. toString$0(_) {
  97900. return this.condition.toString$0(0);
  97901. },
  97902. $isExpression0: 1,
  97903. $isAstNode0: 1
  97904. };
  97905. A.ModifiableCssSupportsRule0.prototype = {
  97906. accept$1$1(visitor) {
  97907. return visitor.visitCssSupportsRule$1(this);
  97908. },
  97909. accept$1(visitor) {
  97910. return this.accept$1$1(visitor, type$.dynamic);
  97911. },
  97912. copyWithoutChildren$0() {
  97913. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  97914. },
  97915. $isCssSupportsRule0: 1,
  97916. get$span(receiver) {
  97917. return this.span;
  97918. }
  97919. };
  97920. A.SupportsRule0.prototype = {
  97921. accept$1$1(visitor) {
  97922. return visitor.visitSupportsRule$1(this);
  97923. },
  97924. accept$1(visitor) {
  97925. return this.accept$1$1(visitor, type$.dynamic);
  97926. },
  97927. toString$0(_) {
  97928. var t1 = this.children;
  97929. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  97930. },
  97931. get$span(receiver) {
  97932. return this.span;
  97933. }
  97934. };
  97935. A.NodeToDartImporter.prototype = {
  97936. canonicalize$1(_, url) {
  97937. var t1,
  97938. result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  97939. if (result == null)
  97940. return null;
  97941. t1 = self.URL;
  97942. if (result instanceof t1)
  97943. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  97944. t1 = self.Promise;
  97945. if (result instanceof t1)
  97946. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  97947. else
  97948. A.jsThrow(new self.Error(string$.The_ca));
  97949. },
  97950. load$1(_, url) {
  97951. var t1, contents, syntax, t2,
  97952. result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
  97953. if (result == null)
  97954. return null;
  97955. t1 = self.Promise;
  97956. if (result instanceof t1)
  97957. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  97958. type$.NodeImporterResult._as(result);
  97959. t1 = J.getInterceptor$x(result);
  97960. contents = t1.get$contents(result);
  97961. syntax = t1.get$syntax(result);
  97962. if (contents == null || syntax == null)
  97963. A.jsThrow(new self.Error(string$.The_lo));
  97964. t2 = A.parseSyntax(syntax);
  97965. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  97966. }
  97967. };
  97968. A.Syntax0.prototype = {
  97969. toString$0(_) {
  97970. return this._syntax0$_name;
  97971. }
  97972. };
  97973. A.TerseLogger0.prototype = {
  97974. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  97975. var firstParagraph, t1, t2, count;
  97976. if (deprecation) {
  97977. firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
  97978. t1 = this._terse$_warningCounts;
  97979. t2 = t1.$index(0, firstParagraph);
  97980. count = (t2 == null ? 0 : t2) + 1;
  97981. t1.$indexSet(0, firstParagraph, count);
  97982. if (count > 5)
  97983. return;
  97984. }
  97985. this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  97986. },
  97987. warn$2$deprecation($receiver, message, deprecation) {
  97988. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  97989. },
  97990. warn$2$span($receiver, message, span) {
  97991. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  97992. },
  97993. warn$3$deprecation$span($receiver, message, deprecation, span) {
  97994. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  97995. },
  97996. warn$2$trace($receiver, message, trace) {
  97997. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  97998. },
  97999. debug$2(_, message, span) {
  98000. return this._terse$_inner.debug$2(0, message, span);
  98001. },
  98002. summarize$1$node(node) {
  98003. var t2, total,
  98004. t1 = this._terse$_warningCounts;
  98005. t1 = t1.get$values(t1);
  98006. t2 = A._instanceType(t1);
  98007. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  98008. if (total > 0) {
  98009. t1 = node ? "" : string$.x0aRun_i;
  98010. this._terse$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  98011. }
  98012. }
  98013. };
  98014. A.TerseLogger_summarize_closure1.prototype = {
  98015. call$1(count) {
  98016. return count > 5;
  98017. },
  98018. $signature: 54
  98019. };
  98020. A.TerseLogger_summarize_closure2.prototype = {
  98021. call$1(count) {
  98022. return count - 5;
  98023. },
  98024. $signature: 154
  98025. };
  98026. A.TypeSelector0.prototype = {
  98027. get$specificity() {
  98028. return 1;
  98029. },
  98030. accept$1$1(visitor) {
  98031. return visitor.visitTypeSelector$1(this);
  98032. },
  98033. accept$1(visitor) {
  98034. return this.accept$1$1(visitor, type$.dynamic);
  98035. },
  98036. addSuffix$1(suffix) {
  98037. var t1 = this.name;
  98038. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
  98039. },
  98040. unify$1(compound) {
  98041. var unified, t1;
  98042. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
  98043. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  98044. if (unified == null)
  98045. return null;
  98046. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  98047. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  98048. return t1;
  98049. } else {
  98050. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  98051. B.JSArray_methods.addAll$1(t1, compound);
  98052. return t1;
  98053. }
  98054. },
  98055. isSuperselector$1(other) {
  98056. var t1, t2;
  98057. if (!this.super$SimpleSelector$isSuperselector0(other))
  98058. if (other instanceof A.TypeSelector0) {
  98059. t1 = this.name;
  98060. t2 = other.name;
  98061. if (t1.name === t2.name) {
  98062. t1 = t1.namespace;
  98063. t1 = t1 === "*" || t1 == t2.namespace;
  98064. } else
  98065. t1 = false;
  98066. } else
  98067. t1 = false;
  98068. else
  98069. t1 = true;
  98070. return t1;
  98071. },
  98072. $eq(_, other) {
  98073. if (other == null)
  98074. return false;
  98075. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  98076. },
  98077. get$hashCode(_) {
  98078. var t1 = this.name;
  98079. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  98080. }
  98081. };
  98082. A.Types.prototype = {};
  98083. A.UnaryOperationExpression0.prototype = {
  98084. accept$1$1(visitor) {
  98085. return visitor.visitUnaryOperationExpression$1(this);
  98086. },
  98087. accept$1(visitor) {
  98088. return this.accept$1$1(visitor, type$.dynamic);
  98089. },
  98090. toString$0(_) {
  98091. var t1 = this.operator,
  98092. t2 = t1.operator;
  98093. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  98094. t1 += this.operand.toString$0(0);
  98095. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98096. },
  98097. $isExpression0: 1,
  98098. $isAstNode0: 1,
  98099. get$span(receiver) {
  98100. return this.span;
  98101. }
  98102. };
  98103. A.UnaryOperator0.prototype = {
  98104. toString$0(_) {
  98105. return this.name;
  98106. }
  98107. };
  98108. A.UnitlessSassNumber0.prototype = {
  98109. get$numeratorUnits(_) {
  98110. return B.List_empty;
  98111. },
  98112. get$denominatorUnits(_) {
  98113. return B.List_empty;
  98114. },
  98115. get$hasUnits() {
  98116. return false;
  98117. },
  98118. withValue$1(value) {
  98119. return new A.UnitlessSassNumber0(value, null);
  98120. },
  98121. withSlash$2(numerator, denominator) {
  98122. return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  98123. },
  98124. hasUnit$1(unit) {
  98125. return false;
  98126. },
  98127. hasCompatibleUnits$1(other) {
  98128. return other instanceof A.UnitlessSassNumber0;
  98129. },
  98130. hasPossiblyCompatibleUnits$1(other) {
  98131. return other instanceof A.UnitlessSassNumber0;
  98132. },
  98133. compatibleWithUnit$1(unit) {
  98134. return true;
  98135. },
  98136. coerceToMatch$3(other, $name, otherName) {
  98137. return other.withValue$1(this._number1$_value);
  98138. },
  98139. coerceValueToMatch$3(other, $name, otherName) {
  98140. return this._number1$_value;
  98141. },
  98142. coerceValueToMatch$1(other) {
  98143. return this.coerceValueToMatch$3(other, null, null);
  98144. },
  98145. convertToMatch$3(other, $name, otherName) {
  98146. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  98147. },
  98148. convertValueToMatch$3(other, $name, otherName) {
  98149. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  98150. },
  98151. coerce$3(newNumerators, newDenominators, $name) {
  98152. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  98153. },
  98154. coerce$2(newNumerators, newDenominators) {
  98155. return this.coerce$3(newNumerators, newDenominators, null);
  98156. },
  98157. coerceValue$3(newNumerators, newDenominators, $name) {
  98158. return this._number1$_value;
  98159. },
  98160. coerceValueToUnit$2(unit, $name) {
  98161. return this._number1$_value;
  98162. },
  98163. greaterThan$1(other) {
  98164. var t1, t2;
  98165. if (other instanceof A.SassNumber0) {
  98166. t1 = this._number1$_value;
  98167. t2 = other._number1$_value;
  98168. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98169. }
  98170. return this.super$SassNumber$greaterThan0(other);
  98171. },
  98172. greaterThanOrEquals$1(other) {
  98173. var t1, t2;
  98174. if (other instanceof A.SassNumber0) {
  98175. t1 = this._number1$_value;
  98176. t2 = other._number1$_value;
  98177. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98178. }
  98179. return this.super$SassNumber$greaterThanOrEquals0(other);
  98180. },
  98181. lessThan$1(other) {
  98182. var t1, t2;
  98183. if (other instanceof A.SassNumber0) {
  98184. t1 = this._number1$_value;
  98185. t2 = other._number1$_value;
  98186. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98187. }
  98188. return this.super$SassNumber$lessThan0(other);
  98189. },
  98190. lessThanOrEquals$1(other) {
  98191. var t1, t2;
  98192. if (other instanceof A.SassNumber0) {
  98193. t1 = this._number1$_value;
  98194. t2 = other._number1$_value;
  98195. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98196. }
  98197. return this.super$SassNumber$lessThanOrEquals0(other);
  98198. },
  98199. modulo$1(other) {
  98200. if (other instanceof A.SassNumber0)
  98201. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  98202. return this.super$SassNumber$modulo0(other);
  98203. },
  98204. plus$1(other) {
  98205. if (other instanceof A.SassNumber0)
  98206. return other.withValue$1(this._number1$_value + other._number1$_value);
  98207. return this.super$SassNumber$plus0(other);
  98208. },
  98209. minus$1(other) {
  98210. if (other instanceof A.SassNumber0)
  98211. return other.withValue$1(this._number1$_value - other._number1$_value);
  98212. return this.super$SassNumber$minus0(other);
  98213. },
  98214. times$1(other) {
  98215. if (other instanceof A.SassNumber0)
  98216. return other.withValue$1(this._number1$_value * other._number1$_value);
  98217. return this.super$SassNumber$times0(other);
  98218. },
  98219. dividedBy$1(other) {
  98220. var t1, t2;
  98221. if (other instanceof A.SassNumber0) {
  98222. t1 = this._number1$_value / other._number1$_value;
  98223. if (other.get$hasUnits()) {
  98224. t2 = other.get$denominatorUnits(other);
  98225. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  98226. t1 = t2;
  98227. } else
  98228. t1 = new A.UnitlessSassNumber0(t1, null);
  98229. return t1;
  98230. }
  98231. return this.super$SassNumber$dividedBy0(other);
  98232. },
  98233. unaryMinus$0() {
  98234. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  98235. },
  98236. $eq(_, other) {
  98237. if (other == null)
  98238. return false;
  98239. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  98240. },
  98241. get$hashCode(_) {
  98242. var t1 = this.hashCache;
  98243. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  98244. }
  98245. };
  98246. A.UniversalSelector0.prototype = {
  98247. get$specificity() {
  98248. return 0;
  98249. },
  98250. accept$1$1(visitor) {
  98251. return visitor.visitUniversalSelector$1(this);
  98252. },
  98253. accept$1(visitor) {
  98254. return this.accept$1$1(visitor, type$.dynamic);
  98255. },
  98256. unify$1(compound) {
  98257. var unified, t1, _this = this,
  98258. first = B.JSArray_methods.get$first(compound);
  98259. if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
  98260. unified = A.unifyUniversalAndElement0(_this, first);
  98261. if (unified == null)
  98262. return null;
  98263. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  98264. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  98265. return t1;
  98266. } else {
  98267. if (compound.length === 1)
  98268. if (first instanceof A.PseudoSelector0)
  98269. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  98270. else
  98271. t1 = false;
  98272. else
  98273. t1 = false;
  98274. if (t1)
  98275. return null;
  98276. }
  98277. t1 = _this.namespace;
  98278. if (t1 != null && t1 !== "*") {
  98279. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  98280. B.JSArray_methods.addAll$1(t1, compound);
  98281. return t1;
  98282. }
  98283. if (compound.length !== 0)
  98284. return compound;
  98285. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  98286. },
  98287. isSuperselector$1(other) {
  98288. var t1 = this.namespace;
  98289. if (t1 === "*")
  98290. return true;
  98291. if (other instanceof A.TypeSelector0)
  98292. return t1 == other.name.namespace;
  98293. if (other instanceof A.UniversalSelector0)
  98294. return t1 == other.namespace;
  98295. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  98296. },
  98297. $eq(_, other) {
  98298. if (other == null)
  98299. return false;
  98300. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  98301. },
  98302. get$hashCode(_) {
  98303. return J.get$hashCode$(this.namespace);
  98304. }
  98305. };
  98306. A.UnprefixedMapView0.prototype = {
  98307. get$keys(_) {
  98308. return new A._UnprefixedKeys0(this);
  98309. },
  98310. $index(_, key) {
  98311. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  98312. },
  98313. containsKey$1(key) {
  98314. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  98315. },
  98316. remove$1(_, key) {
  98317. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  98318. }
  98319. };
  98320. A._UnprefixedKeys0.prototype = {
  98321. get$iterator(_) {
  98322. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  98323. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
  98324. return t1.get$iterator(t1);
  98325. },
  98326. contains$1(_, key) {
  98327. return this._unprefixed_map_view0$_view.containsKey$1(key);
  98328. }
  98329. };
  98330. A._UnprefixedKeys_iterator_closure1.prototype = {
  98331. call$1(key) {
  98332. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  98333. },
  98334. $signature: 8
  98335. };
  98336. A._UnprefixedKeys_iterator_closure2.prototype = {
  98337. call$1(key) {
  98338. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  98339. },
  98340. $signature: 5
  98341. };
  98342. A.JSUrl0.prototype = {};
  98343. A.UseRule0.prototype = {
  98344. UseRule$4$configuration0(url, namespace, span, configuration) {
  98345. var t1, t2, _i, variable;
  98346. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98347. variable = t1[_i];
  98348. if (variable.isGuarded)
  98349. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  98350. }
  98351. },
  98352. accept$1$1(visitor) {
  98353. return visitor.visitUseRule$1(this);
  98354. },
  98355. accept$1(visitor) {
  98356. return this.accept$1$1(visitor, type$.dynamic);
  98357. },
  98358. toString$0(_) {
  98359. var t1 = this.url,
  98360. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  98361. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  98362. dot = B.JSString_methods.indexOf$1(basename, ".");
  98363. t1 = this.namespace;
  98364. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  98365. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  98366. else
  98367. t1 = t2;
  98368. t2 = this.configuration;
  98369. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  98370. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98371. },
  98372. $isAstNode0: 1,
  98373. $isStatement0: 1,
  98374. get$span(receiver) {
  98375. return this.span;
  98376. }
  98377. };
  98378. A.UserDefinedCallable0.prototype = {
  98379. get$name(_) {
  98380. return this.declaration.name;
  98381. },
  98382. $isAsyncCallable0: 1,
  98383. $isCallable0: 1
  98384. };
  98385. A.resolveImportPath_closure1.prototype = {
  98386. call$0() {
  98387. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  98388. },
  98389. $signature: 42
  98390. };
  98391. A.resolveImportPath_closure2.prototype = {
  98392. call$0() {
  98393. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  98394. },
  98395. $signature: 42
  98396. };
  98397. A._tryPathAsDirectory_closure0.prototype = {
  98398. call$0() {
  98399. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  98400. },
  98401. $signature: 42
  98402. };
  98403. A._exactlyOne_closure0.prototype = {
  98404. call$1(path) {
  98405. var t1 = $.$get$context();
  98406. return " " + t1.prettyUri$1(t1.toUri$1(path));
  98407. },
  98408. $signature: 5
  98409. };
  98410. A._PropertyDescriptor0.prototype = {};
  98411. A.futureToPromise_closure0.prototype = {
  98412. call$2(resolve, reject) {
  98413. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  98414. },
  98415. $signature: 541
  98416. };
  98417. A.futureToPromise__closure0.prototype = {
  98418. call$1(result) {
  98419. return this.resolve.call$1(result);
  98420. },
  98421. $signature: 26
  98422. };
  98423. A.futureToPromise__closure1.prototype = {
  98424. call$2(error, stackTrace) {
  98425. A.attachTrace0(error, stackTrace);
  98426. this.reject.call$1(error);
  98427. },
  98428. $signature: 73
  98429. };
  98430. A.objectToMap_closure.prototype = {
  98431. call$2(key, value) {
  98432. this.map.$indexSet(0, key, value);
  98433. return value;
  98434. },
  98435. $signature: 128
  98436. };
  98437. A.indent_closure0.prototype = {
  98438. call$1(line) {
  98439. return B.JSString_methods.$mul(" ", this.indentation) + line;
  98440. },
  98441. $signature: 5
  98442. };
  98443. A.flattenVertically_closure1.prototype = {
  98444. call$1(inner) {
  98445. return A.QueueList_QueueList$from(inner, this.T);
  98446. },
  98447. $signature() {
  98448. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  98449. }
  98450. };
  98451. A.flattenVertically_closure2.prototype = {
  98452. call$1(queue) {
  98453. this.result.push(queue.removeFirst$0());
  98454. return queue.get$length(queue) === 0;
  98455. },
  98456. $signature() {
  98457. return this.T._eval$1("bool(QueueList<0>)");
  98458. }
  98459. };
  98460. A.longestCommonSubsequence_backtrack0.prototype = {
  98461. call$2(i, j) {
  98462. var selection, t1, _this = this;
  98463. if (i === -1 || j === -1)
  98464. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  98465. selection = _this.selections[i][j];
  98466. if (selection != null) {
  98467. t1 = _this.call$2(i - 1, j - 1);
  98468. J.add$1$ax(t1, selection);
  98469. return t1;
  98470. }
  98471. t1 = _this.lengths;
  98472. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  98473. },
  98474. $signature() {
  98475. return this.T._eval$1("List<0>(int,int)");
  98476. }
  98477. };
  98478. A.mapAddAll2_closure0.prototype = {
  98479. call$2(key, inner) {
  98480. var t1 = this.destination,
  98481. innerDestination = t1.$index(0, key);
  98482. if (innerDestination != null)
  98483. innerDestination.addAll$1(0, inner);
  98484. else
  98485. t1.$indexSet(0, key, inner);
  98486. },
  98487. $signature() {
  98488. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  98489. }
  98490. };
  98491. A.CssValue0.prototype = {
  98492. toString$0(_) {
  98493. return J.toString$0$(this.value);
  98494. },
  98495. $isAstNode0: 1,
  98496. get$value(receiver) {
  98497. return this.value;
  98498. },
  98499. get$span(receiver) {
  98500. return this.span;
  98501. }
  98502. };
  98503. A.ValueExpression0.prototype = {
  98504. accept$1$1(visitor) {
  98505. return visitor.visitValueExpression$1(this);
  98506. },
  98507. accept$1(visitor) {
  98508. return this.accept$1$1(visitor, type$.dynamic);
  98509. },
  98510. toString$0(_) {
  98511. return A.serializeValue0(this.value, true, true);
  98512. },
  98513. $isExpression0: 1,
  98514. $isAstNode0: 1,
  98515. get$span(receiver) {
  98516. return this.span;
  98517. }
  98518. };
  98519. A.ModifiableCssValue0.prototype = {
  98520. toString$0(_) {
  98521. return A.serializeSelector0(this.value, true);
  98522. },
  98523. $isAstNode0: 1,
  98524. $isCssValue0: 1,
  98525. get$value(receiver) {
  98526. return this.value;
  98527. },
  98528. get$span(receiver) {
  98529. return this.span;
  98530. }
  98531. };
  98532. A.valueClass_closure.prototype = {
  98533. call$0() {
  98534. var t2,
  98535. t1 = type$.JSClass,
  98536. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  98537. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  98538. t1 = type$.String;
  98539. t2 = type$.Function;
  98540. A.LinkedHashMap_LinkedHashMap$_literal(["asList", new A.valueClass__closure0(), "hasBrackets", new A.valueClass__closure1(), "isTruthy", new A.valueClass__closure2(), "realNull", new A.valueClass__closure3(), "separator", new A.valueClass__closure4()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  98541. A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertColor", new A.valueClass__closure8(), "assertFunction", new A.valueClass__closure9(), "assertMap", new A.valueClass__closure10(), "assertNumber", new A.valueClass__closure11(), "assertString", new A.valueClass__closure12(), "tryMap", new A.valueClass__closure13(), "equals", new A.valueClass__closure14(), "hashCode", new A.valueClass__closure15(), "toString", new A.valueClass__closure16()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  98542. return jsClass;
  98543. },
  98544. $signature: 25
  98545. };
  98546. A.valueClass__closure.prototype = {
  98547. call$1($self) {
  98548. return J.toString$0$($self);
  98549. },
  98550. $signature: 46
  98551. };
  98552. A.valueClass__closure0.prototype = {
  98553. call$1($self) {
  98554. return new self.immutable.List($self.get$asList());
  98555. },
  98556. $signature: 542
  98557. };
  98558. A.valueClass__closure1.prototype = {
  98559. call$1($self) {
  98560. return $self.get$hasBrackets();
  98561. },
  98562. $signature: 44
  98563. };
  98564. A.valueClass__closure2.prototype = {
  98565. call$1($self) {
  98566. return $self.get$isTruthy();
  98567. },
  98568. $signature: 44
  98569. };
  98570. A.valueClass__closure3.prototype = {
  98571. call$1($self) {
  98572. return $self.get$realNull();
  98573. },
  98574. $signature: 218
  98575. };
  98576. A.valueClass__closure4.prototype = {
  98577. call$1($self) {
  98578. return $self.get$separator($self).separator;
  98579. },
  98580. $signature: 543
  98581. };
  98582. A.valueClass__closure5.prototype = {
  98583. call$3($self, sassIndex, $name) {
  98584. return $self.sassIndexToListIndex$2(sassIndex, $name);
  98585. },
  98586. call$2($self, sassIndex) {
  98587. return this.call$3($self, sassIndex, null);
  98588. },
  98589. "call*": "call$3",
  98590. $requiredArgCount: 2,
  98591. $defaultValues() {
  98592. return [null];
  98593. },
  98594. $signature: 544
  98595. };
  98596. A.valueClass__closure6.prototype = {
  98597. call$2($self, index) {
  98598. return index < 1 && index >= -1 ? $self : self.undefined;
  98599. },
  98600. $signature: 231
  98601. };
  98602. A.valueClass__closure7.prototype = {
  98603. call$2($self, $name) {
  98604. return $self.assertBoolean$1($name);
  98605. },
  98606. call$1($self) {
  98607. return this.call$2($self, null);
  98608. },
  98609. "call*": "call$2",
  98610. $requiredArgCount: 1,
  98611. $defaultValues() {
  98612. return [null];
  98613. },
  98614. $signature: 545
  98615. };
  98616. A.valueClass__closure8.prototype = {
  98617. call$2($self, $name) {
  98618. return $self.assertColor$1($name);
  98619. },
  98620. call$1($self) {
  98621. return this.call$2($self, null);
  98622. },
  98623. "call*": "call$2",
  98624. $requiredArgCount: 1,
  98625. $defaultValues() {
  98626. return [null];
  98627. },
  98628. $signature: 546
  98629. };
  98630. A.valueClass__closure9.prototype = {
  98631. call$2($self, $name) {
  98632. return $self.assertFunction$1($name);
  98633. },
  98634. call$1($self) {
  98635. return this.call$2($self, null);
  98636. },
  98637. "call*": "call$2",
  98638. $requiredArgCount: 1,
  98639. $defaultValues() {
  98640. return [null];
  98641. },
  98642. $signature: 547
  98643. };
  98644. A.valueClass__closure10.prototype = {
  98645. call$2($self, $name) {
  98646. return $self.assertMap$1($name);
  98647. },
  98648. call$1($self) {
  98649. return this.call$2($self, null);
  98650. },
  98651. "call*": "call$2",
  98652. $requiredArgCount: 1,
  98653. $defaultValues() {
  98654. return [null];
  98655. },
  98656. $signature: 548
  98657. };
  98658. A.valueClass__closure11.prototype = {
  98659. call$2($self, $name) {
  98660. return $self.assertNumber$1($name);
  98661. },
  98662. call$1($self) {
  98663. return this.call$2($self, null);
  98664. },
  98665. "call*": "call$2",
  98666. $requiredArgCount: 1,
  98667. $defaultValues() {
  98668. return [null];
  98669. },
  98670. $signature: 549
  98671. };
  98672. A.valueClass__closure12.prototype = {
  98673. call$2($self, $name) {
  98674. return $self.assertString$1($name);
  98675. },
  98676. call$1($self) {
  98677. return this.call$2($self, null);
  98678. },
  98679. "call*": "call$2",
  98680. $requiredArgCount: 1,
  98681. $defaultValues() {
  98682. return [null];
  98683. },
  98684. $signature: 550
  98685. };
  98686. A.valueClass__closure13.prototype = {
  98687. call$1($self) {
  98688. return $self.tryMap$0();
  98689. },
  98690. $signature: 551
  98691. };
  98692. A.valueClass__closure14.prototype = {
  98693. call$2($self, other) {
  98694. return $self.$eq(0, other);
  98695. },
  98696. $signature: 552
  98697. };
  98698. A.valueClass__closure15.prototype = {
  98699. call$2($self, _) {
  98700. return $self.get$hashCode($self);
  98701. },
  98702. call$1($self) {
  98703. return this.call$2($self, null);
  98704. },
  98705. "call*": "call$2",
  98706. $requiredArgCount: 1,
  98707. $defaultValues() {
  98708. return [null];
  98709. },
  98710. $signature: 553
  98711. };
  98712. A.valueClass__closure16.prototype = {
  98713. call$1($self) {
  98714. return A.serializeValue0($self, true, true);
  98715. },
  98716. $signature: 201
  98717. };
  98718. A.Value0.prototype = {
  98719. get$isTruthy() {
  98720. return true;
  98721. },
  98722. get$separator(_) {
  98723. return B.ListSeparator_undecided_null_undecided0;
  98724. },
  98725. get$hasBrackets() {
  98726. return false;
  98727. },
  98728. get$asList() {
  98729. return A._setArrayType([this], type$.JSArray_Value_2);
  98730. },
  98731. get$lengthAsList() {
  98732. return 1;
  98733. },
  98734. get$isBlank() {
  98735. return false;
  98736. },
  98737. get$isSpecialNumber() {
  98738. return false;
  98739. },
  98740. get$isVar() {
  98741. return false;
  98742. },
  98743. get$realNull() {
  98744. return this;
  98745. },
  98746. sassIndexToListIndex$2(sassIndex, $name) {
  98747. var index = sassIndex.assertNumber$1($name).assertInt$1($name);
  98748. if (index === 0)
  98749. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  98750. if (Math.abs(index) > this.get$lengthAsList())
  98751. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  98752. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  98753. },
  98754. assertBoolean$1($name) {
  98755. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  98756. },
  98757. assertCalculation$1($name) {
  98758. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  98759. },
  98760. assertColor$1($name) {
  98761. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  98762. },
  98763. assertFunction$1($name) {
  98764. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  98765. },
  98766. assertMap$1($name) {
  98767. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  98768. },
  98769. tryMap$0() {
  98770. return null;
  98771. },
  98772. assertNumber$1($name) {
  98773. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  98774. },
  98775. assertNumber$0() {
  98776. return this.assertNumber$1(null);
  98777. },
  98778. assertString$1($name) {
  98779. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  98780. },
  98781. _value$_selectorString$1($name) {
  98782. var string = this._value$_selectorStringOrNull$0();
  98783. if (string != null)
  98784. return string;
  98785. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  98786. },
  98787. _value$_selectorStringOrNull$0() {
  98788. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  98789. if (_this instanceof A.SassString0)
  98790. return _this._string0$_text;
  98791. if (!(_this instanceof A.SassList0))
  98792. return _null;
  98793. t1 = _this._list1$_contents;
  98794. t2 = t1.length;
  98795. if (t2 === 0)
  98796. return _null;
  98797. result = A._setArrayType([], type$.JSArray_String);
  98798. t3 = _this._list1$_separator;
  98799. switch (t3) {
  98800. case B.ListSeparator_rXA0:
  98801. for (_i = 0; _i < t2; ++_i) {
  98802. complex = t1[_i];
  98803. if (complex instanceof A.SassString0)
  98804. result.push(complex._string0$_text);
  98805. else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_EVt0) {
  98806. string = complex._value$_selectorStringOrNull$0();
  98807. if (string == null)
  98808. return _null;
  98809. result.push(string);
  98810. } else
  98811. return _null;
  98812. }
  98813. break;
  98814. case B.ListSeparator_zg90:
  98815. return _null;
  98816. default:
  98817. for (_i = 0; _i < t2; ++_i) {
  98818. compound = t1[_i];
  98819. if (compound instanceof A.SassString0)
  98820. result.push(compound._string0$_text);
  98821. else
  98822. return _null;
  98823. }
  98824. break;
  98825. }
  98826. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA0 ? ", " : " ");
  98827. },
  98828. withListContents$2$separator(contents, separator) {
  98829. var t1 = separator == null ? this.get$separator(this) : separator,
  98830. t2 = this.get$hasBrackets();
  98831. return A.SassList$0(contents, t1, t2);
  98832. },
  98833. withListContents$1(contents) {
  98834. return this.withListContents$2$separator(contents, null);
  98835. },
  98836. greaterThan$1(other) {
  98837. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  98838. },
  98839. greaterThanOrEquals$1(other) {
  98840. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  98841. },
  98842. lessThan$1(other) {
  98843. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  98844. },
  98845. lessThanOrEquals$1(other) {
  98846. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  98847. },
  98848. times$1(other) {
  98849. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  98850. },
  98851. modulo$1(other) {
  98852. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  98853. },
  98854. plus$1(other) {
  98855. if (other instanceof A.SassString0)
  98856. return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  98857. else if (other instanceof A.SassCalculation0)
  98858. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98859. else
  98860. return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  98861. },
  98862. minus$1(other) {
  98863. if (other instanceof A.SassCalculation0)
  98864. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98865. else
  98866. return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  98867. },
  98868. dividedBy$1(other) {
  98869. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  98870. },
  98871. unaryPlus$0() {
  98872. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  98873. },
  98874. unaryMinus$0() {
  98875. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  98876. },
  98877. unaryNot$0() {
  98878. return B.SassBoolean_false0;
  98879. },
  98880. withoutSlash$0() {
  98881. return this;
  98882. },
  98883. toString$0(_) {
  98884. return A.serializeValue0(this, true, true);
  98885. }
  98886. };
  98887. A.VariableExpression0.prototype = {
  98888. accept$1$1(visitor) {
  98889. return visitor.visitVariableExpression$1(this);
  98890. },
  98891. accept$1(visitor) {
  98892. return this.accept$1$1(visitor, type$.dynamic);
  98893. },
  98894. toString$0(_) {
  98895. var t1 = this.namespace,
  98896. t2 = this.name;
  98897. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  98898. },
  98899. $isExpression0: 1,
  98900. $isAstNode0: 1,
  98901. get$span(receiver) {
  98902. return this.span;
  98903. }
  98904. };
  98905. A.VariableDeclaration0.prototype = {
  98906. accept$1$1(visitor) {
  98907. return visitor.visitVariableDeclaration$1(this);
  98908. },
  98909. accept$1(visitor) {
  98910. return this.accept$1$1(visitor, type$.dynamic);
  98911. },
  98912. toString$0(_) {
  98913. var t1 = this.namespace;
  98914. t1 = t1 != null ? "" + (t1 + ".") : "";
  98915. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  98916. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98917. },
  98918. $isAstNode0: 1,
  98919. $isStatement0: 1,
  98920. get$span(receiver) {
  98921. return this.span;
  98922. }
  98923. };
  98924. A.WarnRule0.prototype = {
  98925. accept$1$1(visitor) {
  98926. return visitor.visitWarnRule$1(this);
  98927. },
  98928. accept$1(visitor) {
  98929. return this.accept$1$1(visitor, type$.dynamic);
  98930. },
  98931. toString$0(_) {
  98932. return "@warn " + this.expression.toString$0(0) + ";";
  98933. },
  98934. $isAstNode0: 1,
  98935. $isStatement0: 1,
  98936. get$span(receiver) {
  98937. return this.span;
  98938. }
  98939. };
  98940. A.WhileRule0.prototype = {
  98941. accept$1$1(visitor) {
  98942. return visitor.visitWhileRule$1(this);
  98943. },
  98944. accept$1(visitor) {
  98945. return this.accept$1$1(visitor, type$.dynamic);
  98946. },
  98947. toString$0(_) {
  98948. var t1 = this.children;
  98949. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  98950. },
  98951. get$span(receiver) {
  98952. return this.span;
  98953. }
  98954. };
  98955. (function aliases() {
  98956. var _ = J.LegacyJavaScriptObject.prototype;
  98957. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  98958. _ = A.JsLinkedHashMap.prototype;
  98959. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  98960. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  98961. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  98962. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  98963. _ = A._BufferingStreamSubscription.prototype;
  98964. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  98965. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  98966. _ = A.ListMixin.prototype;
  98967. _.super$ListMixin$setRange = _.setRange$4;
  98968. _ = A.Iterable.prototype;
  98969. _.super$Iterable$where = _.where$1;
  98970. _.super$Iterable$skipWhile = _.skipWhile$1;
  98971. _ = A.ModifiableCssParentNode.prototype;
  98972. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  98973. _ = A.SimpleSelector.prototype;
  98974. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  98975. _.super$SimpleSelector$unify = _.unify$1;
  98976. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  98977. _ = A.Parser.prototype;
  98978. _.super$Parser$silentComment = _.silentComment$0;
  98979. _ = A.StylesheetParser.prototype;
  98980. _.super$StylesheetParser$importArgument = _.importArgument$0;
  98981. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  98982. _ = A.Value.prototype;
  98983. _.super$Value$assertMap = _.assertMap$1;
  98984. _.super$Value$plus = _.plus$1;
  98985. _.super$Value$minus = _.minus$1;
  98986. _.super$Value$dividedBy = _.dividedBy$1;
  98987. _ = A.SassNumber.prototype;
  98988. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  98989. _.super$SassNumber$coerce = _.coerce$3;
  98990. _.super$SassNumber$coerceValue = _.coerceValue$3;
  98991. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  98992. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  98993. _.super$SassNumber$greaterThan = _.greaterThan$1;
  98994. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  98995. _.super$SassNumber$lessThan = _.lessThan$1;
  98996. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  98997. _.super$SassNumber$modulo = _.modulo$1;
  98998. _.super$SassNumber$plus = _.plus$1;
  98999. _.super$SassNumber$minus = _.minus$1;
  99000. _.super$SassNumber$times = _.times$1;
  99001. _.super$SassNumber$dividedBy = _.dividedBy$1;
  99002. _ = A.AnySelectorVisitor.prototype;
  99003. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  99004. _ = A.EveryCssVisitor.prototype;
  99005. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  99006. _ = A.SourceSpanMixin.prototype;
  99007. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  99008. _.super$SourceSpanMixin$$eq = _.$eq;
  99009. _ = A.StringScanner.prototype;
  99010. _.super$StringScanner$readChar = _.readChar$0;
  99011. _.super$StringScanner$scanChar = _.scanChar$1;
  99012. _.super$StringScanner$scan = _.scan$1;
  99013. _.super$StringScanner$matches = _.matches$1;
  99014. _ = A.AnySelectorVisitor0.prototype;
  99015. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  99016. _ = A.EveryCssVisitor0.prototype;
  99017. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  99018. _ = A.ModifiableCssParentNode0.prototype;
  99019. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  99020. _ = A.SassNumber0.prototype;
  99021. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  99022. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  99023. _.super$SassNumber$coerce0 = _.coerce$3;
  99024. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  99025. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  99026. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  99027. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  99028. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  99029. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  99030. _.super$SassNumber$lessThan0 = _.lessThan$1;
  99031. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  99032. _.super$SassNumber$modulo0 = _.modulo$1;
  99033. _.super$SassNumber$plus0 = _.plus$1;
  99034. _.super$SassNumber$minus0 = _.minus$1;
  99035. _.super$SassNumber$times0 = _.times$1;
  99036. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  99037. _ = A.Parser1.prototype;
  99038. _.super$Parser$silentComment0 = _.silentComment$0;
  99039. _ = A.SimpleSelector0.prototype;
  99040. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  99041. _.super$SimpleSelector$unify0 = _.unify$1;
  99042. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  99043. _ = A.StylesheetParser0.prototype;
  99044. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  99045. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  99046. _ = A.Value0.prototype;
  99047. _.super$Value$assertMap0 = _.assertMap$1;
  99048. _.super$Value$plus0 = _.plus$1;
  99049. _.super$Value$minus0 = _.minus$1;
  99050. _.super$Value$dividedBy0 = _.dividedBy$1;
  99051. })();
  99052. (function installTearOffs() {
  99053. var _static_2 = hunkHelpers._static_2,
  99054. _instance_1_i = hunkHelpers._instance_1i,
  99055. _instance_1_u = hunkHelpers._instance_1u,
  99056. _static_1 = hunkHelpers._static_1,
  99057. _static_0 = hunkHelpers._static_0,
  99058. _static = hunkHelpers.installStaticTearOff,
  99059. _instance = hunkHelpers.installInstanceTearOff,
  99060. _instance_2_u = hunkHelpers._instance_2u,
  99061. _instance_0_i = hunkHelpers._instance_0i,
  99062. _instance_0_u = hunkHelpers._instance_0u;
  99063. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 251);
  99064. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  99065. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  99066. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  99067. _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 104);
  99068. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  99069. _instance_1_u(A.GeneralConstantMap.prototype, "get$containsKey", "containsKey$1", 9);
  99070. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99071. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 120);
  99072. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 120);
  99073. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 120);
  99074. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  99075. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 139);
  99076. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 64);
  99077. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  99078. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 557, 0);
  99079. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  99080. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  99081. }], 558, 1);
  99082. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  99083. return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
  99084. }], 559, 1);
  99085. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  99086. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
  99087. }], 560, 1);
  99088. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  99089. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  99090. }], 561, 0);
  99091. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  99092. return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
  99093. }], 562, 0);
  99094. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  99095. return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
  99096. }], 563, 0);
  99097. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 564, 0);
  99098. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 565, 0);
  99099. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 566, 0);
  99100. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 567, 0);
  99101. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 568, 0);
  99102. _static_1(A, "async___printToZone$closure", "_printToZone", 119);
  99103. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 569, 0);
  99104. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  99105. return [null];
  99106. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 173, 0, 0);
  99107. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 64);
  99108. var _;
  99109. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 26);
  99110. _instance(_, "get$addError", 0, 1, function() {
  99111. return [null];
  99112. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 196, 0, 0);
  99113. _instance_0_i(_, "get$close", "close$0", 489);
  99114. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 26);
  99115. _instance_2_u(_, "get$_addError", "_addError$2", 64);
  99116. _instance_0_u(_, "get$_close", "_close$0", 0);
  99117. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  99118. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99119. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 497, 0, 0);
  99120. _instance_0_i(_, "get$resume", "resume$0", 0);
  99121. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  99122. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99123. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 26);
  99124. _instance_2_u(_, "get$_onError", "_onError$2", 64);
  99125. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  99126. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  99127. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99128. _instance_1_u(_, "get$_handleData", "_handleData$1", 26);
  99129. _instance_2_u(_, "get$_handleError", "_handleError$2", 509);
  99130. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  99131. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 254);
  99132. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 104);
  99133. _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 251);
  99134. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99135. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99136. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 142, 0, 0);
  99137. _instance_1_i(_, "get$contains", "contains$1", 9);
  99138. _instance_1_i(_, "get$add", "add$1", 9);
  99139. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 142, 0, 0);
  99140. _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 9);
  99141. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  99142. _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  99143. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 94);
  99144. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 104);
  99145. _static_2(A, "core__identical$closure", "identical", 254);
  99146. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  99147. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  99148. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 26);
  99149. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  99150. return A.max(a, b, type$.num);
  99151. }], 571, 1);
  99152. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 26);
  99153. _instance(_, "get$setError", 0, 1, function() {
  99154. return [null];
  99155. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 196, 0, 0);
  99156. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  99157. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  99158. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  99159. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 156);
  99160. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  99161. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  99162. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  99163. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  99164. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99165. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99166. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99167. _instance_1_u(_ = A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 16);
  99168. _instance_1_u(_, "get$isSuperselector", "isSuperselector$1", 67);
  99169. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99170. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99171. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99172. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99173. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 155);
  99174. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 155);
  99175. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  99176. _static_1(A, "color0___opacify$closure", "_opacify", 23);
  99177. _static_1(A, "color0___transparentize$closure", "_transparentize", 23);
  99178. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  99179. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  99180. _instance_0_u(_, "get$string", "string$0", 30);
  99181. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  99182. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 326, 0, 0);
  99183. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 115);
  99184. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 115);
  99185. _instance(_, "get$_expression", 0, 0, null, ["call$3$bracketList$singleEquals$until", "call$0", "call$2$singleEquals$until", "call$1$bracketList", "call$1$until"], ["_expression$3$bracketList$singleEquals$until", "_expression$0", "_expression$2$singleEquals$until", "_expression$1$bracketList", "_expression$1$until"], 329, 0, 0);
  99186. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99187. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99188. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  99189. return {color: null};
  99190. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 101, 0, 0);
  99191. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 26);
  99192. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99193. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99194. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 26);
  99195. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99196. _static_1(A, "utils__isPublic$closure", "isPublic", 8);
  99197. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 169);
  99198. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99199. _instance(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate$_interpolationToValue$3$trim$warnForColor", "_async_evaluate$_interpolationToValue$1", "_async_evaluate$_interpolationToValue$2$warnForColor"], 382, 0, 0);
  99200. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 183);
  99201. _instance(_ = A._EvaluateVisitor.prototype, "get$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_interpolationToValue$3$trim$warnForColor", "_interpolationToValue$1", "_interpolationToValue$2$warnForColor"], 526, 0, 0);
  99202. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 183);
  99203. _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 262);
  99204. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 263);
  99205. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 264);
  99206. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 118);
  99207. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  99208. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  99209. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  99210. return {color: null};
  99211. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 101, 0, 0);
  99212. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  99213. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  99214. }], 573, 0);
  99215. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  99216. return A._collect($event, soFar, type$.dynamic);
  99217. }], 574, 0);
  99218. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99219. _instance(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_async_evaluate0$_interpolationToValue$3$trim$warnForColor", "_async_evaluate0$_interpolationToValue$1", "_async_evaluate0$_interpolationToValue$2$warnForColor"], 306, 0, 0);
  99220. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 161);
  99221. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 169);
  99222. _static_1(A, "color2___opacify$closure", "_opacify0", 24);
  99223. _static_1(A, "color2___transparentize$closure", "_transparentize0", 24);
  99224. _static(A, "compile__compile$closure", 1, function() {
  99225. return [null];
  99226. }, ["call$2", "call$1"], ["compile0", function(path) {
  99227. return A.compile0(path, null);
  99228. }], 575, 0);
  99229. _static(A, "compile__compileString$closure", 1, function() {
  99230. return [null];
  99231. }, ["call$2", "call$1"], ["compileString0", function(text) {
  99232. return A.compileString0(text, null);
  99233. }], 576, 0);
  99234. _static(A, "compile__compileAsync$closure", 1, function() {
  99235. return [null];
  99236. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  99237. return A.compileAsync1(path, null);
  99238. }], 577, 0);
  99239. _static(A, "compile__compileStringAsync$closure", 1, function() {
  99240. return [null];
  99241. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  99242. return A.compileStringAsync1(text, null);
  99243. }], 578, 0);
  99244. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 579);
  99245. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 210);
  99246. _instance(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_interpolationToValue", 0, 1, null, ["call$3$trim$warnForColor", "call$1", "call$2$warnForColor"], ["_evaluate0$_interpolationToValue$3$trim$warnForColor", "_evaluate0$_interpolationToValue$1", "_evaluate0$_interpolationToValue$2$warnForColor"], 491, 0, 0);
  99247. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 161);
  99248. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 210);
  99249. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 13);
  99250. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 580);
  99251. _static_2(A, "legacy__render$closure", "render", 581);
  99252. _static_1(A, "legacy__renderSync$closure", "renderSync", 582);
  99253. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99254. _instance_1_u(_ = A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 15);
  99255. _instance_1_u(_, "get$isSuperselector", "isSuperselector$1", 66);
  99256. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99257. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  99258. return {color: null};
  99259. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 101, 0, 0);
  99260. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 26);
  99261. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  99262. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  99263. _instance_0_u(_, "get$string", "string$0", 30);
  99264. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99265. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99266. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99267. _static_1(A, "sass__main$closure", "main0", 583);
  99268. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  99269. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99270. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99271. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99272. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 503);
  99273. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 118);
  99274. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99275. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 26);
  99276. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  99277. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  99278. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 518, 0, 0);
  99279. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 138);
  99280. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 138);
  99281. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99282. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99283. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99284. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 584);
  99285. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 585);
  99286. _static_1(A, "utils0__isPublic$closure", "isPublic0", 8);
  99287. _static(A, "path__absolute$closure", 1, function() {
  99288. return [null, null, null, null, null, null];
  99289. }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
  99290. return A.absolute(part1, null, null, null, null, null, null);
  99291. }, function(part1, part2) {
  99292. return A.absolute(part1, part2, null, null, null, null, null);
  99293. }, function(part1, part2, part3) {
  99294. return A.absolute(part1, part2, part3, null, null, null, null);
  99295. }, function(part1, part2, part3, part4) {
  99296. return A.absolute(part1, part2, part3, part4, null, null, null);
  99297. }, function(part1, part2, part3, part4, part5, part6) {
  99298. return A.absolute(part1, part2, part3, part4, part5, part6, null);
  99299. }, function(part1, part2, part3, part4, part5) {
  99300. return A.absolute(part1, part2, part3, part4, part5, null, null);
  99301. }], 586, 0);
  99302. _static_1(A, "path__prettyUri$closure", "prettyUri", 86);
  99303. _static_1(A, "character__isWhitespace$closure", "isWhitespace", 32);
  99304. _static_1(A, "character__isNewline$closure", "isNewline", 32);
  99305. _static_1(A, "character__isHex$closure", "isHex", 32);
  99306. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
  99307. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
  99308. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
  99309. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
  99310. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 57);
  99311. _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 32);
  99312. _static_1(A, "character0__isNewline$closure", "isNewline0", 32);
  99313. _static_1(A, "character0__isHex$closure", "isHex0", 32);
  99314. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
  99315. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
  99316. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
  99317. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
  99318. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 588);
  99319. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 57);
  99320. _static_1(A, "value0__wrapValue$closure", "wrapValue", 392);
  99321. })();
  99322. (function inheritance() {
  99323. var _mixin = hunkHelpers.mixin,
  99324. _inherit = hunkHelpers.inherit,
  99325. _inheritMany = hunkHelpers.inheritMany;
  99326. _inherit(A.Object, null);
  99327. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.CssMediaQuery, A._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.ModifiableCssValue, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A.BinaryOperationExpression, A.BooleanExpression, A.CalculationExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.SupportsExpression, A.UnaryOperationExpression, A.ValueExpression, A.VariableExpression, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.__HasContentVisitor_Object_StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor, A.ComplexSelectorComponent, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ImportCache, A.AsyncImporter, A.ImporterResult, A.InterpolationBuffer, A.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.MultiDirWatcher, A.MultiSpan, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A.CalculationInterpolation, A._ColorFormatEnum, A.SpanColorFormat, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.EveryCssVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor, A._SerializeVisitor, A.SerializeResult, A.StatementSearchVisitor, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.Tuple2, A.Tuple3, A.Tuple4, A.WatchEvent, A.ChangeType, A.AnySelectorVisitor0, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.BinaryOperationExpression0, A.BooleanExpression0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.EveryCssVisitor0, A.SassScriptException0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.ListExpression0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorExpression0, A._SerializeVisitor0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StatementSearchVisitor0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.SupportsExpression0, A.TerseLogger0, A.UnaryOperationExpression0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
  99328. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
  99329. _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
  99330. _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module1, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._NodeSassColor, A._Channels, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporter0, A.CanonicalizeOptions, A.NodeImporterResult0, A.NodeImporterResult1, A._NodeSassList, A._ConstructorOptions, A.NodeLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._NodeSassNumber, A._ConstructorOptions0, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._NodeSassString, A._ConstructorOptions1, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
  99331. _inherit(J.JSUnmodifiableArray, J.JSArray);
  99332. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  99333. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes]);
  99334. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  99335. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  99336. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  99337. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.GeneralConstantMap__typeTest_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.ModifiableCssNode_hasFollowingSibling_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_toString_closure, A.Interpolation_toString_closure, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A._IsBogusVisitor_visitComplexSelector_closure, A._IsUselessVisitor_visitComplexSelector_closure, A.ComplexSelectorComponent_toString_closure, A.IDSelector_unify_closure, A.SelectorList_asSassList_closure, A.SelectorList_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_closure1, A.SelectorList_withAdditionalCombinators_closure, A.PseudoSelector_specificity__closure, A.PseudoSelector_specificity__closure0, A.PseudoSelector_unify_closure, A.SimpleSelector_isSuperselector_closure, A.SimpleSelector_isSuperselector__closure, A._compileStylesheet_closure0, A.AsyncEnvironment_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A.Environment__fromOneModule_closure, A.Environment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents_closure2, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A.complexIsSuperselector_closure, A.complexIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global__closure, A.global_closure25, A.module_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._removeUnits_closure, A._removeUnits_closure0, A._hwb_closure, A._parseChannels_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify_modifyNestedMap, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, A.TerseLogger_summarize_closure, A.TerseLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor_SassColor$hwb_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A.AnySelectorVisitor_visitComplexSelector_closure, A.AnySelectorVisitor_visitCompoundSelector_closure, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitStringExpression_closure0, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolation_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._EvaluateVisitor__stackTrace_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor__closure0, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__topologicalModules_visitModule, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitStringExpression_closure, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolation_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._EvaluateVisitor__stackTrace_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.EveryCssVisitor_visitCssAtRule_closure, A.EveryCssVisitor_visitCssKeyframeBlock_closure, A.EveryCssVisitor_visitCssMediaRule_closure, A.EveryCssVisitor_visitCssStyleRule_closure, A.EveryCssVisitor_visitCssStylesheet_closure, A.EveryCssVisitor_visitCssSupportsRule_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_Chain$parse_closure0, A.Chain_Chain$parse_closure1, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace__parseVM_closure0, A.Trace$parseV8_closure, A.Trace$parseV8_closure0, A.Trace$parseJSCore_closure, A.Trace$parseJSCore_closure0, A.Trace$parseFirefox_closure, A.Trace$parseFirefox_closure0, A.Trace$parseFriendly_closure, A.Trace$parseFriendly_closure0, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.AnySelectorVisitor_visitComplexSelector_closure0, A.AnySelectorVisitor_visitCompoundSelector_closure0, A.ArgumentDeclaration_verify_closure1, A.ArgumentDeclaration_verify_closure2, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment_importForwards_closure2, A.AsyncEnvironment_importForwards_closure3, A.AsyncEnvironment_importForwards_closure4, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A.AsyncEnvironment__fromOneModule_closure0, A.AsyncEnvironment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor_closure38, A._EvaluateVisitor__closure9, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__combineCss_closure8, A._EvaluateVisitor__combineCss_closure9, A._EvaluateVisitor__combineCss_closure10, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__topologicalModules_visitModule2, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitDeclaration_closure5, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure14, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure25, A._EvaluateVisitor_visitStyleRule_closure29, A._EvaluateVisitor_visitStyleRule_closure30, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitStringExpression_closure2, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolation_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._EvaluateVisitor__stackTrace_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.booleanClass__closure, A.BuiltInCallable$mixin_closure0, A.CalculationExpression__verifyArguments_closure0, A.SassCalculation__verifyLength_closure0, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.global_closure43, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global__closure0, A.global_closure56, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module__closure0, A.module_closure16, A._red_closure0, A._green_closure0, A._blue_closure0, A._mix_closure0, A._hue_closure0, A._saturation_closure0, A._lightness_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_getParam0, A._updateComponents_closure0, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._removeUnits_closure1, A._removeUnits_closure2, A._hwb_closure0, A._parseChannels_closure0, A.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.colorClass__closure1, A.colorClass__closure2, A.colorClass__closure3, A.colorClass__closure4, A.colorClass__closure5, A.colorClass__closure6, A.colorClass__closure7, A.colorClass__closure8, A.colorClass__closure9, A.SassColor_SassColor$hwb_toRgb0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A._compileStylesheet_closure1, A.ComplexSelectorComponent_toString_closure0, A.Configuration_toString_closure0, A._disallowedFunctionNames_closure0, A.EachRule_toString_closure0, A.Environment_importForwards_closure2, A.Environment_importForwards_closure3, A.Environment_importForwards_closure4, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A.Environment__fromOneModule_closure0, A.Environment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor__closure6, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_closure7, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__topologicalModules_visitModule1, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitDeclaration_closure3, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure21, A._EvaluateVisitor_visitStyleRule_closure22, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitStringExpression_closure1, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolation_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._EvaluateVisitor__stackTrace_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.EveryCssVisitor_visitCssAtRule_closure0, A.EveryCssVisitor_visitCssKeyframeBlock_closure0, A.EveryCssVisitor_visitCssMediaRule_closure0, A.EveryCssVisitor_visitCssStyleRule_closure0, A.EveryCssVisitor_visitCssStylesheet_closure0, A.EveryCssVisitor_visitCssSupportsRule_closure0, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore_addExtensions_closure2, A.ExtensionStore_addExtensions__closure2, A.ExtensionStore_addExtensions__closure3, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents_closure6, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A.complexIsSuperselector_closure1, A.complexIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure2, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.Interpolation_toString_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure0, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_resolveParentSelectors_closure0, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__complexContainsParentSelector_closure0, A.SelectorList__complexContainsParentSelector__closure0, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.listClass__closure, A.SassList_isBlank_closure0, A.MapExpression_toString_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify_modifyNestedMap0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.mapClass__closure, A.mapClass__closure0, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._abs_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._sqrt_closure0, A._acos_closure0, A._asin_closure0, A._atan_closure0, A._atan2_closure0, A._cos_closure0, A._sin_closure0, A._tan_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._numberFunction_closure0, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.local_closure1, A.local_closure2, A.local__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.legacyNullClass__closure, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.ParentStatement_closure0, A.ParentStatement__closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_specificity__closure1, A.PseudoSelector_specificity__closure2, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A._wrapMain_closure, A._wrapMain_closure0, A._IsBogusVisitor_visitComplexSelector_closure0, A._IsUselessVisitor_visitComplexSelector_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SimpleSelector_isSuperselector_closure0, A.SimpleSelector_isSuperselector__closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.StylesheetParser_parse__closure2, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A.TerseLogger_summarize_closure1, A.TerseLogger_summarize_closure2, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure15, A.valueClass__closure16]);
  99338. _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A.Stream_Stream$fromFuture_closure0, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A.MapMixin_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ComplexSelector_specificity_closure, A.CompoundSelector_specificity_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure3, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
  99339. _inherit(A.CastList, A._CastListBase);
  99340. _inherit(A.MapBase, A.MapMixin);
  99341. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
  99342. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]);
  99343. _inherit(A.ListBase, A._ListBase_Object_ListMixin);
  99344. _inherit(A.UnmodifiableListBase, A.ListBase);
  99345. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  99346. _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.PseudoSelector_specificity_closure, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions___closure, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseArgumentDeclaration_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser__expression_resetState, A.StylesheetParser__expression_resolveOneOperation, A.StylesheetParser__expression_resolveOperations, A.StylesheetParser__expression_resolveSpaceExpressions, A.StylesheetParser_expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue_compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure4, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitExtendRule_closure0, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule__closure0, A._EvaluateVisitor_visitIncludeRule___closure0, A._EvaluateVisitor_visitIncludeRule____closure0, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor__visitMediaQueries_closure0, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor__visitCalculationValue_closure0, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitExtendRule_closure, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitIncludeRule__closure, A._EvaluateVisitor_visitIncludeRule___closure, A._EvaluateVisitor_visitIncludeRule____closure, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor__visitMediaQueries_closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor__visitCalculationValue_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A._SerializeVisitor__visitChildren_closure0, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeLabel_closure, A.Highlighter__writeLabel_closure0, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure8, A._EvaluateVisitor_visitAtRootRule_closure9, A._EvaluateVisitor_visitAtRootRule_closure10, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure6, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitExtendRule_closure2, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor_visitIncludeRule_closure11, A._EvaluateVisitor_visitIncludeRule_closure12, A._EvaluateVisitor_visitIncludeRule_closure13, A._EvaluateVisitor_visitIncludeRule__closure2, A._EvaluateVisitor_visitIncludeRule___closure2, A._EvaluateVisitor_visitIncludeRule____closure2, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor__visitMediaQueries_closure2, A._EvaluateVisitor_visitStyleRule_closure23, A._EvaluateVisitor_visitStyleRule_closure24, A._EvaluateVisitor_visitStyleRule_closure26, A._EvaluateVisitor_visitStyleRule_closure27, A._EvaluateVisitor_visitStyleRule_closure28, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor__visitCalculationValue_closure2, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.legacyBooleanClass_closure, A.booleanClass_closure, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure7, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor_visitAtRootRule_closure7, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure4, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitExtendRule_closure1, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitIncludeRule__closure1, A._EvaluateVisitor_visitIncludeRule___closure1, A._EvaluateVisitor_visitIncludeRule____closure1, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor__visitMediaQueries_closure1, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitStyleRule_closure19, A._EvaluateVisitor_visitStyleRule_closure20, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor__visitCalculationValue_closure1, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions___closure0, A.functionClass_closure, A.NodeImporter__tryPath_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure1, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.NodeToDartLogger_warn_closure, A.NodeToDartLogger_debug_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue_compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.PseudoSelector_specificity_closure0, A.main_closure, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure1, A._SerializeVisitor__visitChildren_closure2, A.SingleUnitSassNumber_multiplyUnits_closure2, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure1, A.StylesheetParser_parseArgumentDeclaration_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser__expression_resetState0, A.StylesheetParser__expression_resolveOneOperation0, A.StylesheetParser__expression_resolveOperations0, A.StylesheetParser__expression_resolveSpaceExpressions0, A.StylesheetParser_expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
  99347. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  99348. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
  99349. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  99350. _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
  99351. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  99352. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  99353. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  99354. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  99355. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  99356. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  99357. _inheritMany(A.ConstantMap, [A.ConstantStringMap, A.GeneralConstantMap]);
  99358. _inherit(A.Instantiation1, A.Instantiation);
  99359. _inherit(A.NullError, A.TypeError);
  99360. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  99361. _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  99362. _inherit(A.NativeTypedArray, A.NativeTypedData);
  99363. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  99364. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  99365. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  99366. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  99367. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  99368. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  99369. _inherit(A._TypeError, A._Error);
  99370. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  99371. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  99372. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  99373. _inherit(A._ControllerStream, A._StreamImpl);
  99374. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  99375. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  99376. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  99377. _inherit(A._ExpandStream, A._ForwardingStream);
  99378. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  99379. _inherit(A._IdentityHashMap, A._HashMap);
  99380. _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
  99381. _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
  99382. _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
  99383. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  99384. _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
  99385. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  99386. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  99387. _inherit(A.Converter, A.StreamTransformerBase);
  99388. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
  99389. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  99390. _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
  99391. _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
  99392. _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
  99393. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  99394. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  99395. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  99396. _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
  99397. _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
  99398. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  99399. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  99400. _inherit(A._DataUri, A._Uri);
  99401. _inherit(A.ArgParserException, A.FormatException);
  99402. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  99403. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  99404. _inherit(A._CastQueueList, A.QueueList);
  99405. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  99406. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  99407. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  99408. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  99409. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  99410. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  99411. _inherit(A.InternalStyle, A.Style);
  99412. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  99413. _inherit(A.CssNode, A.AstNode);
  99414. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  99415. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  99416. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  99417. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  99418. _inherit(A.CssStylesheet, A.CssParentNode);
  99419. _inheritMany(A._Enum, [A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.ExtendMode, A.Syntax, A.CalculationOperator, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.ListSeparator0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  99420. _inheritMany(A.ParentStatement, [A.AtRootRule, A.AtRule, A.CallableDeclaration, A.Declaration, A.EachRule, A.ForRule, A.MediaRule, A.StyleRule, A.Stylesheet, A.SupportsRule, A.WhileRule]);
  99421. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  99422. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  99423. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  99424. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  99425. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  99426. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  99427. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  99428. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  99429. _inherit(A.ExplicitConfiguration, A.Configuration);
  99430. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
  99431. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  99432. _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
  99433. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  99434. _inherit(A.MergedExtension, A.Extension);
  99435. _inherit(A.Importer, A.AsyncImporter);
  99436. _inherit(A.FilesystemImporter, A.Importer);
  99437. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  99438. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  99439. _inherit(A.CssParser, A.ScssParser);
  99440. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  99441. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
  99442. _inherit(A.SassArgumentList, A.SassList);
  99443. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  99444. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  99445. _inherit(A.SingleMapping, A.Mapping);
  99446. _inherit(A.FileLocation, A.SourceLocationMixin);
  99447. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  99448. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  99449. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  99450. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  99451. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
  99452. _inherit(A.SassArgumentList0, A.SassList0);
  99453. _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
  99454. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  99455. _inheritMany(A.ParentStatement0, [A.AtRootRule0, A.AtRule0, A.CallableDeclaration0, A.Declaration0, A.EachRule0, A.ForRule0, A.MediaRule0, A.StyleRule0, A.Stylesheet0, A.SupportsRule0, A.WhileRule0]);
  99456. _inherit(A.CssNode0, A.AstNode0);
  99457. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  99458. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  99459. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  99460. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  99461. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  99462. _inherit(A.CompileStringOptions, A.CompileOptions);
  99463. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  99464. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  99465. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  99466. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  99467. _inherit(A.CssParser0, A.ScssParser0);
  99468. _inherit(A._NodeException, A.JsError);
  99469. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  99470. _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
  99471. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  99472. _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
  99473. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  99474. _inherit(A.MergedExtension0, A.Extension0);
  99475. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  99476. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  99477. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  99478. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  99479. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  99480. _inherit(A.CssStylesheet0, A.CssParentNode0);
  99481. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  99482. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
  99483. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
  99484. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  99485. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
  99486. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  99487. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  99488. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  99489. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  99490. _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
  99491. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  99492. _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
  99493. _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  99494. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99495. _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
  99496. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99497. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99498. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  99499. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  99500. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99501. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99502. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99503. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  99504. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  99505. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  99506. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99507. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99508. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99509. })();
  99510. var init = {
  99511. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  99512. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
  99513. mangledNames: {},
  99514. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(CssNode)", "bool(CssNode0)", "bool(String)", "bool(Object?)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "int()", "bool(SimpleSelector0)", "bool(SimpleSelector)", "bool(ComplexSelector0)", "bool(ComplexSelector)", "SassString0(List<Value0>)", "SassString(List<Value>)", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "SassList(List<Value>)", "SassList0(List<Value0>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "~(Object?)", "Null(~())", "bool()", "double(double)", "String()", "FileSpan()", "bool(int?)", "Future<Null>(Future<~>())", "SassMap0(List<Value0>)", "Value?()", "Value(Value)", "SassMap(List<Value>)", "Future<~>()", "Value0(Value0)", "Value0?()", "Value()", "String?()", "bool(num,num)", "bool(Value0)", "bool(ComplexSelectorComponent)", "String(Object)", "SelectorList()", "List<String>()", "Value0()", "SelectorList0()", "bool(ComplexSelectorComponent0)", "~(Value)", "ValueExpression(Value)", "bool(int)", "double(SassColor0)", "~(Value0)", "double(double,double)", "~(Value0,Value0)", "ValueExpression0(Value0)", "~(Value,Value)", "Future<Value>()", "bool(Value)", "Frame(String)", "~(Object,StackTrace)", "Future<Value0>()", "bool(SelectorList0)", "bool(SelectorList)", "Frame()", "ComplexSelector0(ComplexSelector0)", "Future<Value0?>()", "Future<Value?>()", "ComplexSelector(ComplexSelector)", "Null(Object,StackTrace)", "~(Module0<Callable0>)", "~(Module<Callable>)", "Null(@)", "Value0?(Statement0)", "~(String,Value)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Future<String>(Object?)", "Uri(Uri)", "Future<Value?>(Statement)", "Null(_NodeSassColor,num)", "Value?(Statement)", "Object()", "String(@)", "SassRuntimeException(AstNode)", "Declaration0(List<Statement0>,FileSpan)", "Declaration(List<Statement>,FileSpan)", "Stylesheet?()", "int(Uri)", "@()", "Future<Value0?>(Statement0)", "@(@)", "~(String,Value0)", "Future<Value0>(List<Value0>)", "Null([Object?])", "SassRuntimeException0(AstNode0)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Tuple3<Importer,Uri,Uri>?()", "String(String{color:@})", "bool(Module0<AsyncCallable0>)", "Iterable<String>(Module0<AsyncCallable0>)", "int(Object?)", "bool(_Highlight)", "Callable?()", "Null(Module0<AsyncCallable0>)", "Null(Module<AsyncCallable>)", "List<CssMediaQuery0>()", "bool(ModifiableCssNode0)", "AsyncCallable?()", "bool(Object)", "String(Expression0)", "AtRootQuery0()", "Statement()", "List<CssMediaQuery>()", "AtRootQuery()", "~(Object)", "~(String)", "~(~())", "double(Value)", "Map<ComplexSelector,Extension>()", "double(Value0)", "int(_NodeSassColor)", "bool(Module<Callable>)", "AsyncCallable0?()", "Iterable<String>(Module<Callable>)", "~(String,Object?)", "Iterable<String>(Module0<Callable0>)", "bool(Module0<Callable0>)", "Callable0?()", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<AsyncCallable>)", "Map<ComplexSelector0,Extension0>()", "String(Expression)", "bool(ModifiableCssNode)", "bool(@)", "Statement0()", "~(@)", "int(SassColor0)", "Iterable<String>()", "Set<0^>()<Object?>", "Iterable<String>(String)", "Trace(String)", "int(Frame)", "String(Frame)", "Iterable<String>(@)", "Trace()", "DateTime()", "bool(Frame)", "~(String[~])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "~(@,@)", "int(int)", "~(Iterable<ExtensionStore>)", "Future<~>?()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "List<Extension>()", "AstNode0(AstNode0)", "bool(Queue<Object?>)", "VariableDeclaration()", "SassFunction0(List<Value0>)", "~(Object?,Object?)", "bool(String?)", "~(Module0<AsyncCallable0>)", "AtRootRule(List<Statement>,FileSpan)", "Object(Object)", "AtRule(List<Statement>,FileSpan)", "bool(ModifiableCssParentNode0)", "int(ComplexSelector)", "~([Object?])", "String(int)", "Entry(Entry)", "double?(String,num{assertPercent:bool,checkPercent:bool})", "Future<SassNumber0>()", "int(double)", "bool(UseRule0)", "bool(ForwardRule0)", "double(double,double?,num)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "int(int,double?)", "~(Module<AsyncCallable>)", "AsyncCallable?(Module<AsyncCallable>)", "List<ExtensionStore>()", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "bool(ModifiableCssParentNode)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "~(Object[StackTrace?])", "~(Uint8List,String,int)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Uri?/()", "Future<SassNumber>()", "String(Value0)", "bool(Statement)", "bool(UseRule)", "bool(ForwardRule)", "SelectorList(Value)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "SelectorList(SelectorList,SelectorList)", "~(Iterable<ExtensionStore0>)", "Future<Value>(List<Value>)", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "Future<Object>()", "Uri?()", "bool(Import)", "Value0?(Value0)", "Uri(String)", "SassNumber0()", "String(_NodeException)", "AstNode?()", "List<Extension0>()", "String(SassNumber)", "~(String,@)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Frame(Tuple2<String,AstNode>)", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "double(SassNumber0,Object,Object[String?])", "double(SassNumber0,SassNumber0[String?,String?])", "int(ComplexSelector0)", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "Callable?(Module<Callable>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "Map<String,Callable>(Module<Callable>)", "SassNumber()", "bool(Object?,Object?)", "List<ExtensionStore0>()", "WhileRule(List<Statement>,FileSpan)", "CssValue<String>(Interpolation)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "UserDefinedCallable<Environment>(ContentBlock)", "Null(@,StackTrace)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "SassMap(Value)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "SassMap(SassMap)", "List<Frame>(Trace)", "int(Trace)", "_Future<@>(@)", "String(Trace)", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "SassNumber(Value)", "Frame(String,String)", "Value(Object)", "Map<String,Value>(Module<AsyncCallable>)", "Map<String,AstNode>(Module<AsyncCallable>)", "Frame(Frame)", "SassString(SimpleSelector)", "Null(Function,Function)", "String(String?)", "String(Argument0)", "Null(@,@)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "bool(Tuple3<Importer,Uri,Uri>)", "Uri(Tuple3<Importer,Uri,Uri>)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "bool(String?,String?)", "Future<Stylesheet?>()", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "int(String?)", "~(int,@)", "String(Argument)", "String(MapEntry<String,ConfiguredValue>)", "Expression(Expression)", "Future<~>(List<Value0>)", "Value?(Module<Callable>)", "Module<Callable>?(Module<Callable>)", "Future<EvaluateResult0>()", "~(Symbol0,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "String(Tuple2<Expression,Expression>)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "String(BuiltInCallable)", "Future<CssValue0<Value0>>(Expression0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "Future<Value0?>(Value0)", "CompoundSelector()", "Statement({root:bool})", "Future<CssValue0<String>>(Interpolation0)", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "ArgumentDeclaration()", "String(int,IfClause)", "UseRule()", "~(String,int?)", "int(int,int)", "StyleRule(List<Statement>,FileSpan)", "Future<~>(String)", "Future<Value0>(Expression0)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "MixinRule(List<Statement>,FileSpan)", "List<WatchEvent>(List<WatchEvent>)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "SupportsRule(List<Statement>,FileSpan)", "0&(Object[Object?])", "@(String)", "Expression0(Expression0)", "~(Expression)", "~(BinaryOperator)", "bool(Extension)", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "0&(List<Value0>)", "~(Uri,StylesheetNode?)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "Set<ModifiableCssValue<SelectorList>>()", "double(_NodeSassColor)", "Uint8List(@,@)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "int(int,ComplexSelectorComponent)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "SassScriptException()", "~(ComplexSelector,Extension)", "AsyncImporter0(NodeImporter0)", "0&(@)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "int(int,ComplexSelectorComponent0)", "String(Combinator0)", "int(int,SimpleSelector0)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "SingleUnitSassNumber(double)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "Future<~>(List<Value>)", "Object(Value0)", "List<SimpleSelector>(Extender)", "~(List<Value0>)", "Future<EvaluateResult>()", "EvaluateResult0()", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "List<Extender>?(SimpleSelector)", "Module<AsyncCallable>(Module<AsyncCallable>)", "CssValue0<String>(Interpolation0)", "List<Extender>(PseudoSelector)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "List<List<Extender>>(List<Extender>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelector>(ComplexSelector)", "Future<CssValue<Value>>(Expression)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "PseudoSelector(ComplexSelector)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Future<Value?>(Value)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "Future<CssValue<String>>(Interpolation)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "bool(Queue<List<ComplexSelectorComponent>>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "String(Combinator)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "bool(List<Iterable<ComplexSelectorComponent>>)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "bool(PseudoSelector)", "int(_NodeSassMap)", "SelectorList?(PseudoSelector)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "int?(SassNumber0)", "int(int,SimpleSelector)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "Future<@>()", "Object?(Object?)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "SassList(ComplexSelector)", "Iterable<ComplexSelector>(ComplexSelector)", "SassScriptException0()", "Future<Value>(Expression)", "String(Object,@,@[@])", "~([Future<~>?])", "~(String,StackTrace?)", "SimpleSelector(SimpleSelector)", "~(String,Option)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "String(Value)", "JSUrl0?(FileSpan)", "0&(List<Value>)", "~(@,StackTrace)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "@(@,String)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "StyleRule0(List<Statement0>,FileSpan)", "List<Value>(Value)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "~(List<Value>)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "bool(List<Value>)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "CssValue<Value>(Expression)", "0^(0^,0^)<num>", "Value?(Value)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "Value?(Module<AsyncCallable>)", "int(num)", "ArgParser()"],
  99515. interceptorsByTag: null,
  99516. leafTags: null,
  99517. arrayRti: Symbol("$ti")
  99518. };
  99519. A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","NativeFloat32List":"NativeTypedArrayOfDouble","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_EnvironmentModule0":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"SupportsAnything0":{"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  99520. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Iterator":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
  99521. var string$ = {
  99522. x0a_BUG_: "\n\nBUG: This should include a source span!",
  99523. x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  99524. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  99525. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  99526. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  99527. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  99528. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  99529. x20It_wi: " It will be omitted from the generated CSS.",
  99530. x20be_an: " be an extender.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  99531. x20in_in: " in interpolation here.\nIt may end up represented as ",
  99532. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  99533. x20is_av: " is available from multiple global modules.",
  99534. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  99535. x20is_nov: " is not valid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  99536. x20must_: " must not be greater than the number of characters in the file, ",
  99537. x20repet: " repetitive deprecation warnings omitted.",
  99538. x20to_cl: " to clarify that it's meant to be a binary operation, or wrap\nit in parentheses to make it a unary operation. This will be an error in future\nversions of Sass.\n\nMore info and automated migrator: https://sass-lang.com/d/strict-unary",
  99539. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  99540. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  99541. x20was_n: " was not declared with !default in the @used module.",
  99542. x20was_p: " was passed both by position and by name.",
  99543. x21globa: "!global isn't allowed for variables in other modules.",
  99544. x22x20is_d: '" is deprecated because it conflicts with official CSS syntax.\n\nTo preserve existing behavior: #{',
  99545. x22x20is_ix0a: '" is invalid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
  99546. x22x20is_ix20: '" is invalid CSS. It will be omitted from the generated CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
  99547. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  99548. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  99549. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  99550. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  99551. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  99552. x22packa: '"package:" URLs aren\'t supported on this platform.',
  99553. x22x7d__Fo: '"}\n\nFor details, see https://sass-lang.com/d/media-logic',
  99554. x24css_a: "$css and $module may not both be passed at once.",
  99555. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  99556. x24selec: "$selectors: At least one selector must be passed.",
  99557. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  99558. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  99559. x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  99560. x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  99561. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  99562. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
  99563. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  99564. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  99565. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/random-with-units",
  99566. x2c_whici: ", which is currently (incorrectly) converted to ",
  99567. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  99568. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
  99569. x3d_____: "===== asynchronous gap ===========================\n",
  99570. x40_moz_: "@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see https://sass-lang.com/d/moz-document.",
  99571. x40conte: "@content is only allowed within mixin declarations.",
  99572. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  99573. x40exten: "@extend may only be used within style rules.",
  99574. x40forwa: "@forward rules must be written before any other rules.",
  99575. x40funct: "@function if($condition, $if-true, $if-false) {",
  99576. x40use_r: "@use rules must be written before any other rules.",
  99577. A_list: "A list with more than one element must have an explicit separator.",
  99578. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  99579. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  99580. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  99581. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  99582. As_of_S: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",
  99583. At_rul: "At-rules may not be used within nested declarations.",
  99584. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  99585. Cannotfq: "Cannot extract a file path from a URI with a query component",
  99586. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  99587. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  99588. Could_: 'Could not find an option with short name "-',
  99589. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  99590. Declarm: "Declarations may only be used within style rules.",
  99591. Declarwa: 'Declarations whose names begin with "--" may not be nested.',
  99592. Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
  99593. Either: "Either options.data or options.file must be set.",
  99594. Entrie: "Entries may not be removed from MergedMapView.",
  99595. Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",
  99596. Evalua: "Evaluation handles @include and its content block together.",
  99597. Expand: "Expandos are not allowed on strings, numbers, booleans or null",
  99598. Expectn: "Expected number, variable, function, or calculation.",
  99599. Expectv: "Expected variable, mixin, or function name",
  99600. Functi: "Functions may not be declared in control directives.",
  99601. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  99602. If_con: "If conditions is longer than one element, conjunction may not be null.",
  99603. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  99604. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  99605. Indent: "Indenting at the beginning of the document is illegal.",
  99606. Interpn: "Interpolation isn't allowed in namespaces.",
  99607. Interpp: "Interpolation isn't allowed in plain CSS.",
  99608. Invali: 'Invalid return value for custom function "',
  99609. It_s_n: "It's not clear which file to import. Found:\n",
  99610. May_on: "May only contains Strings or Expressions.",
  99611. Media_: "Media rules may not be used within nested declarations.",
  99612. Mixinsb: "Mixins may not be declared in control directives.",
  99613. Mixinscf: "Mixins may not contain function declarations.",
  99614. Mixinscm: "Mixins may not contain mixin declarations.",
  99615. Modulel: "Module loop: this module is already being loaded.",
  99616. Modulen: "Module namespaces aren't allowed in plain CSS.",
  99617. Nested: "Nested declarations aren't allowed in plain CSS.",
  99618. New_en: "New entries may not be added to MergedMapView.",
  99619. No_Sasc: "No Sass callable is currently being evaluated.",
  99620. No_Sass: "No Sass stylesheet is currently being evaluated.",
  99621. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  99622. Only_2: "Only 2 slash-separated elements allowed, but ",
  99623. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  99624. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  99625. Other_: "Other modules' members can't be defined with !global.",
  99626. Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  99627. Placeh: "Placeholder selectors aren't allowed here.",
  99628. Plain_: "Plain CSS functions don't support keyword arguments.",
  99629. Positi: "Positional arguments must come before keyword arguments.",
  99630. Privat: "Private members can't be accessed from outside their modules.",
  99631. RGB_pa: "RGB parameters may not be passed along with ",
  99632. Sass_v: "Sass variables aren't allowed in plain CSS.",
  99633. Silent: "Silent comments aren't allowed in plain CSS.",
  99634. Soon__: "Soon, it will instead be correctly converted to ",
  99635. Style_: "Style rules may not be used within nested declarations.",
  99636. Suppor: "Supports rules may not be used within nested declarations.",
  99637. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  99638. The_ca: "The canonicalize() method must return a URL.",
  99639. The_fie: "The findFileUrl() method must return a URL.",
  99640. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  99641. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  99642. The_lo: "The load() function must return an object with contents and syntax fields.",
  99643. The_pa: "The parent selector isn't allowed in plain CSS.",
  99644. The_sa: "The same variable may only be configured once.",
  99645. The_ta: 'The target selector was not found.\nUse "@extend ',
  99646. There_: "There's already a module with namespace \"",
  99647. This_d: 'This declaration has no argument named "$',
  99648. This_f: "This function isn't allowed in plain CSS.",
  99649. This_ma: 'This module and the new module both define a variable named "$',
  99650. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  99651. This_s: "This selector doesn't have any properties and won't be rendered.",
  99652. This_v: "This variable was not declared with !default in the @used module.",
  99653. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  99654. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  99655. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  99656. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  99657. Variab_: "Variable keyword argument map must have string keys.\n",
  99658. Variabs: "Variable keyword arguments must be a map (was ",
  99659. You_ma: "You may not @extend selectors across media queries.",
  99660. You_pr: "You probably don't mean to use the color value ",
  99661. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  99662. addExt_: "addExtension() can't be called for a const ExtensionStore.",
  99663. addExts: "addExtensions() can't be called for a const ExtensionStore.",
  99664. addSel: "addSelector() can't be called for a const ExtensionStore.",
  99665. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  99666. conten: "content-exists() may only be called within a mixin.",
  99667. leadin: "leadingCombinators and components may not both be empty.",
  99668. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  99669. math_r: "math.random() will no longer ignore $limit units (",
  99670. must_b: "must be a UniversalSelector or a TypeSelector",
  99671. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  99672. semico: "semicolons aren't allowed in the indented syntax.",
  99673. throug: "through() must return false for at least one parent of "
  99674. };
  99675. var type$ = (function rtii() {
  99676. var findType = A.findType;
  99677. return {
  99678. $env_1_1_String: findType("@<String>"),
  99679. ArgParser: findType("ArgParser"),
  99680. Argument: findType("Argument"),
  99681. ArgumentDeclaration: findType("ArgumentDeclaration"),
  99682. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  99683. Argument_2: findType("Argument0"),
  99684. AstNode: findType("AstNode"),
  99685. AstNode_2: findType("AstNode0"),
  99686. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  99687. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  99688. AsyncCallable: findType("AsyncCallable"),
  99689. AsyncCallable_2: findType("AsyncCallable0"),
  99690. AsyncImporter: findType("AsyncImporter0"),
  99691. BuiltInCallable: findType("BuiltInCallable"),
  99692. BuiltInCallable_2: findType("BuiltInCallable0"),
  99693. BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
  99694. BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
  99695. BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
  99696. BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
  99697. Callable: findType("Callable"),
  99698. Callable_2: findType("Callable0"),
  99699. ChangeType: findType("ChangeType"),
  99700. Combinator: findType("Combinator"),
  99701. Combinator_2: findType("Combinator0"),
  99702. Comparable_dynamic: findType("Comparable<@>"),
  99703. Comparable_nullable_Object: findType("Comparable<Object?>"),
  99704. CompileResult: findType("CompileResult"),
  99705. CompileResult_2: findType("CompileResult0"),
  99706. ComplexSelector: findType("ComplexSelector"),
  99707. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  99708. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  99709. ComplexSelector_2: findType("ComplexSelector0"),
  99710. Configuration: findType("Configuration"),
  99711. Configuration_2: findType("Configuration0"),
  99712. ConfiguredValue: findType("ConfiguredValue"),
  99713. ConfiguredValue_2: findType("ConfiguredValue0"),
  99714. ConfiguredVariable: findType("ConfiguredVariable"),
  99715. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  99716. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  99717. ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
  99718. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  99719. CssAtRule: findType("CssAtRule"),
  99720. CssAtRule_2: findType("CssAtRule0"),
  99721. CssComment: findType("CssComment"),
  99722. CssComment_2: findType("CssComment0"),
  99723. CssImport: findType("CssImport"),
  99724. CssImport_2: findType("CssImport0"),
  99725. CssMediaQuery: findType("CssMediaQuery"),
  99726. CssMediaQuery_2: findType("CssMediaQuery0"),
  99727. CssMediaRule: findType("CssMediaRule"),
  99728. CssMediaRule_2: findType("CssMediaRule0"),
  99729. CssParentNode: findType("CssParentNode"),
  99730. CssParentNode_2: findType("CssParentNode0"),
  99731. CssStyleRule: findType("CssStyleRule"),
  99732. CssStyleRule_2: findType("CssStyleRule0"),
  99733. CssStylesheet: findType("CssStylesheet"),
  99734. CssStylesheet_2: findType("CssStylesheet0"),
  99735. CssSupportsRule: findType("CssSupportsRule"),
  99736. CssSupportsRule_2: findType("CssSupportsRule0"),
  99737. CssValue_List_String: findType("CssValue<List<String>>"),
  99738. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  99739. CssValue_SelectorList: findType("CssValue<SelectorList>"),
  99740. CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
  99741. CssValue_String: findType("CssValue<String>"),
  99742. CssValue_String_2: findType("CssValue0<String>"),
  99743. CssValue_Value: findType("CssValue<Value>"),
  99744. CssValue_Value_2: findType("CssValue0<Value0>"),
  99745. DateTime: findType("DateTime"),
  99746. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  99747. Error: findType("Error"),
  99748. EvaluateResult: findType("EvaluateResult"),
  99749. EvaluateResult_2: findType("EvaluateResult0"),
  99750. EvaluationContext: findType("EvaluationContext"),
  99751. EvaluationContext_2: findType("EvaluationContext0"),
  99752. Exception: findType("Exception"),
  99753. Expression: findType("Expression"),
  99754. Expression_2: findType("Expression0"),
  99755. Extender: findType("Extender"),
  99756. Extender_2: findType("Extender0"),
  99757. Extension: findType("Extension"),
  99758. Extension_2: findType("Extension0"),
  99759. FileSpan: findType("FileSpan"),
  99760. FormatException: findType("FormatException"),
  99761. Frame: findType("Frame"),
  99762. Function: findType("Function"),
  99763. FutureOr_EvaluateResult: findType("EvaluateResult/"),
  99764. FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
  99765. FutureOr_nullable_Uri: findType("Uri?/"),
  99766. Future_dynamic: findType("Future<@>"),
  99767. Future_void: findType("Future<~>"),
  99768. IfClause: findType("IfClause"),
  99769. IfClause_2: findType("IfClause0"),
  99770. ImmutableList: findType("ImmutableList"),
  99771. ImmutableMap: findType("ImmutableMap"),
  99772. Import: findType("Import"),
  99773. Import_2: findType("Import0"),
  99774. Importer: findType("Importer0"),
  99775. ImporterResult: findType("ImporterResult"),
  99776. ImporterResult_2: findType("ImporterResult0"),
  99777. InternalStyle: findType("InternalStyle"),
  99778. Interpolation: findType("Interpolation"),
  99779. InterpolationBuffer: findType("InterpolationBuffer"),
  99780. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  99781. Interpolation_2: findType("Interpolation0"),
  99782. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  99783. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  99784. Iterable_dynamic: findType("Iterable<@>"),
  99785. JSArray_Argument: findType("JSArray<Argument>"),
  99786. JSArray_Argument_2: findType("JSArray<Argument0>"),
  99787. JSArray_AstNode: findType("JSArray<AstNode>"),
  99788. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  99789. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  99790. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  99791. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  99792. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  99793. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  99794. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  99795. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  99796. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  99797. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  99798. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  99799. JSArray_Callable: findType("JSArray<Callable>"),
  99800. JSArray_Callable_2: findType("JSArray<Callable0>"),
  99801. JSArray_Combinator: findType("JSArray<Combinator>"),
  99802. JSArray_Combinator_2: findType("JSArray<Combinator0>"),
  99803. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  99804. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  99805. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  99806. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  99807. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  99808. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  99809. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  99810. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  99811. JSArray_CssNode: findType("JSArray<CssNode>"),
  99812. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  99813. JSArray_Entry: findType("JSArray<Entry>"),
  99814. JSArray_Expression: findType("JSArray<Expression>"),
  99815. JSArray_Expression_2: findType("JSArray<Expression0>"),
  99816. JSArray_Extender: findType("JSArray<Extender>"),
  99817. JSArray_Extender_2: findType("JSArray<Extender0>"),
  99818. JSArray_Extension: findType("JSArray<Extension>"),
  99819. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  99820. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  99821. JSArray_Extension_2: findType("JSArray<Extension0>"),
  99822. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  99823. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  99824. JSArray_Frame: findType("JSArray<Frame>"),
  99825. JSArray_IfClause: findType("JSArray<IfClause>"),
  99826. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  99827. JSArray_Import: findType("JSArray<Import>"),
  99828. JSArray_Import_2: findType("JSArray<Import0>"),
  99829. JSArray_Importer: findType("JSArray<Importer0>"),
  99830. JSArray_Importer_2: findType("JSArray<Importer>"),
  99831. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  99832. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  99833. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  99834. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  99835. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  99836. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  99837. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  99838. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  99839. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  99840. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  99841. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  99842. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  99843. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  99844. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  99845. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  99846. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
  99847. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
  99848. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  99849. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  99850. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  99851. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  99852. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  99853. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  99854. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  99855. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  99856. JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
  99857. JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
  99858. JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
  99859. JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
  99860. JSArray_Object: findType("JSArray<Object>"),
  99861. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  99862. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  99863. JSArray_SassList: findType("JSArray<SassList>"),
  99864. JSArray_SassList_2: findType("JSArray<SassList0>"),
  99865. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  99866. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  99867. JSArray_Statement: findType("JSArray<Statement>"),
  99868. JSArray_Statement_2: findType("JSArray<Statement0>"),
  99869. JSArray_String: findType("JSArray<String>"),
  99870. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  99871. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  99872. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  99873. JSArray_Trace: findType("JSArray<Trace>"),
  99874. JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
  99875. JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
  99876. JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
  99877. JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
  99878. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
  99879. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
  99880. JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
  99881. JSArray_Uri: findType("JSArray<Uri>"),
  99882. JSArray_UseRule: findType("JSArray<UseRule>"),
  99883. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  99884. JSArray_Value: findType("JSArray<Value>"),
  99885. JSArray_Value_2: findType("JSArray<Value0>"),
  99886. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  99887. JSArray__Highlight: findType("JSArray<_Highlight>"),
  99888. JSArray__Line: findType("JSArray<_Line>"),
  99889. JSArray_dynamic: findType("JSArray<@>"),
  99890. JSArray_int: findType("JSArray<int>"),
  99891. JSArray_nullable_String: findType("JSArray<String?>"),
  99892. JSClass: findType("JSClass0"),
  99893. JSFunction: findType("JSFunction0"),
  99894. JSNull: findType("JSNull"),
  99895. JSUrl: findType("JSUrl0"),
  99896. JavaScriptFunction: findType("JavaScriptFunction"),
  99897. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  99898. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  99899. JsSystemError: findType("JsSystemError"),
  99900. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  99901. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  99902. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  99903. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  99904. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  99905. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  99906. List_Extension: findType("List<Extension>"),
  99907. List_ExtensionStore: findType("List<ExtensionStore>"),
  99908. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  99909. List_Extension_2: findType("List<Extension0>"),
  99910. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  99911. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  99912. List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
  99913. List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
  99914. List_Module_Callable: findType("List<Module<Callable>>"),
  99915. List_Module_Callable_2: findType("List<Module0<Callable0>>"),
  99916. List_String: findType("List<String>"),
  99917. List_Value: findType("List<Value>"),
  99918. List_Value_2: findType("List<Value0>"),
  99919. List_WatchEvent: findType("List<WatchEvent>"),
  99920. List_dynamic: findType("List<@>"),
  99921. List_int: findType("List<int>"),
  99922. List_nullable_Object: findType("List<Object?>"),
  99923. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
  99924. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
  99925. MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
  99926. MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
  99927. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  99928. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  99929. MapKeySet_String: findType("MapKeySet<String>"),
  99930. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  99931. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  99932. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  99933. Map_String_AstNode: findType("Map<String,AstNode>"),
  99934. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  99935. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  99936. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  99937. Map_String_Callable: findType("Map<String,Callable>"),
  99938. Map_String_Callable_2: findType("Map<String,Callable0>"),
  99939. Map_String_Value: findType("Map<String,Value>"),
  99940. Map_String_Value_2: findType("Map<String,Value0>"),
  99941. Map_String_dynamic: findType("Map<String,@>"),
  99942. Map_dynamic_dynamic: findType("Map<@,@>"),
  99943. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  99944. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  99945. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  99946. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  99947. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  99948. MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
  99949. MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
  99950. MixinRule: findType("MixinRule"),
  99951. MixinRule_2: findType("MixinRule0"),
  99952. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  99953. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  99954. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  99955. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  99956. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  99957. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  99958. ModifiableCssNode: findType("ModifiableCssNode"),
  99959. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  99960. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  99961. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  99962. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  99963. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  99964. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  99965. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  99966. ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
  99967. ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
  99968. Module_AsyncCallable: findType("Module<AsyncCallable>"),
  99969. Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
  99970. Module_Callable: findType("Module<Callable>"),
  99971. Module_Callable_2: findType("Module0<Callable0>"),
  99972. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  99973. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  99974. NativeUint8List: findType("NativeUint8List"),
  99975. Never: findType("0&"),
  99976. NodeCompileResult: findType("NodeCompileResult"),
  99977. NodeImporter: findType("NodeImporter0"),
  99978. NodeImporterResult: findType("NodeImporterResult0"),
  99979. NodeImporterResult_2: findType("NodeImporterResult1"),
  99980. Null: findType("Null"),
  99981. Object: findType("Object"),
  99982. Option: findType("Option"),
  99983. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  99984. PathMap_String: findType("PathMap<String>"),
  99985. PathMap_nullable_String: findType("PathMap<String?>"),
  99986. Promise: findType("Promise"),
  99987. PseudoSelector: findType("PseudoSelector"),
  99988. PseudoSelector_2: findType("PseudoSelector0"),
  99989. RangeError: findType("RangeError"),
  99990. RegExpMatch: findType("RegExpMatch"),
  99991. RenderContextOptions: findType("RenderContextOptions0"),
  99992. RenderResult: findType("RenderResult"),
  99993. Result_String: findType("Result<String>"),
  99994. SassArgumentList: findType("SassArgumentList"),
  99995. SassArgumentList_2: findType("SassArgumentList0"),
  99996. SassBoolean: findType("SassBoolean"),
  99997. SassBoolean_2: findType("SassBoolean0"),
  99998. SassColor: findType("SassColor"),
  99999. SassColor_2: findType("SassColor0"),
  100000. SassList: findType("SassList"),
  100001. SassList_2: findType("SassList0"),
  100002. SassMap: findType("SassMap"),
  100003. SassMap_2: findType("SassMap0"),
  100004. SassNumber: findType("SassNumber"),
  100005. SassNumber_2: findType("SassNumber0"),
  100006. SassRuntimeException: findType("SassRuntimeException"),
  100007. SassRuntimeException_2: findType("SassRuntimeException0"),
  100008. SassString: findType("SassString"),
  100009. SassString_2: findType("SassString0"),
  100010. SelectorList: findType("SelectorList"),
  100011. SelectorList_2: findType("SelectorList0"),
  100012. Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
  100013. Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
  100014. SimpleSelector: findType("SimpleSelector"),
  100015. SimpleSelector_2: findType("SimpleSelector0"),
  100016. SourceFile: findType("SourceFile"),
  100017. SourceLocation: findType("SourceLocation"),
  100018. SourceSpan: findType("SourceSpan"),
  100019. SourceSpanFormatException: findType("SourceSpanFormatException"),
  100020. SourceSpanWithContext: findType("SourceSpanWithContext"),
  100021. SpanColorFormat: findType("SpanColorFormat"),
  100022. SpanColorFormat_2: findType("SpanColorFormat0"),
  100023. StackTrace: findType("StackTrace"),
  100024. Statement: findType("Statement"),
  100025. Statement_2: findType("Statement0"),
  100026. StaticImport: findType("StaticImport"),
  100027. StaticImport_2: findType("StaticImport0"),
  100028. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  100029. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  100030. StreamQueue_String: findType("StreamQueue<String>"),
  100031. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  100032. String: findType("String"),
  100033. StylesheetNode: findType("StylesheetNode"),
  100034. Symbol: findType("Symbol0"),
  100035. Timer: findType("Timer"),
  100036. Trace: findType("Trace"),
  100037. Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
  100038. Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
  100039. Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
  100040. Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
  100041. Tuple2_PseudoSelector_int: findType("Tuple2<PseudoSelector,int>"),
  100042. Tuple2_PseudoSelector_int_2: findType("Tuple2<PseudoSelector0,int>"),
  100043. Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
  100044. Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
  100045. Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
  100046. Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
  100047. Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
  100048. Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
  100049. Tuple2_String_String: findType("Tuple2<String,String>"),
  100050. Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
  100051. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
  100052. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
  100053. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
  100054. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
  100055. Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
  100056. Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
  100057. Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
  100058. Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
  100059. Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
  100060. Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
  100061. Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
  100062. Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
  100063. Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
  100064. Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
  100065. Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
  100066. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
  100067. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
  100068. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
  100069. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
  100070. Type: findType("Type"),
  100071. TypeError: findType("TypeError"),
  100072. Uint8List: findType("Uint8List"),
  100073. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  100074. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  100075. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  100076. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  100077. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  100078. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  100079. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  100080. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  100081. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  100082. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  100083. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  100084. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  100085. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  100086. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  100087. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  100088. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  100089. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  100090. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  100091. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  100092. UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
  100093. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
  100094. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  100095. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  100096. Uri: findType("Uri"),
  100097. UseRule: findType("UseRule"),
  100098. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  100099. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  100100. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  100101. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  100102. Value: findType("Value"),
  100103. Value_2: findType("Value0"),
  100104. Value_Function_List_Value: findType("Value(List<Value>)"),
  100105. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  100106. VariableDeclaration: findType("VariableDeclaration"),
  100107. VariableDeclaration_2: findType("VariableDeclaration0"),
  100108. WatchEvent: findType("WatchEvent"),
  100109. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  100110. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  100111. WhereIterable_String: findType("WhereIterable<String>"),
  100112. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  100113. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  100114. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  100115. _ArgumentResults: findType("_ArgumentResults0"),
  100116. _ArgumentResults_2: findType("_ArgumentResults2"),
  100117. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  100118. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  100119. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  100120. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  100121. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  100122. _EventRequest_dynamic: findType("_EventRequest<@>"),
  100123. _Future_Object: findType("_Future<Object>"),
  100124. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  100125. _Future_String: findType("_Future<String>"),
  100126. _Future_bool: findType("_Future<bool>"),
  100127. _Future_dynamic: findType("_Future<@>"),
  100128. _Future_int: findType("_Future<int>"),
  100129. _Future_nullable_Object: findType("_Future<Object?>"),
  100130. _Future_void: findType("_Future<~>"),
  100131. _Highlight: findType("_Highlight"),
  100132. _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
  100133. _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
  100134. _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
  100135. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  100136. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  100137. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  100138. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  100139. _LoadedStylesheet: findType("_LoadedStylesheet0"),
  100140. _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
  100141. _MapEntry: findType("_MapEntry"),
  100142. _NodeException: findType("_NodeException"),
  100143. _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
  100144. bool: findType("bool"),
  100145. double: findType("double"),
  100146. dynamic: findType("@"),
  100147. dynamic_Function: findType("@()"),
  100148. dynamic_Function_Object: findType("@(Object)"),
  100149. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  100150. int: findType("int"),
  100151. legacy_Never: findType("0&*"),
  100152. legacy_Object: findType("Object*"),
  100153. nullable_AstNode: findType("AstNode?"),
  100154. nullable_AstNode_2: findType("AstNode0?"),
  100155. nullable_FileSpan: findType("FileSpan?"),
  100156. nullable_Future_Null: findType("Future<Null>?"),
  100157. nullable_Future_void: findType("Future<~>?"),
  100158. nullable_ImporterResult: findType("ImporterResult0?"),
  100159. nullable_Object: findType("Object?"),
  100160. nullable_SourceFile: findType("SourceFile?"),
  100161. nullable_SourceSpan: findType("SourceSpan?"),
  100162. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  100163. nullable_String: findType("String?"),
  100164. nullable_Stylesheet: findType("Stylesheet?"),
  100165. nullable_StylesheetNode: findType("StylesheetNode?"),
  100166. nullable_Stylesheet_2: findType("Stylesheet0?"),
  100167. nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
  100168. nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
  100169. nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
  100170. nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
  100171. nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
  100172. nullable_Uri: findType("Uri?"),
  100173. nullable_Value: findType("Value?"),
  100174. nullable_Value_2: findType("Value0?"),
  100175. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  100176. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  100177. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  100178. nullable__Highlight: findType("_Highlight?"),
  100179. nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
  100180. nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
  100181. num: findType("num"),
  100182. void: findType("~"),
  100183. void_Function_Object: findType("~(Object)"),
  100184. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  100185. };
  100186. })();
  100187. (function constants() {
  100188. var makeConstList = hunkHelpers.makeConstList;
  100189. B.Interceptor_methods = J.Interceptor.prototype;
  100190. B.JSArray_methods = J.JSArray.prototype;
  100191. B.JSBool_methods = J.JSBool.prototype;
  100192. B.JSInt_methods = J.JSInt.prototype;
  100193. B.JSNumber_methods = J.JSNumber.prototype;
  100194. B.JSString_methods = J.JSString.prototype;
  100195. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  100196. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  100197. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  100198. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  100199. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  100200. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  100201. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  100202. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  100203. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  100204. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  100205. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  100206. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  100207. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  100208. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  100209. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  100210. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  100211. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  100212. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  100213. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  100214. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  100215. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  100216. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  100217. B.BinaryOperator_6pl = new A.BinaryOperator("times", "*", 6, "times");
  100218. B.BinaryOperator_6pl0 = new A.BinaryOperator0("times", "*", 6, "times");
  100219. B.BinaryOperator_KlB = new A.BinaryOperator("minus", "-", 5, "minus");
  100220. B.BinaryOperator_KlB0 = new A.BinaryOperator0("minus", "-", 5, "minus");
  100221. B.BinaryOperator_PHH = new A.BinaryOperator("modulo", "%", 6, "modulo");
  100222. B.BinaryOperator_PHH0 = new A.BinaryOperator0("modulo", "%", 6, "modulo");
  100223. B.BinaryOperator_Vr9 = new A.BinaryOperator("not equals", "!=", 3, "notEquals");
  100224. B.BinaryOperator_Vr90 = new A.BinaryOperator0("not equals", "!=", 3, "notEquals");
  100225. B.BinaryOperator_Wma = new A.BinaryOperator("greater than or equals", ">=", 4, "greaterThanOrEquals");
  100226. B.BinaryOperator_Wma0 = new A.BinaryOperator0("greater than or equals", ">=", 4, "greaterThanOrEquals");
  100227. B.BinaryOperator_and_and_2_and = new A.BinaryOperator("and", "and", 2, "and");
  100228. B.BinaryOperator_and_and_2_and0 = new A.BinaryOperator0("and", "and", 2, "and");
  100229. B.BinaryOperator_apg = new A.BinaryOperator("less than", "<", 4, "lessThan");
  100230. B.BinaryOperator_apg0 = new A.BinaryOperator0("less than", "<", 4, "lessThan");
  100231. B.BinaryOperator_axY = new A.BinaryOperator("single equals", "=", 0, "singleEquals");
  100232. B.BinaryOperator_axY0 = new A.BinaryOperator0("single equals", "=", 0, "singleEquals");
  100233. B.BinaryOperator_cw1 = new A.BinaryOperator("greater than", ">", 4, "greaterThan");
  100234. B.BinaryOperator_cw10 = new A.BinaryOperator0("greater than", ">", 4, "greaterThan");
  100235. B.BinaryOperator_nZh = new A.BinaryOperator("equals", "==", 3, "equals");
  100236. B.BinaryOperator_nZh0 = new A.BinaryOperator0("equals", "==", 3, "equals");
  100237. B.BinaryOperator_oqF = new A.BinaryOperator("less than or equals", "<=", 4, "lessThanOrEquals");
  100238. B.BinaryOperator_oqF0 = new A.BinaryOperator0("less than or equals", "<=", 4, "lessThanOrEquals");
  100239. B.BinaryOperator_or_or_1_or = new A.BinaryOperator("or", "or", 1, "or");
  100240. B.BinaryOperator_or_or_1_or0 = new A.BinaryOperator0("or", "or", 1, "or");
  100241. B.BinaryOperator_qbf = new A.BinaryOperator("plus", "+", 5, "plus");
  100242. B.BinaryOperator_qbf0 = new A.BinaryOperator0("plus", "+", 5, "plus");
  100243. B.BinaryOperator_qpm = new A.BinaryOperator("divided by", "/", 6, "dividedBy");
  100244. B.BinaryOperator_qpm0 = new A.BinaryOperator0("divided by", "/", 6, "dividedBy");
  100245. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  100246. B.C_AsciiCodec = new A.AsciiCodec();
  100247. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  100248. B.C_Base64Encoder = new A.Base64Encoder();
  100249. B.C_Base64Codec = new A.Base64Codec();
  100250. B.C_DefaultEquality = new A.DefaultEquality();
  100251. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  100252. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  100253. B.C_EmptyIterator = new A.EmptyIterator();
  100254. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  100255. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  100256. B.C_IterableEquality = new A.IterableEquality();
  100257. B.C_JS_CONST = function getTagFallback(o) {
  100258. var s = Object.prototype.toString.call(o);
  100259. return s.substring(8, s.length - 1);
  100260. };
  100261. B.C_JS_CONST0 = function() {
  100262. var toStringFunction = Object.prototype.toString;
  100263. function getTag(o) {
  100264. var s = toStringFunction.call(o);
  100265. return s.substring(8, s.length - 1);
  100266. }
  100267. function getUnknownTag(object, tag) {
  100268. if (/^HTML[A-Z].*Element$/.test(tag)) {
  100269. var name = toStringFunction.call(object);
  100270. if (name == "[object Object]") return null;
  100271. return "HTMLElement";
  100272. }
  100273. }
  100274. function getUnknownTagGenericBrowser(object, tag) {
  100275. if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
  100276. return getUnknownTag(object, tag);
  100277. }
  100278. function prototypeForTag(tag) {
  100279. if (typeof window == "undefined") return null;
  100280. if (typeof window[tag] == "undefined") return null;
  100281. var constructor = window[tag];
  100282. if (typeof constructor != "function") return null;
  100283. return constructor.prototype;
  100284. }
  100285. function discriminator(tag) { return null; }
  100286. var isBrowser = typeof navigator == "object";
  100287. return {
  100288. getTag: getTag,
  100289. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  100290. prototypeForTag: prototypeForTag,
  100291. discriminator: discriminator };
  100292. };
  100293. B.C_JS_CONST6 = function(getTagFallback) {
  100294. return function(hooks) {
  100295. if (typeof navigator != "object") return hooks;
  100296. var ua = navigator.userAgent;
  100297. if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
  100298. if (ua.indexOf("Chrome") >= 0) {
  100299. function confirm(p) {
  100300. return typeof window == "object" && window[p] && window[p].name == p;
  100301. }
  100302. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  100303. }
  100304. hooks.getTag = getTagFallback;
  100305. };
  100306. };
  100307. B.C_JS_CONST1 = function(hooks) {
  100308. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  100309. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  100310. };
  100311. B.C_JS_CONST2 = function(hooks) {
  100312. var getTag = hooks.getTag;
  100313. var prototypeForTag = hooks.prototypeForTag;
  100314. function getTagFixed(o) {
  100315. var tag = getTag(o);
  100316. if (tag == "Document") {
  100317. if (!!o.xmlVersion) return "!Document";
  100318. return "!HTMLDocument";
  100319. }
  100320. return tag;
  100321. }
  100322. function prototypeForTagFixed(tag) {
  100323. if (tag == "Document") return null;
  100324. return prototypeForTag(tag);
  100325. }
  100326. hooks.getTag = getTagFixed;
  100327. hooks.prototypeForTag = prototypeForTagFixed;
  100328. };
  100329. B.C_JS_CONST5 = function(hooks) {
  100330. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  100331. if (userAgent.indexOf("Firefox") == -1) return hooks;
  100332. var getTag = hooks.getTag;
  100333. var quickMap = {
  100334. "BeforeUnloadEvent": "Event",
  100335. "DataTransfer": "Clipboard",
  100336. "GeoGeolocation": "Geolocation",
  100337. "Location": "!Location",
  100338. "WorkerMessageEvent": "MessageEvent",
  100339. "XMLDocument": "!Document"};
  100340. function getTagFirefox(o) {
  100341. var tag = getTag(o);
  100342. return quickMap[tag] || tag;
  100343. }
  100344. hooks.getTag = getTagFirefox;
  100345. };
  100346. B.C_JS_CONST4 = function(hooks) {
  100347. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  100348. if (userAgent.indexOf("Trident/") == -1) return hooks;
  100349. var getTag = hooks.getTag;
  100350. var quickMap = {
  100351. "BeforeUnloadEvent": "Event",
  100352. "DataTransfer": "Clipboard",
  100353. "HTMLDDElement": "HTMLElement",
  100354. "HTMLDTElement": "HTMLElement",
  100355. "HTMLPhraseElement": "HTMLElement",
  100356. "Position": "Geoposition"
  100357. };
  100358. function getTagIE(o) {
  100359. var tag = getTag(o);
  100360. var newTag = quickMap[tag];
  100361. if (newTag) return newTag;
  100362. if (tag == "Object") {
  100363. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  100364. }
  100365. return tag;
  100366. }
  100367. function prototypeForTagIE(tag) {
  100368. var constructor = window[tag];
  100369. if (constructor == null) return null;
  100370. return constructor.prototype;
  100371. }
  100372. hooks.getTag = getTagIE;
  100373. hooks.prototypeForTag = prototypeForTagIE;
  100374. };
  100375. B.C_JS_CONST3 = function(hooks) { return hooks; }
  100376. ;
  100377. B.C_JsonCodec = new A.JsonCodec();
  100378. B.C_ListEquality0 = new A.ListEquality();
  100379. B.C_ListEquality = new A.ListEquality();
  100380. B.C_MapEquality = new A.MapEquality();
  100381. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  100382. B.C_SentinelValue = new A.SentinelValue();
  100383. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  100384. B.C_Utf8Codec = new A.Utf8Codec();
  100385. B.C_Utf8Encoder = new A.Utf8Encoder();
  100386. B.C__DelayedDone = new A._DelayedDone();
  100387. B.C__HasContentVisitor = new A._HasContentVisitor();
  100388. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  100389. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  100390. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  100391. B.C__JSRandom = new A._JSRandom();
  100392. B.C__Required = new A._Required();
  100393. B.C__RootZone = new A._RootZone();
  100394. B.C__SassNull = new A._SassNull();
  100395. B.C__SassNull0 = new A._SassNull0();
  100396. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  100397. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  100398. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  100399. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  100400. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  100401. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  100402. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  100403. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  100404. B.ChangeType_add = new A.ChangeType("add");
  100405. B.ChangeType_modify = new A.ChangeType("modify");
  100406. B.ChangeType_remove = new A.ChangeType("remove");
  100407. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  100408. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  100409. B.Combinator_Cht = new A.Combinator(">", "child");
  100410. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  100411. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  100412. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  100413. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  100414. B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
  100415. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty11, null);
  100416. B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  100417. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty12, null);
  100418. B.Duration_0 = new A.Duration(0);
  100419. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  100420. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  100421. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  100422. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  100423. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  100424. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  100425. B.JsonEncoder_null = new A.JsonEncoder(null);
  100426. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  100427. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  100428. B.LineFeed_lf = new A.LineFeed("lf");
  100429. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  100430. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  100431. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  100432. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  100433. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  100434. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  100435. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  100436. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  100437. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  100438. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  100439. B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  100440. B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
  100441. B.Map_Op0VJ = new A.ConstantStringMap(15, {em: null, ex: null, ch: null, rem: null, vw: null, vh: null, vmin: null, vmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_Opy, type$.ConstantStringMap_String_Null);
  100442. B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
  100443. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  100444. B.Map_EGso3 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
  100445. B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
  100446. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  100447. B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
  100448. B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
  100449. B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
  100450. B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
  100451. B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
  100452. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  100453. B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
  100454. B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
  100455. B.List_AqW = A._setArrayType(makeConstList([B.Set_Opyzl, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
  100456. B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100457. B.List_IoD = A._setArrayType(makeConstList([B.Combinator_4QF]), type$.JSArray_Combinator);
  100458. B.List_IoD0 = A._setArrayType(makeConstList([B.Combinator_4QF0]), type$.JSArray_Combinator_2);
  100459. B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  100460. B.List_Kw1 = A._setArrayType(makeConstList([B.Combinator_Htt]), type$.JSArray_Combinator);
  100461. B.List_Kw10 = A._setArrayType(makeConstList([B.Combinator_Htt0]), type$.JSArray_Combinator_2);
  100462. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  100463. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  100464. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  100465. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  100466. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_Combinator);
  100467. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_Combinator_2);
  100468. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  100469. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  100470. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  100471. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  100472. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  100473. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  100474. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  100475. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  100476. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  100477. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  100478. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  100479. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  100480. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
  100481. B.List_empty6 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
  100482. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  100483. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  100484. B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  100485. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  100486. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  100487. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  100488. B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100489. B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100490. B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  100491. B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100492. B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100493. B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100494. B.List_K2O = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
  100495. B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  100496. B.Map_ahsJO = new A.ConstantStringMap(7, {in: 1, cm: 0.39370078740157477, pc: 0.16666666666666666, mm: 0.03937007874015748, q: 0.00984251968503937, pt: 0.013888888888888888, px: 0.010416666666666666}, B.List_aha, type$.ConstantStringMap_String_double);
  100497. B.Map_ahM6L = new A.ConstantStringMap(7, {in: 2.54, cm: 1, pc: 0.42333333333333334, mm: 0.1, q: 0.025, pt: 0.035277777777777776, px: 0.026458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  100498. B.Map_ahNsa = new A.ConstantStringMap(7, {in: 6, cm: 2.3622047244094486, pc: 1, mm: 0.2362204724409449, q: 0.05905511811023623, pt: 0.08333333333333333, px: 0.0625}, B.List_aha, type$.ConstantStringMap_String_double);
  100499. B.Map_ahPSt = new A.ConstantStringMap(7, {in: 25.4, cm: 10, pc: 4.233333333333333, mm: 1, q: 0.25, pt: 0.35277777777777775, px: 0.26458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  100500. B.Map_ahgya = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_aha, type$.ConstantStringMap_String_double);
  100501. B.Map_ahGvh = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_aha, type$.ConstantStringMap_String_double);
  100502. B.Map_ahkuc = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_aha, type$.ConstantStringMap_String_double);
  100503. B.Map_EGyvr = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100504. B.Map_EGfqB = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100505. B.Map_EGswR = new A.ConstantStringMap(4, {deg: 0.017453292519943295, grad: 0.015707963267948967, rad: 1, turn: 6.283185307179586}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100506. B.Map_EGY2F = new A.ConstantStringMap(4, {deg: 0.002777777777777778, grad: 0.0025, rad: 0.15915494309189535, turn: 1}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100507. B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_double);
  100508. B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_double);
  100509. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  100510. B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  100511. B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  100512. B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100513. B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100514. B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100515. B.Map_K2BWj = new A.ConstantStringMap(18, {in: B.Map_ahsJO, cm: B.Map_ahM6L, pc: B.Map_ahNsa, mm: B.Map_ahPSt, q: B.Map_ahgya, pt: B.Map_ahGvh, px: B.Map_ahkuc, deg: B.Map_EGyvr, grad: B.Map_EGfqB, rad: B.Map_EGswR, turn: B.Map_EGY2F, s: B.Map_ma2bi, ms: B.Map_maDht0, Hz: B.Map_0IpUe, kHz: B.Map_0IVs0, dpi: B.Map_H2OWd, dpcm: B.Map_H24em, dppx: B.Map_H25Om}, B.List_K2O, A.findType("ConstantStringMap<String,Map<String,double>>"));
  100516. B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
  100517. B.Map_U8AHF = new A.ConstantStringMap(5, {length: B.List_aha, angle: B.List_deg_grad_rad_turn, time: B.List_s_ms, frequency: B.List_Hz_kHz, "pixel density": B.List_dpi_dpcm_dppx}, B.List_U8g, A.findType("ConstantStringMap<String,List<String>>"));
  100518. B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
  100519. B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
  100520. B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
  100521. B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
  100522. B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
  100523. B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
  100524. B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
  100525. B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  100526. B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
  100527. B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
  100528. B.List_empty26 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
  100529. B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Symbol0,@>"));
  100530. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
  100531. B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<String?,String>"));
  100532. B.OptionType_YwU = new A.OptionType("OptionType.single");
  100533. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  100534. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  100535. B.OutputStyle_0 = new A.OutputStyle("expanded");
  100536. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  100537. B.OutputStyle_1 = new A.OutputStyle("compressed");
  100538. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  100539. B.SassBoolean_false = new A.SassBoolean(false);
  100540. B.SassBoolean_false0 = new A.SassBoolean0(false);
  100541. B.SassBoolean_true = new A.SassBoolean(true);
  100542. B.SassBoolean_true0 = new A.SassBoolean0(true);
  100543. B.SassList_Sof = new A.SassList(B.List_empty7, B.ListSeparator_rXA, false);
  100544. B.SassList_Sof0 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  100545. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  100546. B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty7, A.findType("ConstantStringMap<Value,Value>"));
  100547. B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
  100548. B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty19, A.findType("ConstantStringMap<Value0,Value0>"));
  100549. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
  100550. B.Map_2Vaha = new A.GeneralConstantMap([91, null, 46, null, 35, null, 37, null, 58, null, 38, null, 42, null, 124, null], A.findType("GeneralConstantMap<int,Null>"));
  100551. B.Set_2Vk2 = new A._UnmodifiableSet(B.Map_2Vaha, A.findType("_UnmodifiableSet<int>"));
  100552. B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
  100553. B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
  100554. B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
  100555. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery);
  100556. B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<CssMediaQuery,Null>"));
  100557. B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<CssMediaQuery>"));
  100558. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery_2);
  100559. B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssMediaQuery0,Null>"));
  100560. B.Set_empty4 = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<CssMediaQuery0>"));
  100561. B.List_empty30 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
  100562. B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
  100563. B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
  100564. B.List_empty31 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
  100565. B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty31, A.findType("ConstantStringMap<Module<Callable>,Null>"));
  100566. B.Set_empty = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module<Callable>>"));
  100567. B.List_empty32 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
  100568. B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty32, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
  100569. B.Set_empty5 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
  100570. B.List_empty33 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
  100571. B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty33, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
  100572. B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty20, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
  100573. B.List_empty34 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
  100574. B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty34, A.findType("ConstantStringMap<StylesheetNode,Null>"));
  100575. B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty21, A.findType("_UnmodifiableSet<StylesheetNode>"));
  100576. B.StderrLogger_false = new A.StderrLogger(false);
  100577. B.StderrLogger_false0 = new A.StderrLogger0(false);
  100578. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  100579. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  100580. B.Symbol_call = new A.Symbol("call");
  100581. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  100582. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  100583. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  100584. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  100585. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  100586. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  100587. B.List_empty35 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
  100588. B.Map_empty22 = new A.ConstantStringMap(0, {}, B.List_empty35, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
  100589. B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty22, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
  100590. B.List_empty36 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
  100591. B.Map_empty23 = new A.ConstantStringMap(0, {}, B.List_empty36, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
  100592. B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty23, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
  100593. B.Type_Null_Yyn = A.typeLiteral("Null");
  100594. B.Type_Object_xQ6 = A.typeLiteral("Object");
  100595. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  100596. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  100597. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  100598. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  100599. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  100600. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  100601. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  100602. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  100603. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  100604. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  100605. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  100606. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  100607. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  100608. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  100609. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  100610. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  100611. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  100612. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  100613. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  100614. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  100615. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  100616. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  100617. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  100618. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  100619. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  100620. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  100621. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  100622. B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
  100623. B._PathDirection_8Gl = new A._PathDirection("at root");
  100624. B._PathDirection_988 = new A._PathDirection("below root");
  100625. B._PathDirection_FIw = new A._PathDirection("reaches root");
  100626. B._PathDirection_ZGD = new A._PathDirection("above root");
  100627. B._PathRelation_different = new A._PathRelation("different");
  100628. B._PathRelation_equal = new A._PathRelation("equal");
  100629. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  100630. B._PathRelation_within = new A._PathRelation("within");
  100631. B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
  100632. B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
  100633. B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  100634. B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  100635. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  100636. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  100637. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  100638. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  100639. B._StringStackTrace_3uE = new A._StringStackTrace("");
  100640. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  100641. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  100642. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  100643. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  100644. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  100645. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  100646. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  100647. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  100648. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  100649. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  100650. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  100651. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  100652. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  100653. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  100654. })();
  100655. (function staticFields() {
  100656. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  100657. $.printToZone = null;
  100658. $.Primitives__identityHashCodeProperty = null;
  100659. $.BoundClosure__receiverFieldNameCache = null;
  100660. $.BoundClosure__interceptorFieldNameCache = null;
  100661. $.getTagFunction = null;
  100662. $.alternateTagFunction = null;
  100663. $.prototypeForTagFunction = null;
  100664. $.dispatchRecordsForInstanceTags = null;
  100665. $.interceptorsForUncacheableTags = null;
  100666. $.initNativeDispatchFlag = null;
  100667. $._nextCallback = null;
  100668. $._lastCallback = null;
  100669. $._lastPriorityCallback = null;
  100670. $._isInCallbackLoop = false;
  100671. $.Zone__current = B.C__RootZone;
  100672. $._RootZone__rootDelegate = null;
  100673. $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  100674. $._fs = null;
  100675. $._currentUriBase = null;
  100676. $._current = null;
  100677. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  100678. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  100679. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  100680. $._realCaseCache = function() {
  100681. var t1 = type$.String;
  100682. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  100683. }();
  100684. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  100685. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  100686. $._glyphs = B.C_UnicodeGlyphSet;
  100687. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  100688. $._realCaseCache0 = function() {
  100689. var t1 = type$.String;
  100690. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  100691. }();
  100692. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  100693. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  100694. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  100695. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  100696. })();
  100697. (function lazyInitializers() {
  100698. var _lazyFinal = hunkHelpers.lazyFinal,
  100699. _lazy = hunkHelpers.lazy;
  100700. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  100701. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  100702. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  100703. toString: function() {
  100704. return "$receiver$";
  100705. }
  100706. })));
  100707. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  100708. toString: function() {
  100709. return "$receiver$";
  100710. }
  100711. })));
  100712. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  100713. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100714. var $argumentsExpr$ = "$arguments$";
  100715. try {
  100716. null.$method$($argumentsExpr$);
  100717. } catch (e) {
  100718. return e.message;
  100719. }
  100720. }()));
  100721. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  100722. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100723. var $argumentsExpr$ = "$arguments$";
  100724. try {
  100725. (void 0).$method$($argumentsExpr$);
  100726. } catch (e) {
  100727. return e.message;
  100728. }
  100729. }()));
  100730. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  100731. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100732. try {
  100733. null.$method$;
  100734. } catch (e) {
  100735. return e.message;
  100736. }
  100737. }()));
  100738. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  100739. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100740. try {
  100741. (void 0).$method$;
  100742. } catch (e) {
  100743. return e.message;
  100744. }
  100745. }()));
  100746. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  100747. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  100748. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  100749. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  100750. var t1 = type$.dynamic;
  100751. return A.HashMap_HashMap(t1, t1);
  100752. });
  100753. _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
  100754. _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
  100755. _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -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, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int))));
  100756. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  100757. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  100758. _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
  100759. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  100760. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  100761. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  100762. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  100763. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  100764. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  100765. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  100766. _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
  100767. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  100768. _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", false), A.RegExp_RegExp("[^/\\\\]$", false), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", false)));
  100769. _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false), A.RegExp_RegExp("^/", false)));
  100770. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  100771. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  100772. _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
  100773. var _null = null;
  100774. return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null), "white", A.SassColor$rgb(255, 255, 255, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null), "violet", A.SassColor$rgb(238, 130, 238, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null), "teal", A.SassColor$rgb(0, 128, 128, _null), "tan", A.SassColor$rgb(210, 180, 140, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null), "snow", A.SassColor$rgb(255, 250, 250, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null), "silver", A.SassColor$rgb(192, 192, 192, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null), "red", A.SassColor$rgb(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null), "purple", A.SassColor$rgb(128, 0, 128, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null), "plum", A.SassColor$rgb(221, 160, 221, _null), "pink", A.SassColor$rgb(255, 192, 203, _null), "peru", A.SassColor$rgb(205, 133, 63, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null), "orange", A.SassColor$rgb(255, 165, 0, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null), "olive", A.SassColor$rgb(128, 128, 0, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null), "navy", A.SassColor$rgb(0, 0, 128, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null), "linen", A.SassColor$rgb(250, 240, 230, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null), "lime", A.SassColor$rgb(0, 255, 0, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null), "grey", A.SassColor$rgb(128, 128, 128, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null), "green", A.SassColor$rgb(0, 128, 0, _null), "gray", A.SassColor$rgb(128, 128, 128, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null), "gold", A.SassColor$rgb(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null), "coral", A.SassColor$rgb(255, 127, 80, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null), "brown", A.SassColor$rgb(165, 42, 42, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null), "blue", A.SassColor$rgb(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null), "black", A.SassColor$rgb(0, 0, 0, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null), "beige", A.SassColor$rgb(245, 245, 220, _null), "azure", A.SassColor$rgb(240, 255, 255, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null)], type$.String, type$.SassColor);
  100775. });
  100776. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  100777. var t2, t3,
  100778. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
  100779. for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  100780. t3 = t2.get$current(t2);
  100781. t1.$indexSet(0, t3.value, t3.key);
  100782. }
  100783. return t1;
  100784. });
  100785. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  100786. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  100787. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  100788. var t1 = type$.BuiltInCallable,
  100789. t2 = A.List_List$of($.$get$global0(), true, t1);
  100790. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  100791. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  100792. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  100793. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  100794. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  100795. B.JSArray_methods.addAll$1(t2, $.$get$global());
  100796. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  100797. return A.UnmodifiableListView$(t2, t1);
  100798. });
  100799. _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<BuiltInCallable>>")), type$.BuiltInModule_BuiltInCallable));
  100800. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  100801. _lazyFinal($, "global", "$get$global0", () => {
  100802. var _s27_ = "$red, $green, $blue, $alpha",
  100803. _s19_ = "$red, $green, $blue",
  100804. _s37_ = "$hue, $saturation, $lightness, $alpha",
  100805. _s29_ = "$hue, $saturation, $lightness",
  100806. _s17_ = "$hue, $saturation",
  100807. _s15_ = "$color, $amount",
  100808. t1 = type$.String,
  100809. t2 = type$.Value_Function_List_Value;
  100810. return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), A._function4("opacify", _s15_, A.color0___opacify$closure()), A._function4("fade-in", _s15_, A.color0___opacify$closure()), A._function4("transparentize", _s15_, A.color0___transparentize$closure()), A._function4("fade-out", _s15_, A.color0___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  100811. });
  100812. _lazyFinal($, "module", "$get$module", () => {
  100813. var _s9_ = "lightness",
  100814. _s10_ = "saturation",
  100815. _s6_ = "$color", _s5_ = "alpha",
  100816. t1 = type$.String,
  100817. t2 = type$.Value_Function_List_Value;
  100818. return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A._removedColorFunction("adjust-hue", "hue", false), A._removedColorFunction("lighten", _s9_, false), A._removedColorFunction("darken", _s9_, true), A._removedColorFunction("saturate", _s10_, false), A._removedColorFunction("desaturate", _s10_, true), A._function4("grayscale", _s6_, new A.module_closure0()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure1(), "$channels", new A.module_closure2()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure3()), A._function4("blackness", _s6_, new A.module_closure4()), A._removedColorFunction("opacify", _s5_, false), A._removedColorFunction("fade-in", _s5_, false), A._removedColorFunction("transparentize", _s5_, true), A._removedColorFunction("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure5(), "$args...", new A.module_closure6()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure7()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable);
  100819. });
  100820. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  100821. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  100822. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  100823. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  100824. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  100825. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  100826. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  100827. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  100828. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  100829. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  100830. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  100831. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  100832. _lazyFinal($, "global0", "$get$global1", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator().withName$1("list-separator")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100833. _lazyFinal($, "module0", "$get$module0", () => A.BuiltInModule$("list", A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator(), $.$get$_slash()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
  100834. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  100835. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  100836. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  100837. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  100838. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  100839. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  100840. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  100841. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  100842. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  100843. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  100844. _lazyFinal($, "global1", "$get$global2", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get().withName$1("map-get"), $.$get$_merge().withName$1("map-merge"), $.$get$_remove().withName$1("map-remove"), $.$get$_keys().withName$1("map-keys"), $.$get$_values().withName$1("map-values"), $.$get$_hasKey().withName$1("map-has-key")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100845. _lazyFinal($, "module1", "$get$module1", () => A.BuiltInModule$("map", A._setArrayType([$.$get$_get(), $.$get$_set(), $.$get$_merge(), $.$get$_remove(), $.$get$_keys(), $.$get$_values(), $.$get$_hasKey(), $.$get$_deepMerge(), $.$get$_deepRemove()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
  100846. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  100847. _lazyFinal($, "_set", "$get$_set", () => A.BuiltInCallable$overloadedFunction("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure(), "$map, $args...", new A._set_closure0()], type$.String, type$.Value_Function_List_Value)));
  100848. _lazyFinal($, "_merge", "$get$_merge", () => A.BuiltInCallable$overloadedFunction("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure(), "$map1, $args...", new A._merge_closure0()], type$.String, type$.Value_Function_List_Value)));
  100849. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  100850. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  100851. _lazyFinal($, "_remove", "$get$_remove", () => A.BuiltInCallable$overloadedFunction("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure(), "$map, $key, $keys...", new A._remove_closure0()], type$.String, type$.Value_Function_List_Value)));
  100852. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  100853. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  100854. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  100855. _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs(), $.$get$_ceil(), $.$get$_floor(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_unit(), $.$get$_compatible().withName$1("comparable"), $.$get$_isUnitless().withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100856. _lazyFinal($, "module2", "$get$module2", () => {
  100857. var _null = null;
  100858. return A.BuiltInModule$("math", A._setArrayType([$.$get$_abs(), $.$get$_acos(), $.$get$_asin(), $.$get$_atan(), $.$get$_atan2(), $.$get$_ceil(), $.$get$_clamp(), $.$get$_cos(), $.$get$_compatible(), $.$get$_floor(), $.$get$_hypot(), $.$get$_isUnitless(), $.$get$_log(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_pow(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_sin(), $.$get$_sqrt(), $.$get$_tan(), $.$get$_unit(), $.$get$_div()], type$.JSArray_BuiltInCallable), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber(2.718281828459045, _null), "pi", A.SassNumber_SassNumber(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber(5e-324, _null)], type$.String, type$.Value), type$.BuiltInCallable);
  100859. });
  100860. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  100861. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  100862. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  100863. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  100864. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  100865. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  100866. _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
  100867. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  100868. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  100869. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  100870. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
  100871. _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
  100872. _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
  100873. _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
  100874. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  100875. _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
  100876. _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
  100877. _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
  100878. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  100879. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  100880. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  100881. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  100882. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  100883. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  100884. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  100885. _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure26()), A._function5("inspect", "$value", new A.global_closure27()), A._function5("type-of", "$value", new A.global_closure28()), A._function5("keywords", "$args", new A.global_closure29())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100886. _lazyFinal($, "local", "$get$local", () => A.UnmodifiableListView$(A._setArrayType([A._function5("calc-name", "$calc", new A.local_closure()), A._function5("calc-args", "$calc", new A.local_closure0())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100887. _lazyFinal($, "global4", "$get$global4", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse().withName$1("selector-parse"), $.$get$_nest().withName$1("selector-nest"), $.$get$_append().withName$1("selector-append"), $.$get$_extend().withName$1("selector-extend"), $.$get$_replace().withName$1("selector-replace"), $.$get$_unify().withName$1("selector-unify")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100888. _lazyFinal($, "module3", "$get$module3", () => A.BuiltInModule$("selector", A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse(), $.$get$_nest(), $.$get$_append(), $.$get$_extend(), $.$get$_replace(), $.$get$_unify()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
  100889. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  100890. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  100891. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  100892. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  100893. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  100894. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  100895. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  100896. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  100897. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  100898. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  100899. _lazyFinal($, "global5", "$get$global5", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_uniqueId(), $.$get$_length().withName$1("str-length"), $.$get$_insert().withName$1("str-insert"), $.$get$_index().withName$1("str-index"), $.$get$_slice().withName$1("str-slice")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  100900. _lazyFinal($, "module4", "$get$module4", () => A.BuiltInModule$("string", A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_length(), $.$get$_insert(), $.$get$_index(), $.$get$_slice(), $.$get$_uniqueId()], type$.JSArray_BuiltInCallable), null, null, type$.BuiltInCallable));
  100901. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  100902. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  100903. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  100904. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  100905. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  100906. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  100907. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  100908. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  100909. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  100910. _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
  100911. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  100912. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  100913. var t1 = $.$get$globalFunctions();
  100914. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  100915. t1.add$1(0, "if");
  100916. t1.remove$1(0, "rgb");
  100917. t1.remove$1(0, "rgba");
  100918. t1.remove$1(0, "hsl");
  100919. t1.remove$1(0, "hsla");
  100920. t1.remove$1(0, "grayscale");
  100921. t1.remove$1(0, "invert");
  100922. t1.remove$1(0, "alpha");
  100923. t1.remove$1(0, "opacity");
  100924. t1.remove$1(0, "saturate");
  100925. return t1;
  100926. });
  100927. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  100928. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  100929. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  100930. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  100931. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  100932. var t2, t3, t4,
  100933. t1 = type$.String;
  100934. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  100935. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  100936. t3 = t2.get$current(t2);
  100937. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  100938. t1.$indexSet(0, t4.get$current(t4), t3);
  100939. }
  100940. return t1;
  100941. });
  100942. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  100943. var _i, set, t2,
  100944. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  100945. for (_i = 0; _i < 5; ++_i) {
  100946. set = B.List_AqW[_i];
  100947. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  100948. t1.$indexSet(0, t2.get$current(t2), set);
  100949. }
  100950. return t1;
  100951. });
  100952. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  100953. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  100954. _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
  100955. _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
  100956. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  100957. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  100958. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  100959. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  100960. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  100961. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  100962. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  100963. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  100964. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  100965. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  100966. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  100967. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  100968. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  100969. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  100970. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  100971. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  100972. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  100973. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  100974. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  100975. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  100976. _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
  100977. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  100978. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  100979. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  100980. _lazyFinal($, "global6", "$get$global7", () => {
  100981. var _s27_ = "$red, $green, $blue, $alpha",
  100982. _s19_ = "$red, $green, $blue",
  100983. _s37_ = "$hue, $saturation, $lightness, $alpha",
  100984. _s29_ = "$hue, $saturation, $lightness",
  100985. _s17_ = "$hue, $saturation",
  100986. _s15_ = "$color, $amount",
  100987. t1 = type$.String,
  100988. t2 = type$.Value_Function_List_Value_2;
  100989. return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), A._function11("opacify", _s15_, A.color2___opacify$closure()), A._function11("fade-in", _s15_, A.color2___opacify$closure()), A._function11("transparentize", _s15_, A.color2___transparentize$closure()), A._function11("fade-out", _s15_, A.color2___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  100990. });
  100991. _lazyFinal($, "module5", "$get$module5", () => {
  100992. var _s9_ = "lightness",
  100993. _s10_ = "saturation",
  100994. _s6_ = "$color", _s5_ = "alpha",
  100995. t1 = type$.String,
  100996. t2 = type$.Value_Function_List_Value_2;
  100997. return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure8()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A._removedColorFunction0("adjust-hue", "hue", false), A._removedColorFunction0("lighten", _s9_, false), A._removedColorFunction0("darken", _s9_, true), A._removedColorFunction0("saturate", _s10_, false), A._removedColorFunction0("desaturate", _s10_, true), A._function11("grayscale", _s6_, new A.module_closure9()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure10(), "$channels", new A.module_closure11()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure12()), A._function11("blackness", _s6_, new A.module_closure13()), A._removedColorFunction0("opacify", _s5_, false), A._removedColorFunction0("fade-in", _s5_, false), A._removedColorFunction0("transparentize", _s5_, true), A._removedColorFunction0("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction0(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure14(), "$args...", new A.module_closure15()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure16()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2);
  100998. });
  100999. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  101000. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  101001. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  101002. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  101003. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  101004. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  101005. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  101006. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  101007. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  101008. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  101009. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  101010. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  101011. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  101012. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  101013. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getR", new A.legacyColorClass_closure0(), "getG", new A.legacyColorClass_closure1(), "getB", new A.legacyColorClass_closure2(), "getA", new A.legacyColorClass_closure3(), "setR", new A.legacyColorClass_closure4(), "setG", new A.legacyColorClass_closure5(), "setB", new A.legacyColorClass_closure6(), "setA", new A.legacyColorClass_closure7()], type$.String, type$.Function));
  101014. return t1;
  101015. });
  101016. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  101017. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
  101018. var _null = null;
  101019. return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null), "white", A.SassColor$rgb0(255, 255, 255, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null), "red", A.SassColor$rgb0(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null), "green", A.SassColor$rgb0(0, 128, 0, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null), "black", A.SassColor$rgb0(0, 0, 0, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null)], type$.String, type$.SassColor_2);
  101020. });
  101021. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  101022. var t2, t3,
  101023. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
  101024. for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  101025. t3 = t2.get$current(t2);
  101026. t1.$indexSet(0, t3.value, t3.key);
  101027. }
  101028. return t1;
  101029. });
  101030. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  101031. var t1 = $.$get$globalFunctions0();
  101032. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  101033. t1.add$1(0, "if");
  101034. t1.remove$1(0, "rgb");
  101035. t1.remove$1(0, "rgba");
  101036. t1.remove$1(0, "hsl");
  101037. t1.remove$1(0, "hsla");
  101038. t1.remove$1(0, "grayscale");
  101039. t1.remove$1(0, "invert");
  101040. t1.remove$1(0, "alpha");
  101041. t1.remove$1(0, "opacity");
  101042. t1.remove$1(0, "saturate");
  101043. return t1;
  101044. });
  101045. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  101046. _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
  101047. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  101048. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  101049. var t1 = type$.BuiltInCallable_2,
  101050. t2 = A.List_List$of($.$get$global7(), true, t1);
  101051. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  101052. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  101053. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  101054. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  101055. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  101056. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  101057. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  101058. return A.UnmodifiableListView$(t2, t1);
  101059. });
  101060. _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<BuiltInCallable0>>")), type$.BuiltInModule_BuiltInCallable_2));
  101061. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  101062. _lazyFinal($, "global7", "$get$global8", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0().withName$1("list-separator")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101063. _lazyFinal($, "module6", "$get$module6", () => A.BuiltInModule$0("list", A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0(), $.$get$_slash0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
  101064. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  101065. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  101066. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  101067. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  101068. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  101069. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  101070. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  101071. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  101072. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  101073. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  101074. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  101075. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  101076. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyListClass_closure0(), "setValue", new A.legacyListClass_closure1(), "getSeparator", new A.legacyListClass_closure2(), "setSeparator", new A.legacyListClass_closure3(), "getLength", new A.legacyListClass_closure4()], type$.String, type$.Function));
  101077. return t1;
  101078. });
  101079. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  101080. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  101081. _lazyFinal($, "global8", "$get$global9", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get0().withName$1("map-get"), $.$get$_merge0().withName$1("map-merge"), $.$get$_remove0().withName$1("map-remove"), $.$get$_keys0().withName$1("map-keys"), $.$get$_values0().withName$1("map-values"), $.$get$_hasKey0().withName$1("map-has-key")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101082. _lazyFinal($, "module7", "$get$module7", () => A.BuiltInModule$0("map", A._setArrayType([$.$get$_get0(), $.$get$_set0(), $.$get$_merge0(), $.$get$_remove0(), $.$get$_keys0(), $.$get$_values0(), $.$get$_hasKey0(), $.$get$_deepMerge0(), $.$get$_deepRemove0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
  101083. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  101084. _lazyFinal($, "_set0", "$get$_set0", () => A.BuiltInCallable$overloadedFunction0("set", A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value", new A._set_closure1(), "$map, $args...", new A._set_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  101085. _lazyFinal($, "_merge0", "$get$_merge0", () => A.BuiltInCallable$overloadedFunction0("merge", A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2", new A._merge_closure1(), "$map1, $args...", new A._merge_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  101086. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  101087. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  101088. _lazyFinal($, "_remove0", "$get$_remove0", () => A.BuiltInCallable$overloadedFunction0("remove", A.LinkedHashMap_LinkedHashMap$_literal(["$map", new A._remove_closure1(), "$map, $key, $keys...", new A._remove_closure2()], type$.String, type$.Value_Function_List_Value_2)));
  101089. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  101090. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  101091. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  101092. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  101093. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  101094. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getKey", new A.legacyMapClass_closure0(), "getValue", new A.legacyMapClass_closure1(), "getLength", new A.legacyMapClass_closure2(), "setKey", new A.legacyMapClass_closure3(), "setValue", new A.legacyMapClass_closure4()], type$.String, type$.Function));
  101095. return t1;
  101096. });
  101097. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  101098. _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_abs0(), $.$get$_ceil0(), $.$get$_floor0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_unit0(), $.$get$_compatible0().withName$1("comparable"), $.$get$_isUnitless0().withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101099. _lazyFinal($, "module8", "$get$module8", () => {
  101100. var _null = null;
  101101. return A.BuiltInModule$0("math", A._setArrayType([$.$get$_abs0(), $.$get$_acos0(), $.$get$_asin0(), $.$get$_atan0(), $.$get$_atan20(), $.$get$_ceil0(), $.$get$_clamp0(), $.$get$_cos0(), $.$get$_compatible0(), $.$get$_floor0(), $.$get$_hypot0(), $.$get$_isUnitless0(), $.$get$_log0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_pow0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_sin0(), $.$get$_sqrt0(), $.$get$_tan0(), $.$get$_unit0(), $.$get$_div0()], type$.JSArray_BuiltInCallable_2), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber0(2.718281828459045, _null), "pi", A.SassNumber_SassNumber0(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber0(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber0(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber0(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber0(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber0(5e-324, _null)], type$.String, type$.Value_2), type$.BuiltInCallable_2);
  101102. });
  101103. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  101104. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  101105. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  101106. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  101107. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  101108. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  101109. _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
  101110. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  101111. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  101112. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  101113. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
  101114. _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
  101115. _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
  101116. _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
  101117. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  101118. _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
  101119. _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
  101120. _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
  101121. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  101122. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  101123. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  101124. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  101125. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  101126. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  101127. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  101128. _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure57()), A._function12("inspect", "$value", new A.global_closure58()), A._function12("type-of", "$value", new A.global_closure59()), A._function12("keywords", "$args", new A.global_closure60())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101129. _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure1()), A._function12("calc-args", "$calc", new A.local_closure2())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101130. _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
  101131. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  101132. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  101133. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  101134. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  101135. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  101136. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyNumberClass_closure0(), "setValue", new A.legacyNumberClass_closure1(), "getUnit", new A.legacyNumberClass_closure2(), "setUnit", new A.legacyNumberClass_closure3()], type$.String, type$.Function));
  101137. return t1;
  101138. });
  101139. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  101140. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  101141. var t2, t3, t4,
  101142. t1 = type$.String;
  101143. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  101144. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  101145. t3 = t2.get$current(t2);
  101146. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  101147. t1.$indexSet(0, t4.get$current(t4), t3);
  101148. }
  101149. return t1;
  101150. });
  101151. _lazyFinal($, "global11", "$get$global11", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0().withName$1("selector-parse"), $.$get$_nest0().withName$1("selector-nest"), $.$get$_append1().withName$1("selector-append"), $.$get$_extend0().withName$1("selector-extend"), $.$get$_replace0().withName$1("selector-replace"), $.$get$_unify0().withName$1("selector-unify")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101152. _lazyFinal($, "module9", "$get$module9", () => A.BuiltInModule$0("selector", A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0(), $.$get$_nest0(), $.$get$_append1(), $.$get$_extend0(), $.$get$_replace0(), $.$get$_unify0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
  101153. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  101154. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  101155. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  101156. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  101157. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  101158. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  101159. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  101160. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  101161. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  101162. var _i, set, t2,
  101163. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  101164. for (_i = 0; _i < 5; ++_i) {
  101165. set = B.List_AqW[_i];
  101166. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  101167. t1.$indexSet(0, t2.get$current(t2), set);
  101168. }
  101169. return t1;
  101170. });
  101171. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  101172. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  101173. _lazyFinal($, "global12", "$get$global12", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_uniqueId0(), $.$get$_length1().withName$1("str-length"), $.$get$_insert0().withName$1("str-insert"), $.$get$_index1().withName$1("str-index"), $.$get$_slice0().withName$1("str-slice")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  101174. _lazyFinal($, "module10", "$get$module10", () => A.BuiltInModule$0("string", A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_length1(), $.$get$_insert0(), $.$get$_index1(), $.$get$_slice0(), $.$get$_uniqueId0()], type$.JSArray_BuiltInCallable_2), null, null, type$.BuiltInCallable_2));
  101175. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  101176. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  101177. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  101178. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  101179. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  101180. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  101181. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  101182. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  101183. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  101184. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  101185. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  101186. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  101187. return t1;
  101188. });
  101189. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  101190. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  101191. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  101192. _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  101193. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  101194. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  101195. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  101196. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  101197. })();
  101198. (function nativeSupport() {
  101199. !function() {
  101200. var intern = function(s) {
  101201. var o = {};
  101202. o[s] = 1;
  101203. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  101204. };
  101205. init.getIsolateTag = function(name) {
  101206. return intern("___dart_" + name + init.isolateTag);
  101207. };
  101208. var tableProperty = "___dart_isolate_tags_";
  101209. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  101210. var rootProperty = "_ZxYxX";
  101211. for (var i = 0;; i++) {
  101212. var property = intern(rootProperty + "_" + i + "_");
  101213. if (!(property in usedProperties)) {
  101214. usedProperties[property] = 1;
  101215. init.isolateTag = property;
  101216. break;
  101217. }
  101218. }
  101219. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  101220. }();
  101221. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, Float32Array: A.NativeTypedArrayOfDouble, Float64Array: A.NativeTypedArrayOfDouble, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  101222. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  101223. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  101224. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101225. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101226. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  101227. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101228. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101229. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  101230. })();
  101231. Function.prototype.call$0 = function() {
  101232. return this();
  101233. };
  101234. Function.prototype.call$1 = function(a) {
  101235. return this(a);
  101236. };
  101237. Function.prototype.call$2 = function(a, b) {
  101238. return this(a, b);
  101239. };
  101240. Function.prototype.call$3$1 = function(a) {
  101241. return this(a);
  101242. };
  101243. Function.prototype.call$2$1 = function(a) {
  101244. return this(a);
  101245. };
  101246. Function.prototype.call$1$1 = function(a) {
  101247. return this(a);
  101248. };
  101249. Function.prototype.call$3 = function(a, b, c) {
  101250. return this(a, b, c);
  101251. };
  101252. Function.prototype.call$4 = function(a, b, c, d) {
  101253. return this(a, b, c, d);
  101254. };
  101255. Function.prototype.call$3$3 = function(a, b, c) {
  101256. return this(a, b, c);
  101257. };
  101258. Function.prototype.call$2$2 = function(a, b) {
  101259. return this(a, b);
  101260. };
  101261. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  101262. return this(a, b, c, d, e, f);
  101263. };
  101264. Function.prototype.call$5 = function(a, b, c, d, e) {
  101265. return this(a, b, c, d, e);
  101266. };
  101267. Function.prototype.call$1$0 = function() {
  101268. return this();
  101269. };
  101270. Function.prototype.call$2$0 = function() {
  101271. return this();
  101272. };
  101273. Function.prototype.call$2$3 = function(a, b, c) {
  101274. return this(a, b, c);
  101275. };
  101276. Function.prototype.call$1$2 = function(a, b) {
  101277. return this(a, b);
  101278. };
  101279. convertAllToFastObject(holders);
  101280. convertToFastObject($);
  101281. (function(callback) {
  101282. if (typeof document === "undefined") {
  101283. callback(null);
  101284. return;
  101285. }
  101286. if (typeof document.currentScript != "undefined") {
  101287. callback(document.currentScript);
  101288. return;
  101289. }
  101290. var scripts = document.scripts;
  101291. function onLoad(event) {
  101292. for (var i = 0; i < scripts.length; ++i)
  101293. scripts[i].removeEventListener("load", onLoad, false);
  101294. callback(event.target);
  101295. }
  101296. for (var i = 0; i < scripts.length; ++i)
  101297. scripts[i].addEventListener("load", onLoad, false);
  101298. })(function(currentScript) {
  101299. init.currentScript = currentScript;
  101300. var callMain = A.main1;
  101301. if (typeof dartMainRunner === "function")
  101302. dartMainRunner(callMain, []);
  101303. else
  101304. callMain([]);
  101305. });
  101306. })();
  101307. }